perf: 工作台相关翻译 (#12700)

Co-authored-by: feng <1304903146@qq.com>
Co-authored-by: feng626 <57284900+feng626@users.noreply.github.com>
This commit is contained in:
fit2bot 2024-02-23 17:22:47 +08:00 committed by GitHub
parent 7c5e2ae8ea
commit b1fa870de7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 19 additions and 19 deletions

View File

@ -926,7 +926,7 @@ msgstr ""
#: tickets/models/ticket/general.py:297 users/models/user.py:836
#: xpack/plugins/cloud/models.py:39 xpack/plugins/cloud/models.py:110
msgid "Comment"
msgstr "Description"
msgstr "Comment"
#: accounts/serializers/account/virtual.py:24
msgid ""
@ -4308,8 +4308,8 @@ msgid "Next execution time"
msgstr ""
#: ops/serializers/job.py:15
msgid "Run after save"
msgstr ""
msgid "Execute after saving"
msgstr "Execute after saving"
#: ops/serializers/job.py:52
msgid "Average time cost"

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1b64a2cb215d6258ede3d9794241a80d7104690075054ad966e649834e49910f
size 170574
oid sha256:11f0fb0b7cc4c3187c9e7913be7ca1d310a79a31fc10e950cdb1264b4725562f
size 170524

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-02-22 17:42+0800\n"
"POT-Creation-Date: 2024-02-23 17:11+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -4434,7 +4434,9 @@ msgid "Next execution time"
msgstr "最後の実行"
#: ops/serializers/job.py:15
msgid "Run after save"
#, fuzzy
#| msgid "Run after save"
msgid "Execute after saving"
msgstr "保存後に実行"
#: ops/serializers/job.py:52

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:048f6988bf37dd7b1c8d20d052009187fbb76548ea3608bb9704880f2dd28eef
size 140998
oid sha256:03746a65d7eff0ef626fad8207b76f3c574b3c81dcac3f05d29b77ea694423e7
size 141004

View File

@ -4351,7 +4351,7 @@ msgid "Next execution time"
msgstr "下次执行时间"
#: ops/serializers/job.py:15
msgid "Run after save"
msgid "Execute after saving"
msgstr "保存后执行"
#: ops/serializers/job.py:52

View File

@ -115,12 +115,11 @@
"AssetAclList": "Asset Connect ACL",
"AssetAclUpdate": "Update Asset Connect Rules",
"AssetAddress": "Asset (IP/Hostname)",
"AssetAmount": "Assets",
"AssetAmount": "Asset amount",
"AssetAndNode": "Assets/Nodes",
"AssetBulkUpdateTips": "Network Devices, Cloud Services, Web, Batch Updating of Domains Not Supported",
"AssetChangeSecretCreate": "Create Account Password Change",
"AssetChangeSecretUpdate": "Update Account Password Change",
"AssetCount": "Asset Quantity",
"AssetData": "Asset Data",
"AssetDetail": "Asset Details",
"AssetList": "Assets",
@ -213,7 +212,7 @@
"Chat": "Chat",
"ChatAI": "Chat AI",
"ChatHello": "Hello! How can I assist you?",
"ChdirHelpText": "By Default, the execution directory is the user's home directory",
"ChdirHelpText": "The default execution directory is the home directory of the executing user",
"CheckAssetsAmount": "Check Asset Quantity",
"CheckViewAcceptor": "Click to View the Acceptance Person",
"CleanHelpText": "A scheduled cleanup task will be carried out every day at 2 a.m. The data cleaned up will not be recoverable",
@ -554,7 +553,7 @@
"IsSyncAccountHelpText": "Upon Collection Completion, the Collected Account Will Be Synced to Asset",
"IsSyncAccountLabel": "Sync to Assets",
"JDCloud": "Jingdong Cloud",
"Job": "Action",
"Job": "Job",
"JobCenter": "Task Center",
"JobCreate": "Create Job",
"JobDetail": "Job Details",
@ -900,7 +899,7 @@
"RunTaskManually": "Manually Execute",
"RunasHelpText": "Enter Username for Running Script",
"RunasPolicy": "Account Policy",
"RunasPolicyHelpText": "When the current asset does not have this running user, what kind of account selection strategy should be adopted? Skip: do not perform. Preferring privileged account: If there is a privileged account, choose the privileged account first. If not, choose the regular account. Only privileged accounts: Choose only from privileged accounts. If not, do not execute",
"RunasPolicyHelpText": "When there are no users currently running on the asset, what account selection strategy should be adopted. Skip: Do not execute. Prioritize privileged accounts: If there are privileged accounts, select them first; if not, select regular accounts. Only privileged accounts: Select only from privileged accounts; if none exist, do not execute.",
"RunningPath": "Running Path",
"RunningPathHelpText": "Enter the run path of the script, this setting only applies to shell scripts",
"RunningTimes": "Last 5 Run Times",

View File

@ -118,7 +118,6 @@
"AssetBulkUpdateTips": "网络设备、云服务、web不支持批量更新网域",
"AssetChangeSecretCreate": "创建账号改密",
"AssetChangeSecretUpdate": "更新账号改密",
"AssetCount": "资产数量",
"AssetData": "资产数据",
"AssetDetail": "资产详情",
"AssetList": "资产列表",

View File

@ -8,7 +8,7 @@ from common.utils import get_logger
__all__ = ["AdHoc"]
from ops.const import AdHocModules
from ops.const import AdHocModules
from orgs.mixins.models import JMSOrgBaseModel

View File

@ -12,7 +12,7 @@ from orgs.mixins.serializers import BulkOrgResourceModelSerializer
class JobSerializer(BulkOrgResourceModelSerializer, PeriodTaskSerializerMixin):
creator = ReadableHiddenField(default=serializers.CurrentUserDefault())
run_after_save = serializers.BooleanField(label=_("Run after save"), default=False, required=False)
run_after_save = serializers.BooleanField(label=_("Execute after saving"), default=False, required=False)
nodes = serializers.ListField(required=False, child=serializers.CharField())
date_last_run = serializers.DateTimeField(label=_('Date last run'), read_only=True)
name = serializers.CharField(label=_('Name'), max_length=128, allow_blank=True, required=False)