perf: translate (#12764)

Co-authored-by: feng <1304903146@qq.com>
pull/12928/head
fit2bot 2024-03-06 16:51:07 +08:00 committed by GitHub
parent 6ea13b2c0d
commit 9341558f61
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 42 additions and 44 deletions

View File

@ -35,7 +35,7 @@ class AccountBackupSerializer(PeriodTaskSerializerMixin, BulkOrgResourceModelSer
]
extra_kwargs = {
'name': {'required': True},
'executed_amount': {'label': _('Executed amount')},
'executed_amount': {'label': _('Executions')},
'recipients': {
'label': _('Recipient'),
'help_text': _('Currently only mail sending is supported')

View File

@ -34,7 +34,7 @@ class BaseAutomationSerializer(PeriodTaskSerializerMixin, BulkOrgResourceModelSe
extra_kwargs = {
'name': {'required': True},
'type': {'read_only': True},
'executed_amount': {'label': _('Executed amount')},
'executed_amount': {'label': _('Executions')},
}
def validate_name(self, name):

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:37361f83f7fa134e220bc7f0f4cc235d77bf0970a4e5f44a4692542127a433d2
size 2463
oid sha256:16cedef767e949250b792d7f5921071b001545fc17cff4be093cd5faf5a20176
size 2453

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-02-28 17:25+0800\n"
"POT-Creation-Date: 2024-03-06 16:46+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"
@ -296,9 +296,8 @@ msgstr ""
#: assets/serializers/asset/common.py:128 assets/serializers/gateway.py:28
#: audits/models.py:59 authentication/api/connection_token.py:405
#: ops/models/base.py:18 perms/models/asset_permission.py:75
#: perms/serializers/permission.py:45 settings/serializers/msg.py:33
#: terminal/backends/command/models.py:18 terminal/models/session/session.py:33
#: terminal/serializers/command.py:72
#: settings/serializers/msg.py:33 terminal/backends/command/models.py:18
#: terminal/models/session/session.py:33 terminal/serializers/command.py:72
#: 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:89
@ -838,7 +837,7 @@ msgstr ""
#: terminal/templates/terminal/_msg_command_warning.html:6
#: terminal/templates/terminal/_msg_session_sharing.html:6
#: tickets/models/comment.py:21 users/const.py:14 users/models/user.py:1004
#: users/models/user.py:1041 users/serializers/group.py:21
#: users/models/user.py:1041
msgid "User"
msgstr ""
@ -850,8 +849,8 @@ msgstr ""
#: accounts/serializers/account/backup.py:38
#: accounts/serializers/automations/base.py:37
msgid "Executed amount"
msgstr "Execution times"
msgid "Executions"
msgstr "Executions"
#: accounts/serializers/account/backup.py:41
#: accounts/serializers/automations/change_secret.py:57
@ -1109,13 +1108,13 @@ msgid "Active"
msgstr "Active"
#: acls/models/base.py:81 users/models/preference.py:16
#: users/serializers/user.py:293
#: users/serializers/group.py:21 users/serializers/user.py:293
msgid "Users"
msgstr ""
#: acls/models/base.py:98 assets/models/automations/base.py:17
#: assets/models/cmd_filter.py:38 perms/serializers/user_permission.py:75
#: rbac/tree.py:35
#: assets/models/cmd_filter.py:38 perms/serializers/permission.py:45
#: perms/serializers/user_permission.py:75 rbac/tree.py:35
msgid "Accounts"
msgstr ""
@ -1581,7 +1580,7 @@ msgstr ""
msgid "API mode"
msgstr ""
#: assets/const/types.py:247
#: assets/const/types.py:251
msgid "All types"
msgstr ""
@ -2539,7 +2538,7 @@ msgstr ""
#: audits/serializers.py:134
#, python-format
msgid "User %s %s this resource"
msgid "%s %s this resource"
msgstr ""
#: audits/serializers.py:172 authentication/models/connection_token.py:47

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3f56e397e2b9120c529fe1a6a7334cd6522df6298ffcb8f0af44e4c234899de4
size 167973
oid sha256:deba66cca5a41120ea382842441d5ad1b6597ee01fc74569dea71b974616e104
size 167844

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-02-28 17:24+0800\n"
"POT-Creation-Date: 2024-03-06 16:46+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"
@ -296,9 +296,8 @@ msgstr "ソース ID"
#: assets/serializers/asset/common.py:128 assets/serializers/gateway.py:28
#: audits/models.py:59 authentication/api/connection_token.py:405
#: ops/models/base.py:18 perms/models/asset_permission.py:75
#: perms/serializers/permission.py:45 settings/serializers/msg.py:33
#: terminal/backends/command/models.py:18 terminal/models/session/session.py:33
#: terminal/serializers/command.py:72
#: settings/serializers/msg.py:33 terminal/backends/command/models.py:18
#: terminal/models/session/session.py:33 terminal/serializers/command.py:72
#: 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:89
@ -850,7 +849,7 @@ msgstr "ID"
#: terminal/templates/terminal/_msg_command_warning.html:6
#: terminal/templates/terminal/_msg_session_sharing.html:6
#: tickets/models/comment.py:21 users/const.py:14 users/models/user.py:1004
#: users/models/user.py:1041 users/serializers/group.py:21
#: users/models/user.py:1041
msgid "User"
msgstr "ユーザー"
@ -862,7 +861,7 @@ msgstr "日付"
#: accounts/serializers/account/backup.py:38
#: accounts/serializers/automations/base.py:37
msgid "Executed amount"
msgid "Executions"
msgstr "実行回数"
#: accounts/serializers/account/backup.py:41
@ -1128,13 +1127,13 @@ msgid "Active"
msgstr "アクティブ"
#: acls/models/base.py:81 users/models/preference.py:16
#: users/serializers/user.py:293
#: users/serializers/group.py:21 users/serializers/user.py:293
msgid "Users"
msgstr "ユーザー"
#: acls/models/base.py:98 assets/models/automations/base.py:17
#: assets/models/cmd_filter.py:38 perms/serializers/user_permission.py:75
#: rbac/tree.py:35
#: assets/models/cmd_filter.py:38 perms/serializers/permission.py:45
#: perms/serializers/user_permission.py:75 rbac/tree.py:35
msgid "Accounts"
msgstr "アカウント"
@ -1621,7 +1620,7 @@ msgstr "ボタンセレクターを確認する"
msgid "API mode"
msgstr "APIモード"
#: assets/const/types.py:247
#: assets/const/types.py:251
msgid "All types"
msgstr "いろんなタイプ"
@ -2591,8 +2590,9 @@ msgid "Reason display"
msgstr "理由表示"
#: audits/serializers.py:134
#, python-format
msgid "User %s %s this resource"
#, fuzzy, python-format
#| msgid "User %s %s this resource"
msgid "%s %s this resource"
msgstr "ユーザー %s %s が現在のリソースをサブスクライブしました。"
#: audits/serializers.py:172 authentication/models/connection_token.py:47

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5b0b4861d76e743aba8af897d77c39f0cadf414cc21b2b66e400e58da0c0249d
size 138962
oid sha256:986e7a2879923a9cc545fe35c18265caf8d9d4b9636d5ef4277510cc8ac8f790
size 138952

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-02-28 17:25+0800\n"
"POT-Creation-Date: 2024-03-06 16:47+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"
@ -295,9 +295,8 @@ msgstr "来源 ID"
#: assets/serializers/asset/common.py:128 assets/serializers/gateway.py:28
#: audits/models.py:59 authentication/api/connection_token.py:405
#: ops/models/base.py:18 perms/models/asset_permission.py:75
#: perms/serializers/permission.py:45 settings/serializers/msg.py:33
#: terminal/backends/command/models.py:18 terminal/models/session/session.py:33
#: terminal/serializers/command.py:72
#: settings/serializers/msg.py:33 terminal/backends/command/models.py:18
#: terminal/models/session/session.py:33 terminal/serializers/command.py:72
#: 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:89
@ -846,7 +845,7 @@ msgstr "ID"
#: terminal/templates/terminal/_msg_command_warning.html:6
#: terminal/templates/terminal/_msg_session_sharing.html:6
#: tickets/models/comment.py:21 users/const.py:14 users/models/user.py:1004
#: users/models/user.py:1041 users/serializers/group.py:21
#: users/models/user.py:1041
msgid "User"
msgstr "用户"
@ -858,7 +857,7 @@ msgstr "日期"
#: accounts/serializers/account/backup.py:38
#: accounts/serializers/automations/base.py:37
msgid "Executed amount"
msgid "Executions"
msgstr "执行次数"
#: accounts/serializers/account/backup.py:41
@ -1120,13 +1119,13 @@ msgid "Active"
msgstr "激活中"
#: acls/models/base.py:81 users/models/preference.py:16
#: users/serializers/user.py:293
#: users/serializers/group.py:21 users/serializers/user.py:293
msgid "Users"
msgstr "用户"
#: acls/models/base.py:98 assets/models/automations/base.py:17
#: assets/models/cmd_filter.py:38 perms/serializers/user_permission.py:75
#: rbac/tree.py:35
#: assets/models/cmd_filter.py:38 perms/serializers/permission.py:45
#: perms/serializers/user_permission.py:75 rbac/tree.py:35
msgid "Accounts"
msgstr "账号"
@ -1603,7 +1602,7 @@ msgstr "确认按钮选择器"
msgid "API mode"
msgstr "API 模式"
#: assets/const/types.py:247
#: assets/const/types.py:251
msgid "All types"
msgstr "所有类型"
@ -2565,7 +2564,7 @@ msgstr "原因描述"
#: audits/serializers.py:134
#, python-format
msgid "User %s %s this resource"
msgid "%s %s this resource"
msgstr "用户 %s %s 了当前资源"
#: audits/serializers.py:172 authentication/models/connection_token.py:47

View File

@ -973,7 +973,7 @@
"SessionState": "Session Status",
"SessionTerminate": "Session Termination",
"SessionTrend": "Session Trends",
"Sessions": "Session管理",
"Sessions": "Sessions",
"SessionsAudit": "Session Audit",
"SessionsNum": "Sessions",
"Set": "Configured",