From a9f60a9117897f0d2cd156d623fe830f8950c384 Mon Sep 17 00:00:00 2001 From: ibuler Date: Thu, 14 Sep 2023 11:26:12 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/locale/ja/LC_MESSAGES/django.mo | 4 +- apps/locale/ja/LC_MESSAGES/django.po | 58 +++++++++++++++++----------- apps/locale/zh/LC_MESSAGES/django.mo | 4 +- apps/locale/zh/LC_MESSAGES/django.po | 56 +++++++++++++++------------ 4 files changed, 71 insertions(+), 51 deletions(-) diff --git a/apps/locale/ja/LC_MESSAGES/django.mo b/apps/locale/ja/LC_MESSAGES/django.mo index 0c33a92a2..1c6b1e8ac 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:3395e38080658c98fa14883daffb30b33117ef08fbd07e45d103d20ba2ff3a5d -size 159235 +oid sha256:ff547782f7d635fdb93457b9e380e4788b26b8af5a8cddbbd74715aee999da21 +size 159354 diff --git a/apps/locale/ja/LC_MESSAGES/django.po b/apps/locale/ja/LC_MESSAGES/django.po index 1dde8849b..fda9738f9 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: 2023-09-12 15:41+0800\n" +"POT-Creation-Date: 2023-09-14 11:18+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -96,7 +96,7 @@ msgstr "更新" #: accounts/const/account.py:33 #: accounts/serializers/automations/change_secret.py:156 audits/const.py:55 #: audits/signal_handlers/activity_log.py:33 common/const/choices.py:19 -#: ops/const.py:61 terminal/const.py:77 xpack/plugins/cloud/const.py:43 +#: ops/const.py:62 terminal/const.py:77 xpack/plugins/cloud/const.py:43 msgid "Failed" msgstr "失敗しました" @@ -870,9 +870,9 @@ msgstr "自動タスク実行履歴" #: accounts/serializers/automations/change_secret.py:155 audits/const.py:54 #: audits/models.py:59 audits/signal_handlers/activity_log.py:33 -#: common/const/choices.py:18 ops/const.py:59 ops/serializers/celery.py:40 +#: common/const/choices.py:18 ops/const.py:60 ops/serializers/celery.py:40 #: terminal/const.py:76 terminal/models/session/sharing.py:121 -#: tickets/views/approve.py:115 +#: tickets/views/approve.py:119 msgid "Success" msgstr "成功" @@ -2453,7 +2453,7 @@ msgstr "ACL アクションは拒否です: {}({})" msgid "ACL action is review" msgstr "ACL アクションはレビューです" -#: authentication/api/mfa.py:57 +#: authentication/api/mfa.py:59 msgid "Current user not support mfa type: {}" msgstr "現在のユーザーはmfaタイプをサポートしていません: {}" @@ -3422,7 +3422,7 @@ msgstr "の準備を" msgid "Pending" msgstr "未定" -#: common/const/choices.py:17 ops/const.py:58 +#: common/const/choices.py:17 ops/const.py:59 msgid "Running" msgstr "ランニング" @@ -3774,15 +3774,15 @@ msgstr "Ansible 無効" msgid "Skip hosts below:" msgstr "次のホストをスキップします: " -#: ops/api/celery.py:62 ops/api/celery.py:77 +#: ops/api/celery.py:64 ops/api/celery.py:79 msgid "Waiting task start" msgstr "タスク開始待ち" -#: ops/api/celery.py:138 +#: ops/api/celery.py:162 msgid "Task {} not found" msgstr "タスクは存在しません" -#: ops/api/celery.py:143 +#: ops/api/celery.py:167 msgid "Task {} args or kwargs error" msgstr "タスク実行パラメータエラー" @@ -3866,7 +3866,11 @@ msgstr "PostgreSQL" msgid "SQLServer" msgstr "SQLServer" -#: ops/const.py:60 +#: ops/const.py:55 +msgid "Raw" +msgstr "" + +#: ops/const.py:61 msgid "Timeout" msgstr "タイムアウト" @@ -4880,7 +4884,8 @@ msgid "" "the request host in DOMAINS, If multiple domains, use comma to separate" msgstr "" "パスキー認証を使用できるホスト名、設定されていない場合は、リクエストホストと" -"DOMAINSのリクエストホストを使用します。複数のドメインの場合は、カンマで区切ります" +"DOMAINSのリクエストホストを使用します。複数のドメインの場合は、カンマで区切り" +"ます" #: settings/serializers/auth/passkey.py:22 msgid "FIDO server name" @@ -6120,7 +6125,7 @@ msgstr "一括作成非サポート" msgid "Storage is invalid" msgstr "ストレージが無効です" -#: terminal/models/applet/applet.py:30 xpack/plugins/license/models.py:86 +#: terminal/models/applet/applet.py:30 xpack/plugins/license/models.py:88 msgid "Community edition" msgstr "コミュニティ版" @@ -7063,7 +7068,7 @@ msgid "Ticket information" msgstr "作業指示情報" #: tickets/templates/tickets/approve_check_password.html:29 -#: tickets/views/approve.py:39 +#: tickets/views/approve.py:40 msgid "Ticket approval" msgstr "作業指示の承認" @@ -7075,26 +7080,26 @@ msgstr "承認" msgid "Go Login" msgstr "ログイン" -#: tickets/views/approve.py:40 +#: tickets/views/approve.py:41 msgid "" "This ticket does not exist, the process has ended, or this link has expired" msgstr "" "このワークシートが存在しないか、ワークシートが終了したか、このリンクが無効に" "なっています" -#: tickets/views/approve.py:69 +#: tickets/views/approve.py:70 msgid "Click the button below to approve or reject" msgstr "下のボタンをクリックして同意または拒否。" -#: tickets/views/approve.py:71 +#: tickets/views/approve.py:72 msgid "After successful authentication, this ticket can be approved directly" msgstr "認証に成功した後、作業指示書は直接承認することができる。" -#: tickets/views/approve.py:93 +#: tickets/views/approve.py:97 msgid "Illegal approval action" msgstr "無効な承認アクション" -#: tickets/views/approve.py:106 +#: tickets/views/approve.py:110 msgid "This user is not authorized to approve this ticket" msgstr "このユーザーはこの作業指示を承認する権限がありません" @@ -8388,18 +8393,25 @@ msgstr "ライセンスのインポートに成功" msgid "License is invalid" msgstr "ライセンスが無効です" -#: xpack/plugins/license/meta.py:10 xpack/plugins/license/models.py:138 +#: xpack/plugins/license/meta.py:10 xpack/plugins/license/models.py:140 msgid "License" msgstr "ライセンス" #: xpack/plugins/license/models.py:80 -msgid "Standard edition" -msgstr "エンタープライズ標準版" +msgid "Basic edition" +msgstr "エンタープライズ基本版" #: xpack/plugins/license/models.py:82 -msgid "Enterprise edition" -msgstr "エンタープライズ基本版" +msgid "Standard edition" +msgstr "エンタープライズ標準版" #: xpack/plugins/license/models.py:84 +msgid "Professional edition" +msgstr "エンタープライズプロフェッショナル版" + +#: xpack/plugins/license/models.py:86 msgid "Ultimate edition" msgstr "エンタープライズ・フラッグシップ・エディション" + +#~ msgid "Enterprise edition" +#~ msgstr "エンタープライズ基本版" diff --git a/apps/locale/zh/LC_MESSAGES/django.mo b/apps/locale/zh/LC_MESSAGES/django.mo index 915a69822..b2cd45407 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:49028b9f116c7ecf67d86363cb6728ddf97511503c4528a04c641920a878565d -size 130118 +oid sha256:75605427042ba75f9ff8e3da6f073495fdd8df18a3b340fa0c178936141d0263 +size 130198 diff --git a/apps/locale/zh/LC_MESSAGES/django.po b/apps/locale/zh/LC_MESSAGES/django.po index 3e18b8225..05179bd91 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: 2023-09-12 15:41+0800\n" +"POT-Creation-Date: 2023-09-14 11:18+0800\n" "PO-Revision-Date: 2021-05-20 10:54+0800\n" "Last-Translator: ibuler \n" "Language-Team: JumpServer team\n" @@ -95,7 +95,7 @@ msgstr "更新" #: accounts/const/account.py:33 #: accounts/serializers/automations/change_secret.py:156 audits/const.py:55 #: audits/signal_handlers/activity_log.py:33 common/const/choices.py:19 -#: ops/const.py:61 terminal/const.py:77 xpack/plugins/cloud/const.py:43 +#: ops/const.py:62 terminal/const.py:77 xpack/plugins/cloud/const.py:43 msgid "Failed" msgstr "失败" @@ -867,9 +867,9 @@ msgstr "自动化任务执行历史" #: accounts/serializers/automations/change_secret.py:155 audits/const.py:54 #: audits/models.py:59 audits/signal_handlers/activity_log.py:33 -#: common/const/choices.py:18 ops/const.py:59 ops/serializers/celery.py:40 +#: common/const/choices.py:18 ops/const.py:60 ops/serializers/celery.py:40 #: terminal/const.py:76 terminal/models/session/sharing.py:121 -#: tickets/views/approve.py:115 +#: tickets/views/approve.py:119 msgid "Success" msgstr "成功" @@ -2439,7 +2439,7 @@ msgstr "ACL 动作是拒绝: {}({})" msgid "ACL action is review" msgstr "ACL 动作是复核" -#: authentication/api/mfa.py:57 +#: authentication/api/mfa.py:59 msgid "Current user not support mfa type: {}" msgstr "当前用户不支持 MFA 类型: {}" @@ -3380,7 +3380,7 @@ msgstr "准备" msgid "Pending" msgstr "待定的" -#: common/const/choices.py:17 ops/const.py:58 +#: common/const/choices.py:17 ops/const.py:59 msgid "Running" msgstr "运行中" @@ -3725,15 +3725,15 @@ msgstr "Ansible 已禁用" msgid "Skip hosts below:" msgstr "跳过以下主机: " -#: ops/api/celery.py:62 ops/api/celery.py:77 +#: ops/api/celery.py:64 ops/api/celery.py:79 msgid "Waiting task start" msgstr "等待任务开始" -#: ops/api/celery.py:138 +#: ops/api/celery.py:162 msgid "Task {} not found" msgstr "任务 {} 不存在" -#: ops/api/celery.py:143 +#: ops/api/celery.py:167 msgid "Task {} args or kwargs error" msgstr "任务 {} 执行参数错误" @@ -3817,7 +3817,11 @@ msgstr "PostgreSQL" msgid "SQLServer" msgstr "SQLServer" -#: ops/const.py:60 +#: ops/const.py:55 +msgid "Raw" +msgstr "" + +#: ops/const.py:61 msgid "Timeout" msgstr "超时" @@ -4828,8 +4832,8 @@ msgid "" "The hostname can using passkey auth, If not set, will use request host and " "the request host in DOMAINS, If multiple domains, use comma to separate" msgstr "" -"可以使用 Passkey 认证的域名,如果不设置,将使用请求主机(主机名在可信域 DOMAINS中), 如果有多个域名,使用" -"逗号分隔, 不需要端口号" +"可以使用 Passkey 认证的域名,如果不设置,将使用请求主机(主机名在可信域 " +"DOMAINS中), 如果有多个域名,使用逗号分隔, 不需要端口号" #: settings/serializers/auth/passkey.py:22 msgid "FIDO server name" @@ -6032,7 +6036,7 @@ msgstr "不支持批量创建" msgid "Storage is invalid" msgstr "存储无效" -#: terminal/models/applet/applet.py:30 xpack/plugins/license/models.py:86 +#: terminal/models/applet/applet.py:30 xpack/plugins/license/models.py:88 msgid "Community edition" msgstr "社区版" @@ -6965,7 +6969,7 @@ msgid "Ticket information" msgstr "工单信息" #: tickets/templates/tickets/approve_check_password.html:29 -#: tickets/views/approve.py:39 +#: tickets/views/approve.py:40 msgid "Ticket approval" msgstr "工单审批" @@ -6977,24 +6981,24 @@ msgstr "同意" msgid "Go Login" msgstr "去登录" -#: tickets/views/approve.py:40 +#: tickets/views/approve.py:41 msgid "" "This ticket does not exist, the process has ended, or this link has expired" msgstr "工单不存在,或者工单流程已经结束,或者此链接已经过期" -#: tickets/views/approve.py:69 +#: tickets/views/approve.py:70 msgid "Click the button below to approve or reject" msgstr "点击下方按钮同意或者拒绝" -#: tickets/views/approve.py:71 +#: tickets/views/approve.py:72 msgid "After successful authentication, this ticket can be approved directly" msgstr "认证成功后,工单可直接审批" -#: tickets/views/approve.py:93 +#: tickets/views/approve.py:97 msgid "Illegal approval action" msgstr "无效的审批动作" -#: tickets/views/approve.py:106 +#: tickets/views/approve.py:110 msgid "This user is not authorized to approve this ticket" msgstr "此用户无权审批此工单" @@ -8272,18 +8276,22 @@ msgstr "许可证导入成功" msgid "License is invalid" msgstr "无效的许可证" -#: xpack/plugins/license/meta.py:10 xpack/plugins/license/models.py:138 +#: xpack/plugins/license/meta.py:10 xpack/plugins/license/models.py:140 msgid "License" msgstr "许可证" #: xpack/plugins/license/models.py:80 -msgid "Standard edition" -msgstr "企业标准版" +msgid "Basic edition" +msgstr "企业基础版" #: xpack/plugins/license/models.py:82 -msgid "Enterprise edition" -msgstr "企业基础版" +msgid "Standard edition" +msgstr "企业标准版" #: xpack/plugins/license/models.py:84 +msgid "Professional edition" +msgstr "企业专业版" + +#: xpack/plugins/license/models.py:86 msgid "Ultimate edition" msgstr "企业旗舰版"