perf: 翻译 (#11468)

Co-authored-by: feng <1304903146@qq.com>
pull/11472/head
fit2bot 2023-08-30 16:01:16 +08:00 committed by GitHub
parent 992e34d652
commit 24194b4e4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 80 additions and 92 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:f96558642be3e37f62de0ef8772e8ee0d5cf008bafc5063984f3749ab8489323 oid sha256:adfc307a827a5299030378017f8c1b840276711dcf1a0cf55d3bce47aafa0f1f
size 155810 size 156109

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-08-29 15:14+0800\n" "POT-Creation-Date: 2023-08-30 15:59+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -196,6 +196,24 @@ msgstr "データベース"
msgid "HCP Vault" msgid "HCP Vault"
msgstr "HashiCorp Vault" msgstr "HashiCorp Vault"
#: accounts/mixins.py:35
msgid "Export all"
msgstr "すべてエクスポート"
#: accounts/mixins.py:37
msgid "Export only selected items"
msgstr "選択項目のみエクスポート"
#: accounts/mixins.py:42
#, python-format
msgid "Export filtered: %s"
msgstr "検索のエクスポート: %s"
#: accounts/mixins.py:48
#, python-format
msgid "User %s view/export secret"
msgstr "ユーザー %s がパスワードを閲覧/導き出しました"
#: accounts/models/account.py:48 #: accounts/models/account.py:48
#: accounts/models/automations/gather_account.py:16 #: accounts/models/automations/gather_account.py:16
#: accounts/serializers/account/account.py:202 #: accounts/serializers/account/account.py:202
@ -802,13 +820,15 @@ msgstr "关联平台,可以配置推送参数,如果不关联,则使用默
msgid "Comment" msgid "Comment"
msgstr "コメント" msgstr "コメント"
#: accounts/serializers/account/virtual.py:22 #: accounts/serializers/account/virtual.py:24
msgid "" msgid ""
"Current only support login from AD/LDAP. Secret priority: Same account in " "Current only support login from AD/LDAP. Secret priority: Same account in "
"asset secret > Login secret > Manual input" "asset secret > Login secret > Manual input. For security, please set config "
"CACHE_LOGIN_PASSWORD_ENABLED to true"
msgstr "" msgstr ""
"現在、AD/LDAPからのログインのみをサポートしています。シークレットの優先順位: " "現在、AD/LDAPからのログインのみをサポートしています。シークレットの優先順位: "
"資産シークレット内の同じアカウント > ログインシークレット > 手動入力" "資産シークレット内の同じアカウント > ログインシークレット > 手動入力, セキュ"
"リティのために、コンフィギュレーション項目CACHE _LOGIN_PASSWORD_ENABLEDはtrue"
#: accounts/serializers/automations/base.py:23 #: accounts/serializers/automations/base.py:23
#: assets/models/asset/common.py:155 assets/models/automations/base.py:18 #: assets/models/asset/common.py:155 assets/models/automations/base.py:18
@ -3601,24 +3621,6 @@ msgstr "特殊文字を含むべきではない"
msgid "The mobile phone number format is incorrect" msgid "The mobile phone number format is incorrect"
msgstr "携帯電話番号の形式が正しくありません" msgstr "携帯電話番号の形式が正しくありません"
#: common/views/mixins.py:74
msgid "Export all"
msgstr "すべてエクスポート"
#: common/views/mixins.py:76
msgid "Export only selected items"
msgstr "選択項目のみエクスポート"
#: common/views/mixins.py:81
#, python-format
msgid "Export filtered: %s"
msgstr "検索のエクスポート: %s"
#: common/views/mixins.py:90
#, python-format
msgid "User %s view/export secret"
msgstr "ユーザー %s がパスワードを閲覧/導き出しました"
#: jumpserver/conf.py:443 #: jumpserver/conf.py:443
msgid "Create account successfully" msgid "Create account successfully"
msgstr "アカウントを正常に作成" msgstr "アカウントを正常に作成"
@ -3695,11 +3697,11 @@ msgstr "投稿サイトニュース"
msgid "No account available" msgid "No account available"
msgstr "利用可能なアカウントがありません" msgstr "利用可能なアカウントがありません"
#: ops/ansible/inventory.py:261 #: ops/ansible/inventory.py:262
msgid "Ansible disabled" msgid "Ansible disabled"
msgstr "Ansible 無効" msgstr "Ansible 無効"
#: ops/ansible/inventory.py:277 #: ops/ansible/inventory.py:278
msgid "Skip hosts below:" msgid "Skip hosts below:"
msgstr "次のホストをスキップします: " msgstr "次のホストをスキップします: "
@ -6035,8 +6037,8 @@ msgstr "一括作成非サポート"
msgid "Storage is invalid" msgid "Storage is invalid"
msgstr "ストレージが無効です" msgstr "ストレージが無効です"
#: terminal/models/applet/applet.py:30 #: terminal/models/applet/applet.py:30 xpack/plugins/license/models.py:86
msgid "Community" msgid "Community Edition"
msgstr "コミュニティ版" msgstr "コミュニティ版"
#: terminal/models/applet/applet.py:31 #: terminal/models/applet/applet.py:31
@ -8232,22 +8234,13 @@ msgid "License"
msgstr "ライセンス" msgstr "ライセンス"
#: xpack/plugins/license/models.py:80 #: xpack/plugins/license/models.py:80
msgid "Standard edition" msgid "Enterprise Basic Edition"
msgstr "標準版" msgstr "エンタープライズ基本版"
#: xpack/plugins/license/models.py:82 #: xpack/plugins/license/models.py:82
msgid "Enterprise edition" msgid "Enterprise Standard Edition"
msgstr "エンタープライズ版" msgstr "エンタープライズ標準版"
#: xpack/plugins/license/models.py:84 #: xpack/plugins/license/models.py:84
msgid "Ultimate edition" msgid "Enterprise Flagship Edition"
msgstr "究極のエディション" msgstr "エンタープライズ旗艦版"
#: xpack/plugins/license/models.py:86
msgid "Community edition"
msgstr "コミュニティ版"
#, fuzzy
#~| msgid "Internal"
#~ msgid "External url"
#~ msgstr "ビルトイン"

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:e10dc250ba5d57d7edce01403cd66efb29be1036c67ce026bad55322792d569c oid sha256:20793cf634d9d59e0c1e1b903712223422dd42e1b7f6b7859015e0b83aaa4a96
size 127493 size 127733

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: JumpServer 0.3.3\n" "Project-Id-Version: JumpServer 0.3.3\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-08-29 14:45+0800\n" "POT-Creation-Date: 2023-08-30 15:59+0800\n"
"PO-Revision-Date: 2021-05-20 10:54+0800\n" "PO-Revision-Date: 2021-05-20 10:54+0800\n"
"Last-Translator: ibuler <ibuler@qq.com>\n" "Last-Translator: ibuler <ibuler@qq.com>\n"
"Language-Team: JumpServer team<ibuler@qq.com>\n" "Language-Team: JumpServer team<ibuler@qq.com>\n"
@ -195,6 +195,24 @@ msgstr "数据库"
msgid "HCP Vault" msgid "HCP Vault"
msgstr "HashiCorp Vault" msgstr "HashiCorp Vault"
#: accounts/mixins.py:35
msgid "Export all"
msgstr "导出所有"
#: accounts/mixins.py:37
msgid "Export only selected items"
msgstr "仅导出选择项"
#: accounts/mixins.py:42
#, python-format
msgid "Export filtered: %s"
msgstr "导出搜素: %s"
#: accounts/mixins.py:48
#, python-format
msgid "User %s view/export secret"
msgstr "用户 %s 查看/导出 了密码"
#: accounts/models/account.py:48 #: accounts/models/account.py:48
#: accounts/models/automations/gather_account.py:16 #: accounts/models/automations/gather_account.py:16
#: accounts/serializers/account/account.py:202 #: accounts/serializers/account/account.py:202
@ -800,13 +818,15 @@ msgstr "关联平台,可配置推送参数,如果不关联,将使用默认
msgid "Comment" msgid "Comment"
msgstr "备注" msgstr "备注"
#: accounts/serializers/account/virtual.py:22 #: accounts/serializers/account/virtual.py:24
msgid "" msgid ""
"Current only support login from AD/LDAP. Secret priority: Same account in " "Current only support login from AD/LDAP. Secret priority: Same account in "
"asset secret > Login secret > Manual input" "asset secret > Login secret > Manual input. For security, please set config "
"CACHE_LOGIN_PASSWORD_ENABLED to true"
msgstr "" msgstr ""
"当前仅支持 AD/LDAP 登录方式用户。 同名账号密码生效顺序: 资产上存在的同名账号" "当前仅支持 AD/LDAP 登录方式用户。 同名账号密码生效顺序: 资产上存在的同名账号"
"密码 > 登录密码 > 手动输入" "密码 > 登录密码 > 手动输入, 为了安全起见,请设置配置项 "
"CACHE_LOGIN_PASSWORD_ENABLED 为 true"
#: accounts/serializers/automations/base.py:23 #: accounts/serializers/automations/base.py:23
#: assets/models/asset/common.py:155 assets/models/automations/base.py:18 #: assets/models/asset/common.py:155 assets/models/automations/base.py:18
@ -2118,6 +2138,7 @@ msgid "Symlink"
msgstr "建立软链接" msgstr "建立软链接"
#: audits/const.py:18 audits/const.py:28 perms/const.py:14 #: audits/const.py:18 audits/const.py:28 perms/const.py:14
#: terminal/api/session/session.py:141
msgid "Download" msgid "Download"
msgstr "下载" msgstr "下载"
@ -2125,7 +2146,7 @@ msgstr "下载"
msgid "Rename dir" msgid "Rename dir"
msgstr "映射目录" msgstr "映射目录"
#: audits/const.py:23 rbac/tree.py:232 #: audits/const.py:23 rbac/tree.py:232 terminal/api/session/session.py:234
#: terminal/templates/terminal/_msg_command_warning.html:18 #: terminal/templates/terminal/_msg_command_warning.html:18
#: terminal/templates/terminal/_msg_session_sharing.html:10 #: terminal/templates/terminal/_msg_session_sharing.html:10
msgid "View" msgid "View"
@ -2398,7 +2419,7 @@ msgstr "ACL 动作是复核"
msgid "Current user not support mfa type: {}" msgid "Current user not support mfa type: {}"
msgstr "当前用户不支持 MFA 类型: {}" msgstr "当前用户不支持 MFA 类型: {}"
#: authentication/api/password.py:32 terminal/api/session/session.py:284 #: authentication/api/password.py:32 terminal/api/session/session.py:282
#: users/views/profile/reset.py:44 #: users/views/profile/reset.py:44
msgid "User does not exist: {}" msgid "User does not exist: {}"
msgstr "用户不存在: {}" msgstr "用户不存在: {}"
@ -3561,24 +3582,6 @@ msgstr "不能包含特殊字符"
msgid "The mobile phone number format is incorrect" msgid "The mobile phone number format is incorrect"
msgstr "手机号格式不正确" msgstr "手机号格式不正确"
#: common/views/mixins.py:74
msgid "Export all"
msgstr "导出所有"
#: common/views/mixins.py:76
msgid "Export only selected items"
msgstr "仅导出选择项"
#: common/views/mixins.py:81
#, python-format
msgid "Export filtered: %s"
msgstr "导出搜素: %s"
#: common/views/mixins.py:90
#, python-format
msgid "User %s view/export secret"
msgstr "用户 %s 查看/导出 了密码"
#: jumpserver/conf.py:443 #: jumpserver/conf.py:443
msgid "Create account successfully" msgid "Create account successfully"
msgstr "创建账号成功" msgstr "创建账号成功"
@ -3650,11 +3653,11 @@ msgstr "发布站内消息"
msgid "No account available" msgid "No account available"
msgstr "无可用账号" msgstr "无可用账号"
#: ops/ansible/inventory.py:261 #: ops/ansible/inventory.py:262
msgid "Ansible disabled" msgid "Ansible disabled"
msgstr "Ansible 已禁用" msgstr "Ansible 已禁用"
#: ops/ansible/inventory.py:277 #: ops/ansible/inventory.py:278
msgid "Skip hosts below:" msgid "Skip hosts below:"
msgstr "跳过以下主机: " msgstr "跳过以下主机: "
@ -5818,20 +5821,20 @@ msgstr "测试失败: 账号无效"
msgid "Have online sessions" msgid "Have online sessions"
msgstr "有在线会话" msgstr "有在线会话"
#: terminal/api/session/session.py:47 #: terminal/api/session/session.py:46
#, python-format #, python-format
msgid "User %s %s session %s replay" msgid "User %s %s session %s replay"
msgstr "用户 %s %s 了会话 %s 的录像" msgstr "用户 %s %s 了会话 %s 的录像"
#: terminal/api/session/session.py:276 #: terminal/api/session/session.py:274
msgid "Session does not exist: {}" msgid "Session does not exist: {}"
msgstr "会话不存在: {}" msgstr "会话不存在: {}"
#: terminal/api/session/session.py:279 #: terminal/api/session/session.py:277
msgid "Session is finished or the protocol not supported" msgid "Session is finished or the protocol not supported"
msgstr "会话已经完成或协议不支持" msgstr "会话已经完成或协议不支持"
#: terminal/api/session/session.py:292 #: terminal/api/session/session.py:290
msgid "User does not have permission" msgid "User does not have permission"
msgstr "用户没有权限" msgstr "用户没有权限"
@ -5949,8 +5952,8 @@ msgstr "不支持批量创建"
msgid "Storage is invalid" msgid "Storage is invalid"
msgstr "存储无效" msgstr "存储无效"
#: terminal/models/applet/applet.py:30 #: terminal/models/applet/applet.py:30 xpack/plugins/license/models.py:86
msgid "Community" msgid "Community Edition"
msgstr "社区版" msgstr "社区版"
#: terminal/models/applet/applet.py:31 #: terminal/models/applet/applet.py:31
@ -8118,21 +8121,13 @@ msgid "License"
msgstr "许可证" msgstr "许可证"
#: xpack/plugins/license/models.py:80 #: xpack/plugins/license/models.py:80
msgid "Standard edition" msgid "Enterprise Basic Edition"
msgstr "标准版" msgstr "企业基础版"
#: xpack/plugins/license/models.py:82 #: xpack/plugins/license/models.py:82
msgid "Enterprise edition" msgid "Enterprise Standard Edition"
msgstr "企业版" msgstr "企业标准版"
#: xpack/plugins/license/models.py:84 #: xpack/plugins/license/models.py:84
msgid "Ultimate edition" msgid "Enterprise Flagship Edition"
msgstr "旗舰版" msgstr "企业旗舰版"
#: xpack/plugins/license/models.py:86
msgid "Community edition"
msgstr "社区版"
#~| msgid "Internal"
#~ msgid "External url"
#~ msgstr "内置"

View File

@ -27,7 +27,7 @@ class Applet(JMSBaseModel):
web = 'web', _('Web') web = 'web', _('Web')
class Edition(models.TextChoices): class Edition(models.TextChoices):
community = 'community', _('Community') community = 'community', _('Community Edition')
enterprise = 'enterprise', _('Enterprise') enterprise = 'enterprise', _('Enterprise')
name = models.SlugField(max_length=128, verbose_name=_('Name'), unique=True) name = models.SlugField(max_length=128, verbose_name=_('Name'), unique=True)