From db4d841bb04d03ec6238d1998373b827358ad21e Mon Sep 17 00:00:00 2001 From: wangruidong <940853815@qq.com> Date: Mon, 9 Sep 2024 19:06:43 +0800 Subject: [PATCH] perf: add xpack task description --- apps/i18n/core/zh/LC_MESSAGES/django.po | 42 +++++++++++++++---------- 1 file changed, 26 insertions(+), 16 deletions(-) diff --git a/apps/i18n/core/zh/LC_MESSAGES/django.po b/apps/i18n/core/zh/LC_MESSAGES/django.po index 70a8f1601..98821557e 100644 --- a/apps/i18n/core/zh/LC_MESSAGES/django.po +++ b/apps/i18n/core/zh/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: JumpServer 0.3.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-09-09 18:29+0800\n" +"POT-Creation-Date: 2024-09-09 19:05+0800\n" "PO-Revision-Date: 2021-05-20 10:54+0800\n" "Last-Translator: ibuler \n" "Language-Team: JumpServer team\n" @@ -1789,7 +1789,9 @@ msgstr "旧的 SSH 版本,例如 openssh 5.x 或 6.x" #: assets/const/protocol.py:53 msgid "Netcat help text" -msgstr "使用 netcat (nc) 作为代理工具,将连接从代理服务器转发到目标主机。适用于不支持 SSH 原生代理选项 (-W) 的环境,或需要更多灵活性和超时控制的场景。" +msgstr "" +"使用 netcat (nc) 作为代理工具,将连接从代理服务器转发到目标主机。适用于不支" +"持 SSH 原生代理选项 (-W) 的环境,或需要更多灵活性和超时控制的场景。" #: assets/const/protocol.py:64 msgid "SFTP root" @@ -4687,15 +4689,15 @@ msgstr "" "\n" "系统一些告警,工单等需要发送站内信时执行该任务" -#: ops/ansible/inventory.py:106 ops/models/job.py:65 +#: ops/ansible/inventory.py:116 ops/models/job.py:65 msgid "No account available" msgstr "无可用账号" -#: ops/ansible/inventory.py:286 +#: ops/ansible/inventory.py:296 msgid "Ansible disabled" msgstr "Ansible 已禁用" -#: ops/ansible/inventory.py:302 +#: ops/ansible/inventory.py:312 msgid "Skip hosts below:" msgstr "跳过以下主机: " @@ -9948,7 +9950,7 @@ msgstr "删除账号: %s" msgid "Set protocols \"%s\"" msgstr "设置协议 \"%s\"" -#: xpack/plugins/cloud/manager.py:484 xpack/plugins/cloud/tasks.py:30 +#: xpack/plugins/cloud/manager.py:484 xpack/plugins/cloud/tasks.py:31 msgid "Run sync instance task" msgstr "执行同步实例任务" @@ -10423,23 +10425,31 @@ msgstr "执行次数" msgid "Instance count" msgstr "实例个数" -#: xpack/plugins/cloud/tasks.py:32 +#: xpack/plugins/cloud/tasks.py:33 msgid "" -"Execute this task when manually or scheduled cloud synchronization tasks are " -"performed" -msgstr "手动,定时执行云同步任务时执行该任务" +"\n" +" Execute this task when manually or scheduled cloud synchronization " +"tasks are performed\n" +" " +msgstr "" +"\n" +"手动,定时执行云同步任务时执行该任务" -#: xpack/plugins/cloud/tasks.py:46 +#: xpack/plugins/cloud/tasks.py:52 msgid "Period clean sync instance task execution" msgstr "定期清除同步实例任务执行记录" -#: xpack/plugins/cloud/tasks.py:46 +#: xpack/plugins/cloud/tasks.py:54 msgid "" -"Every day, according to the \n" -"configuration in \"System Settings - Tasks - Regular clean-up - Cloud sync " -"task history retention days\" the system \n" -"will clean up the execution records generated by cloud synchronization" +"\n" +" Every day, according to the configuration in \"System Settings - " +"Tasks - Regular \n" +" clean-up - Cloud sync task history retention days\" the system will " +"clean up the execution \n" +" records generated by cloud synchronization\n" +" " msgstr "" +"\n" "每天根据系统设置-任务列表-定期清理配置-云同步记录配置,对云同步产生的执行记录" "进行清理"