perf: modify translate

pull/13421/head
wangruidong 2024-06-13 17:42:55 +08:00 committed by w940853815
parent e40c66c7ed
commit 11f6a029de
7 changed files with 405 additions and 1262 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1326,5 +1326,6 @@
"ObjectStorage": "Object Storage", "ObjectStorage": "Object Storage",
"ApplyLoginAsset": "Login asset", "ApplyLoginAsset": "Login asset",
"ApplyLoginUser": "Login user", "ApplyLoginUser": "Login user",
"ApplyLoginAccount": "Login account" "ApplyLoginAccount": "Login account",
"General": "General"
} }

View File

@ -1338,5 +1338,6 @@
"ApplyLoginAsset": "登録資産の申請", "ApplyLoginAsset": "登録資産の申請",
"ApplyLoginUser": "ログインユーザーの申請", "ApplyLoginUser": "ログインユーザーの申請",
"ApplyLoginAccount": "ログインアカウントの申請", "ApplyLoginAccount": "ログインアカウントの申請",
"Navigation": "ナビゲーション" "Navigation": "ナビゲーション",
"General": "基本"
} }

View File

@ -1322,5 +1322,6 @@
"ApplyLoginUser": "登录用户", "ApplyLoginUser": "登录用户",
"ApplyLoginAccount": "登录账号", "ApplyLoginAccount": "登录账号",
"IsSyncAccountLabel": "同步到资产", "IsSyncAccountLabel": "同步到资产",
"Navigation": "导航" "Navigation": "导航",
"General": "基本"
} }

View File

@ -1962,5 +1962,6 @@
"wildcardsAllowed": "允許的通配符", "wildcardsAllowed": "允許的通配符",
"ApplyLoginAsset": "登入資產", "ApplyLoginAsset": "登入資產",
"ApplyLoginUser": "登入用戶", "ApplyLoginUser": "登入用戶",
"ApplyLoginAccount": "登入帳號" "ApplyLoginAccount": "登入帳號",
"General": "基本"
} }

View File

@ -16,7 +16,7 @@ class BaseAnsibleJob(PeriodTaskModelMixin, JMSOrgBaseModel):
owner = models.ForeignKey('users.User', verbose_name=_("Creator"), on_delete=models.SET_NULL, null=True) owner = models.ForeignKey('users.User', verbose_name=_("Creator"), on_delete=models.SET_NULL, null=True)
assets = models.ManyToManyField('assets.Asset', verbose_name=_("Assets")) assets = models.ManyToManyField('assets.Asset', verbose_name=_("Assets"))
account = models.CharField(max_length=128, default='root', verbose_name=_('Account')) account = models.CharField(max_length=128, default='root', verbose_name=_('Account'))
account_policy = models.CharField(max_length=128, default='root', verbose_name=_('Run as policy')) account_policy = models.CharField(max_length=128, default='root', verbose_name=_('Account policy'))
last_execution = models.ForeignKey('BaseAnsibleExecution', verbose_name=_("Last execution"), last_execution = models.ForeignKey('BaseAnsibleExecution', verbose_name=_("Last execution"),
on_delete=models.SET_NULL, null=True) on_delete=models.SET_NULL, null=True)
date_last_run = models.DateTimeField(null=True, verbose_name=_('Date last run')) date_last_run = models.DateTimeField(null=True, verbose_name=_('Date last run'))