perf: task description translate

pull/14099/head
wangruidong 2024-09-10 17:04:43 +08:00 committed by Bryan
parent 6982ab1efc
commit b6f3c23787
3 changed files with 47 additions and 52 deletions

View File

@ -100,7 +100,14 @@ def execute_automation_record_task(record_ids, tp):
verbose_name=_('Clean change secret and push record period'), verbose_name=_('Clean change secret and push record period'),
description=_( description=_(
""" """
Clean change secret and push record period description The system will periodically clean up unnecessary password change and push records,
including their associated change tasks, execution logs, assets, and accounts. When any
of these associated items are deleted, the corresponding password change and push records
become invalid. Therefore, to maintain a clean and efficient database, the system will
clean up expired records at 2 a.m daily, based on the interval specified by
PERM_EXPIRED_CHECK_PERIODIC in the config.txt configuration file. This periodic cleanup
mechanism helps free up storage space and enhances the security and overall performance
of data management
""" """
) )
) )

View File

@ -133,13 +133,9 @@ def clean_expired_session_period():
description=_( description=_(
""" """
Since the system generates login logs, operation logs, file upload logs, activity Since the system generates login logs, operation logs, file upload logs, activity
logs, Celery execution logs, session recordings, and command records, as well as password logs, Celery execution logs, session recordings, command records, and password change
change logs, it will clean up these records based on the periodic cleanup configuration logs, it will perform cleanup of records that exceed the time limit according to the
in "System Settings - Tasks" The system will clean up login logs, task logs, operation 'Tasks - Regular clean-up' in the system settings at 2 a.m daily
logs, password change logs, upload and download logs, session logs, activity records,
job center execution history logs, and cloud synchronization records that exceed the set
time limit every day at 2 a.m., according to the periodic cleanup configuration in
'System Settings - Tasks'
""" """
) )
) )

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: JumpServer 0.3.3\n" "Project-Id-Version: JumpServer 0.3.3\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-09-09 19:05+0800\n" "POT-Creation-Date: 2024-09-10 16:58+0800\n"
"PO-Revision-Date: 2021-05-20 10:54+0800\n" "PO-Revision-Date: 2021-05-20 10:54+0800\n"
"Last-Translator: ibuler <ibuler@qq.com>\n" "Last-Translator: ibuler <ibuler@qq.com>\n"
"Language-Team: JumpServer team<ibuler@qq.com>\n" "Language-Team: JumpServer team<ibuler@qq.com>\n"
@ -707,7 +707,7 @@ msgstr "密码规则"
#: authentication/models/ssh_key.py:12 #: authentication/models/ssh_key.py:12
#: authentication/serializers/connect_token_secret.py:113 #: authentication/serializers/connect_token_secret.py:113
#: authentication/serializers/connect_token_secret.py:169 labels/models.py:11 #: authentication/serializers/connect_token_secret.py:169 labels/models.py:11
#: ops/mixin.py:21 ops/models/adhoc.py:20 ops/models/celery.py:15 #: ops/mixin.py:28 ops/models/adhoc.py:20 ops/models/celery.py:15
#: ops/models/celery.py:81 ops/models/job.py:142 ops/models/playbook.py:28 #: ops/models/celery.py:81 ops/models/job.py:142 ops/models/playbook.py:28
#: ops/serializers/job.py:18 orgs/models.py:82 #: ops/serializers/job.py:18 orgs/models.py:82
#: perms/models/asset_permission.py:61 rbac/models/role.py:29 #: perms/models/asset_permission.py:61 rbac/models/role.py:29
@ -1161,15 +1161,29 @@ msgstr "周期清理改密记录和推送记录"
#: accounts/tasks/automation.py:102 #: accounts/tasks/automation.py:102
msgid "" msgid ""
"\n" "\n"
" Clean change secret and push record period description\n" " The system will periodically clean up unnecessary password change "
"and push records, \n"
" including their associated change tasks, execution logs, assets, and "
"accounts. When any \n"
" of these associated items are deleted, the corresponding password "
"change and push records \n"
" become invalid. Therefore, to maintain a clean and efficient "
"database, the system will \n"
" clean up expired records at 2 a.m daily, based on the interval "
"specified by \n"
" PERM_EXPIRED_CHECK_PERIODIC in the config.txt configuration file. "
"This periodic cleanup \n"
" mechanism helps free up storage space and enhances the security and "
"overall performance \n"
" of data management\n"
" " " "
msgstr "" msgstr ""
"\n" "\n"
"系统会定期清理不再需要的改密记录和推送记录,包括那些关联的改密任务、执行记" "系统会定期清理不再需要的改密记录和推送记录,包括那些关联的改密任务、执行记"
"录、资产和账号。当这些关联项中的任意一个被删除时,对应的改密和推送记录将变为" "录、资产和账号。当这些关联项中的任意一个被删除时,对应的改密和推送记录将变为"
"无效。因此为了保持数据库的整洁和高效运行系统默认每180天自动清理这些无效记" "无效。因此,为了保持数据库的整洁和高效运行,根据系统配置文件 config.txt 中 "
"录。这种定期清理机制不仅有助于释放存储空间,还能提高数据管理的安全性和整体性" "PERM_EXPIRED_CHECK_PERIODIC 的时间间隔对于超出时间的于每天凌晨2点进行清理。这"
"能。" "种定期清理机制不仅有助于释放存储空间,还能提高数据管理的安全和整体性能"
#: accounts/tasks/backup_account.py:26 #: accounts/tasks/backup_account.py:26
msgid "Execute account backup plan" msgid "Execute account backup plan"
@ -3063,33 +3077,23 @@ msgid ""
"\n" "\n"
" Since the system generates login logs, operation logs, file upload " " Since the system generates login logs, operation logs, file upload "
"logs, activity \n" "logs, activity \n"
" logs, Celery execution logs, session recordings, and command " " logs, Celery execution logs, session recordings, command records, "
"records, as well as password \n" "and password change \n"
" change logs, it will clean up these records based on the periodic " " logs, it will perform cleanup of records that exceed the time limit "
"cleanup configuration \n" "according to the \n"
" in \"System Settings - Tasks\" The system will clean up login logs, " " 'Tasks - Regular clean-up' in the system settings at 2 a.m daily\n"
"task logs, operation \n"
" logs, password change logs, upload and download logs, session logs, "
"activity records, \n"
" job center execution history logs, and cloud synchronization records "
"that exceed the set \n"
" time limit every day at 2 a.m., according to the periodic cleanup "
"configuration in \n"
" 'System Settings - Tasks'\n"
" " " "
msgstr "" msgstr ""
"\n" "\n"
"由于系统会产生登录日志操作日志文件上传日志活动日志celery执行日志会" "由于系统会产生登录日志操作日志文件上传日志活动日志celery执行日志会"
"话录像和命令记录,改密日志,所以系统会根据系统设置-任务列表-定期清理配置对这" "话录像和命令记录,改密日志,所以系统会根据系统设置-任务列表-定期清理配置,对"
"些记录进行清理。系统会根据系统设置-任务列表-定期清理的配置,对于超出时间的登" "于超出时间的于每天凌晨2点进行清理"
"录日志、任务日志、操作日志、改密日志、上传下载日志、会话日志、活动记录、作业"
"中心执行历史日志、云同步记录日志于每天凌晨2点进行清理"
#: audits/tasks.py:160 #: audits/tasks.py:156
msgid "Upload FTP file to external storage" msgid "Upload FTP file to external storage"
msgstr "上传 FTP 文件到外部存储" msgstr "上传 FTP 文件到外部存储"
#: audits/tasks.py:162 #: audits/tasks.py:158
msgid "" msgid ""
"\n" "\n"
" If SERVER_REPLAY_STORAGE is configured, files uploaded through file " " If SERVER_REPLAY_STORAGE is configured, files uploaded through file "
@ -4881,33 +4885,33 @@ msgstr "命令执行已禁用"
msgid "no valid program entry found." msgid "no valid program entry found."
msgstr "没有可用程序入口" msgstr "没有可用程序入口"
#: ops/mixin.py:23 ops/mixin.py:102 settings/serializers/auth/ldap.py:73 #: ops/mixin.py:30 ops/mixin.py:110 settings/serializers/auth/ldap.py:73
msgid "Periodic run" msgid "Periodic run"
msgstr "周期执行" msgstr "周期执行"
#: ops/mixin.py:25 ops/mixin.py:88 ops/mixin.py:108 #: ops/mixin.py:32 ops/mixin.py:96 ops/mixin.py:116
#: settings/serializers/auth/ldap.py:80 #: settings/serializers/auth/ldap.py:80
msgid "Interval" msgid "Interval"
msgstr "间隔" msgstr "间隔"
#: ops/mixin.py:28 ops/mixin.py:86 ops/mixin.py:105 #: ops/mixin.py:35 ops/mixin.py:94 ops/mixin.py:113
#: settings/serializers/auth/ldap.py:77 #: settings/serializers/auth/ldap.py:77
msgid "Crontab" msgid "Crontab"
msgstr "Crontab" msgstr "Crontab"
#: ops/mixin.py:110 #: ops/mixin.py:118
msgid "Run period" msgid "Run period"
msgstr "执行周期" msgstr "执行周期"
#: ops/mixin.py:119 #: ops/mixin.py:127
msgid "* Please enter a valid crontab expression" msgid "* Please enter a valid crontab expression"
msgstr "* 请输入有效的 crontab 表达式" msgstr "* 请输入有效的 crontab 表达式"
#: ops/mixin.py:126 #: ops/mixin.py:134
msgid "Range {} to {}" msgid "Range {} to {}"
msgstr "输入在 {} - {} 范围之间" msgstr "输入在 {} - {} 范围之间"
#: ops/mixin.py:137 #: ops/mixin.py:145
msgid "Require interval or crontab setting" msgid "Require interval or crontab setting"
msgstr "需要周期或定期设置" msgstr "需要周期或定期设置"
@ -10522,15 +10526,3 @@ msgstr "企业专业版"
#: xpack/plugins/license/models.py:86 #: xpack/plugins/license/models.py:86
msgid "Ultimate edition" msgid "Ultimate edition"
msgstr "企业旗舰版" msgstr "企业旗舰版"
#~ msgid "Per Session"
#~ msgstr "每用户"
#~ msgid "Per Device"
#~ msgstr "每设备"
#~ msgid "None"
#~ msgstr "无"
#~ msgid "Yes,No"
#~ msgstr "YesNo"