mirror of https://github.com/jumpserver/jumpserver
[Update] 修改一些翻译
parent
a327c46229
commit
56fd18241d
|
@ -209,7 +209,7 @@ def test_asset_connectability_util(asset, task_name=None):
|
|||
from ops.utils import update_or_create_ansible_task
|
||||
|
||||
if task_name is None:
|
||||
task_name = "Test asset connectability"
|
||||
task_name = _("Test asset connectability")
|
||||
hosts = [asset.hostname]
|
||||
tasks = const.TEST_ADMIN_USER_CONN_TASKS
|
||||
task, created = update_or_create_ansible_task(
|
||||
|
|
|
@ -240,7 +240,7 @@ LOGGING = {
|
|||
|
||||
# Internationalization
|
||||
# https://docs.djangoproject.com/en/1.10/topics/i18n/
|
||||
LANGUAGE_CODE = 'en-us'
|
||||
LANGUAGE_CODE = 'zh-cn'
|
||||
|
||||
TIME_ZONE = 'Asia/Shanghai'
|
||||
|
||||
|
|
Binary file not shown.
|
@ -477,22 +477,27 @@ msgid "Update assets hardware info period"
|
|||
msgstr "定期更新资产硬件信息"
|
||||
|
||||
#: assets/tasks.py:189
|
||||
#, python-format
|
||||
msgid "Test admin user connectability period: {}"
|
||||
msgstr "定期测试管理用户可以连接性"
|
||||
msgstr "定期测试管理用户可以连接性: {}"
|
||||
|
||||
#: assets/tasks.py:203
|
||||
#, python-format
|
||||
msgid "Test admin user connectability: {}"
|
||||
msgstr "测试管理用户可连接性: {}"
|
||||
|
||||
#: assets/tasks.py:289
|
||||
#, python-format
|
||||
msgid "Test system user connectability period: {}"
|
||||
msgstr "测试系统用户可连接性: {}"
|
||||
|
||||
#: assets/tasks.py:363
|
||||
#, python-format
|
||||
msgid "Push system user to cluster assets: {}"
|
||||
msgstr "推送系统用户到资产: {}"
|
||||
|
||||
#: assets/tasks.py:384
|
||||
#, python-format
|
||||
msgid "Push system user to cluster assets period: {}->{}"
|
||||
msgstr "定期推送系统用户到资产: {}->{}"
|
||||
|
||||
|
@ -1490,7 +1495,7 @@ msgstr "选择系统用户"
|
|||
|
||||
#: perms/forms.py:52
|
||||
msgid "User or group at least one required"
|
||||
msgstr ""
|
||||
msgstr "用户和组至少需要选一个"
|
||||
|
||||
#: perms/forms.py:60
|
||||
msgid "Asset or group at least one required"
|
||||
|
|
Loading…
Reference in New Issue