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
ec0cf38c
Unverified
Commit
ec0cf38c
authored
Sep 24, 2019
by
BaiJiangJie
Committed by
GitHub
Sep 24, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3262 from jumpserver/dev_trans
Dev trans
parents
df429d56
62e21d9f
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
72 additions
and
66 deletions
+72
-66
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
djangojs.mo
apps/locale/zh/LC_MESSAGES/djangojs.mo
+0
-0
djangojs.po
apps/locale/zh/LC_MESSAGES/djangojs.po
+40
-36
No files found.
apps/assets/forms/asset.py
View file @
ec0cf38c
...
...
@@ -116,6 +116,8 @@ class AssetUpdateForm(OrgModelForm):
'nodes'
:
_
(
"Node"
),
}
help_texts
=
{
'hostname'
:
_
(
'Only Numbers, letters, and characters ( {} ) '
'are allowed'
)
.
format
(
" "
.
join
([
'.'
,
'_'
,
'@'
])),
'admin_user'
:
_
(
'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'
...
...
apps/locale/zh/LC_MESSAGES/django.mo
View file @
ec0cf38c
No preview for this file type
apps/locale/zh/LC_MESSAGES/django.po
View file @
ec0cf38c
...
...
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Jumpserver 0.3.3\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"
"Last-Translator: ibuler <ibuler@qq.com>\n"
"Language-Team: Jumpserver team<ibuler@qq.com>\n"
...
...
@@ -86,7 +86,7 @@ msgstr "运行参数"
#: 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: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_list.html:52
#: perms/templates/perms/asset_permission_list.html:121
...
...
@@ -452,7 +452,7 @@ msgstr "更新"
#: assets/templates/assets/label_list.html:40
#: assets/templates/assets/system_user_detail.html:30
#: 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
#: perms/templates/perms/asset_permission_detail.html:34
#: perms/templates/perms/asset_permission_list.html:179
...
...
@@ -510,7 +510,7 @@ msgstr "创建远程应用"
#: 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: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/task_history.html:65 ops/templates/ops/task_list.html:18
#: perms/forms/asset_permission.py:21
...
...
@@ -538,7 +538,7 @@ msgstr "动作"
#: applications/templates/applications/user_remote_app_list.html:52
#: assets/templates/assets/user_asset_list.html:32
#: perms/models/asset_permission.py:3
0
#: perms/models/asset_permission.py:3
2
msgid "Connect"
msgstr "连接"
...
...
@@ -587,7 +587,7 @@ msgstr "端口"
#: assets/models/user.py:110 assets/templates/assets/asset_detail.html:190
#: assets/templates/assets/asset_detail.html:198
#: 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/gathered_user/models.py:31
#: xpack/plugins/gathered_user/templates/gathered_user/task_list.html:17
...
...
@@ -603,7 +603,7 @@ msgstr "节点"
msgid "Admin user"
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:50
#: assets/templates/assets/asset_list.html:85
...
...
@@ -620,7 +620,7 @@ msgid "Domain"
msgstr "网域"
#: 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
#: perms/forms/asset_permission.py:82 perms/forms/asset_permission.py:89
#: perms/templates/perms/asset_permission_list.html:53
...
...
@@ -635,11 +635,11 @@ msgstr "网域"
msgid "Node"
msgstr "节点"
#: assets/forms/asset.py:71
#: assets/forms/asset.py:71
assets/forms/asset.py:119
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 ""
"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"
...
...
@@ -647,16 +647,16 @@ msgstr ""
"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"
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 ""
"If your have some network not connect with each other, you can set domain"
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
#: perms/templates/perms/asset_permission_asset.html:78
#: xpack/plugins/change_auth_plan/forms.py:55
...
...
@@ -1186,7 +1186,7 @@ msgstr "登录模式"
#: audits/models.py:20 audits/templates/audits/ftp_log_list.html:52
#: audits/templates/audits/ftp_log_list.html:75
#: 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_list.html:54
#: perms/templates/perms/asset_permission_list.html:75
...
...
@@ -1464,7 +1464,7 @@ msgstr "获取认证信息错误"
#: assets/templates/assets/_asset_user_auth_view_modal.html:97
#: 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
#: settings/templates/settings/_ldap_list_users_modal.html:92
#: templates/_modal.html:22
...
...
@@ -1754,7 +1754,7 @@ msgid "Date joined"
msgstr "创建日期"
#: 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/templates/perms/asset_permission_create_update.html:55
#: perms/templates/perms/asset_permission_detail.html:120
...
...
@@ -2197,7 +2197,7 @@ msgid "Success"
msgstr "成功"
#: 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
msgid "Create"
msgstr "创建"
...
...
@@ -2310,7 +2310,7 @@ msgid "Search"
msgstr "搜索"
#: 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_history_detail.html:49
#: ops/templates/ops/task_detail.html:56
...
...
@@ -2329,7 +2329,7 @@ msgid "City"
msgstr "城市"
#: 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
msgid "Date"
msgstr "日期"
...
...
@@ -2494,23 +2494,23 @@ msgstr "使用api key签名请求头,每个请求的头部是不一样的"
msgid "docs"
msgstr "文档"
#: authentication/templates/authentication/_access_key_modal.html:
27
#: authentication/templates/authentication/_access_key_modal.html:
30
msgid "Secret"
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
msgid "Show"
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/templates/users/user_profile.html:163
#: users/templates/users/user_profile.html:166
msgid "Disable"
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/templates/users/user_profile.html:170
msgid "Enable"
...
...
@@ -3135,27 +3135,27 @@ msgstr "用户和用户组至少选一个"
msgid "Asset or group at least one required"
msgstr "资产和节点至少选一个"
#: perms/models/asset_permission.py:
29
settings/forms.py:143
#: perms/models/asset_permission.py:
31
settings/forms.py:143
msgid "All"
msgstr "全部"
#: perms/models/asset_permission.py:3
1
#: perms/models/asset_permission.py:3
3
msgid "Upload file"
msgstr "上传文件"
#: perms/models/asset_permission.py:3
2
#: perms/models/asset_permission.py:3
4
msgid "Download file"
msgstr "下载文件"
#: perms/models/asset_permission.py:3
3
#: perms/models/asset_permission.py:3
5
msgid "Upload download"
msgstr "上传下载"
#: perms/models/asset_permission.py:8
1
#: perms/models/asset_permission.py:8
3
msgid "Actions"
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"
msgstr "资产授权"
...
...
apps/locale/zh/LC_MESSAGES/djangojs.mo
View file @
ec0cf38c
No preview for this file type
apps/locale/zh/LC_MESSAGES/djangojs.po
View file @
ec0cf38c
...
...
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-0
6-20 16:30
+0800\n"
"POT-Creation-Date: 2019-0
9-24 11:05
+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
...
...
@@ -17,58 +17,58 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: static/js/jumpserver.js:2
63
#: static/js/jumpserver.js:2
59
msgid "Update is successful!"
msgstr "更新成功"
#: static/js/jumpserver.js:26
5
#: static/js/jumpserver.js:26
1
msgid "An unknown error occurred while updating.."
msgstr "更新时发生未知错误"
#: static/js/jumpserver.js:32
9 static/js/jumpserver.js:366
#: static/js/jumpserver.js:36
9
#: static/js/jumpserver.js:32
4 static/js/jumpserver.js:362
#: static/js/jumpserver.js:36
4
msgid "Error"
msgstr "错误"
#: static/js/jumpserver.js:32
9
#: static/js/jumpserver.js:32
4
msgid "Being used by the asset, please unbind the asset first."
msgstr "正在被资产使用中,请先解除资产绑定"
#: static/js/jumpserver.js:33
5 static/js/jumpserver.js:376
#: static/js/jumpserver.js:33
0 static/js/jumpserver.js:371
msgid "Delete the success"
msgstr "删除成功"
#: static/js/jumpserver.js:3
41
#: static/js/jumpserver.js:3
37
msgid "Are you sure about deleting it?"
msgstr "你确定删除吗 ?"
#: static/js/jumpserver.js:34
5 static/js/jumpserver.js:386
#: static/js/jumpserver.js:34
1 static/js/jumpserver.js:382
msgid "Cancel"
msgstr "取消"
#: static/js/jumpserver.js:34
7 static/js/jumpserver.js:388
#: static/js/jumpserver.js:34
3 static/js/jumpserver.js:384
msgid "Confirm"
msgstr "确认"
#: static/js/jumpserver.js:36
6
#: static/js/jumpserver.js:36
2
msgid ""
"The organization contains undeleted information. Please try again after "
"deleting"
msgstr "组织中包含未删除信息,请删除后重试"
#: static/js/jumpserver.js:36
9
#: static/js/jumpserver.js:36
4
msgid ""
"Do not perform this operation under this organization. Try again after "
"switching to another organization"
msgstr "请勿在此组织下执行此操作,切换到其他组织后重试"
#: static/js/jumpserver.js:3
82
#: static/js/jumpserver.js:3
78
msgid ""
"Please ensure that the following information in the organization has been "
"deleted"
msgstr "请确保组织内的以下信息已删除"
#: static/js/jumpserver.js:3
83
#: static/js/jumpserver.js:3
79
msgid ""
"User list、User group、Asset list、Domain list、Admin user、System user、"
"Labels、Asset permission"
...
...
@@ -76,80 +76,84 @@ msgstr ""
"用户列表、用户组、资产列表、网域列表、管理用户、系统用户、标签管理、资产授权"
"规则"
#: static/js/jumpserver.js:4
22
msgid "Loading
...
"
msgstr "加载中
...
"
#: static/js/jumpserver.js:4
16
msgid "Loading"
msgstr "加载中"
#: static/js/jumpserver.js:4
23
#: static/js/jumpserver.js:4
17
msgid "Search"
msgstr "搜索"
#: static/js/jumpserver.js:42
6
#: static/js/jumpserver.js:42
0
#, javascript-format
msgid "Selected item %d"
msgstr "选中 %d 项"
#: static/js/jumpserver.js:4
30
#: static/js/jumpserver.js:4
24
msgid "Per page _MENU_"
msgstr "每页 _MENU_"
#: static/js/jumpserver.js:4
31
#: static/js/jumpserver.js:4
25
msgid ""
"Displays the results of items _START_ to _END_; A total of _TOTAL_ entries"
msgstr "显示第 _START_ 至 _END_ 项结果; 总共 _TOTAL_ 项"
#: static/js/jumpserver.js:4
34
#: static/js/jumpserver.js:4
28
msgid "No match"
msgstr "没有匹配项"
#: static/js/jumpserver.js:4
35
#: static/js/jumpserver.js:4
29
msgid "No record"
msgstr "没有记录"
#: static/js/jumpserver.js:5
77
#: static/js/jumpserver.js:5
82
msgid "Unknown error occur"
msgstr ""
msgstr "
出现未知错误
"
#: static/js/jumpserver.js:8
16
#: static/js/jumpserver.js:8
38
msgid "Password minimum length {N} bits"
msgstr "密码最小长度 {N} 位"
#: static/js/jumpserver.js:8
17
#: static/js/jumpserver.js:8
39
msgid "Must contain capital letters"
msgstr "必须包含大写字母"
#: static/js/jumpserver.js:8
18
#: static/js/jumpserver.js:8
40
msgid "Must contain lowercase letters"
msgstr "必须包含小写字母"
#: static/js/jumpserver.js:8
19
#: static/js/jumpserver.js:8
41
msgid "Must contain numeric characters"
msgstr "必须包含数字字符"
#: static/js/jumpserver.js:8
20
#: static/js/jumpserver.js:8
42
msgid "Must contain special characters"
msgstr "必须包含特殊字符"
#: static/js/jumpserver.js:9
95
#: static/js/jumpserver.js:9
84
msgid "Export failed"
msgstr "导出失败"
#: static/js/jumpserver.js:10
12
#: static/js/jumpserver.js:10
01
msgid "Import Success"
msgstr "导入成功"
#: static/js/jumpserver.js:10
17
#: static/js/jumpserver.js:10
06
msgid "Update Success"
msgstr "更新成功"
#: static/js/jumpserver.js:10
18
#: static/js/jumpserver.js:10
07
msgid "Count"
msgstr "数量"
#: static/js/jumpserver.js:10
47
#: static/js/jumpserver.js:10
35
msgid "Import failed"
msgstr "导入失败"
#: static/js/jumpserver.js:10
52
#: static/js/jumpserver.js:10
40
msgid "Update failed"
msgstr "更新失败"
#: static/js/plugins/moment/moment.min.js:6
msgid "\n"
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