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
ebd92c79
Commit
ebd92c79
authored
Oct 24, 2018
by
BaiJiangJie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Update] 修改翻译小细节
parent
62789002
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
47 additions
and
49 deletions
+47
-49
command_storage_create.html
apps/common/templates/common/command_storage_create.html
+0
-2
terminal_setting.html
apps/common/templates/common/terminal_setting.html
+1
-1
django.po
apps/locale/zh/LC_MESSAGES/django.po
+46
-46
No files found.
apps/common/templates/common/command_storage_create.html
View file @
ebd92c79
...
@@ -54,14 +54,12 @@
...
@@ -54,14 +54,12 @@
<div
class=
"help-block"
>
eg: http://www.jumpserver.a.com, http://www.jumpserver.b.com
</div>
<div
class=
"help-block"
>
eg: http://www.jumpserver.a.com, http://www.jumpserver.b.com
</div>
</div>
</div>
</div>
</div>
{#
<div
class=
"form-group"
style=
"display: none;"
>
#}
{#
<div
class=
"form-group"
style=
"display: none;"
>
#}
{#
<label
class=
"col-md-2 control-label"
for=
"id_other"
>
{% trans "Other" %}
</label>
#}
{#
<label
class=
"col-md-2 control-label"
for=
"id_other"
>
{% trans "Other" %}
</label>
#}
{#
<div
class=
"col-md-9"
>
#}
{#
<div
class=
"col-md-9"
>
#}
{#
<input
id=
"id_other"
class=
"form-control"
type=
"text"
name=
"OTHER"
value=
""
>
#}
{#
<input
id=
"id_other"
class=
"form-control"
type=
"text"
name=
"OTHER"
value=
""
>
#}
{#
</div>
#}
{#
</div>
#}
{#
</div>
#}
{#
</div>
#}
<div
class=
"form-group"
style=
"display: none;"
>
<div
class=
"form-group"
style=
"display: none;"
>
<label
class=
"col-md-2 control-label"
for=
"id_bucket"
>
{% trans "Index" %}
</label>
<label
class=
"col-md-2 control-label"
for=
"id_bucket"
>
{% trans "Index" %}
</label>
<div
class=
"col-md-9"
>
<div
class=
"col-md-9"
>
...
...
apps/common/templates/common/terminal_setting.html
View file @
ebd92c79
...
@@ -148,7 +148,7 @@ function deleteStorage($this, the_url){
...
@@ -148,7 +148,7 @@ function deleteStorage($this, the_url){
var
method
=
'POST'
;
var
method
=
'POST'
;
var
success
=
function
(){
var
success
=
function
(){
$this
.
parent
().
parent
().
remove
();
$this
.
parent
().
parent
().
remove
();
toastr
.
success
(
"{% trans 'Delete succe
ss
' %}"
);
toastr
.
success
(
"{% trans 'Delete succe
ed
' %}"
);
};
};
var
error
=
function
(){
var
error
=
function
(){
toastr
.
error
(
"{% trans 'Delete failed' %}}"
);
toastr
.
error
(
"{% trans 'Delete failed' %}}"
);
...
...
apps/locale/zh/LC_MESSAGES/django.po
View file @
ebd92c79
...
@@ -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: 2018-10-2
3 20:30
+0800\n"
"POT-Creation-Date: 2018-10-2
4 11:03
+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"
...
@@ -852,7 +852,7 @@ msgstr "其它"
...
@@ -852,7 +852,7 @@ msgstr "其它"
#: assets/templates/assets/gateway_create_update.html:58
#: assets/templates/assets/gateway_create_update.html:58
#: assets/templates/assets/label_create_update.html:18
#: assets/templates/assets/label_create_update.html:18
#: common/templates/common/basic_setting.html:61
#: common/templates/common/basic_setting.html:61
#: common/templates/common/command_storage_create.html:8
1
#: common/templates/common/command_storage_create.html:8
0
#: common/templates/common/email_setting.html:62
#: common/templates/common/email_setting.html:62
#: common/templates/common/ldap_setting.html:62
#: common/templates/common/ldap_setting.html:62
#: common/templates/common/replay_storage_create.html:139
#: common/templates/common/replay_storage_create.html:139
...
@@ -885,7 +885,7 @@ msgstr "重置"
...
@@ -885,7 +885,7 @@ msgstr "重置"
#: assets/templates/assets/gateway_create_update.html:59
#: assets/templates/assets/gateway_create_update.html:59
#: assets/templates/assets/label_create_update.html:19
#: assets/templates/assets/label_create_update.html:19
#: common/templates/common/basic_setting.html:62
#: common/templates/common/basic_setting.html:62
#: common/templates/common/command_storage_create.html:8
2
#: common/templates/common/command_storage_create.html:8
1
#: common/templates/common/email_setting.html:63
#: common/templates/common/email_setting.html:63
#: common/templates/common/ldap_setting.html:63
#: common/templates/common/ldap_setting.html:63
#: common/templates/common/replay_storage_create.html:140
#: common/templates/common/replay_storage_create.html:140
...
@@ -1754,7 +1754,7 @@ msgstr "改密日志"
...
@@ -1754,7 +1754,7 @@ msgstr "改密日志"
#: audits/views.py:183 templates/_nav.html:10 users/views/group.py:28
#: audits/views.py:183 templates/_nav.html:10 users/views/group.py:28
#: users/views/group.py:44 users/views/group.py:60 users/views/group.py:76
#: users/views/group.py:44 users/views/group.py:60 users/views/group.py:76
#: users/views/group.py:92 users/views/login.py:32
7
users/views/user.py:68
#: users/views/group.py:92 users/views/login.py:32
8
users/views/user.py:68
#: users/views/user.py:83 users/views/user.py:111 users/views/user.py:193
#: users/views/user.py:83 users/views/user.py:111 users/views/user.py:193
#: users/views/user.py:354 users/views/user.py:404 users/views/user.py:439
#: users/views/user.py:354 users/views/user.py:404 users/views/user.py:439
msgid "Users"
msgid "Users"
...
@@ -1788,7 +1788,8 @@ msgstr ""
...
@@ -1788,7 +1788,8 @@ msgstr ""
msgid "Create succeed"
msgid "Create succeed"
msgstr "创建成功"
msgstr "创建成功"
#: common/api.py:127 common/api.py:157
#: common/api.py:127 common/api.py:161
#: common/templates/common/terminal_setting.html:151
msgid "Delete succeed"
msgid "Delete succeed"
msgstr "删除成功"
msgstr "删除成功"
...
@@ -1927,79 +1928,79 @@ msgstr "单位: 秒"
...
@@ -1927,79 +1928,79 @@ msgstr "单位: 秒"
msgid "List sort by"
msgid "List sort by"
msgstr "资产列表排序"
msgstr "资产列表排序"
#: common/forms.py:1
72
#: common/forms.py:1
60
msgid "MFA Secondary certification"
msgid "MFA Secondary certification"
msgstr "MFA 二次认证"
msgstr "MFA 二次认证"
#: common/forms.py:1
74
#: common/forms.py:1
62
msgid ""
msgid ""
"After opening, the user login must use MFA secondary authentication (valid "
"After opening, the user login must use MFA secondary authentication (valid "
"for all users, including administrators)"
"for all users, including administrators)"
msgstr "开启后,用户登录必须使用MFA二次认证(对所有用户有效,包括管理员)"
msgstr "开启后,用户登录必须使用MFA二次认证(对所有用户有效,包括管理员)"
#: common/forms.py:1
81
#: common/forms.py:1
69
msgid "Limit the number of login failures"
msgid "Limit the number of login failures"
msgstr "限制登录失败次数"
msgstr "限制登录失败次数"
#: common/forms.py:1
86
#: common/forms.py:1
74
msgid "No logon interval"
msgid "No logon interval"
msgstr "禁止登录时间间隔"
msgstr "禁止登录时间间隔"
#: common/forms.py:1
88
#: common/forms.py:1
76
msgid ""
msgid ""
"Tip :(unit/minute) if the user has failed to log in for a limited number of "
"Tip :(unit/minute) if the user has failed to log in for a limited number of "
"times, no login is allowed during this time interval."
"times, no login is allowed during this time interval."
msgstr ""
msgstr ""
"提示: (单位: 分钟) 当用户登录失败次数达到限制后,那么在此时间间隔内禁止登录."
"提示: (单位: 分钟) 当用户登录失败次数达到限制后,那么在此时间间隔内禁止登录."
#: common/forms.py:1
94
#: common/forms.py:1
82
msgid "Connection max idle time"
msgid "Connection max idle time"
msgstr "SSH最大空闲时间"
msgstr "SSH最大空闲时间"
#: common/forms.py:1
96
#: common/forms.py:1
84
msgid ""
msgid ""
"If idle time more than it, disconnect connection(only ssh now) Unit: minute"
"If idle time more than it, disconnect connection(only ssh now) Unit: minute"
msgstr "提示: (单位: 分钟) 如果超过该配置没有操作,连接会被断开(仅ssh) "
msgstr "提示: (单位: 分钟) 如果超过该配置没有操作,连接会被断开(仅ssh) "
#: common/forms.py:
202
#: common/forms.py:
190
msgid "Password minimum length"
msgid "Password minimum length"
msgstr "密码最小长度 "
msgstr "密码最小长度 "
#: common/forms.py:
208
#: common/forms.py:
196
msgid "Must contain capital letters"
msgid "Must contain capital letters"
msgstr "必须包含大写字母"
msgstr "必须包含大写字母"
#: common/forms.py:
210
#: common/forms.py:
198
msgid ""
msgid ""
"After opening, the user password changes and resets must contain uppercase "
"After opening, the user password changes and resets must contain uppercase "
"letters"
"letters"
msgstr "开启后,用户密码修改、重置必须包含大写字母"
msgstr "开启后,用户密码修改、重置必须包含大写字母"
#: common/forms.py:2
16
#: common/forms.py:2
04
msgid "Must contain lowercase letters"
msgid "Must contain lowercase letters"
msgstr "必须包含小写字母"
msgstr "必须包含小写字母"
#: common/forms.py:2
17
#: common/forms.py:2
05
msgid ""
msgid ""
"After opening, the user password changes and resets must contain lowercase "
"After opening, the user password changes and resets must contain lowercase "
"letters"
"letters"
msgstr "开启后,用户密码修改、重置必须包含小写字母"
msgstr "开启后,用户密码修改、重置必须包含小写字母"
#: common/forms.py:2
23
#: common/forms.py:2
11
msgid "Must contain numeric characters"
msgid "Must contain numeric characters"
msgstr "必须包含数字字符"
msgstr "必须包含数字字符"
#: common/forms.py:2
24
#: common/forms.py:2
12
msgid ""
msgid ""
"After opening, the user password changes and resets must contain numeric "
"After opening, the user password changes and resets must contain numeric "
"characters"
"characters"
msgstr "开启后,用户密码修改、重置必须包含数字字符"
msgstr "开启后,用户密码修改、重置必须包含数字字符"
#: common/forms.py:2
30
#: common/forms.py:2
18
msgid "Must contain special characters"
msgid "Must contain special characters"
msgstr "必须包含特殊字符"
msgstr "必须包含特殊字符"
#: common/forms.py:2
31
#: common/forms.py:2
19
msgid ""
msgid ""
"After opening, the user password changes and resets must contain special "
"After opening, the user password changes and resets must contain special "
"characters"
"characters"
...
@@ -2069,11 +2070,11 @@ msgstr "主机"
...
@@ -2069,11 +2070,11 @@ msgstr "主机"
msgid "Tips: If there are multiple hosts, separate them with a comma (,)"
msgid "Tips: If there are multiple hosts, separate them with a comma (,)"
msgstr "提示: 如果有多台主机,请使用逗号 ( , ) 进行分割"
msgstr "提示: 如果有多台主机,请使用逗号 ( , ) 进行分割"
#: common/templates/common/command_storage_create.html:6
5
#: common/templates/common/command_storage_create.html:6
4
msgid "Index"
msgid "Index"
msgstr "索引"
msgstr "索引"
#: common/templates/common/command_storage_create.html:7
2
#: common/templates/common/command_storage_create.html:7
1
msgid "Doc type"
msgid "Doc type"
msgstr "文档类型"
msgstr "文档类型"
...
@@ -2129,7 +2130,7 @@ msgstr "用户登录设置"
...
@@ -2129,7 +2130,7 @@ msgstr "用户登录设置"
msgid "Password check rule"
msgid "Password check rule"
msgstr "密码校验规则"
msgstr "密码校验规则"
#: common/templates/common/terminal_setting.html:76 terminal/forms.py:
33
#: common/templates/common/terminal_setting.html:76 terminal/forms.py:
27
#: terminal/models.py:22
#: terminal/models.py:22
msgid "Command storage"
msgid "Command storage"
msgstr "命令存储"
msgstr "命令存储"
...
@@ -2146,17 +2147,11 @@ msgstr "命令存储"
...
@@ -2146,17 +2147,11 @@ msgstr "命令存储"
msgid "Add"
msgid "Add"
msgstr "添加"
msgstr "添加"
#: common/templates/common/terminal_setting.html:98 terminal/forms.py:3
8
#: common/templates/common/terminal_setting.html:98 terminal/forms.py:3
2
#: terminal/models.py:23
#: terminal/models.py:23
msgid "Replay storage"
msgid "Replay storage"
msgstr "录像存储"
msgstr "录像存储"
#: common/templates/common/terminal_setting.html:151
#, fuzzy
#| msgid "Delete succeed"
msgid "Delete success"
msgstr "删除成功"
#: common/templates/common/terminal_setting.html:154
#: common/templates/common/terminal_setting.html:154
msgid "Delete failed"
msgid "Delete failed"
msgstr "删除失败"
msgstr "删除失败"
...
@@ -2882,12 +2877,12 @@ msgstr "输入"
...
@@ -2882,12 +2877,12 @@ msgstr "输入"
msgid "Session"
msgid "Session"
msgstr "会话"
msgstr "会话"
#: terminal/forms.py:
34
#: terminal/forms.py:
28
msgid "Command can store in server db or ES, default to server, more see docs"
msgid "Command can store in server db or ES, default to server, more see docs"
msgstr ""
msgstr ""
"命令支持存储到服务器端数据库、ES中,默认存储的服务器端数据库,更多查看文档"
"命令支持存储到服务器端数据库、ES中,默认存储的服务器端数据库,更多查看文档"
#: terminal/forms.py:3
9
#: terminal/forms.py:3
3
msgid ""
msgid ""
"Replay file can store in server disk, AWS S3, Aliyun OSS, default to server, "
"Replay file can store in server disk, AWS S3, Aliyun OSS, default to server, "
"more see docs"
"more see docs"
...
@@ -4020,56 +4015,56 @@ msgstr "更新用户组"
...
@@ -4020,56 +4015,56 @@ msgstr "更新用户组"
msgid "User group granted asset"
msgid "User group granted asset"
msgstr "用户组授权资产"
msgstr "用户组授权资产"
#: users/views/login.py:
69
#: users/views/login.py:
70
msgid "Please enable cookies and try again."
msgid "Please enable cookies and try again."
msgstr "设置你的浏览器支持cookie"
msgstr "设置你的浏览器支持cookie"
#: users/views/login.py:17
5
users/views/user.py:526 users/views/user.py:551
#: users/views/login.py:17
6
users/views/user.py:526 users/views/user.py:551
msgid "MFA code invalid, or ntp sync server time"
msgid "MFA code invalid, or ntp sync server time"
msgstr "MFA验证码不正确,或者服务器端时间不对"
msgstr "MFA验证码不正确,或者服务器端时间不对"
#: users/views/login.py:20
4
#: users/views/login.py:20
5
msgid "Logout success"
msgid "Logout success"
msgstr "退出登录成功"
msgstr "退出登录成功"
#: users/views/login.py:20
5
#: users/views/login.py:20
6
msgid "Logout success, return login page"
msgid "Logout success, return login page"
msgstr "退出登录成功,返回到登录页面"
msgstr "退出登录成功,返回到登录页面"
#: users/views/login.py:22
1
#: users/views/login.py:22
2
msgid "Email address invalid, please input again"
msgid "Email address invalid, please input again"
msgstr "邮箱地址错误,重新输入"
msgstr "邮箱地址错误,重新输入"
#: users/views/login.py:23
4
#: users/views/login.py:23
5
msgid "Send reset password message"
msgid "Send reset password message"
msgstr "发送重置密码邮件"
msgstr "发送重置密码邮件"
#: users/views/login.py:23
5
#: users/views/login.py:23
6
msgid "Send reset password mail success, login your mail box and follow it "
msgid "Send reset password mail success, login your mail box and follow it "
msgstr ""
msgstr ""
"发送重置邮件成功, 请登录邮箱查看, 按照提示操作 (如果没收到,请等待3-5分钟)"
"发送重置邮件成功, 请登录邮箱查看, 按照提示操作 (如果没收到,请等待3-5分钟)"
#: users/views/login.py:24
8
#: users/views/login.py:24
9
msgid "Reset password success"
msgid "Reset password success"
msgstr "重置密码成功"
msgstr "重置密码成功"
#: users/views/login.py:2
49
#: users/views/login.py:2
50
msgid "Reset password success, return to login page"
msgid "Reset password success, return to login page"
msgstr "重置密码成功,返回到登录页面"
msgstr "重置密码成功,返回到登录页面"
#: users/views/login.py:27
0 users/views/login.py:283
#: users/views/login.py:27
1 users/views/login.py:284
msgid "Token invalid or expired"
msgid "Token invalid or expired"
msgstr "Token错误或失效"
msgstr "Token错误或失效"
#: users/views/login.py:2
79
#: users/views/login.py:2
80
msgid "Password not same"
msgid "Password not same"
msgstr "密码不一致"
msgstr "密码不一致"
#: users/views/login.py:2
89
users/views/user.py:127 users/views/user.py:422
#: users/views/login.py:2
90
users/views/user.py:127 users/views/user.py:422
msgid "* Your password does not meet the requirements"
msgid "* Your password does not meet the requirements"
msgstr "* 您的密码不符合要求"
msgstr "* 您的密码不符合要求"
#: users/views/login.py:32
7
#: users/views/login.py:32
8
msgid "First login"
msgid "First login"
msgstr "首次登陆"
msgstr "首次登陆"
...
@@ -4428,6 +4423,11 @@ msgstr "创建组织"
...
@@ -4428,6 +4423,11 @@ msgstr "创建组织"
msgid "Update org"
msgid "Update org"
msgstr "更新组织"
msgstr "更新组织"
#, fuzzy
#~| msgid "Delete succeed"
#~ msgid "Delete success"
#~ msgstr "删除成功"
#~ msgid ""
#~ msgid ""
#~ "Set terminal storage setting, `default` is the using as default,You can "
#~ "Set terminal storage setting, `default` is the using as default,You can "
#~ "set other storage and some terminal using"
#~ "set other storage and some terminal using"
...
...
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