Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
coco
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
coco
Commits
f44e04bd
Commit
f44e04bd
authored
Feb 21, 2019
by
BaiJiangJie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Update] Interface - 修改显示信息
parent
f7472cfd
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
11 deletions
+11
-11
interactive.py
coco/interactive.py
+3
-3
coco.mo
locale/en/LC_MESSAGES/coco.mo
+0
-0
coco.po
locale/en/LC_MESSAGES/coco.po
+3
-3
coco.mo
locale/zh_CN/LC_MESSAGES/coco.mo
+0
-0
coco.po
locale/zh_CN/LC_MESSAGES/coco.po
+5
-5
No files found.
coco/interactive.py
View file @
f44e04bd
...
...
@@ -80,11 +80,11 @@ class InteractiveServer:
#
def
display_banner
(
self
):
default_title
=
_
(
'Jumpserver open source fortress system'
)
header_title
=
config
.
get
(
'HEADER_TITLE'
,
default_title
)
default_title
=
_
(
'
Welcome to use
Jumpserver open source fortress system'
)
header_title
=
config
.
get
(
'HEADER_TITLE'
)
or
default_title
self
.
client
.
send
(
char
.
CLEAR_CHAR
)
self
.
display_logo
()
header
=
_
(
"
\n
{T}{T}{title} {user},
Welcome to use
{header_title} {end}{R}{R}"
)
header
=
_
(
"
\n
{T}{T}{title} {user}, {header_title} {end}{R}{R}"
)
menu
=
[
_
(
"{T}1) Enter {green}ID{end} directly login or enter {green}part IP, Hostname, Comment{end} to search login(if unique).{R}"
),
_
(
"{T}2) Enter {green}/{end} + {green}IP, Hostname{end} or {green}Comment {end} search, such as: /ip.{R}"
),
...
...
locale/en/LC_MESSAGES/coco.mo
View file @
f44e04bd
No preview for this file type
locale/en/LC_MESSAGES/coco.po
View file @
f44e04bd
...
...
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-02-21
19:2
0+0800\n"
"POT-Creation-Date: 2019-02-21
20:0
0+0800\n"
"PO-Revision-Date: 2018-08-10 10:42+0800\n"
"Last-Translator: BaiJiangjie <bugatti_it@163.com>\n"
"Language-Team: Language locale/en/LC\n"
...
...
@@ -21,14 +21,14 @@ msgid "Connect idle more than {} minutes, disconnect"
msgstr ""
#: coco/interactive.py:83
msgid "Jumpserver open source fortress system"
msgid "
Welcome to use
Jumpserver open source fortress system"
msgstr ""
#: coco/interactive.py:87
#, python-brace-format
msgid ""
"\n"
"{T}{T}{title} {user},
Welcome to use
{header_title} {end}{R}{R}"
"{T}{T}{title} {user}, {header_title} {end}{R}{R}"
msgstr ""
#: coco/interactive.py:89
...
...
locale/zh_CN/LC_MESSAGES/coco.mo
View file @
f44e04bd
No preview for this file type
locale/zh_CN/LC_MESSAGES/coco.po
View file @
f44e04bd
...
...
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-02-21
19:2
0+0800\n"
"POT-Creation-Date: 2019-02-21
20:0
0+0800\n"
"PO-Revision-Date: 2018-08-10 10:42+0800\n"
"Last-Translator: BaiJiangjie <bugatti_it@163.com>\n"
"Language-Team: Language locale/zh\n"
...
...
@@ -21,16 +21,16 @@ msgid "Connect idle more than {} minutes, disconnect"
msgstr "空闲时间超过 {} 分钟,断开连接"
#: coco/interactive.py:83
msgid "Jumpserver open source fortress system"
msgstr "Jumpserver开源跳板机系统"
msgid "
Welcome to use
Jumpserver open source fortress system"
msgstr "
欢迎使用
Jumpserver开源跳板机系统"
#: coco/interactive.py:87
msgid ""
"\n"
"{T}{T}{title} {user},
Welcome to use
{header_title} {end}{R}{R}"
"{T}{T}{title} {user}, {header_title} {end}{R}{R}"
msgstr ""
"\n"
"{T}{T}{title} {user},
欢迎使用
{header_title} {end}{R}{R}"
"{T}{T}{title} {user}, {header_title} {end}{R}{R}"
#: coco/interactive.py:89
#, python-brace-format
...
...
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