fix: translate (#8529)

Co-authored-by: feng626 <1304903146@qq.com>
pull/8500/head^2
fit2bot 2022-07-04 15:14:59 +08:00 committed by GitHub
parent 88f60b58dd
commit 8ebcb4b73a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 20 additions and 14 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fa4873b5acd88be4b44fbd6e6cd6d8aec30972627310b3a815ccbed475bf6dc4
size 126353
oid sha256:21921ae6acb8a8a8ea7bb3e1a24e0a730e6698d080fec98fa1416fbad925e8de
size 126420

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-07-04 14:53+0800\n"
"POT-Creation-Date: 2022-07-04 15:10+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -1769,7 +1769,7 @@ msgstr "{ApplicationPermission} 削除 {SystemUser}"
#: authentication/api/confirm.py:33
msgid "This action require verify your MFA"
msgstr "このアクションでは、MFAの確認が必要です。"
msgstr "この操作には、MFAを検証する必要があります"
#: authentication/api/connection_token.py:326
msgid "Invalid token"
@ -4669,8 +4669,7 @@ msgstr "テスト失敗: アカウントが無効"
msgid "Have online sessions"
msgstr "オンラインセッションを持つ"
#: terminal/apps.py:9 terminal/serializers/session.py:15
#: terminal/serializers/session.py:42
#: terminal/apps.py:9
msgid "Terminals"
msgstr "ターミナル管理"
@ -4986,6 +4985,10 @@ msgstr ""
"異なるエンドポイントの下に競合するアセットIPがある場合は、アセットタグを使用"
"して実装します"
#: terminal/serializers/session.py:15 terminal/serializers/session.py:42
msgid "Terminal display"
msgstr "ターミナルディスプレイ"
#: terminal/serializers/session.py:32
msgid "User ID"
msgstr "ユーザーID"

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:19a2703fcb7c19d9b907053cf4eb0bf09afc0eb95a05a9bbb84caa447dc78f76
size 104309
oid sha256:d2adfbe7d62b5a1b148450aeb6f327020a1f9fdf686cfa500db775032c3642e9
size 104353

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: JumpServer 0.3.3\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-07-04 14:53+0800\n"
"POT-Creation-Date: 2022-07-04 15:10+0800\n"
"PO-Revision-Date: 2021-05-20 10:54+0800\n"
"Last-Translator: ibuler <ibuler@qq.com>\n"
"Language-Team: JumpServer team<ibuler@qq.com>\n"
@ -1757,7 +1757,7 @@ msgstr "{ApplicationPermission} 移除 {SystemUser}"
#: authentication/api/confirm.py:33
msgid "This action require verify your MFA"
msgstr "此操作需要确认当前用户"
msgstr "此操作需要验证您的 MFA"
#: authentication/api/connection_token.py:326
msgid "Invalid token"
@ -4597,8 +4597,7 @@ msgstr "测试失败: 账号无效"
msgid "Have online sessions"
msgstr "有在线会话"
#: terminal/apps.py:9 terminal/serializers/session.py:15
#: terminal/serializers/session.py:42
#: terminal/apps.py:9
msgid "Terminals"
msgstr "终端管理"
@ -4912,6 +4911,10 @@ msgid ""
"If asset IP addresses under different endpoints conflict, use asset labels"
msgstr "如果不同端点下的资产 IP 有冲突,使用资产标签实现"
#: terminal/serializers/session.py:15 terminal/serializers/session.py:42
msgid "Terminal display"
msgstr "终端显示"
#: terminal/serializers/session.py:32
msgid "User ID"
msgstr "用户 ID"

View File

@ -12,7 +12,7 @@ __all__ = [
class SessionSerializer(BulkOrgResourceModelSerializer):
org_id = serializers.CharField(allow_blank=True)
terminal_display = serializers.CharField(read_only=True, label=_('Terminals'))
terminal_display = serializers.CharField(read_only=True, label=_('Terminal display'))
class Meta:
model = Session
@ -39,7 +39,7 @@ class SessionSerializer(BulkOrgResourceModelSerializer):
'terminal': {'label': _('Terminal')},
'is_finished': {'label': _('Is finished')},
'can_terminate': {'label': _('Can terminate')},
'terminal_display': {'label': _('Terminals')},
'terminal_display': {'label': _('Terminal display')},
}