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
45f6a629
Commit
45f6a629
authored
Feb 01, 2018
by
ibuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Update] 修改一处翻译
parent
21a72025
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
api.py
apps/common/api.py
+1
-1
django.mo
apps/i18n/zh/LC_MESSAGES/django.mo
+0
-0
django.po
apps/i18n/zh/LC_MESSAGES/django.po
+7
-2
No files found.
apps/common/api.py
View file @
45f6a629
...
@@ -88,7 +88,7 @@ class LDAPTestingAPI(APIView):
...
@@ -88,7 +88,7 @@ class LDAPTestingAPI(APIView):
user
[
attr
]
=
getattr
(
entry
,
mapping
)
user
[
attr
]
=
getattr
(
entry
,
mapping
)
users
.
append
(
user
)
users
.
append
(
user
)
if
len
(
users
)
>
0
:
if
len
(
users
)
>
0
:
return
Response
({
"msg"
:
"Match {} s users"
.
format
(
len
(
users
))})
return
Response
({
"msg"
:
_
(
"Match {} s users"
)
.
format
(
len
(
users
))})
else
:
else
:
return
Response
({
"error"
:
"Have user but attr mapping error"
},
status
=
401
)
return
Response
({
"error"
:
"Have user but attr mapping error"
},
status
=
401
)
else
:
else
:
...
...
apps/i18n/zh/LC_MESSAGES/django.mo
View file @
45f6a629
No preview for this file type
apps/i18n/zh/LC_MESSAGES/django.po
View file @
45f6a629
...
@@ -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-02-01 12:
29
+0800\n"
"POT-Creation-Date: 2018-02-01 12:
36
+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"
...
@@ -1258,6 +1258,10 @@ msgstr "邮件已经发送{}, 请检查"
...
@@ -1258,6 +1258,10 @@ msgstr "邮件已经发送{}, 请检查"
msgid "Test ldap success"
msgid "Test ldap success"
msgstr "连接LDAP成功"
msgstr "连接LDAP成功"
#: common/api.py:91
msgid "Match {} s users"
msgstr "匹配 {} 个用户"
#: common/const.py:6
#: common/const.py:6
#, python-format
#, python-format
msgid "<b>%(name)s</b> was created successfully"
msgid "<b>%(name)s</b> was created successfully"
...
@@ -1357,7 +1361,8 @@ msgstr "LDAP属性映射"
...
@@ -1357,7 +1361,8 @@ msgstr "LDAP属性映射"
msgid ""
msgid ""
"User attr map present how to map LDAP user attr to jumpserver, username,name,"
"User attr map present how to map LDAP user attr to jumpserver, username,name,"
"email is jumpserver attr"
"email is jumpserver attr"
msgstr "用户属性映射代表怎样将LDAP中用户属性映射到jumpserver用户上,username, name,"
msgstr ""
"用户属性映射代表怎样将LDAP中用户属性映射到jumpserver用户上,username, name,"
"email 是jumpserver的属性"
"email 是jumpserver的属性"
#: common/forms.py:137
#: common/forms.py:137
...
...
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