mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-31 15:11:27 +00:00
perf: 翻译
This commit is contained in:
@@ -14,7 +14,7 @@ class AppProvider(JMSBaseModel):
|
||||
related_name='app_provider', verbose_name=_('Terminal')
|
||||
)
|
||||
apps = models.ManyToManyField(
|
||||
'VirtualApp', verbose_name=_('VirtualApp'),
|
||||
'VirtualApp', verbose_name=_('Virtual app'),
|
||||
through='VirtualAppPublication', through_fields=('provider', 'app'),
|
||||
)
|
||||
|
||||
|
@@ -94,7 +94,7 @@ class VirtualAppPublication(JMSBaseModel):
|
||||
'AppProvider', on_delete=models.CASCADE, related_name='publications', verbose_name=_('App Provider')
|
||||
)
|
||||
app = models.ForeignKey(
|
||||
'VirtualApp', on_delete=models.CASCADE, related_name='publications', verbose_name=_('Virtual App')
|
||||
'VirtualApp', on_delete=models.CASCADE, related_name='publications', verbose_name=_('Virtual app')
|
||||
)
|
||||
status = models.CharField(max_length=16, default='pending', verbose_name=_('Status'))
|
||||
|
||||
|
Reference in New Issue
Block a user