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
27912138
Commit
27912138
authored
Oct 23, 2018
by
BaiJiangJie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Update] 更新storage翻译
parent
284e8be4
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
241 additions
and
140 deletions
+241
-140
api.py
apps/common/api.py
+1
-5
command_storage_create.html
apps/common/templates/common/command_storage_create.html
+1
-1
replay_storage_create.html
apps/common/templates/common/replay_storage_create.html
+18
-12
django.mo
apps/locale/zh/LC_MESSAGES/django.mo
+0
-0
django.po
apps/locale/zh/LC_MESSAGES/django.po
+221
-122
No files found.
apps/common/api.py
View file @
27912138
...
...
@@ -116,11 +116,7 @@ class ReplayStorageCreateAPI(APIView):
storage
=
jms_storage
.
get_object_storage
(
storage_data
)
target
=
'tests.py'
src
=
os
.
path
.
join
(
settings
.
BASE_DIR
,
'common'
,
target
)
ok
,
msg
=
storage
.
upload
(
src
=
src
,
target
=
target
)
if
not
ok
:
return
False
storage
.
delete
(
path
=
target
)
return
True
return
storage
.
is_valid
(
src
,
target
)
class
ReplayStorageDeleteAPI
(
APIView
):
...
...
apps/common/templates/common/command_storage_create.html
View file @
27912138
...
...
@@ -50,7 +50,7 @@
<label
class=
"col-md-2 control-label"
for=
"id_hosts"
>
{% trans "Hosts" %}
</label>
<div
class=
"col-md-9"
>
<input
id=
"id_hosts"
class=
"form-control"
type=
"text"
name=
"HOSTS"
value=
""
>
<div
class=
"help-block"
>
如果有多台主机,请使用逗号 ( , ) 进行分割
</div>
<div
class=
"help-block"
>
{% trans 'Tips: If there are multiple hosts, separate them with a comma (,)' %}
</div>
</div>
</div>
...
...
apps/common/templates/common/replay_storage_create.html
View file @
27912138
...
...
@@ -45,7 +45,6 @@
<div
class=
"col-md-9"
>
<input
id=
"id_name"
class=
"form-control"
type=
"text"
name=
"NAME"
value=
""
>
<div
class=
"help-block"
>
* required
</div>
{#
<div
id=
"id_error"
style=
"display: none; color: red;"
>
{% trans 'Error: Account invalid' %}
</div>
#}
<div
id=
"id_error"
style=
"color: red;"
></div>
</div>
</div>
...
...
@@ -53,77 +52,84 @@
<div
class=
"form-group"
style=
"display: none;"
>
<label
class=
"col-md-2 control-label"
for=
"id_host"
>
{% trans "Host" %}
</label>
<div
class=
"col-md-9"
>
<input
id=
"id_host"
class=
"form-control"
type=
"text"
name=
"HOSTNAME"
value=
""
>
<input
id=
"id_host"
class=
"form-control"
type=
"text"
name=
"HOSTNAME"
value=
""
placeholder=
"Host"
>
</div>
</div>
<div
class=
"form-group"
style=
"display: none;"
>
<label
class=
"col-md-2 control-label"
for=
"id_port"
>
{% trans "Port" %}
</label>
<div
class=
"col-md-9"
>
<input
id=
"id_port"
class=
"form-control"
type=
"text"
name=
"PORT"
value=
""
>
<input
id=
"id_port"
class=
"form-control"
type=
"text"
name=
"PORT"
value=
""
placeholder=
"7480"
>
</div>
</div>
<div
class=
"form-group"
style=
"display: none;"
>
<label
class=
"col-md-2 control-label"
for=
"id_bucket"
>
{% trans "Bucket" %}
</label>
<div
class=
"col-md-9"
>
<input
id=
"id_bucket"
class=
"form-control"
type=
"text"
name=
"BUCKET"
value=
""
>
<input
id=
"id_bucket"
class=
"form-control"
type=
"text"
name=
"BUCKET"
value=
""
placeholder=
"Bucket"
>
</div>
</div>
<div
class=
"form-group"
style=
"display: none;"
>
<label
class=
"col-md-2 control-label"
for=
"id_access_key"
>
{% trans "Access key" %}
</label>
<div
class=
"col-md-9"
>
<input
id=
"id_access_key"
class=
"form-control"
type=
"text"
name=
"ACCESS_KEY"
value=
""
>
<input
id=
"id_access_key"
class=
"form-control"
type=
"text"
name=
"ACCESS_KEY"
value=
""
placeholder=
"Access key"
>
</div>
</div>
<div
class=
"form-group"
style=
"display: none;"
>
<label
class=
"col-md-2 control-label"
for=
"id_secret_key"
>
{% trans "Secret key" %}
</label>
<div
class=
"col-md-9"
>
<input
id=
"id_secret_key"
class=
"form-control"
type=
"text"
name=
"SECRET_KEY"
value=
""
>
<input
id=
"id_secret_key"
class=
"form-control"
type=
"text"
name=
"SECRET_KEY"
value=
""
,
placeholder=
"Secret key"
>
</div>
</div>
<div
class=
"form-group"
style=
"display: none;"
>
<label
class=
"col-md-2 control-label"
for=
"id_container_name"
>
{% trans "Container name" %}
</label>
<div
class=
"col-md-9"
>
<input
id=
"id_container_name"
class=
"form-control"
type=
"text"
name=
"CONTAINER_NAME"
value=
""
>
<input
id=
"id_container_name"
class=
"form-control"
type=
"text"
name=
"CONTAINER_NAME"
value=
""
placeholder=
"Container"
>
</div>
</div>
<div
class=
"form-group"
style=
"display: none;"
>
<label
class=
"col-md-2 control-label"
for=
"id_account_name"
>
{% trans "Account name" %}
</label>
<div
class=
"col-md-9"
>
<input
id=
"id_account_name"
class=
"form-control"
type=
"text"
name=
"ACCOUNT_NAME"
value=
""
>
<input
id=
"id_account_name"
class=
"form-control"
type=
"text"
name=
"ACCOUNT_NAME"
value=
""
placeholder=
"Account name"
>
</div>
</div>
<div
class=
"form-group"
style=
"display: none;"
>
<label
class=
"col-md-2 control-label"
for=
"id_account_key"
>
{% trans "Account key" %}
</label>
<div
class=
"col-md-9"
>
<input
id=
"id_account_key"
class=
"form-control"
type=
"text"
name=
"ACCOUNT_KEY"
value=
""
>
<input
id=
"id_account_key"
class=
"form-control"
type=
"text"
name=
"ACCOUNT_KEY"
value=
""
placeholder=
"Account key"
>
</div>
</div>
<div
class=
"form-group"
style=
"display: none;"
>
<label
class=
"col-md-2 control-label"
for=
"id_endpoint"
>
{% trans "Endpoint" %}
</label>
<div
class=
"col-md-9"
>
<input
id=
"id_endpoint"
class=
"form-control"
type=
"text"
name=
"ENDPOINT"
value=
""
>
<input
id=
"id_endpoint"
class=
"form-control"
type=
"text"
name=
"ENDPOINT"
value=
""
placeholder=
"Endpoint"
>
</div>
</div>
<div
class=
"form-group"
style=
"display: none;"
>
<label
class=
"col-md-2 control-label"
for=
"id_endpoint_suffix"
>
{% trans "Endpoint suffix" %}
</label>
{#
<div
class=
"col-md-9"
>
#}
{#
<input
id=
"id_endpoint_suffix"
class=
"form-control"
type=
"text"
name=
"ENDPOINT_SUFFIX"
value=
""
>
#}
{#
<div
class=
"help-block"
>
{% trans '' %}
</div>
#}
{#
</div>
#}
<div
class=
"col-md-9"
>
<input
id=
"id_endpoint_suffix"
class=
"form-control"
type=
"text"
name=
"ENDPOINT_SUFFIX"
value=
""
>
<select
id=
"id_endpoint_suffix"
name=
"ENDPOINT_SUFFIX"
class=
"endpoint-suffix-selector form-control"
>
<option
value=
"core.chinacloudapi.cn"
selected=
"selected"
>
core.chinacloudapi.cn
</option>
<option
value=
"core.windows.net"
>
core.windows.net
</option>
</select>
</div>
</div>
<div
class=
"form-group"
style=
"display: none;"
>
<label
class=
"col-md-2 control-label"
for=
"id_region"
>
{% trans "Region" %}
</label>
<div
class=
"col-md-9"
>
<input
id=
"id_region"
class=
"form-control"
type=
"text"
name=
"REGION"
value=
""
>
<input
id=
"id_region"
class=
"form-control"
type=
"text"
name=
"REGION"
value=
""
placeholder=
""
>
</div>
</div>
...
...
apps/locale/zh/LC_MESSAGES/django.mo
View file @
27912138
No preview for this file type
apps/locale/zh/LC_MESSAGES/django.po
View file @
27912138
...
...
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Jumpserver 0.3.3\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-10-
16 16:03
+0800\n"
"POT-Creation-Date: 2018-10-
23 20:30
+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"
...
...
@@ -34,8 +34,8 @@ msgid "Test if the assets under the node are connectable: {}"
msgstr "测试节点下资产是否可连接: {}"
#: assets/forms/asset.py:27 assets/models/asset.py:83 assets/models/user.py:113
#: assets/templates/assets/asset_detail.html:18
3
#: assets/templates/assets/asset_detail.html:19
1
#: assets/templates/assets/asset_detail.html:18
7
#: assets/templates/assets/asset_detail.html:19
5
#: assets/templates/assets/system_user_asset.html:95 perms/models.py:32
msgid "Nodes"
msgstr "节点管理"
...
...
@@ -43,7 +43,7 @@ msgstr "节点管理"
#: assets/forms/asset.py:30 assets/forms/asset.py:69 assets/forms/asset.py:112
#: assets/forms/asset.py:116 assets/models/asset.py:88
#: assets/models/cluster.py:19 assets/models/user.py:73
#: assets/templates/assets/asset_detail.html:7
3
templates/_nav.html:24
#: assets/templates/assets/asset_detail.html:7
7
templates/_nav.html:24
#: xpack/plugins/cloud/models.py:137
#: xpack/plugins/cloud/templates/cloud/sync_instance_task_detail.html:67
#: xpack/plugins/orgs/templates/orgs/org_list.html:18
...
...
@@ -110,6 +110,7 @@ msgstr "选择资产"
#: assets/templates/assets/domain_gateway_list.html:58
#: assets/templates/assets/system_user_asset.html:52
#: assets/templates/assets/user_asset_list.html:163
#: common/templates/common/replay_storage_create.html:60
msgid "Port"
msgstr "端口"
...
...
@@ -154,8 +155,10 @@ msgstr "不能包含特殊字符"
#: assets/templates/assets/label_list.html:14
#: assets/templates/assets/system_user_detail.html:58
#: assets/templates/assets/system_user_list.html:29 common/models.py:30
#: common/templates/common/terminal_setting.html:72
#: common/templates/common/terminal_setting.html:90 ops/models/adhoc.py:37
#: common/templates/common/command_storage_create.html:41
#: common/templates/common/replay_storage_create.html:44
#: common/templates/common/terminal_setting.html:80
#: common/templates/common/terminal_setting.html:102 ops/models/adhoc.py:37
#: ops/templates/ops/task_detail.html:59 ops/templates/ops/task_list.html:35
#: orgs/models.py:12 perms/models.py:28
#: perms/templates/perms/asset_permission_detail.html:62
...
...
@@ -243,7 +246,9 @@ msgstr "自动推送系统用户到资产"
msgid ""
"1-100, High level will be using login asset as default, if user was granted "
"more than 2 system user"
msgstr "1-100, 1最低优先级,100最高优先级。授权多个用户时,高优先级的系统用户将会作为默认登录用户"
msgstr ""
"1-100, 1最低优先级,100最高优先级。授权多个用户时,高优先级的系统用户将会作为"
"默认登录用户"
#: assets/forms/user.py:155
msgid ""
...
...
@@ -281,7 +286,7 @@ msgid "Hostname"
msgstr "主机名"
#: assets/models/asset.py:75 assets/models/domain.py:49
#: assets/models/user.py:117
#: assets/models/user.py:117
assets/templates/assets/asset_detail.html:73
#: assets/templates/assets/domain_gateway_list.html:59
#: assets/templates/assets/system_user_detail.html:70
#: assets/templates/assets/system_user_list.html:31
...
...
@@ -290,14 +295,14 @@ msgstr "主机名"
msgid "Protocol"
msgstr "协议"
#: assets/models/asset.py:77 assets/templates/assets/asset_detail.html:
97
#: assets/models/asset.py:77 assets/templates/assets/asset_detail.html:
101
#: assets/templates/assets/user_asset_list.html:165
msgid "Platform"
msgstr "系统平台"
#: assets/models/asset.py:84 assets/models/cmd_filter.py:20
#: assets/models/domain.py:52 assets/models/label.py:21
#: assets/templates/assets/asset_detail.html:10
5
#: assets/templates/assets/asset_detail.html:10
9
#: assets/templates/assets/user_asset_list.html:169
msgid "Is active"
msgstr "激活"
...
...
@@ -306,19 +311,19 @@ msgstr "激活"
msgid "Public IP"
msgstr "公网IP"
#: assets/models/asset.py:92 assets/templates/assets/asset_detail.html:11
3
#: assets/models/asset.py:92 assets/templates/assets/asset_detail.html:11
7
msgid "Asset number"
msgstr "资产编号"
#: assets/models/asset.py:96 assets/templates/assets/asset_detail.html:
77
#: assets/models/asset.py:96 assets/templates/assets/asset_detail.html:
81
msgid "Vendor"
msgstr "制造商"
#: assets/models/asset.py:98 assets/templates/assets/asset_detail.html:8
1
#: assets/models/asset.py:98 assets/templates/assets/asset_detail.html:8
5
msgid "Model"
msgstr "型号"
#: assets/models/asset.py:100 assets/templates/assets/asset_detail.html:1
09
#: assets/models/asset.py:100 assets/templates/assets/asset_detail.html:1
13
msgid "Serial number"
msgstr "序列号"
...
...
@@ -338,7 +343,7 @@ msgstr "CPU核数"
msgid "CPU vcpus"
msgstr "CPU总数"
#: assets/models/asset.py:108 assets/templates/assets/asset_detail.html:
89
#: assets/models/asset.py:108 assets/templates/assets/asset_detail.html:
93
msgid "Memory"
msgstr "内存"
...
...
@@ -350,7 +355,7 @@ msgstr "硬盘大小"
msgid "Disk info"
msgstr "硬盘信息"
#: assets/models/asset.py:115 assets/templates/assets/asset_detail.html:10
1
#: assets/models/asset.py:115 assets/templates/assets/asset_detail.html:10
5
#: assets/templates/assets/user_asset_list.html:166
msgid "OS"
msgstr "操作系统"
...
...
@@ -368,7 +373,7 @@ msgid "Hostname raw"
msgstr "主机名原始"
#: assets/models/asset.py:125 assets/templates/assets/asset_create.html:34
#: assets/templates/assets/asset_detail.html:22
0
#: assets/templates/assets/asset_detail.html:22
4
#: assets/templates/assets/asset_update.html:39 templates/_nav.html:26
msgid "Labels"
msgstr "标签管理"
...
...
@@ -377,7 +382,7 @@ msgstr "标签管理"
#: assets/models/cluster.py:28 assets/models/cmd_filter.py:24
#: assets/models/cmd_filter.py:54 assets/models/group.py:21
#: assets/templates/assets/admin_user_detail.html:68
#: assets/templates/assets/asset_detail.html:1
17
#: assets/templates/assets/asset_detail.html:1
21
#: assets/templates/assets/cmd_filter_detail.html:77
#: assets/templates/assets/domain_detail.html:72
#: assets/templates/assets/system_user_detail.html:100
...
...
@@ -412,7 +417,7 @@ msgstr "创建日期"
#: assets/models/domain.py:51 assets/models/group.py:23
#: assets/models/label.py:22 assets/templates/assets/admin_user_detail.html:72
#: assets/templates/assets/admin_user_list.html:32
#: assets/templates/assets/asset_detail.html:12
5
#: assets/templates/assets/asset_detail.html:12
9
#: assets/templates/assets/cmd_filter_detail.html:65
#: assets/templates/assets/cmd_filter_list.html:27
#: assets/templates/assets/cmd_filter_rule_list.html:62
...
...
@@ -533,8 +538,10 @@ msgstr "过滤器"
#: assets/models/cmd_filter.py:46
#: assets/templates/assets/cmd_filter_rule_list.html:58
#: audits/templates/audits/login_log_list.html:50
#: common/templates/common/terminal_setting.html:73
#: common/templates/common/terminal_setting.html:91
#: common/templates/common/command_storage_create.html:31
#: common/templates/common/replay_storage_create.html:31
#: common/templates/common/terminal_setting.html:81
#: common/templates/common/terminal_setting.html:103
msgid "Type"
msgstr "类型"
...
...
@@ -568,6 +575,8 @@ msgstr "每行一个命令"
#: assets/templates/assets/system_user_list.html:38 audits/models.py:37
#: audits/templates/audits/operate_log_list.html:41
#: audits/templates/audits/operate_log_list.html:67
#: common/templates/common/terminal_setting.html:82
#: common/templates/common/terminal_setting.html:104
#: 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:42
#: perms/templates/perms/asset_permission_list.html:60
...
...
@@ -843,10 +852,12 @@ msgstr "其它"
#: assets/templates/assets/gateway_create_update.html:58
#: assets/templates/assets/label_create_update.html:18
#: common/templates/common/basic_setting.html:61
#: common/templates/common/command_storage_create.html:81
#: common/templates/common/email_setting.html:62
#: common/templates/common/ldap_setting.html:62
#: common/templates/common/replay_storage_create.html:139
#: common/templates/common/security_setting.html:70
#: common/templates/common/terminal_setting.html:
106
#: common/templates/common/terminal_setting.html:
68
#: perms/templates/perms/asset_permission_create_update.html:69
#: terminal/templates/terminal/terminal_update.html:47
#: users/templates/users/_user.html:46
...
...
@@ -874,10 +885,12 @@ msgstr "重置"
#: assets/templates/assets/gateway_create_update.html:59
#: assets/templates/assets/label_create_update.html:19
#: common/templates/common/basic_setting.html:62
#: common/templates/common/command_storage_create.html:82
#: common/templates/common/email_setting.html:63
#: common/templates/common/ldap_setting.html:63
#: common/templates/common/replay_storage_create.html:140
#: common/templates/common/security_setting.html:71
#: common/templates/common/terminal_setting.html:
108
#: common/templates/common/terminal_setting.html:
70
#: perms/templates/perms/asset_permission_create_update.html:70
#: terminal/templates/terminal/command_list.html:103
#: terminal/templates/terminal/session_list.html:127
...
...
@@ -945,12 +958,12 @@ msgid "Quick update"
msgstr "快速更新"
#: assets/templates/assets/admin_user_assets.html:72
#: assets/templates/assets/asset_detail.html:1
68
#: assets/templates/assets/asset_detail.html:1
72
msgid "Test connective"
msgstr "测试可连接性"
#: assets/templates/assets/admin_user_assets.html:75
#: assets/templates/assets/asset_detail.html:17
1
#: assets/templates/assets/asset_detail.html:17
5
#: assets/templates/assets/system_user_asset.html:75
#: assets/templates/assets/system_user_asset.html:161
#: assets/templates/assets/system_user_detail.html:151
...
...
@@ -1003,6 +1016,8 @@ msgstr "更新"
#: assets/templates/assets/label_list.html:39
#: assets/templates/assets/system_user_detail.html:30
#: assets/templates/assets/system_user_list.html:93 audits/models.py:33
#: common/templates/common/terminal_setting.html:90
#: common/templates/common/terminal_setting.html:112
#: ops/templates/ops/task_list.html:72
#: perms/templates/perms/asset_permission_detail.html:34
#: perms/templates/perms/asset_permission_list.html:201
...
...
@@ -1031,12 +1046,13 @@ msgid "Select nodes"
msgstr "选择节点"
#: assets/templates/assets/admin_user_detail.html:100
#: assets/templates/assets/asset_detail.html:20
0
#: assets/templates/assets/asset_detail.html:20
4
#: assets/templates/assets/asset_list.html:633
#: assets/templates/assets/cmd_filter_detail.html:106
#: assets/templates/assets/system_user_asset.html:112
#: assets/templates/assets/system_user_detail.html:182
#: assets/templates/assets/system_user_list.html:143 templates/_modal.html:22
#: assets/templates/assets/system_user_list.html:143
#: common/templates/common/terminal_setting.html:165 templates/_modal.html:22
#: terminal/templates/terminal/session_detail.html:108
#: users/templates/users/user_detail.html:382
#: users/templates/users/user_detail.html:408
...
...
@@ -1096,28 +1112,28 @@ msgstr "选择需要修改属性"
msgid "Select all"
msgstr "全选"
#: assets/templates/assets/asset_detail.html:8
5
#: assets/templates/assets/asset_detail.html:8
9
msgid "CPU"
msgstr "CPU"
#: assets/templates/assets/asset_detail.html:9
3
#: assets/templates/assets/asset_detail.html:9
7
msgid "Disk"
msgstr "硬盘"
#: assets/templates/assets/asset_detail.html:12
1
#: assets/templates/assets/asset_detail.html:12
5
#: users/templates/users/user_detail.html:115
#: users/templates/users/user_profile.html:104
msgid "Date joined"
msgstr "创建日期"
#: assets/templates/assets/asset_detail.html:1
37
#: assets/templates/assets/asset_detail.html:1
41
#: terminal/templates/terminal/session_detail.html:81
#: users/templates/users/user_detail.html:134
#: users/templates/users/user_profile.html:142
msgid "Quick modify"
msgstr "快速修改"
#: assets/templates/assets/asset_detail.html:14
3
#: assets/templates/assets/asset_detail.html:14
7
#: assets/templates/assets/asset_list.html:95
#: assets/templates/assets/user_asset_list.html:47 perms/models.py:34
#: perms/models.py:82
...
...
@@ -1134,15 +1150,15 @@ msgstr "快速修改"
msgid "Active"
msgstr "激活中"
#: assets/templates/assets/asset_detail.html:16
0
#: assets/templates/assets/asset_detail.html:16
4
msgid "Refresh hardware"
msgstr "更新硬件信息"
#: assets/templates/assets/asset_detail.html:16
3
#: assets/templates/assets/asset_detail.html:16
7
msgid "Refresh"
msgstr "刷新"
#: assets/templates/assets/asset_detail.html:30
0
#: assets/templates/assets/asset_detail.html:30
4
#: users/templates/users/user_detail.html:301
#: users/templates/users/user_detail.html:328
msgid "Update successfully!"
...
...
@@ -1271,6 +1287,7 @@ msgstr "删除选择资产"
#: assets/templates/assets/asset_list.html:631
#: assets/templates/assets/system_user_list.html:141
#: common/templates/common/terminal_setting.html:163
#: users/templates/users/user_detail.html:380
#: users/templates/users/user_detail.html:406
#: users/templates/users/user_detail.html:474
...
...
@@ -1747,22 +1764,34 @@ msgstr "用户管理"
msgid "Login log"
msgstr "登录日志"
#: common/api.py:
18
#: common/api.py:
22
msgid "Test mail sent to {}, please check"
msgstr "邮件已经发送{}, 请检查"
#: common/api.py:4
2
#: common/api.py:4
6
msgid "Test ldap success"
msgstr "连接LDAP成功"
#: common/api.py:7
2
#: common/api.py:7
6
msgid "Search no entry matched in ou {}"
msgstr "在ou:{}中没有匹配条目"
#: common/api.py:8
1
#: common/api.py:8
5
msgid "Match {} s users"
msgstr "匹配 {} 个用户"
#: common/api.py:107 common/api.py:138
msgid "Error: Account invalid"
msgstr ""
#: common/api.py:110 common/api.py:141
msgid "Create succeed"
msgstr "创建成功"
#: common/api.py:127 common/api.py:157
msgid "Delete succeed"
msgstr "删除成功"
#: common/const.py:6
#, python-format
msgid "<b>%(name)s</b> was created successfully"
...
...
@@ -1879,120 +1908,98 @@ msgid "Enable LDAP auth"
msgstr "启用LDAP认证"
#: common/forms.py:139
msgid "
List sort by
"
msgstr "
资产列表排序
"
msgid "
Password auth
"
msgstr "
密码认证
"
#: common/forms.py:142
msgid "Public key auth"
msgstr "密钥认证"
#: common/forms.py:145
msgid "Heartbeat interval"
msgstr "心跳间隔"
#: common/forms.py:14
2
ops/models/adhoc.py:38
#: common/forms.py:14
5
ops/models/adhoc.py:38
msgid "Units: seconds"
msgstr "单位: 秒"
#: common/forms.py:145
msgid "Password auth"
msgstr "密码认证"
#: common/forms.py:148
msgid "Public key auth"
msgstr "密钥认证"
#: common/forms.py:151 common/templates/common/terminal_setting.html:68
#: terminal/forms.py:30 terminal/models.py:22
msgid "Command storage"
msgstr "命令存储"
#: common/forms.py:152
msgid ""
"Set terminal storage setting, `default` is the using as default,You can set "
"other storage and some terminal using"
msgstr "设置终端命令存储,default是默认用的存储方式"
#: common/forms.py:157 common/templates/common/terminal_setting.html:86
#: terminal/forms.py:35 terminal/models.py:23
msgid "Replay storage"
msgstr "录像存储"
#: common/forms.py:158
msgid ""
"Set replay storage setting, `default` is the using as default,You can set "
"other storage and some terminal using"
msgstr "设置终端录像存储,default是默认用的存储方式"
msgid "List sort by"
msgstr "资产列表排序"
#: common/forms.py:1
68
#: common/forms.py:1
72
msgid "MFA Secondary certification"
msgstr "MFA 二次认证"
#: common/forms.py:17
0
#: common/forms.py:17
4
msgid ""
"After opening, the user login must use MFA secondary authentication (valid "
"for all users, including administrators)"
msgstr "开启后,用户登录必须使用MFA二次认证(对所有用户有效,包括管理员)"
#: common/forms.py:1
77
#: common/forms.py:1
81
msgid "Limit the number of login failures"
msgstr "限制登录失败次数"
#: common/forms.py:18
2
#: common/forms.py:18
6
msgid "No logon interval"
msgstr "禁止登录时间间隔"
#: common/forms.py:18
4
#: common/forms.py:18
8
msgid ""
"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."
msgstr ""
"提示: (单位: 分钟) 当用户登录失败次数达到限制后,那么在此时间间隔内禁止登录."
#: common/forms.py:19
0
#: common/forms.py:19
4
msgid "Connection max idle time"
msgstr "SSH最大空闲时间"
#: common/forms.py:19
2
#: common/forms.py:19
6
msgid ""
"If idle time more than it, disconnect connection(only ssh now) Unit: minute"
msgstr "提示: (单位: 分钟) 如果超过该配置没有操作,连接会被断开(仅ssh) "
#: common/forms.py:
198
#: common/forms.py:
202
msgid "Password minimum length"
msgstr "密码最小长度 "
#: common/forms.py:20
4
#: common/forms.py:20
8
msgid "Must contain capital letters"
msgstr "必须包含大写字母"
#: common/forms.py:2
06
#: common/forms.py:2
10
msgid ""
"After opening, the user password changes and resets must contain uppercase "
"letters"
msgstr "开启后,用户密码修改、重置必须包含大写字母"
#: common/forms.py:21
2
#: common/forms.py:21
6
msgid "Must contain lowercase letters"
msgstr "必须包含小写字母"
#: common/forms.py:21
3
#: common/forms.py:21
7
msgid ""
"After opening, the user password changes and resets must contain lowercase "
"letters"
msgstr "开启后,用户密码修改、重置必须包含小写字母"
#: common/forms.py:2
19
#: common/forms.py:2
23
msgid "Must contain numeric characters"
msgstr "必须包含数字字符"
#: common/forms.py:22
0
#: common/forms.py:22
4
msgid ""
"After opening, the user password changes and resets must contain numeric "
"characters"
msgstr "开启后,用户密码修改、重置必须包含数字字符"
#: common/forms.py:2
26
#: common/forms.py:2
30
msgid "Must contain special characters"
msgstr "必须包含特殊字符"
#: common/forms.py:2
27
#: common/forms.py:2
31
msgid ""
"After opening, the user password changes and resets must contain special "
"characters"
...
...
@@ -2016,7 +2023,7 @@ msgstr "启用"
#: common/templates/common/ldap_setting.html:15
#: common/templates/common/security_setting.html:15
#: common/templates/common/terminal_setting.html:16
#: common/templates/common/terminal_setting.html:46 common/views.py:2
0
#: common/templates/common/terminal_setting.html:46 common/views.py:2
2
msgid "Basic setting"
msgstr "基本设置"
...
...
@@ -2024,7 +2031,7 @@ msgstr "基本设置"
#: common/templates/common/email_setting.html:18
#: common/templates/common/ldap_setting.html:18
#: common/templates/common/security_setting.html:18
#: common/templates/common/terminal_setting.html:20 common/views.py:4
6
#: common/templates/common/terminal_setting.html:20 common/views.py:4
8
msgid "Email setting"
msgstr "邮件设置"
...
...
@@ -2032,7 +2039,7 @@ msgstr "邮件设置"
#: common/templates/common/email_setting.html:21
#: common/templates/common/ldap_setting.html:21
#: common/templates/common/security_setting.html:21
#: common/templates/common/terminal_setting.html:24 common/views.py:7
2
#: common/templates/common/terminal_setting.html:24 common/views.py:7
4
msgid "LDAP setting"
msgstr "LDAP设置"
...
...
@@ -2040,7 +2047,7 @@ msgstr "LDAP设置"
#: common/templates/common/email_setting.html:24
#: common/templates/common/ldap_setting.html:24
#: common/templates/common/security_setting.html:24
#: common/templates/common/terminal_setting.html:28 common/views.py:10
2
#: common/templates/common/terminal_setting.html:28 common/views.py:10
5
msgid "Terminal setting"
msgstr "终端设置"
...
...
@@ -2048,10 +2055,72 @@ msgstr "终端设置"
#: common/templates/common/email_setting.html:27
#: common/templates/common/ldap_setting.html:27
#: common/templates/common/security_setting.html:27
#: common/templates/common/terminal_setting.html:31 common/views.py:1
30
#: common/templates/common/terminal_setting.html:31 common/views.py:1
57
msgid "Security setting"
msgstr "安全设置"
#: common/templates/common/command_storage_create.html:50
#: ops/models/adhoc.py:159 ops/templates/ops/adhoc_detail.html:53
#: ops/templates/ops/task_adhoc.html:59 ops/templates/ops/task_list.html:38
msgid "Hosts"
msgstr "主机"
#: common/templates/common/command_storage_create.html:53
msgid "Tips: If there are multiple hosts, separate them with a comma (,)"
msgstr "提示: 如果有多台主机,请使用逗号 ( , ) 进行分割"
#: common/templates/common/command_storage_create.html:65
msgid "Index"
msgstr "索引"
#: common/templates/common/command_storage_create.html:72
msgid "Doc type"
msgstr "文档类型"
#: common/templates/common/replay_storage_create.html:53
#: templates/index.html:91
msgid "Host"
msgstr "主机"
#: common/templates/common/replay_storage_create.html:67
msgid "Bucket"
msgstr "桶名称"
#: common/templates/common/replay_storage_create.html:74
msgid "Access key"
msgstr ""
#: common/templates/common/replay_storage_create.html:81
msgid "Secret key"
msgstr ""
#: common/templates/common/replay_storage_create.html:88
msgid "Container name"
msgstr "容器名称"
#: common/templates/common/replay_storage_create.html:95
msgid "Account name"
msgstr "账户名称"
#: common/templates/common/replay_storage_create.html:102
msgid "Account key"
msgstr "账户密钥"
#: common/templates/common/replay_storage_create.html:109
msgid "Endpoint"
msgstr "端点"
#: common/templates/common/replay_storage_create.html:116
msgid "Endpoint suffix"
msgstr "端点后缀"
#: common/templates/common/replay_storage_create.html:130
#: xpack/plugins/cloud/models.py:206
#: xpack/plugins/cloud/templates/cloud/sync_instance_task_detail.html:83
#: xpack/plugins/cloud/templates/cloud/sync_instance_task_instance.html:64
msgid "Region"
msgstr "地域"
#: common/templates/common/security_setting.html:42
msgid "User login settings"
msgstr "用户登录设置"
...
...
@@ -2060,20 +2129,65 @@ msgstr "用户登录设置"
msgid "Password check rule"
msgstr "密码校验规则"
#: common/templates/common/terminal_setting.html:76 terminal/forms.py:33
#: terminal/models.py:22
msgid "Command storage"
msgstr "命令存储"
#: common/templates/common/terminal_setting.html:95
#: common/templates/common/terminal_setting.html:117
#: perms/templates/perms/asset_permission_asset.html:97
#: perms/templates/perms/asset_permission_detail.html:157
#: perms/templates/perms/asset_permission_user.html:97
#: perms/templates/perms/asset_permission_user.html:125
#: users/templates/users/user_group_detail.html:95
#: xpack/plugins/orgs/templates/orgs/org_detail.html:93
#: xpack/plugins/orgs/templates/orgs/org_detail.html:130
msgid "Add"
msgstr "添加"
#: common/templates/common/terminal_setting.html:98 terminal/forms.py:38
#: terminal/models.py:23
msgid "Replay storage"
msgstr "录像存储"
#: common/templates/common/terminal_setting.html:151
#, fuzzy
#| msgid "Delete succeed"
msgid "Delete success"
msgstr "删除成功"
#: common/templates/common/terminal_setting.html:154
msgid "Delete failed"
msgstr "删除失败"
#: common/templates/common/terminal_setting.html:159
msgid "Are you sure about deleting it?"
msgstr "您确定删除吗?"
#: common/validators.py:7
msgid "Special char not allowed"
msgstr "不能包含特殊字符"
#: common/views.py:19 common/views.py:45 common/views.py:71 common/views.py:101
#: common/views.py:129 templates/_nav.html:116
#: common/views.py:21 common/views.py:47 common/views.py:73 common/views.py:104
#: common/views.py:131 common/views.py:143 common/views.py:156
#: templates/_nav.html:116
msgid "Settings"
msgstr "系统设置"
#: common/views.py:3
0 common/views.py:56 common/views.py:84 common/views.py:114
#: common/views.py:1
40
#: common/views.py:3
2 common/views.py:58 common/views.py:86 common/views.py:117
#: common/views.py:1
67
msgid "Update setting successfully, please restart program"
msgstr "更新设置成功, 请手动重启程序"
#: common/views.py:132
msgid "Create replay storage"
msgstr "创建录像存储"
#: common/views.py:144
msgid "Create command storage"
msgstr "创建命令存储"
#: jumpserver/views.py:180
msgid ""
"<div>Luna is a separately deployed program, you need to deploy Luna, coco, "
...
...
@@ -2117,11 +2231,6 @@ msgstr "模式"
msgid "Options"
msgstr "选项"
#: ops/models/adhoc.py:159 ops/templates/ops/adhoc_detail.html:53
#: ops/templates/ops/task_adhoc.html:59 ops/templates/ops/task_list.html:38
msgid "Hosts"
msgstr "主机"
#: ops/models/adhoc.py:160
msgid "Run as admin"
msgstr "再次执行"
...
...
@@ -2380,16 +2489,6 @@ msgstr "资产或资产组"
msgid "Add asset to this permission"
msgstr "添加资产"
#: perms/templates/perms/asset_permission_asset.html:97
#: perms/templates/perms/asset_permission_detail.html:157
#: perms/templates/perms/asset_permission_user.html:97
#: perms/templates/perms/asset_permission_user.html:125
#: users/templates/users/user_group_detail.html:95
#: xpack/plugins/orgs/templates/orgs/org_detail.html:93
#: xpack/plugins/orgs/templates/orgs/org_detail.html:130
msgid "Add"
msgstr "添加"
#: perms/templates/perms/asset_permission_asset.html:108
msgid "Add node to this permission"
msgstr "添加节点"
...
...
@@ -2665,10 +2764,6 @@ msgid ""
"assets per user host per month, respectively."
msgstr "以下图形分别描述一个月活跃用户和资产占所有用户主机的百分比"
#: templates/index.html:91
msgid "Host"
msgstr "主机"
#: templates/index.html:106 templates/index.html:121
msgid "Top 10 assets in a week"
msgstr "一周Top10资产"
...
...
@@ -2787,12 +2882,12 @@ msgstr "输入"
msgid "Session"
msgstr "会话"
#: terminal/forms.py:3
1
#: terminal/forms.py:3
4
msgid "Command can store in server db or ES, default to server, more see docs"
msgstr ""
"命令支持存储到服务器端数据库、ES中,默认存储的服务器端数据库,更多查看文档"
#: terminal/forms.py:3
6
#: terminal/forms.py:3
9
msgid ""
"Replay file can store in server disk, AWS S3, Aliyun OSS, default to server, "
"more see docs"
...
...
@@ -4160,12 +4255,6 @@ msgstr "同步实例任务历史"
msgid "Instance"
msgstr "实例"
#: xpack/plugins/cloud/models.py:206
#: xpack/plugins/cloud/templates/cloud/sync_instance_task_detail.html:83
#: xpack/plugins/cloud/templates/cloud/sync_instance_task_instance.html:64
msgid "Region"
msgstr "地域"
#: xpack/plugins/cloud/providers/base.py:73
msgid "任务执行开始: {}"
msgstr ""
...
...
@@ -4339,6 +4428,16 @@ msgstr "创建组织"
msgid "Update org"
msgstr "更新组织"
#~ msgid ""
#~ "Set terminal storage setting, `default` is the using as default,You can "
#~ "set other storage and some terminal using"
#~ msgstr "设置终端命令存储,default是默认用的存储方式"
#~ msgid ""
#~ "Set replay storage setting, `default` is the using as default,You can set "
#~ "other storage and some terminal using"
#~ msgstr "设置终端录像存储,default是默认用的存储方式"
#~ msgid "Sync instance task detail"
#~ 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