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
62e21d9f
Commit
62e21d9f
authored
Sep 24, 2019
by
BaiJiangJie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Update] 添加翻译
parent
e7cafe86
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
30 deletions
+32
-30
asset.py
apps/assets/forms/asset.py
+2
-0
django.mo
apps/locale/zh/LC_MESSAGES/django.mo
+0
-0
django.po
apps/locale/zh/LC_MESSAGES/django.po
+30
-30
No files found.
apps/assets/forms/asset.py
View file @
62e21d9f
...
@@ -116,6 +116,8 @@ class AssetUpdateForm(OrgModelForm):
...
@@ -116,6 +116,8 @@ class AssetUpdateForm(OrgModelForm):
'nodes'
:
_
(
"Node"
),
'nodes'
:
_
(
"Node"
),
}
}
help_texts
=
{
help_texts
=
{
'hostname'
:
_
(
'Only Numbers, letters, and characters ( {} ) '
'are allowed'
)
.
format
(
" "
.
join
([
'.'
,
'_'
,
'@'
])),
'admin_user'
:
_
(
'admin_user'
:
_
(
'root or other NOPASSWD sudo privilege user existed in asset,'
'root or other NOPASSWD sudo privilege user existed in asset,'
'If asset is windows or other set any one, more see admin user left menu'
'If asset is windows or other set any one, more see admin user left menu'
...
...
apps/locale/zh/LC_MESSAGES/django.mo
View file @
62e21d9f
No preview for this file type
apps/locale/zh/LC_MESSAGES/django.po
View file @
62e21d9f
...
@@ -8,7 +8,7 @@ msgid ""
...
@@ -8,7 +8,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: 2019-09-2
3 16:46
+0800\n"
"POT-Creation-Date: 2019-09-2
4 11:11
+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\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"
...
@@ -86,7 +86,7 @@ msgstr "运行参数"
...
@@ -86,7 +86,7 @@ msgstr "运行参数"
#: assets/templates/assets/system_user_list.html:55 audits/models.py:19
#: assets/templates/assets/system_user_list.html:55 audits/models.py:19
#: audits/templates/audits/ftp_log_list.html:44
#: audits/templates/audits/ftp_log_list.html:44
#: audits/templates/audits/ftp_log_list.html:74
#: audits/templates/audits/ftp_log_list.html:74
#: perms/forms/asset_permission.py:79 perms/models/asset_permission.py:
78
#: perms/forms/asset_permission.py:79 perms/models/asset_permission.py:
80
#: perms/templates/perms/asset_permission_create_update.html:45
#: perms/templates/perms/asset_permission_create_update.html:45
#: perms/templates/perms/asset_permission_list.html:52
#: perms/templates/perms/asset_permission_list.html:52
#: perms/templates/perms/asset_permission_list.html:121
#: perms/templates/perms/asset_permission_list.html:121
...
@@ -452,7 +452,7 @@ msgstr "更新"
...
@@ -452,7 +452,7 @@ msgstr "更新"
#: assets/templates/assets/label_list.html:40
#: assets/templates/assets/label_list.html:40
#: assets/templates/assets/system_user_detail.html:30
#: assets/templates/assets/system_user_detail.html:30
#: assets/templates/assets/system_user_list.html:86 audits/models.py:34
#: assets/templates/assets/system_user_list.html:86 audits/models.py:34
#: authentication/templates/authentication/_access_key_modal.html:6
5
#: authentication/templates/authentication/_access_key_modal.html:6
4
#: ops/templates/ops/task_list.html:69
#: ops/templates/ops/task_list.html:69
#: perms/templates/perms/asset_permission_detail.html:34
#: perms/templates/perms/asset_permission_detail.html:34
#: perms/templates/perms/asset_permission_list.html:179
#: perms/templates/perms/asset_permission_list.html:179
...
@@ -510,7 +510,7 @@ msgstr "创建远程应用"
...
@@ -510,7 +510,7 @@ msgstr "创建远程应用"
#: assets/templates/assets/system_user_list.html:60 audits/models.py:38
#: assets/templates/assets/system_user_list.html:60 audits/models.py:38
#: audits/templates/audits/operate_log_list.html:47
#: audits/templates/audits/operate_log_list.html:47
#: audits/templates/audits/operate_log_list.html:73
#: audits/templates/audits/operate_log_list.html:73
#: authentication/templates/authentication/_access_key_modal.html:3
0
#: authentication/templates/authentication/_access_key_modal.html:3
3
#: ops/templates/ops/adhoc_history.html:59 ops/templates/ops/task_adhoc.html:64
#: ops/templates/ops/adhoc_history.html:59 ops/templates/ops/task_adhoc.html:64
#: ops/templates/ops/task_history.html:65 ops/templates/ops/task_list.html:18
#: ops/templates/ops/task_history.html:65 ops/templates/ops/task_list.html:18
#: perms/forms/asset_permission.py:21
#: perms/forms/asset_permission.py:21
...
@@ -538,7 +538,7 @@ msgstr "动作"
...
@@ -538,7 +538,7 @@ msgstr "动作"
#: applications/templates/applications/user_remote_app_list.html:52
#: applications/templates/applications/user_remote_app_list.html:52
#: assets/templates/assets/user_asset_list.html:32
#: assets/templates/assets/user_asset_list.html:32
#: perms/models/asset_permission.py:3
0
#: perms/models/asset_permission.py:3
2
msgid "Connect"
msgid "Connect"
msgstr "连接"
msgstr "连接"
...
@@ -587,7 +587,7 @@ msgstr "端口"
...
@@ -587,7 +587,7 @@ msgstr "端口"
#: assets/models/user.py:110 assets/templates/assets/asset_detail.html:190
#: assets/models/user.py:110 assets/templates/assets/asset_detail.html:190
#: assets/templates/assets/asset_detail.html:198
#: assets/templates/assets/asset_detail.html:198
#: assets/templates/assets/system_user_assets.html:83
#: assets/templates/assets/system_user_assets.html:83
#: perms/models/asset_permission.py:
79
#: perms/models/asset_permission.py:
81
#: xpack/plugins/change_auth_plan/models.py:74
#: xpack/plugins/change_auth_plan/models.py:74
#: xpack/plugins/gathered_user/models.py:31
#: xpack/plugins/gathered_user/models.py:31
#: xpack/plugins/gathered_user/templates/gathered_user/task_list.html:17
#: xpack/plugins/gathered_user/templates/gathered_user/task_list.html:17
...
@@ -603,7 +603,7 @@ msgstr "节点"
...
@@ -603,7 +603,7 @@ msgstr "节点"
msgid "Admin user"
msgid "Admin user"
msgstr "管理用户"
msgstr "管理用户"
#: assets/forms/asset.py:61 assets/forms/asset.py:109 assets/forms/asset.py:1
48
#: assets/forms/asset.py:61 assets/forms/asset.py:109 assets/forms/asset.py:1
50
#: assets/templates/assets/asset_create.html:48
#: assets/templates/assets/asset_create.html:48
#: assets/templates/assets/asset_create.html:50
#: assets/templates/assets/asset_create.html:50
#: assets/templates/assets/asset_list.html:85
#: assets/templates/assets/asset_list.html:85
...
@@ -620,7 +620,7 @@ msgid "Domain"
...
@@ -620,7 +620,7 @@ msgid "Domain"
msgstr "网域"
msgstr "网域"
#: assets/forms/asset.py:68 assets/forms/asset.py:103 assets/forms/asset.py:116
#: assets/forms/asset.py:68 assets/forms/asset.py:103 assets/forms/asset.py:116
#: assets/forms/asset.py:15
1
assets/models/node.py:403
#: assets/forms/asset.py:15
3
assets/models/node.py:403
#: assets/templates/assets/asset_create.html:42
#: assets/templates/assets/asset_create.html:42
#: perms/forms/asset_permission.py:82 perms/forms/asset_permission.py:89
#: perms/forms/asset_permission.py:82 perms/forms/asset_permission.py:89
#: perms/templates/perms/asset_permission_list.html:53
#: perms/templates/perms/asset_permission_list.html:53
...
@@ -635,11 +635,11 @@ msgstr "网域"
...
@@ -635,11 +635,11 @@ msgstr "网域"
msgid "Node"
msgid "Node"
msgstr "节点"
msgstr "节点"
#: assets/forms/asset.py:71
#: assets/forms/asset.py:71
assets/forms/asset.py:119
msgid "Only Numbers, letters, and characters ( {} ) are allowed"
msgid "Only Numbers, letters, and characters ( {} ) are allowed"
msgstr ""
msgstr "
只允许包含数字,字母,特殊字符( {} )
"
#: assets/forms/asset.py:74 assets/forms/asset.py:12
0
#: assets/forms/asset.py:74 assets/forms/asset.py:12
2
msgid ""
msgid ""
"root or other NOPASSWD sudo privilege user existed in asset,If asset is "
"root or other NOPASSWD sudo privilege user existed in asset,If asset is "
"windows or other set any one, more see admin user left menu"
"windows or other set any one, more see admin user left menu"
...
@@ -647,16 +647,16 @@ msgstr ""
...
@@ -647,16 +647,16 @@ msgstr ""
"root或其他拥有NOPASSWD: ALL权限的用户, 如果是windows或其它硬件可以随意设置一"
"root或其他拥有NOPASSWD: ALL权限的用户, 如果是windows或其它硬件可以随意设置一"
"个, 更多信息查看左侧 `管理用户` 菜单"
"个, 更多信息查看左侧 `管理用户` 菜单"
#: assets/forms/asset.py:77 assets/forms/asset.py:12
3
#: assets/forms/asset.py:77 assets/forms/asset.py:12
5
msgid "Windows 2016 RDP protocol is different, If is window 2016, set it"
msgid "Windows 2016 RDP protocol is different, If is window 2016, set it"
msgstr "Windows 2016的RDP协议与之前不同,如果是请设置"
msgstr "Windows 2016的RDP协议与之前不同,如果是请设置"
#: assets/forms/asset.py:78 assets/forms/asset.py:12
4
#: assets/forms/asset.py:78 assets/forms/asset.py:12
6
msgid ""
msgid ""
"If your have some network not connect with each other, you can set domain"
"If your have some network not connect with each other, you can set domain"
msgstr "如果有多个的互相隔离的网络,设置资产属于的网域,使用网域网关跳转登录"
msgstr "如果有多个的互相隔离的网络,设置资产属于的网域,使用网域网关跳转登录"
#: assets/forms/asset.py:13
1 assets/forms/asset.py:135
#: assets/forms/asset.py:13
3 assets/forms/asset.py:137
#: assets/forms/domain.py:17 assets/forms/label.py:15
#: assets/forms/domain.py:17 assets/forms/label.py:15
#: perms/templates/perms/asset_permission_asset.html:78
#: perms/templates/perms/asset_permission_asset.html:78
#: xpack/plugins/change_auth_plan/forms.py:55
#: xpack/plugins/change_auth_plan/forms.py:55
...
@@ -1186,7 +1186,7 @@ msgstr "登录模式"
...
@@ -1186,7 +1186,7 @@ msgstr "登录模式"
#: audits/models.py:20 audits/templates/audits/ftp_log_list.html:52
#: audits/models.py:20 audits/templates/audits/ftp_log_list.html:52
#: audits/templates/audits/ftp_log_list.html:75
#: audits/templates/audits/ftp_log_list.html:75
#: perms/forms/asset_permission.py:85 perms/forms/remote_app_permission.py:40
#: perms/forms/asset_permission.py:85 perms/forms/remote_app_permission.py:40
#: perms/models/asset_permission.py:8
0
perms/models/remote_app_permission.py:16
#: perms/models/asset_permission.py:8
2
perms/models/remote_app_permission.py:16
#: perms/templates/perms/asset_permission_detail.html:140
#: perms/templates/perms/asset_permission_detail.html:140
#: perms/templates/perms/asset_permission_list.html:54
#: perms/templates/perms/asset_permission_list.html:54
#: perms/templates/perms/asset_permission_list.html:75
#: perms/templates/perms/asset_permission_list.html:75
...
@@ -1464,7 +1464,7 @@ msgstr "获取认证信息错误"
...
@@ -1464,7 +1464,7 @@ msgstr "获取认证信息错误"
#: assets/templates/assets/_asset_user_auth_view_modal.html:97
#: assets/templates/assets/_asset_user_auth_view_modal.html:97
#: assets/templates/assets/_user_asset_detail_modal.html:23
#: assets/templates/assets/_user_asset_detail_modal.html:23
#: authentication/templates/authentication/_access_key_modal.html:14
3
#: authentication/templates/authentication/_access_key_modal.html:14
1
#: authentication/templates/authentication/_mfa_confirm_modal.html:53
#: authentication/templates/authentication/_mfa_confirm_modal.html:53
#: settings/templates/settings/_ldap_list_users_modal.html:92
#: settings/templates/settings/_ldap_list_users_modal.html:92
#: templates/_modal.html:22
#: templates/_modal.html:22
...
@@ -1754,7 +1754,7 @@ msgid "Date joined"
...
@@ -1754,7 +1754,7 @@ msgid "Date joined"
msgstr "创建日期"
msgstr "创建日期"
#: assets/templates/assets/asset_detail.html:150 authentication/models.py:15
#: assets/templates/assets/asset_detail.html:150 authentication/models.py:15
#: authentication/templates/authentication/_access_key_modal.html:
28
#: authentication/templates/authentication/_access_key_modal.html:
31
#: perms/models/base.py:51
#: perms/models/base.py:51
#: perms/templates/perms/asset_permission_create_update.html:55
#: perms/templates/perms/asset_permission_create_update.html:55
#: perms/templates/perms/asset_permission_detail.html:120
#: perms/templates/perms/asset_permission_detail.html:120
...
@@ -2197,7 +2197,7 @@ msgid "Success"
...
@@ -2197,7 +2197,7 @@ msgid "Success"
msgstr "成功"
msgstr "成功"
#: audits/models.py:32
#: audits/models.py:32
#: authentication/templates/authentication/_access_key_modal.html:
38
#: authentication/templates/authentication/_access_key_modal.html:
21
#: xpack/plugins/vault/templates/vault/vault.html:46
#: xpack/plugins/vault/templates/vault/vault.html:46
msgid "Create"
msgid "Create"
msgstr "创建"
msgstr "创建"
...
@@ -2310,7 +2310,7 @@ msgid "Search"
...
@@ -2310,7 +2310,7 @@ msgid "Search"
msgstr "搜索"
msgstr "搜索"
#: audits/templates/audits/login_log_list.html:56
#: audits/templates/audits/login_log_list.html:56
#: authentication/templates/authentication/_access_key_modal.html:2
6
#: authentication/templates/authentication/_access_key_modal.html:2
9
#: ops/templates/ops/adhoc_detail.html:49
#: ops/templates/ops/adhoc_detail.html:49
#: ops/templates/ops/adhoc_history_detail.html:49
#: ops/templates/ops/adhoc_history_detail.html:49
#: ops/templates/ops/task_detail.html:56
#: ops/templates/ops/task_detail.html:56
...
@@ -2329,7 +2329,7 @@ msgid "City"
...
@@ -2329,7 +2329,7 @@ msgid "City"
msgstr "城市"
msgstr "城市"
#: audits/templates/audits/login_log_list.html:65
#: audits/templates/audits/login_log_list.html:65
#: authentication/templates/authentication/_access_key_modal.html:
29
#: authentication/templates/authentication/_access_key_modal.html:
32
#: ops/templates/ops/task_list.html:16
#: ops/templates/ops/task_list.html:16
msgid "Date"
msgid "Date"
msgstr "日期"
msgstr "日期"
...
@@ -2494,23 +2494,23 @@ msgstr "使用api key签名请求头,每个请求的头部是不一样的"
...
@@ -2494,23 +2494,23 @@ msgstr "使用api key签名请求头,每个请求的头部是不一样的"
msgid "docs"
msgid "docs"
msgstr "文档"
msgstr "文档"
#: authentication/templates/authentication/_access_key_modal.html:
27
#: authentication/templates/authentication/_access_key_modal.html:
30
msgid "Secret"
msgid "Secret"
msgstr "密文"
msgstr "密文"
#: authentication/templates/authentication/_access_key_modal.html:4
8
#: authentication/templates/authentication/_access_key_modal.html:4
7
#: users/templates/users/_granted_assets.html:75
#: users/templates/users/_granted_assets.html:75
msgid "Show"
msgid "Show"
msgstr "显示"
msgstr "显示"
#: authentication/templates/authentication/_access_key_modal.html:6
6
#: authentication/templates/authentication/_access_key_modal.html:6
5
#: users/models/user.py:330 users/templates/users/user_profile.html:94
#: users/models/user.py:330 users/templates/users/user_profile.html:94
#: users/templates/users/user_profile.html:163
#: users/templates/users/user_profile.html:163
#: users/templates/users/user_profile.html:166
#: users/templates/users/user_profile.html:166
msgid "Disable"
msgid "Disable"
msgstr "禁用"
msgstr "禁用"
#: authentication/templates/authentication/_access_key_modal.html:6
7
#: authentication/templates/authentication/_access_key_modal.html:6
6
#: users/models/user.py:331 users/templates/users/user_profile.html:92
#: users/models/user.py:331 users/templates/users/user_profile.html:92
#: users/templates/users/user_profile.html:170
#: users/templates/users/user_profile.html:170
msgid "Enable"
msgid "Enable"
...
@@ -3135,27 +3135,27 @@ msgstr "用户和用户组至少选一个"
...
@@ -3135,27 +3135,27 @@ msgstr "用户和用户组至少选一个"
msgid "Asset or group at least one required"
msgid "Asset or group at least one required"
msgstr "资产和节点至少选一个"
msgstr "资产和节点至少选一个"
#: perms/models/asset_permission.py:
29
settings/forms.py:143
#: perms/models/asset_permission.py:
31
settings/forms.py:143
msgid "All"
msgid "All"
msgstr "全部"
msgstr "全部"
#: perms/models/asset_permission.py:3
1
#: perms/models/asset_permission.py:3
3
msgid "Upload file"
msgid "Upload file"
msgstr "上传文件"
msgstr "上传文件"
#: perms/models/asset_permission.py:3
2
#: perms/models/asset_permission.py:3
4
msgid "Download file"
msgid "Download file"
msgstr "下载文件"
msgstr "下载文件"
#: perms/models/asset_permission.py:3
3
#: perms/models/asset_permission.py:3
5
msgid "Upload download"
msgid "Upload download"
msgstr "上传下载"
msgstr "上传下载"
#: perms/models/asset_permission.py:8
1
#: perms/models/asset_permission.py:8
3
msgid "Actions"
msgid "Actions"
msgstr "动作"
msgstr "动作"
#: perms/models/asset_permission.py:8
5
templates/_nav.html:72
#: perms/models/asset_permission.py:8
7
templates/_nav.html:72
msgid "Asset permission"
msgid "Asset permission"
msgstr "资产授权"
msgstr "资产授权"
...
...
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