From 8ebcb4b73a205ff860dd66714d3773b9d059b50d Mon Sep 17 00:00:00 2001 From: fit2bot <68588906+fit2bot@users.noreply.github.com> Date: Mon, 4 Jul 2022 15:14:59 +0800 Subject: [PATCH] fix: translate (#8529) Co-authored-by: feng626 <1304903146@qq.com> --- apps/locale/ja/LC_MESSAGES/django.mo | 4 ++-- apps/locale/ja/LC_MESSAGES/django.po | 11 +++++++---- apps/locale/zh/LC_MESSAGES/django.mo | 4 ++-- apps/locale/zh/LC_MESSAGES/django.po | 11 +++++++---- apps/terminal/serializers/session.py | 4 ++-- 5 files changed, 20 insertions(+), 14 deletions(-) diff --git a/apps/locale/ja/LC_MESSAGES/django.mo b/apps/locale/ja/LC_MESSAGES/django.mo index addc1ea3c..90cd914ec 100644 --- a/apps/locale/ja/LC_MESSAGES/django.mo +++ b/apps/locale/ja/LC_MESSAGES/django.mo @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:fa4873b5acd88be4b44fbd6e6cd6d8aec30972627310b3a815ccbed475bf6dc4 -size 126353 +oid sha256:21921ae6acb8a8a8ea7bb3e1a24e0a730e6698d080fec98fa1416fbad925e8de +size 126420 diff --git a/apps/locale/ja/LC_MESSAGES/django.po b/apps/locale/ja/LC_MESSAGES/django.po index 009078aca..04b4c2fc9 100644 --- a/apps/locale/ja/LC_MESSAGES/django.po +++ b/apps/locale/ja/LC_MESSAGES/django.po @@ -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 \n" "Language-Team: LANGUAGE \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" diff --git a/apps/locale/zh/LC_MESSAGES/django.mo b/apps/locale/zh/LC_MESSAGES/django.mo index 6f01c7d83..85423db9c 100644 --- a/apps/locale/zh/LC_MESSAGES/django.mo +++ b/apps/locale/zh/LC_MESSAGES/django.mo @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:19a2703fcb7c19d9b907053cf4eb0bf09afc0eb95a05a9bbb84caa447dc78f76 -size 104309 +oid sha256:d2adfbe7d62b5a1b148450aeb6f327020a1f9fdf686cfa500db775032c3642e9 +size 104353 diff --git a/apps/locale/zh/LC_MESSAGES/django.po b/apps/locale/zh/LC_MESSAGES/django.po index c6f3ea988..804c5c62e 100644 --- a/apps/locale/zh/LC_MESSAGES/django.po +++ b/apps/locale/zh/LC_MESSAGES/django.po @@ -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 \n" "Language-Team: JumpServer team\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" diff --git a/apps/terminal/serializers/session.py b/apps/terminal/serializers/session.py index d8394ea26..49d7f7270 100644 --- a/apps/terminal/serializers/session.py +++ b/apps/terminal/serializers/session.py @@ -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')}, }