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
73a99de5
Commit
73a99de5
authored
Jan 01, 2018
by
ibuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Update] 修改terminal翻译
parent
3b6403b2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
26 deletions
+26
-26
django.mo
apps/locale/zh/LC_MESSAGES/django.mo
+0
-0
django.po
apps/locale/zh/LC_MESSAGES/django.po
+26
-24
session.py
apps/terminal/views/session.py
+0
-2
No files found.
apps/locale/zh/LC_MESSAGES/django.mo
View file @
73a99de5
No preview for this file type
apps/locale/zh/LC_MESSAGES/django.po
View file @
73a99de5
...
...
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Jumpserver 0.3.3\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-01-01 1
4:59
+0800\n"
"POT-Creation-Date: 2018-01-01 1
5:33
+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"
...
...
@@ -496,6 +496,10 @@ msgstr "推送系统用户到资产: {}"
msgid "Push system user to cluster assets period: {}->{}"
msgstr "定期推送系统用户到资产: {}->{}"
#: assets/templates/assets/_asset_group_bulk_update_modal.html:5
msgid "Update asset group"
msgstr "编辑用户组"
#: assets/templates/assets/_asset_group_bulk_update_modal.html:8
msgid "Hint: only change the field you want to update."
msgstr "仅修改你需要更新的字段"
...
...
@@ -1292,7 +1296,7 @@ msgid "Version detail"
msgstr "版本详情"
#: ops/templates/ops/adhoc_detail.html:22
#: ops/templates/ops/adhoc_history.html:22 ops/views.py:12
1
#: ops/templates/ops/adhoc_history.html:22 ops/views.py:12
0
msgid "Version run history"
msgstr "执行历史"
...
...
@@ -1364,7 +1368,7 @@ msgstr "失败/成功/总"
msgid "Version"
msgstr "版本"
#: ops/templates/ops/adhoc_history_detail.html:19 ops/views.py:13
4
#: ops/templates/ops/adhoc_history_detail.html:19 ops/views.py:13
3
msgid "Run history detail"
msgstr "执行历史详情"
...
...
@@ -1390,12 +1394,12 @@ msgid "Success assets"
msgstr "成功资产"
#: ops/templates/ops/task_adhoc.html:19 ops/templates/ops/task_detail.html:19
#: ops/templates/ops/task_history.html:19 ops/views.py:5
9
#: ops/templates/ops/task_history.html:19 ops/views.py:5
8
msgid "Task detail"
msgstr "任务详情"
#: ops/templates/ops/task_adhoc.html:22 ops/templates/ops/task_detail.html:22
#: ops/templates/ops/task_history.html:22 ops/views.py:7
2
#: ops/templates/ops/task_history.html:22 ops/views.py:7
1
msgid "Task versions"
msgstr "任务各版本"
...
...
@@ -1446,16 +1450,16 @@ msgstr "成功"
msgid "Date"
msgstr "日期"
#: ops/views.py:4
2 ops/views.py:58 ops/views.py:71 ops/views.py:84
#: ops/views.py:10
7 ops/views.py:120 ops/views.py:133
#: ops/views.py:4
1 ops/views.py:57 ops/views.py:70 ops/views.py:83
#: ops/views.py:10
6 ops/views.py:119 ops/views.py:132
msgid "Ops"
msgstr "作业中心"
#: ops/views.py:4
3
#: ops/views.py:4
2
msgid "Task list"
msgstr "任务列表"
#: ops/views.py:8
5
#: ops/views.py:8
4
msgid "Task run history"
msgstr "执行历史"
...
...
@@ -1736,10 +1740,10 @@ msgstr "任务"
#: templates/_nav.html:47 templates/_nav.html:50
#: terminal/templates/terminal/session_list.html:74
#: terminal/views/command.py:47 terminal/views/session.py:
77
#: terminal/views/session.py:
94 terminal/views/session.py:116
#: terminal/views/
terminal.py:31 terminal/views/terminal.py:46
#: terminal/views/terminal.py:58
#: terminal/views/command.py:47 terminal/views/session.py:
54
#: terminal/views/session.py:
77 terminal/views/session.py:94
#: terminal/views/
session.py:116 terminal/views/terminal.py:31
#: terminal/views/terminal.py:
46 terminal/views/terminal.py:
58
msgid "Terminal"
msgstr "终端"
...
...
@@ -1967,22 +1971,14 @@ msgstr "接受终端注册"
msgid "Info"
msgstr "信息"
#: terminal/views/session.py:54
msgid "Audits"
msgstr "审计中心"
#: terminal/views/session.py:55
msgid "Proxy log list"
msgstr "Session列表"
#: terminal/views/session.py:55 terminal/views/session.py:95
msgid "Session offline list"
msgstr "离线会话"
#: terminal/views/session.py:78
msgid "Session online list"
msgstr "在线会话"
#: terminal/views/session.py:95
msgid "Session offline list"
msgstr "离线会话"
#: terminal/views/terminal.py:32
msgid "Terminal list"
msgstr "终端列表"
...
...
@@ -2652,5 +2648,11 @@ msgstr "密码更新"
msgid "Public key update"
msgstr "秘钥更新"
#~ msgid "Audits"
#~ msgstr "审计中心"
#~ msgid "Proxy log list"
#~ msgstr "Session列表"
#~ msgid "If also set private key, use that first"
#~ msgstr "如果设置私钥,则优先使用密钥"
apps/terminal/views/session.py
View file @
73a99de5
...
...
@@ -51,8 +51,6 @@ class SessionListView(AdminUserRequiredMixin, DatetimeSearchMixin, ListView):
def
get_context_data
(
self
,
**
kwargs
):
context
=
{
'app'
:
_
(
'Audits'
),
'action'
:
_
(
'Proxy log list'
),
'user_list'
:
utils
.
get_user_list_from_cache
(),
'asset_list'
:
utils
.
get_asset_list_from_cache
(),
'system_user_list'
:
utils
.
get_system_user_list_from_cache
(),
...
...
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