perf: Translate (#13612)

Co-authored-by: feng <1304903146@qq.com>
pull/13616/head
fit2bot 2024-07-04 18:14:34 +08:00 committed by GitHub
parent 50d196eda4
commit d07c476507
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 74 additions and 75 deletions

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-07-03 16:39+0800\n"
"POT-Creation-Date: 2024-07-04 18:09+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"
@ -1232,7 +1232,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"
@ -4195,34 +4196,34 @@ msgstr ""
msgid "Task {} args or kwargs error"
msgstr ""
#: ops/api/job.py:81
#: ops/api/job.py:82
#, python-brace-format
msgid ""
"Asset ({asset}) must have at least one of the following protocols added: "
"SSH, SFTP, or WinRM"
msgstr ""
#: ops/api/job.py:82
#: ops/api/job.py:83
#, python-brace-format
msgid "Asset ({asset}) authorization is missing SSH, SFTP, or WinRM protocol"
msgstr ""
#: ops/api/job.py:83
#: ops/api/job.py:84
#, python-brace-format
msgid "Asset ({asset}) authorization lacks upload permissions"
msgstr ""
#: ops/api/job.py:168
#: ops/api/job.py:169
msgid "Duplicate file exists"
msgstr ""
#: ops/api/job.py:173
#: ops/api/job.py:174
#, python-brace-format
msgid ""
"File size exceeds maximum limit. Please select a file smaller than {limit}MB"
msgstr ""
#: ops/api/job.py:237
#: ops/api/job.py:238
msgid ""
"The task is being created and cannot be interrupted. Please try again later."
msgstr ""
@ -4231,27 +4232,27 @@ msgstr ""
msgid "Currently playbook is being used in a job"
msgstr ""
#: ops/api/playbook.py:96
#: ops/api/playbook.py:97
msgid "Unsupported file content"
msgstr ""
#: ops/api/playbook.py:98 ops/api/playbook.py:144 ops/api/playbook.py:192
#: ops/api/playbook.py:99 ops/api/playbook.py:145 ops/api/playbook.py:193
msgid "Invalid file path"
msgstr ""
#: ops/api/playbook.py:170
#: ops/api/playbook.py:171
msgid "This file can not be rename"
msgstr ""
#: ops/api/playbook.py:189
#: ops/api/playbook.py:190
msgid "File already exists"
msgstr ""
#: ops/api/playbook.py:207
#: ops/api/playbook.py:208
msgid "File key is required"
msgstr ""
#: ops/api/playbook.py:210
#: ops/api/playbook.py:211
msgid "This file can not be delete"
msgstr ""

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-07-03 16:39+0800\n"
"POT-Creation-Date: 2024-07-04 18:09+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"
@ -1249,7 +1249,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 "アクティブ"
@ -2737,7 +2738,7 @@ msgstr "理由表示"
#: audits/serializers.py:70 audits/serializers.py:184
msgid "Auth backend display"
msgstr "認証バックエンド"
msgstr "検証方法"
#: audits/serializers.py:134
#, python-format
@ -4292,7 +4293,7 @@ msgstr "タスクは存在しません"
msgid "Task {} args or kwargs error"
msgstr "タスク実行パラメータエラー"
#: ops/api/job.py:81
#: ops/api/job.py:82
#, python-brace-format
msgid ""
"Asset ({asset}) must have at least one of the following protocols added: "
@ -4301,22 +4302,22 @@ msgstr ""
"資産({asset})には、少なくともSSH、SFTP、WinRMのいずれか一つのプロトコルを追加"
"する必要があります"
#: ops/api/job.py:82
#: ops/api/job.py:83
#, python-brace-format
msgid "Asset ({asset}) authorization is missing SSH, SFTP, or WinRM protocol"
msgstr ""
"資産({asset})の認証にはSSH、SFTP、またはWinRMプロトコルが不足しています"
#: ops/api/job.py:83
#: ops/api/job.py:84
#, python-brace-format
msgid "Asset ({asset}) authorization lacks upload permissions"
msgstr "資産({asset})の認証にはアップロード権限が不足しています"
#: ops/api/job.py:168
#: ops/api/job.py:169
msgid "Duplicate file exists"
msgstr "重複したファイルが存在する"
#: ops/api/job.py:173
#: ops/api/job.py:174
#, python-brace-format
msgid ""
"File size exceeds maximum limit. Please select a file smaller than {limit}MB"
@ -4324,7 +4325,7 @@ msgstr ""
"ファイルサイズが最大制限を超えています。{limit}MB より小さいファイルを選択し"
"てください。"
#: ops/api/job.py:237
#: ops/api/job.py:238
msgid ""
"The task is being created and cannot be interrupted. Please try again later."
msgstr "タスクを作成中で、中断できません。後でもう一度お試しください。"
@ -4333,27 +4334,27 @@ msgstr "タスクを作成中で、中断できません。後でもう一度お
msgid "Currently playbook is being used in a job"
msgstr "現在プレイブックは1つのジョブで使用されています"
#: ops/api/playbook.py:96
#: ops/api/playbook.py:97
msgid "Unsupported file content"
msgstr "サポートされていないファイルの内容"
#: ops/api/playbook.py:98 ops/api/playbook.py:144 ops/api/playbook.py:192
#: ops/api/playbook.py:99 ops/api/playbook.py:145 ops/api/playbook.py:193
msgid "Invalid file path"
msgstr "無効なファイルパス"
#: ops/api/playbook.py:170
#: ops/api/playbook.py:171
msgid "This file can not be rename"
msgstr "ファイル名を変更することはできません"
#: ops/api/playbook.py:189
#: ops/api/playbook.py:190
msgid "File already exists"
msgstr "ファイルは既に存在します。"
#: ops/api/playbook.py:207
#: ops/api/playbook.py:208
msgid "File key is required"
msgstr "ファイルキーこのフィールドは必須です"
#: ops/api/playbook.py:210
#: ops/api/playbook.py:211
msgid "This file can not be delete"
msgstr "このファイルを削除できません"
@ -4395,7 +4396,7 @@ msgstr "VCS"
#: ops/const.py:38 ops/models/adhoc.py:44 settings/serializers/feature.py:135
msgid "Adhoc"
msgstr "コマンド#コマンド#"
msgstr "コマンド"
#: ops/const.py:39 ops/models/job.py:149 ops/models/playbook.py:88
msgid "Playbook"
@ -5450,7 +5451,7 @@ msgstr "DN のバインド"
#: settings/serializers/auth/ldap.py:47
msgid "Binding Distinguished Name"
msgstr "専有名のバインド"
msgstr "バインドディレクトリ管理者"
#: settings/serializers/auth/ldap.py:51
msgid "Binding password"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: JumpServer 0.3.3\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-07-03 16:39+0800\n"
"POT-Creation-Date: 2024-07-04 18:09+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"
@ -145,7 +145,7 @@ msgstr "Access key"
#: accounts/const/account.py:9 authentication/backends/passkey/models.py:16
#: authentication/models/sso_token.py:14 settings/serializers/feature.py:52
msgid "Token"
msgstr "Token"
msgstr "令牌"
#: accounts/const/account.py:10
msgid "API key"
@ -1243,7 +1243,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 "激活中"
@ -2715,7 +2716,7 @@ msgstr "原因描述"
#: audits/serializers.py:70 audits/serializers.py:184
msgid "Auth backend display"
msgstr "没有匹配到认证后端"
msgstr "认证方式"
#: audits/serializers.py:134
#, python-format
@ -4236,34 +4237,34 @@ msgstr "任务 {} 不存在"
msgid "Task {} args or kwargs error"
msgstr "任务 {} 执行参数错误"
#: ops/api/job.py:81
#: ops/api/job.py:82
#, python-brace-format
msgid ""
"Asset ({asset}) must have at least one of the following protocols added: "
"SSH, SFTP, or WinRM"
msgstr "资产({asset})至少要添加ssh,sftp,winrm其中一种协议"
#: ops/api/job.py:82
#: ops/api/job.py:83
#, python-brace-format
msgid "Asset ({asset}) authorization is missing SSH, SFTP, or WinRM protocol"
msgstr "资产({asset})授权缺少ssh,sftp或winrm协议"
#: ops/api/job.py:83
#: ops/api/job.py:84
#, python-brace-format
msgid "Asset ({asset}) authorization lacks upload permissions"
msgstr "资产({asset})授权缺少上传权限"
#: ops/api/job.py:168
#: ops/api/job.py:169
msgid "Duplicate file exists"
msgstr "存在同名文件"
#: ops/api/job.py:173
#: ops/api/job.py:174
#, python-brace-format
msgid ""
"File size exceeds maximum limit. Please select a file smaller than {limit}MB"
msgstr "文件大小超过最大限制。请选择小于 {limit}MB 的文件。"
#: ops/api/job.py:237
#: ops/api/job.py:238
msgid ""
"The task is being created and cannot be interrupted. Please try again later."
msgstr "正在创建任务,无法中断,请稍后重试。"
@ -4272,27 +4273,27 @@ msgstr "正在创建任务,无法中断,请稍后重试。"
msgid "Currently playbook is being used in a job"
msgstr "当前 playbook 正在作业中使用"
#: ops/api/playbook.py:96
#: ops/api/playbook.py:97
msgid "Unsupported file content"
msgstr "不支持的文件内容"
#: ops/api/playbook.py:98 ops/api/playbook.py:144 ops/api/playbook.py:192
#: ops/api/playbook.py:99 ops/api/playbook.py:145 ops/api/playbook.py:193
msgid "Invalid file path"
msgstr "无效的文件路径"
#: ops/api/playbook.py:170
#: ops/api/playbook.py:171
msgid "This file can not be rename"
msgstr "该文件不能重命名"
#: ops/api/playbook.py:189
#: ops/api/playbook.py:190
msgid "File already exists"
msgstr "文件已存在"
#: ops/api/playbook.py:207
#: ops/api/playbook.py:208
msgid "File key is required"
msgstr "文件密钥该字段是必填项。"
#: ops/api/playbook.py:210
#: ops/api/playbook.py:211
msgid "This file can not be delete"
msgstr "无法删除此文件"
@ -5382,15 +5383,15 @@ msgstr "绑定 DN"
#: settings/serializers/auth/ldap.py:47
msgid "Binding Distinguished Name"
msgstr "绑定专有名称"
msgstr "绑定目录管理员"
#: settings/serializers/auth/ldap.py:51
msgid "Binding password"
msgstr "原来密码"
msgstr "绑定密码"
#: settings/serializers/auth/ldap.py:54
msgid "Search OU"
msgstr "系统架构"
msgstr "用户 OU"
#: settings/serializers/auth/ldap.py:56
msgid ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: JumpServer 0.3.3\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-07-03 16:39+0800\n"
"POT-Creation-Date: 2024-07-04 18:09+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"
@ -768,10 +768,8 @@ msgid "Secret from login"
msgstr "與用戶登錄時相同"
#: accounts/models/virtual.py:18
#, fuzzy
#| msgid "Email account"
msgid "Virtual account"
msgstr "信箱帳號"
msgstr "虚拟账号"
#: accounts/models/virtual.py:28
msgid "Same with user"
@ -1247,7 +1245,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 "啟用中"
@ -2719,7 +2718,7 @@ msgstr "原因描述"
#: audits/serializers.py:70 audits/serializers.py:184
msgid "Auth backend display"
msgstr "没有匹配到认证后端"
msgstr "认证代币描述"
#: audits/serializers.py:134
#, python-format
@ -4239,34 +4238,34 @@ msgstr "任務 {} 不存在"
msgid "Task {} args or kwargs error"
msgstr "任務 {} 執行參數錯誤"
#: ops/api/job.py:81
#: ops/api/job.py:82
#, python-brace-format
msgid ""
"Asset ({asset}) must have at least one of the following protocols added: "
"SSH, SFTP, or WinRM"
msgstr "资产({asset})至少要添加ssh,sftp,winrm其中一种协议"
#: ops/api/job.py:82
#: ops/api/job.py:83
#, python-brace-format
msgid "Asset ({asset}) authorization is missing SSH, SFTP, or WinRM protocol"
msgstr "资产({asset})授权缺少ssh,sftp或winrm协议"
#: ops/api/job.py:83
#: ops/api/job.py:84
#, python-brace-format
msgid "Asset ({asset}) authorization lacks upload permissions"
msgstr "资产({asset})授权缺少上传权限"
#: ops/api/job.py:168
#: ops/api/job.py:169
msgid "Duplicate file exists"
msgstr "存在同名文件"
#: ops/api/job.py:173
#: ops/api/job.py:174
#, python-brace-format
msgid ""
"File size exceeds maximum limit. Please select a file smaller than {limit}MB"
msgstr "檔案大小超過最大限制。請選擇小於 {limit}MB 的文件。"
#: ops/api/job.py:237
#: ops/api/job.py:238
msgid ""
"The task is being created and cannot be interrupted. Please try again later."
msgstr "正在創建任務,無法中斷,請稍後重試。"
@ -4275,27 +4274,27 @@ msgstr "正在創建任務,無法中斷,請稍後重試。"
msgid "Currently playbook is being used in a job"
msgstr "當前 playbook 正在作業中使用"
#: ops/api/playbook.py:96
#: ops/api/playbook.py:97
msgid "Unsupported file content"
msgstr "不支持的文件內容"
#: ops/api/playbook.py:98 ops/api/playbook.py:144 ops/api/playbook.py:192
#: ops/api/playbook.py:99 ops/api/playbook.py:145 ops/api/playbook.py:193
msgid "Invalid file path"
msgstr "無效的文件路徑"
#: ops/api/playbook.py:170
#: ops/api/playbook.py:171
msgid "This file can not be rename"
msgstr "該文件不能重命名"
#: ops/api/playbook.py:189
#: ops/api/playbook.py:190
msgid "File already exists"
msgstr "文件已存在"
#: ops/api/playbook.py:207
#: ops/api/playbook.py:208
msgid "File key is required"
msgstr "文件金鑰該欄位是必填項。"
#: ops/api/playbook.py:210
#: ops/api/playbook.py:211
msgid "This file can not be delete"
msgstr "無法刪除此文件"
@ -5389,7 +5388,7 @@ msgstr "綁定 DN"
#: settings/serializers/auth/ldap.py:47
msgid "Binding Distinguished Name"
msgstr "綁定專有名稱"
msgstr "綁定的 DN"
#: settings/serializers/auth/ldap.py:51
msgid "Binding password"

View File

@ -1101,7 +1101,6 @@
"Setting": "Setting",
"SettingInEndpointHelpText": "Configure service address and port in system settings / component settings / server endpoints",
"Settings": "System settings",
"Settings...": "Settings...",
"Show": "Display",
"ShowAssetAllChildrenNode": "Show all sub-nodes assets",
"ShowAssetOnlyCurrentNode": "Only show current node assets",

View File

@ -1135,7 +1135,6 @@
"Setting": "設定",
"SettingInEndpointHelpText": "システム設定/コンポーネント設定/サーバーエンドポイントでサービスのアドレスとポートを設定してください",
"Settings": "システム設定",
"Settings...": "設定...",
"Show": "表示",
"ShowAssetAllChildrenNode": "すべての子ノードの資産を表示",
"ShowAssetOnlyCurrentNode": "現在のノードアセットのみを表示",

View File

@ -1103,7 +1103,6 @@
"Setting": "设置",
"SettingInEndpointHelpText": "在 系统设置 / 组件设置 / 服务端点 中配置服务地址和端口",
"Settings": "系统设置",
"Settings...": "设置...",
"Show": "显示",
"ShowAssetAllChildrenNode": "显示所有子节点资产",
"ShowAssetOnlyCurrentNode": "仅显示当前节点资产",
@ -1385,5 +1384,6 @@
"ZoneList": "网域列表",
"ZoneUpdate": "更新网域",
"forceEnableMFAHelpText": "如果强制启用,用户无法自行禁用",
"removeWarningMsg": "你确定要移除"
"removeWarningMsg": "你确定要移除",
"VaultHCPMountPoint": "Vault 服务器的挂载点,默认为 jumpserver"
}

View File

@ -1459,7 +1459,6 @@
"Setting": "設置",
"SettingInEndpointHelpText": "在 系統設置 / 組件設置 / 服務端點 中配置服務地址和埠",
"Settings": "系統設置",
"Settings...": " Settings...",
"Show": "顯示",
"ShowAssetAllChildrenNode": "顯示所有子節點資產",
"ShowAssetOnlyCurrentNode": "僅顯示當前節點資產",

View File

@ -41,7 +41,7 @@ class TerminalSmallSerializer(serializers.ModelSerializer):
class TerminalSerializer(BulkModelSerializer):
session_online = serializers.ReadOnlyField(source='get_online_session_count', label=_('Online sessions'))
is_alive = serializers.BooleanField(read_only=True, label=_('Is alive'))
is_active = serializers.BooleanField(read_only=True, label='Is active')
is_active = serializers.BooleanField(read_only=True, label=_('Active'))
load = LabeledChoiceField(
read_only=True, choices=const.ComponentLoad.choices,
label=_('Load status')