From 50090c53100e57efecac0f9d9d6ecacffb0df899 Mon Sep 17 00:00:00 2001 From: fit2bot <68588906+fit2bot@users.noreply.github.com> Date: Tue, 16 Jul 2024 19:02:49 +0800 Subject: [PATCH] perf: Translate (#13732) Co-authored-by: feng <1304903146@qq.com> --- apps/i18n/core/en/LC_MESSAGES/django.po | 31 ++++++++-------- apps/i18n/core/ja/LC_MESSAGES/django.po | 35 +++++++++--------- apps/i18n/core/zh/LC_MESSAGES/django.po | 39 ++++++++++---------- apps/i18n/core/zh_Hant/LC_MESSAGES/django.po | 35 +++++++++--------- 4 files changed, 71 insertions(+), 69 deletions(-) diff --git a/apps/i18n/core/en/LC_MESSAGES/django.po b/apps/i18n/core/en/LC_MESSAGES/django.po index bbeb5b5a0..5bab4a3c6 100644 --- a/apps/i18n/core/en/LC_MESSAGES/django.po +++ b/apps/i18n/core/en/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-15 16:28+0800\n" +"POT-Creation-Date: 2024-07-16 18:58+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -395,7 +395,7 @@ msgstr "" #: terminal/templates/terminal/_msg_command_warning.html:8 #: terminal/templates/terminal/_msg_session_sharing.html:8 #: tickets/models/ticket/command_confirm.py:13 -#: xpack/plugins/cloud/models.py:100 xpack/plugins/cloud/ws.py:38 +#: xpack/plugins/cloud/models.py:100 xpack/plugins/cloud/ws.py:37 msgid "Account" msgstr "" @@ -1235,7 +1235,8 @@ msgstr "" #: authentication/templates/authentication/_access_key_modal.html:32 #: perms/models/asset_permission.py:82 #: terminal/models/component/endpoint.py:120 -#: terminal/models/session/sharing.py:29 tickets/const.py:36 +#: terminal/models/session/sharing.py:29 terminal/serializers/terminal.py:44 +#: tickets/const.py:36 msgid "Active" msgstr "Active" @@ -1758,7 +1759,7 @@ msgstr "" msgid "API mode" msgstr "" -#: assets/const/types.py:251 +#: assets/const/types.py:248 msgid "All types" msgstr "" @@ -3777,7 +3778,7 @@ msgstr "" msgid "Canceled" msgstr "" -#: common/const/common.py:5 xpack/plugins/cloud/manager.py:409 +#: common/const/common.py:5 xpack/plugins/cloud/manager.py:412 #, python-format msgid "%(name)s was created successfully" msgstr "" @@ -3892,7 +3893,7 @@ msgid "" "information -> file encryption password to set the encryption password" msgstr "" -#: common/exceptions.py:15 xpack/plugins/cloud/ws.py:38 +#: common/exceptions.py:15 xpack/plugins/cloud/ws.py:37 #, python-format msgid "%s object does not exist." msgstr "" @@ -8944,49 +8945,49 @@ msgstr "" msgid "Failed to synchronize the instance \"%s\"" msgstr "" -#: xpack/plugins/cloud/manager.py:334 +#: xpack/plugins/cloud/manager.py:337 #, python-format msgid "" "The updated platform of asset \"%s\" is inconsistent with the original " "platform type. Skip platform and protocol updates" msgstr "" -#: xpack/plugins/cloud/manager.py:390 +#: xpack/plugins/cloud/manager.py:393 #, python-format msgid "The asset \"%s\" already exists" msgstr "" -#: xpack/plugins/cloud/manager.py:392 +#: xpack/plugins/cloud/manager.py:395 #, python-format msgid "Update asset \"%s\"" msgstr "" -#: xpack/plugins/cloud/manager.py:395 +#: xpack/plugins/cloud/manager.py:398 #, python-format msgid "Asset \"%s\" has been updated" msgstr "" -#: xpack/plugins/cloud/manager.py:405 +#: xpack/plugins/cloud/manager.py:408 #, python-format msgid "Prepare to create asset \"%s\"" msgstr "" -#: xpack/plugins/cloud/manager.py:426 +#: xpack/plugins/cloud/manager.py:429 #, python-format msgid "Set nodes \"%s\"" msgstr "" -#: xpack/plugins/cloud/manager.py:452 +#: xpack/plugins/cloud/manager.py:455 #, python-format msgid "Set accounts \"%s\"" msgstr "" -#: xpack/plugins/cloud/manager.py:468 +#: xpack/plugins/cloud/manager.py:471 #, python-format msgid "Set protocols \"%s\"" msgstr "" -#: xpack/plugins/cloud/manager.py:482 xpack/plugins/cloud/tasks.py:27 +#: xpack/plugins/cloud/manager.py:485 xpack/plugins/cloud/tasks.py:27 msgid "Run sync instance task" msgstr "" diff --git a/apps/i18n/core/ja/LC_MESSAGES/django.po b/apps/i18n/core/ja/LC_MESSAGES/django.po index b8ab218fe..87b0b8773 100644 --- a/apps/i18n/core/ja/LC_MESSAGES/django.po +++ b/apps/i18n/core/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: 2024-07-15 16:28+0800\n" +"POT-Creation-Date: 2024-07-16 18:58+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -395,7 +395,7 @@ msgstr "ソース ID" #: terminal/templates/terminal/_msg_command_warning.html:8 #: terminal/templates/terminal/_msg_session_sharing.html:8 #: tickets/models/ticket/command_confirm.py:13 -#: xpack/plugins/cloud/models.py:100 xpack/plugins/cloud/ws.py:38 +#: xpack/plugins/cloud/models.py:100 xpack/plugins/cloud/ws.py:37 msgid "Account" msgstr "アカウント" @@ -683,7 +683,7 @@ msgstr "鍵の種類" #: authentication/templates/authentication/_access_key_modal.html:31 #: settings/serializers/auth/radius.py:19 msgid "Secret" -msgstr "ひみつ" +msgstr "秘文" #: accounts/models/base.py:42 #: accounts/serializers/automations/change_secret.py:41 @@ -985,7 +985,7 @@ msgstr "資産タイプ" #: accounts/serializers/account/base.py:33 terminal/serializers/storage.py:149 msgid "Passphrase" -msgstr "パスワード" +msgstr "キーパスワード" #: accounts/serializers/account/base.py:96 msgid "" @@ -1253,7 +1253,8 @@ msgstr "レビュー担当者" #: authentication/templates/authentication/_access_key_modal.html:32 #: perms/models/asset_permission.py:82 #: terminal/models/component/endpoint.py:120 -#: terminal/models/session/sharing.py:29 tickets/const.py:36 +#: terminal/models/session/sharing.py:29 terminal/serializers/terminal.py:44 +#: tickets/const.py:36 msgid "Active" msgstr "アクティブ" @@ -1791,7 +1792,7 @@ msgstr "ボタンセレクターを確認する" msgid "API mode" msgstr "APIモード" -#: assets/const/types.py:251 +#: assets/const/types.py:248 msgid "All types" msgstr "いろんなタイプ" @@ -3858,7 +3859,7 @@ msgstr "ランニング" msgid "Canceled" msgstr "キャンセル" -#: common/const/common.py:5 xpack/plugins/cloud/manager.py:409 +#: common/const/common.py:5 xpack/plugins/cloud/manager.py:412 #, python-format msgid "%(name)s was created successfully" msgstr "%(name)s が正常に作成されました" @@ -3978,7 +3979,7 @@ msgstr "" "{} - 暗号化パスワードが設定されていません-個人情報->ファイル暗号化パスワード" "に暗号化パスワードを設定してください" -#: common/exceptions.py:15 xpack/plugins/cloud/ws.py:38 +#: common/exceptions.py:15 xpack/plugins/cloud/ws.py:37 #, python-format msgid "%s object does not exist." msgstr "%s オブジェクトは存在しません。" @@ -9269,7 +9270,7 @@ msgstr "地域 \"%s\" のインスタンスを取得できませんでした、 msgid "Failed to synchronize the instance \"%s\"" msgstr "インスタンス \"%s\" の同期に失敗しました" -#: xpack/plugins/cloud/manager.py:334 +#: xpack/plugins/cloud/manager.py:337 #, python-format msgid "" "The updated platform of asset \"%s\" is inconsistent with the original " @@ -9278,42 +9279,42 @@ msgstr "" "更新された資産 \"%s\" のプラットフォームタイプと元のタイプは一致しません。プ" "ラットフォームとプロトコルの更新をスキップ" -#: xpack/plugins/cloud/manager.py:390 +#: xpack/plugins/cloud/manager.py:393 #, python-format msgid "The asset \"%s\" already exists" msgstr "資産 \"%s\" はすでに存在します" -#: xpack/plugins/cloud/manager.py:392 +#: xpack/plugins/cloud/manager.py:395 #, python-format msgid "Update asset \"%s\"" msgstr "資産の更新 \"%s\"" -#: xpack/plugins/cloud/manager.py:395 +#: xpack/plugins/cloud/manager.py:398 #, python-format msgid "Asset \"%s\" has been updated" msgstr "資産 \"%s\" が更新されました" -#: xpack/plugins/cloud/manager.py:405 +#: xpack/plugins/cloud/manager.py:408 #, python-format msgid "Prepare to create asset \"%s\"" msgstr "資産 \"%s\" の作成準備" -#: xpack/plugins/cloud/manager.py:426 +#: xpack/plugins/cloud/manager.py:429 #, python-format msgid "Set nodes \"%s\"" msgstr "ノード \"%s\" の設定" -#: xpack/plugins/cloud/manager.py:452 +#: xpack/plugins/cloud/manager.py:455 #, python-format msgid "Set accounts \"%s\"" msgstr "アカウント \"%s\" の設定" -#: xpack/plugins/cloud/manager.py:468 +#: xpack/plugins/cloud/manager.py:471 #, python-format msgid "Set protocols \"%s\"" msgstr "プロトコル \"%s\" の設定" -#: xpack/plugins/cloud/manager.py:482 xpack/plugins/cloud/tasks.py:27 +#: xpack/plugins/cloud/manager.py:485 xpack/plugins/cloud/tasks.py:27 msgid "Run sync instance task" msgstr "同期インスタンス タスクを実行する" diff --git a/apps/i18n/core/zh/LC_MESSAGES/django.po b/apps/i18n/core/zh/LC_MESSAGES/django.po index 021e88995..63dfe8734 100644 --- a/apps/i18n/core/zh/LC_MESSAGES/django.po +++ b/apps/i18n/core/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: 2024-07-15 16:28+0800\n" +"POT-Creation-Date: 2024-07-16 18:58+0800\n" "PO-Revision-Date: 2021-05-20 10:54+0800\n" "Last-Translator: ibuler \n" "Language-Team: JumpServer team\n" @@ -394,7 +394,7 @@ msgstr "来源 ID" #: terminal/templates/terminal/_msg_command_warning.html:8 #: terminal/templates/terminal/_msg_session_sharing.html:8 #: tickets/models/ticket/command_confirm.py:13 -#: xpack/plugins/cloud/models.py:100 xpack/plugins/cloud/ws.py:38 +#: xpack/plugins/cloud/models.py:100 xpack/plugins/cloud/ws.py:37 msgid "Account" msgstr "账号" @@ -682,7 +682,7 @@ msgstr "密文类型" #: authentication/templates/authentication/_access_key_modal.html:31 #: settings/serializers/auth/radius.py:19 msgid "Secret" -msgstr "密钥" +msgstr "密文" #: accounts/models/base.py:42 #: accounts/serializers/automations/change_secret.py:41 @@ -983,7 +983,7 @@ msgstr "资产类型" #: accounts/serializers/account/base.py:33 terminal/serializers/storage.py:149 msgid "Passphrase" -msgstr "密码" +msgstr "密钥密码" #: accounts/serializers/account/base.py:96 msgid "" @@ -1246,7 +1246,8 @@ msgstr "审批人" #: authentication/templates/authentication/_access_key_modal.html:32 #: perms/models/asset_permission.py:82 #: terminal/models/component/endpoint.py:120 -#: terminal/models/session/sharing.py:29 tickets/const.py:36 +#: terminal/models/session/sharing.py:29 terminal/serializers/terminal.py:44 +#: tickets/const.py:36 msgid "Active" msgstr "激活中" @@ -1778,7 +1779,7 @@ msgstr "确认按钮选择器" msgid "API mode" msgstr "API 模式" -#: assets/const/types.py:251 +#: assets/const/types.py:248 msgid "All types" msgstr "所有类型" @@ -3808,7 +3809,7 @@ msgstr "运行中" msgid "Canceled" msgstr "取消" -#: common/const/common.py:5 xpack/plugins/cloud/manager.py:409 +#: common/const/common.py:5 xpack/plugins/cloud/manager.py:412 #, python-format msgid "%(name)s was created successfully" msgstr "%(name)s 创建成功" @@ -3926,7 +3927,7 @@ msgid "" "information -> file encryption password to set the encryption password" msgstr "{} - 未设置加密密码 - 请前往个人信息 -> 文件加密密码中设置加密密码" -#: common/exceptions.py:15 xpack/plugins/cloud/ws.py:38 +#: common/exceptions.py:15 xpack/plugins/cloud/ws.py:37 #, python-format msgid "%s object does not exist." msgstr "%s对象不存在" @@ -5901,10 +5902,8 @@ msgid "Chat AI" msgstr "聊天 AI" #: settings/serializers/feature.py:80 -#, fuzzy -#| msgid "Base URL" msgid "GPT Base URL" -msgstr "JumpServer 地址" +msgstr "GPT 地址" #: settings/serializers/feature.py:81 msgid "The base URL of the GPT service. For example: https://api.openai.com/v1" @@ -9099,49 +9098,49 @@ msgstr "获取区域 \"%s\" 的实例错误,错误:%s" msgid "Failed to synchronize the instance \"%s\"" msgstr "无法同步实例 %s" -#: xpack/plugins/cloud/manager.py:334 +#: xpack/plugins/cloud/manager.py:337 #, python-format msgid "" "The updated platform of asset \"%s\" is inconsistent with the original " "platform type. Skip platform and protocol updates" msgstr "资产“%s”的更新平台与原平台类型不一致。跳过平台和协议更新" -#: xpack/plugins/cloud/manager.py:390 +#: xpack/plugins/cloud/manager.py:393 #, python-format msgid "The asset \"%s\" already exists" msgstr "资产 \"%s\" 已存在" -#: xpack/plugins/cloud/manager.py:392 +#: xpack/plugins/cloud/manager.py:395 #, python-format msgid "Update asset \"%s\"" msgstr "更新资产 \"%s\"" -#: xpack/plugins/cloud/manager.py:395 +#: xpack/plugins/cloud/manager.py:398 #, python-format msgid "Asset \"%s\" has been updated" msgstr "资产 \"%s\" 已更新" -#: xpack/plugins/cloud/manager.py:405 +#: xpack/plugins/cloud/manager.py:408 #, python-format msgid "Prepare to create asset \"%s\"" msgstr "准备创建资产 %s" -#: xpack/plugins/cloud/manager.py:426 +#: xpack/plugins/cloud/manager.py:429 #, python-format msgid "Set nodes \"%s\"" msgstr "删除节点: \"%s\"" -#: xpack/plugins/cloud/manager.py:452 +#: xpack/plugins/cloud/manager.py:455 #, python-format msgid "Set accounts \"%s\"" msgstr "删除账号: %s" -#: xpack/plugins/cloud/manager.py:468 +#: xpack/plugins/cloud/manager.py:471 #, python-format msgid "Set protocols \"%s\"" msgstr "设置协议 \"%s\"" -#: xpack/plugins/cloud/manager.py:482 xpack/plugins/cloud/tasks.py:27 +#: xpack/plugins/cloud/manager.py:485 xpack/plugins/cloud/tasks.py:27 msgid "Run sync instance task" msgstr "执行同步实例任务" diff --git a/apps/i18n/core/zh_Hant/LC_MESSAGES/django.po b/apps/i18n/core/zh_Hant/LC_MESSAGES/django.po index 65e3c30e9..cd853538a 100644 --- a/apps/i18n/core/zh_Hant/LC_MESSAGES/django.po +++ b/apps/i18n/core/zh_Hant/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: 2024-07-15 16:28+0800\n" +"POT-Creation-Date: 2024-07-16 18:58+0800\n" "PO-Revision-Date: 2021-05-20 10:54+0800\n" "Last-Translator: ibuler \n" "Language-Team: JumpServer team\n" @@ -396,7 +396,7 @@ msgstr "來源 ID" #: terminal/templates/terminal/_msg_command_warning.html:8 #: terminal/templates/terminal/_msg_session_sharing.html:8 #: tickets/models/ticket/command_confirm.py:13 -#: xpack/plugins/cloud/models.py:100 xpack/plugins/cloud/ws.py:38 +#: xpack/plugins/cloud/models.py:100 xpack/plugins/cloud/ws.py:37 msgid "Account" msgstr "帳號" @@ -684,7 +684,7 @@ msgstr "密文類型" #: authentication/templates/authentication/_access_key_modal.html:31 #: settings/serializers/auth/radius.py:19 msgid "Secret" -msgstr "金鑰" +msgstr "飛文" #: accounts/models/base.py:42 #: accounts/serializers/automations/change_secret.py:41 @@ -985,7 +985,7 @@ msgstr "資產類型" #: accounts/serializers/account/base.py:33 terminal/serializers/storage.py:149 msgid "Passphrase" -msgstr "密碼" +msgstr "密鑰密碼" #: accounts/serializers/account/base.py:96 msgid "" @@ -1248,7 +1248,8 @@ msgstr "審批人" #: authentication/templates/authentication/_access_key_modal.html:32 #: perms/models/asset_permission.py:82 #: terminal/models/component/endpoint.py:120 -#: terminal/models/session/sharing.py:29 tickets/const.py:36 +#: terminal/models/session/sharing.py:29 terminal/serializers/terminal.py:44 +#: tickets/const.py:36 msgid "Active" msgstr "啟用中" @@ -1780,7 +1781,7 @@ msgstr "確認按鈕選擇器" msgid "API mode" msgstr "API 模式" -#: assets/const/types.py:251 +#: assets/const/types.py:248 msgid "All types" msgstr "所有類型" @@ -3810,7 +3811,7 @@ msgstr "運行中" msgid "Canceled" msgstr "取消" -#: common/const/common.py:5 xpack/plugins/cloud/manager.py:409 +#: common/const/common.py:5 xpack/plugins/cloud/manager.py:412 #, python-format msgid "%(name)s was created successfully" msgstr "%(name)s 創建成功" @@ -3928,7 +3929,7 @@ msgid "" "information -> file encryption password to set the encryption password" msgstr "{} - 未設置加密密碼 - 請前往個人資訊 -> 文件加密密碼中設置加密密碼" -#: common/exceptions.py:15 xpack/plugins/cloud/ws.py:38 +#: common/exceptions.py:15 xpack/plugins/cloud/ws.py:37 #, python-format msgid "%s object does not exist." msgstr "%s對象不存在" @@ -9112,7 +9113,7 @@ msgstr "" msgid "Failed to synchronize the instance \"%s\"" msgstr "Unable to synchronize instance %s" -#: xpack/plugins/cloud/manager.py:334 +#: xpack/plugins/cloud/manager.py:337 #, python-format msgid "" "The updated platform of asset \"%s\" is inconsistent with the original " @@ -9121,42 +9122,42 @@ msgstr "" "The update platform of asset \"%s\" is not consistent with the original " "platform type. Skip platform and protocol updates" -#: xpack/plugins/cloud/manager.py:390 +#: xpack/plugins/cloud/manager.py:393 #, python-format msgid "The asset \"%s\" already exists" msgstr "\"資產 \"%s\" 已存在" -#: xpack/plugins/cloud/manager.py:392 +#: xpack/plugins/cloud/manager.py:395 #, python-format msgid "Update asset \"%s\"" msgstr "更新資產 \"%s\"" -#: xpack/plugins/cloud/manager.py:395 +#: xpack/plugins/cloud/manager.py:398 #, python-format msgid "Asset \"%s\" has been updated" msgstr "資產 \"%s\" 已更新" -#: xpack/plugins/cloud/manager.py:405 +#: xpack/plugins/cloud/manager.py:408 #, python-format msgid "Prepare to create asset \"%s\"" msgstr "Preparing to create asset %s" -#: xpack/plugins/cloud/manager.py:426 +#: xpack/plugins/cloud/manager.py:429 #, python-format msgid "Set nodes \"%s\"" msgstr "Delete Node: \"%s\"" -#: xpack/plugins/cloud/manager.py:452 +#: xpack/plugins/cloud/manager.py:455 #, python-format msgid "Set accounts \"%s\"" msgstr "刪除帳號: %s" -#: xpack/plugins/cloud/manager.py:468 +#: xpack/plugins/cloud/manager.py:471 #, python-format msgid "Set protocols \"%s\"" msgstr "設定協議 \"%s\"" -#: xpack/plugins/cloud/manager.py:482 xpack/plugins/cloud/tasks.py:27 +#: xpack/plugins/cloud/manager.py:485 xpack/plugins/cloud/tasks.py:27 msgid "Run sync instance task" msgstr "執行同步實例任務"