Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
gjl2004yn
jumpserver
提交
e43ffa79
J
jumpserver
项目概览
gjl2004yn
/
jumpserver
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
J
jumpserver
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
e43ffa79
编写于
4月 14, 2021
作者:
X
xinwen
提交者:
baltery
4月 14, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: 远程应用显示名称
上级
b0a9a832
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
35 addition
and
28 deletion
+35
-28
apps/applications/serializers/application.py
apps/applications/serializers/application.py
+2
-2
apps/locale/zh/LC_MESSAGES/django.mo
apps/locale/zh/LC_MESSAGES/django.mo
+0
-0
apps/locale/zh/LC_MESSAGES/django.po
apps/locale/zh/LC_MESSAGES/django.po
+33
-26
未找到文件。
apps/applications/serializers/application.py
浏览文件 @
e43ffa79
...
...
@@ -44,8 +44,8 @@ class ApplicationSerializerMixin(serializers.Serializer):
class
ApplicationSerializer
(
ApplicationSerializerMixin
,
BulkOrgResourceModelSerializer
):
category_display
=
serializers
.
ReadOnlyField
(
source
=
'get_category_display'
,
label
=
_
(
'Category'
))
type_display
=
serializers
.
ReadOnlyField
(
source
=
'get_type_display'
,
label
=
_
(
'Type'
))
category_display
=
serializers
.
ReadOnlyField
(
source
=
'get_category_display'
,
label
=
_
(
'Category
(Display)
'
))
type_display
=
serializers
.
ReadOnlyField
(
source
=
'get_type_display'
,
label
=
_
(
'Type
(Dispaly)
'
))
class
Meta
:
model
=
models
.
Application
...
...
apps/locale/zh/LC_MESSAGES/django.mo
浏览文件 @
e43ffa79
无法预览此类型文件
apps/locale/zh/LC_MESSAGES/django.po
浏览文件 @
e43ffa79
...
...
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: JumpServer 0.3.3\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-04-14 1
6:04
+0800\n"
"POT-Creation-Date: 2021-04-14 1
7:52
+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"
...
...
@@ -177,8 +177,8 @@ msgid ""
"192.168.10.1, 192.168.1.0/24, 10.1.1.1-10.1.1.20, 2001:db8:2de::e13, 2001:"
"db8:1a:1110::/64 "
msgstr ""
"格式为逗号分隔的字符串, * 表示匹配所有。例如: 192.168.10.1, 192.168.1.0/24,
10.1.1.1-10.1.1.20, 2001:db8:2de::e13,
"
"2001:db8:1a:1110::/64"
"格式为逗号分隔的字符串, * 表示匹配所有。例如: 192.168.10.1, 192.168.1.0/24, "
"
10.1.1.1-10.1.1.20, 2001:db8:2de::e13,
2001:db8:1a:1110::/64"
#: acls/serializers/login_acl.py:30 acls/serializers/login_asset_acl.py:31
#: applications/serializers/attrs/application_type/mysql_workbench.py:18
...
...
@@ -204,7 +204,7 @@ msgstr "格式为逗号分隔的字符串, * 表示匹配所有. "
#: applications/serializers/attrs/application_type/mysql_workbench.py:30
#: applications/serializers/attrs/application_type/vmware_client.py:26
#: assets/models/base.py:251 assets/models/gathered_user.py:15
#: audits/models.py:
99
authentication/forms.py:15 authentication/forms.py:17
#: audits/models.py:
100
authentication/forms.py:15 authentication/forms.py:17
#: ops/models/adhoc.py:148 users/forms/profile.py:31 users/models/user.py:528
#: users/templates/users/_select_user_modal.html:14
#: users/templates/users/user_detail.html:53
...
...
@@ -222,8 +222,8 @@ msgid ""
"192.168.10.1, 192.168.1.0/24, 10.1.1.1-10.1.1.20, 2001:db8:2de::e13, 2001:"
"db8:1a:1110::/64 (Domain name support)"
msgstr ""
"格式为逗号分隔的字符串, * 表示匹配所有。例如: 192.168.10.1, 192.168.1.0/24,
10.1.1.1-10.1.1.20, 2001:db8:2de::e13,
"
"2001:db8:1a:1110::/64 (支持网域)"
"格式为逗号分隔的字符串, * 表示匹配所有。例如: 192.168.10.1, 192.168.1.0/24, "
"
10.1.1.1-10.1.1.20, 2001:db8:2de::e13,
2001:db8:1a:1110::/64 (支持网域)"
#: acls/serializers/login_asset_acl.py:35 assets/models/asset.py:184
#: assets/serializers/asset_user.py:45 assets/serializers/gathered_user.py:20
...
...
@@ -273,8 +273,7 @@ msgstr "远程应用"
msgid "Custom"
msgstr "自定义"
#: applications/models/application.py:13
#: applications/serializers/application.py:47 assets/models/label.py:21
#: applications/models/application.py:13 assets/models/label.py:21
#: perms/models/application_permission.py:20
#: perms/serializers/application/permission.py:16
#: perms/serializers/application/user_permission.py:33
...
...
@@ -282,8 +281,7 @@ msgstr "自定义"
msgid "Category"
msgstr "类别"
#: applications/models/application.py:16
#: applications/serializers/application.py:48 assets/models/cmd_filter.py:52
#: applications/models/application.py:16 assets/models/cmd_filter.py:52
#: perms/models/application_permission.py:23
#: perms/serializers/application/permission.py:17
#: perms/serializers/application/user_permission.py:34
...
...
@@ -303,6 +301,14 @@ msgstr "网域"
msgid "Attrs"
msgstr ""
#: applications/serializers/application.py:47
msgid "Category(Display)"
msgstr "类别 (显示名称)"
#: applications/serializers/application.py:48
msgid "Type(Dispaly)"
msgstr "类型 (显示名称)"
#: applications/serializers/attrs/application_category/cloud.py:9
#: assets/models/cluster.py:40
msgid "Cluster"
...
...
@@ -1082,7 +1088,7 @@ msgstr "操作"
msgid "Filename"
msgstr "文件名"
#: audits/models.py:42 audits/models.py:9
5
#: audits/models.py:42 audits/models.py:9
6
#: users/templates/users/user_detail.html:487
msgid "Success"
msgstr "成功"
...
...
@@ -1136,42 +1142,42 @@ msgstr "日期"
msgid "Change by"
msgstr "修改者"
#: audits/models.py:
89
users/templates/users/user_detail.html:84
#: audits/models.py:
90
users/templates/users/user_detail.html:84
msgid "Disabled"
msgstr "禁用"
#: audits/models.py:9
0
settings/models.py:33
#: audits/models.py:9
1
settings/models.py:33
#: users/templates/users/user_detail.html:82
msgid "Enabled"
msgstr "启用"
#: audits/models.py:9
1
#: audits/models.py:9
2
msgid "-"
msgstr ""
#: audits/models.py:9
6
xpack/plugins/cloud/const.py:25
#: audits/models.py:9
7
xpack/plugins/cloud/const.py:25
msgid "Failed"
msgstr "失败"
#: audits/models.py:10
0
#: audits/models.py:10
1
msgid "Login type"
msgstr "登录方式"
#: audits/models.py:10
1
#: audits/models.py:10
2
#: tickets/serializers/ticket/meta/ticket_type/login_confirm.py:14
msgid "Login ip"
msgstr "登录IP"
#: audits/models.py:10
2
#: audits/models.py:10
3
#: tickets/serializers/ticket/meta/ticket_type/login_confirm.py:17
msgid "Login city"
msgstr "登录城市"
#: audits/models.py:10
3
audits/serializers.py:38
#: audits/models.py:10
4
audits/serializers.py:38
msgid "User agent"
msgstr "用户代理"
#: audits/models.py:10
4
#: audits/models.py:10
5
#: authentication/templates/authentication/_mfa_confirm_modal.html:14
#: authentication/templates/authentication/login_otp.html:6
#: users/forms/profile.py:64 users/models/user.py:552
...
...
@@ -1180,21 +1186,21 @@ msgstr "用户代理"
msgid "MFA"
msgstr "多因子认证"
#: audits/models.py:10
5
xpack/plugins/change_auth_plan/models.py:303
#: audits/models.py:10
6
xpack/plugins/change_auth_plan/models.py:303
#: xpack/plugins/cloud/models.py:161
msgid "Reason"
msgstr "原因"
#: audits/models.py:10
6
tickets/models/ticket.py:47
#: audits/models.py:10
7
tickets/models/ticket.py:47
#: xpack/plugins/cloud/models.py:157 xpack/plugins/cloud/models.py:206
msgid "Status"
msgstr "状态"
#: audits/models.py:10
7
#: audits/models.py:10
8
msgid "Date login"
msgstr "登录日期"
#: audits/models.py:10
8
#: audits/models.py:10
9
msgid "Authentication backend"
msgstr "认证方式"
...
...
@@ -1372,12 +1378,13 @@ msgid ""
msgstr "账号已被锁定(请联系管理员解锁 或 {}分钟后重试)"
#: authentication/errors.py:60
#, python-brace-format
msgid ""
"MFA code invalid, or ntp sync server time, You can also try {times_try} "
"times (The account will be temporarily locked for {block_time} minutes)"
msgstr ""
"MFA验证码不正确,或者服务器端时间不对。 您还可以尝试 {times_try} 次(账号将"
"
被
临时 锁定 {block_time} 分钟)"
"MFA验证码不正确,或者服务器端时间不对。 您还可以尝试 {times_try} 次(账号将
被
"
"临时 锁定 {block_time} 分钟)"
#: authentication/errors.py:65
msgid "MFA required"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录