Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jumpserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
jumpserver
Commits
56fd1824
Commit
56fd1824
authored
Jan 04, 2018
by
ibuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Update] 修改一些翻译
parent
a327c462
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
4 deletions
+9
-4
tasks.py
apps/assets/tasks.py
+1
-1
settings.py
apps/jumpserver/settings.py
+1
-1
django.mo
apps/locale/zh/LC_MESSAGES/django.mo
+0
-0
django.po
apps/locale/zh/LC_MESSAGES/django.po
+7
-2
No files found.
apps/assets/tasks.py
View file @
56fd1824
...
@@ -209,7 +209,7 @@ def test_asset_connectability_util(asset, task_name=None):
...
@@ -209,7 +209,7 @@ def test_asset_connectability_util(asset, task_name=None):
from
ops.utils
import
update_or_create_ansible_task
from
ops.utils
import
update_or_create_ansible_task
if
task_name
is
None
:
if
task_name
is
None
:
task_name
=
"Test asset connectability"
task_name
=
_
(
"Test asset connectability"
)
hosts
=
[
asset
.
hostname
]
hosts
=
[
asset
.
hostname
]
tasks
=
const
.
TEST_ADMIN_USER_CONN_TASKS
tasks
=
const
.
TEST_ADMIN_USER_CONN_TASKS
task
,
created
=
update_or_create_ansible_task
(
task
,
created
=
update_or_create_ansible_task
(
...
...
apps/jumpserver/settings.py
View file @
56fd1824
...
@@ -240,7 +240,7 @@ LOGGING = {
...
@@ -240,7 +240,7 @@ LOGGING = {
# Internationalization
# Internationalization
# https://docs.djangoproject.com/en/1.10/topics/i18n/
# https://docs.djangoproject.com/en/1.10/topics/i18n/
LANGUAGE_CODE
=
'
en-us
'
LANGUAGE_CODE
=
'
zh-cn
'
TIME_ZONE
=
'Asia/Shanghai'
TIME_ZONE
=
'Asia/Shanghai'
...
...
apps/locale/zh/LC_MESSAGES/django.mo
View file @
56fd1824
No preview for this file type
apps/locale/zh/LC_MESSAGES/django.po
View file @
56fd1824
...
@@ -477,22 +477,27 @@ msgid "Update assets hardware info period"
...
@@ -477,22 +477,27 @@ msgid "Update assets hardware info period"
msgstr "定期更新资产硬件信息"
msgstr "定期更新资产硬件信息"
#: assets/tasks.py:189
#: assets/tasks.py:189
#, python-format
msgid "Test admin user connectability period: {}"
msgid "Test admin user connectability period: {}"
msgstr "定期测试管理用户可以连接性"
msgstr "定期测试管理用户可以连接性
: {}
"
#: assets/tasks.py:203
#: assets/tasks.py:203
#, python-format
msgid "Test admin user connectability: {}"
msgid "Test admin user connectability: {}"
msgstr "测试管理用户可连接性: {}"
msgstr "测试管理用户可连接性: {}"
#: assets/tasks.py:289
#: assets/tasks.py:289
#, python-format
msgid "Test system user connectability period: {}"
msgid "Test system user connectability period: {}"
msgstr "测试系统用户可连接性: {}"
msgstr "测试系统用户可连接性: {}"
#: assets/tasks.py:363
#: assets/tasks.py:363
#, python-format
msgid "Push system user to cluster assets: {}"
msgid "Push system user to cluster assets: {}"
msgstr "推送系统用户到资产: {}"
msgstr "推送系统用户到资产: {}"
#: assets/tasks.py:384
#: assets/tasks.py:384
#, python-format
msgid "Push system user to cluster assets period: {}->{}"
msgid "Push system user to cluster assets period: {}->{}"
msgstr "定期推送系统用户到资产: {}->{}"
msgstr "定期推送系统用户到资产: {}->{}"
...
@@ -1490,7 +1495,7 @@ msgstr "选择系统用户"
...
@@ -1490,7 +1495,7 @@ msgstr "选择系统用户"
#: perms/forms.py:52
#: perms/forms.py:52
msgid "User or group at least one required"
msgid "User or group at least one required"
msgstr ""
msgstr "
用户和组至少需要选一个
"
#: perms/forms.py:60
#: perms/forms.py:60
msgid "Asset or group at least one required"
msgid "Asset or group at least one required"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment