feat: 更新翻译

pull/8011/head
Jiangjie.Bai 2022-03-31 11:22:48 +08:00 committed by Jiangjie.Bai
parent 73cb5e10b4
commit eff562505e
3 changed files with 175 additions and 167 deletions

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: 2022-03-29 18:26+0800\n" "POT-Creation-Date: 2022-03-31 11:21+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"
@ -31,7 +31,7 @@ msgstr "Acls"
#: settings/models.py:29 settings/serializers/sms.py:6 #: settings/models.py:29 settings/serializers/sms.py:6
#: terminal/models/storage.py:23 terminal/models/task.py:16 #: terminal/models/storage.py:23 terminal/models/task.py:16
#: terminal/models/terminal.py:100 users/forms/profile.py:32 #: terminal/models/terminal.py:100 users/forms/profile.py:32
#: users/models/group.py:15 users/models/user.py:659 #: users/models/group.py:15 users/models/user.py:661
#: users/templates/users/_select_user_modal.html:13 #: users/templates/users/_select_user_modal.html:13
#: users/templates/users/user_asset_permission.html:37 #: users/templates/users/user_asset_permission.html:37
#: users/templates/users/user_asset_permission.html:154 #: users/templates/users/user_asset_permission.html:154
@ -67,7 +67,7 @@ msgstr "アクティブ"
#: perms/models/base.py:93 rbac/models/role.py:37 settings/models.py:34 #: perms/models/base.py:93 rbac/models/role.py:37 settings/models.py:34
#: terminal/models/storage.py:26 terminal/models/terminal.py:114 #: terminal/models/storage.py:26 terminal/models/terminal.py:114
#: tickets/models/comment.py:24 tickets/models/ticket.py:154 #: tickets/models/comment.py:24 tickets/models/ticket.py:154
#: users/models/group.py:16 users/models/user.py:696 #: users/models/group.py:16 users/models/user.py:698
#: xpack/plugins/change_auth_plan/models/base.py:44 #: xpack/plugins/change_auth_plan/models/base.py:44
#: xpack/plugins/cloud/models.py:35 xpack/plugins/cloud/models.py:116 #: xpack/plugins/cloud/models.py:35 xpack/plugins/cloud/models.py:116
#: xpack/plugins/gathered_user/models.py:26 #: xpack/plugins/gathered_user/models.py:26
@ -95,8 +95,8 @@ msgstr "ログイン確認"
#: terminal/backends/command/models.py:19 #: terminal/backends/command/models.py:19
#: terminal/backends/command/serializers.py:12 terminal/models/session.py:42 #: terminal/backends/command/serializers.py:12 terminal/models/session.py:42
#: terminal/notifications.py:91 terminal/notifications.py:139 #: terminal/notifications.py:91 terminal/notifications.py:139
#: tickets/models/comment.py:17 users/const.py:14 users/models/user.py:884 #: tickets/models/comment.py:17 users/const.py:14 users/models/user.py:886
#: users/models/user.py:915 users/serializers/group.py:19 #: users/models/user.py:917 users/serializers/group.py:19
#: users/templates/users/user_asset_permission.html:38 #: users/templates/users/user_asset_permission.html:38
#: users/templates/users/user_asset_permission.html:64 #: users/templates/users/user_asset_permission.html:64
#: users/templates/users/user_database_app_permission.html:37 #: users/templates/users/user_database_app_permission.html:37
@ -170,7 +170,7 @@ msgstr "コンマ区切り文字列の形式。* はすべて一致すること
#: authentication/forms.py:15 authentication/forms.py:17 #: authentication/forms.py:15 authentication/forms.py:17
#: authentication/templates/authentication/_msg_different_city.html:9 #: authentication/templates/authentication/_msg_different_city.html:9
#: authentication/templates/authentication/_msg_oauth_bind.html:9 #: authentication/templates/authentication/_msg_oauth_bind.html:9
#: ops/models/adhoc.py:159 users/forms/profile.py:31 users/models/user.py:657 #: ops/models/adhoc.py:159 users/forms/profile.py:31 users/models/user.py:659
#: users/templates/users/_msg_user_created.html:12 #: users/templates/users/_msg_user_created.html:12
#: users/templates/users/_select_user_modal.html:14 #: users/templates/users/_select_user_modal.html:14
#: xpack/plugins/change_auth_plan/models/asset.py:34 #: xpack/plugins/change_auth_plan/models/asset.py:34
@ -285,7 +285,7 @@ msgstr "アプリケーション"
#: assets/models/cmd_filter.py:42 assets/models/user.py:338 audits/models.py:40 #: assets/models/cmd_filter.py:42 assets/models/user.py:338 audits/models.py:40
#: perms/models/application_permission.py:33 #: perms/models/application_permission.py:33
#: perms/models/asset_permission.py:25 terminal/backends/command/models.py:21 #: perms/models/asset_permission.py:25 terminal/backends/command/models.py:21
#: terminal/backends/command/serializers.py:14 terminal/models/session.py:46 #: terminal/backends/command/serializers.py:35 terminal/models/session.py:46
#: users/templates/users/_granted_assets.html:27 #: users/templates/users/_granted_assets.html:27
#: users/templates/users/user_asset_permission.html:42 #: users/templates/users/user_asset_permission.html:42
#: users/templates/users/user_asset_permission.html:76 #: users/templates/users/user_asset_permission.html:76
@ -380,7 +380,7 @@ msgstr "タイプ表示"
#: assets/serializers/cmd_filter.py:49 common/db/models.py:113 #: assets/serializers/cmd_filter.py:49 common/db/models.py:113
#: common/mixins/models.py:50 ops/models/adhoc.py:39 ops/models/command.py:30 #: common/mixins/models.py:50 ops/models/adhoc.py:39 ops/models/command.py:30
#: orgs/models.py:67 orgs/models.py:217 perms/models/base.py:92 #: orgs/models.py:67 orgs/models.py:217 perms/models/base.py:92
#: users/models/group.py:18 users/models/user.py:916 #: users/models/group.py:18 users/models/user.py:918
#: xpack/plugins/cloud/models.py:125 #: xpack/plugins/cloud/models.py:125
msgid "Date created" msgid "Date created"
msgstr "作成された日付" msgstr "作成された日付"
@ -632,7 +632,7 @@ msgstr "ラベル"
#: assets/models/cluster.py:28 assets/models/cmd_filter.py:52 #: assets/models/cluster.py:28 assets/models/cmd_filter.py:52
#: assets/models/cmd_filter.py:99 assets/models/group.py:21 #: assets/models/cmd_filter.py:99 assets/models/group.py:21
#: common/db/models.py:111 common/mixins/models.py:49 orgs/models.py:66 #: common/db/models.py:111 common/mixins/models.py:49 orgs/models.py:66
#: orgs/models.py:219 perms/models/base.py:91 users/models/user.py:704 #: orgs/models.py:219 perms/models/base.py:91 users/models/user.py:706
#: users/serializers/group.py:33 #: users/serializers/group.py:33
#: xpack/plugins/change_auth_plan/models/base.py:48 #: xpack/plugins/change_auth_plan/models/base.py:48
#: xpack/plugins/cloud/models.py:122 xpack/plugins/gathered_user/models.py:30 #: xpack/plugins/cloud/models.py:122 xpack/plugins/gathered_user/models.py:30
@ -813,7 +813,7 @@ msgstr "帯域幅"
msgid "Contact" msgid "Contact"
msgstr "連絡先" msgstr "連絡先"
#: assets/models/cluster.py:22 users/models/user.py:679 #: assets/models/cluster.py:22 users/models/user.py:681
msgid "Phone" msgid "Phone"
msgstr "電話" msgstr "電話"
@ -839,7 +839,7 @@ msgid "Default"
msgstr "デフォルト" msgstr "デフォルト"
#: assets/models/cluster.py:36 assets/models/label.py:14 rbac/const.py:6 #: assets/models/cluster.py:36 assets/models/label.py:14 rbac/const.py:6
#: users/models/user.py:901 #: users/models/user.py:903
msgid "System" msgid "System"
msgstr "システム" msgstr "システム"
@ -848,7 +848,7 @@ msgid "Default Cluster"
msgstr "デフォルトクラスター" msgstr "デフォルトクラスター"
#: assets/models/cmd_filter.py:34 perms/models/base.py:86 #: assets/models/cmd_filter.py:34 perms/models/base.py:86
#: users/models/group.py:31 users/models/user.py:665 #: users/models/group.py:31 users/models/user.py:667
#: users/templates/users/_select_user_modal.html:16 #: users/templates/users/_select_user_modal.html:16
#: users/templates/users/user_asset_permission.html:39 #: users/templates/users/user_asset_permission.html:39
#: users/templates/users/user_asset_permission.html:67 #: users/templates/users/user_asset_permission.html:67
@ -866,7 +866,7 @@ msgid "Regex"
msgstr "正規情報" msgstr "正規情報"
#: assets/models/cmd_filter.py:68 ops/models/command.py:26 #: assets/models/cmd_filter.py:68 ops/models/command.py:26
#: terminal/backends/command/serializers.py:15 terminal/models/session.py:53 #: terminal/backends/command/serializers.py:14 terminal/models/session.py:53
#: terminal/templates/terminal/_msg_command_alert.html:12 #: terminal/templates/terminal/_msg_command_alert.html:12
#: terminal/templates/terminal/_msg_command_execute_alert.html:10 #: terminal/templates/terminal/_msg_command_execute_alert.html:10
msgid "Command" msgid "Command"
@ -1510,7 +1510,7 @@ msgstr "ユーザーエージェント"
#: audits/models.py:124 #: audits/models.py:124
#: authentication/templates/authentication/_mfa_confirm_modal.html:14 #: authentication/templates/authentication/_mfa_confirm_modal.html:14
#: users/forms/profile.py:64 users/models/user.py:682 #: users/forms/profile.py:64 users/models/user.py:684
#: users/serializers/profile.py:121 #: users/serializers/profile.py:121
msgid "MFA" msgid "MFA"
msgstr "MFA" msgstr "MFA"
@ -1588,13 +1588,13 @@ msgstr "認証トークン"
#: audits/signal_handlers.py:71 authentication/notifications.py:73 #: audits/signal_handlers.py:71 authentication/notifications.py:73
#: authentication/views/login.py:164 authentication/views/wecom.py:181 #: authentication/views/login.py:164 authentication/views/wecom.py:181
#: notifications/backends/__init__.py:11 users/models/user.py:718 #: notifications/backends/__init__.py:11 users/models/user.py:720
msgid "WeCom" msgid "WeCom"
msgstr "企業微信" msgstr "企業微信"
#: audits/signal_handlers.py:72 authentication/views/dingtalk.py:182 #: audits/signal_handlers.py:72 authentication/views/dingtalk.py:182
#: authentication/views/login.py:170 notifications/backends/__init__.py:12 #: authentication/views/login.py:170 notifications/backends/__init__.py:12
#: users/models/user.py:719 #: users/models/user.py:721
msgid "DingTalk" msgid "DingTalk"
msgstr "DingTalk" msgstr "DingTalk"
@ -2134,14 +2134,14 @@ msgid "Show"
msgstr "表示" msgstr "表示"
#: authentication/templates/authentication/_access_key_modal.html:66 #: authentication/templates/authentication/_access_key_modal.html:66
#: settings/serializers/security.py:39 users/models/user.py:554 #: settings/serializers/security.py:39 users/models/user.py:556
#: users/serializers/profile.py:111 users/templates/users/mfa_setting.html:61 #: users/serializers/profile.py:111 users/templates/users/mfa_setting.html:61
#: users/templates/users/user_verify_mfa.html:36 #: users/templates/users/user_verify_mfa.html:36
msgid "Disable" msgid "Disable"
msgstr "無効化" msgstr "無効化"
#: authentication/templates/authentication/_access_key_modal.html:67 #: authentication/templates/authentication/_access_key_modal.html:67
#: users/models/user.py:555 users/serializers/profile.py:112 #: users/models/user.py:557 users/serializers/profile.py:112
#: users/templates/users/mfa_setting.html:26 #: users/templates/users/mfa_setting.html:26
#: users/templates/users/mfa_setting.html:68 #: users/templates/users/mfa_setting.html:68
msgid "Enable" msgid "Enable"
@ -2399,7 +2399,7 @@ msgid "The FeiShu is already bound to another user"
msgstr "FeiShuはすでに別のユーザーにバインドされています" msgstr "FeiShuはすでに別のユーザーにバインドされています"
#: authentication/views/feishu.py:148 authentication/views/login.py:176 #: authentication/views/feishu.py:148 authentication/views/login.py:176
#: notifications/backends/__init__.py:14 users/models/user.py:720 #: notifications/backends/__init__.py:14 users/models/user.py:722
msgid "FeiShu" msgid "FeiShu"
msgstr "本を飛ばす" msgstr "本を飛ばす"
@ -2699,7 +2699,7 @@ msgid "Notifications"
msgstr "通知" msgstr "通知"
#: notifications/backends/__init__.py:10 users/forms/profile.py:101 #: notifications/backends/__init__.py:10 users/forms/profile.py:101
#: users/models/user.py:661 #: users/models/user.py:663
msgid "Email" msgid "Email"
msgstr "メール" msgstr "メール"
@ -2925,7 +2925,7 @@ msgid "Can view root org"
msgstr "グローバル組織を表示できます" msgstr "グローバル組織を表示できます"
#: orgs/models.py:216 rbac/models/role.py:46 rbac/models/rolebinding.py:43 #: orgs/models.py:216 rbac/models/role.py:46 rbac/models/rolebinding.py:43
#: users/models/user.py:669 users/templates/users/_select_user_modal.html:15 #: users/models/user.py:671 users/templates/users/_select_user_modal.html:15
msgid "Role" msgid "Role"
msgstr "ロール" msgstr "ロール"
@ -3012,7 +3012,7 @@ msgstr "クリップボードコピーペースト"
#: perms/models/base.py:90 #: perms/models/base.py:90
#: tickets/serializers/ticket/meta/ticket_type/apply_application.py:58 #: tickets/serializers/ticket/meta/ticket_type/apply_application.py:58
#: tickets/serializers/ticket/meta/ticket_type/apply_asset.py:60 #: tickets/serializers/ticket/meta/ticket_type/apply_asset.py:60
#: users/models/user.py:701 #: users/models/user.py:703
msgid "Date expired" msgid "Date expired"
msgstr "期限切れの日付" msgstr "期限切れの日付"
@ -3055,15 +3055,15 @@ msgstr "Organization {} のアプリケーション権限"
#: perms/serializers/application/permission.py:20 #: perms/serializers/application/permission.py:20
#: perms/serializers/application/permission.py:41 #: perms/serializers/application/permission.py:41
#: perms/serializers/asset/permission.py:19 #: perms/serializers/asset/permission.py:19
#: perms/serializers/asset/permission.py:45 users/serializers/user.py:139 #: perms/serializers/asset/permission.py:45 users/serializers/user.py:141
msgid "Is valid" msgid "Is valid"
msgstr "有効です" msgstr "有効です"
#: perms/serializers/application/permission.py:21 #: perms/serializers/application/permission.py:21
#: perms/serializers/application/permission.py:40 #: perms/serializers/application/permission.py:40
#: perms/serializers/asset/permission.py:20 #: perms/serializers/asset/permission.py:20
#: perms/serializers/asset/permission.py:44 users/serializers/user.py:85 #: perms/serializers/asset/permission.py:44 users/serializers/user.py:86
#: users/serializers/user.py:141 #: users/serializers/user.py:143
msgid "Is expired" msgid "Is expired"
msgstr "期限切れです" msgstr "期限切れです"
@ -4268,47 +4268,47 @@ msgstr "RDP訪問先住所、例: dev.jumpserver.org:3389"
msgid "Enable XRDP" msgid "Enable XRDP"
msgstr "XRDPの有効化" msgstr "XRDPの有効化"
#: settings/serializers/terminal.py:42 #: settings/serializers/terminal.py:43
msgid "Koko host" msgid "Koko host"
msgstr "KOKO ホストアドレス" msgstr "KOKO ホストアドレス"
#: settings/serializers/terminal.py:43 #: settings/serializers/terminal.py:46
msgid "Koko ssh port" msgid "Koko ssh port"
msgstr "Koko ssh ポート" msgstr "Koko ssh ポート"
#: settings/serializers/terminal.py:45 #: settings/serializers/terminal.py:49
msgid "Enable database proxy" msgid "Enable database proxy"
msgstr "属性マップの有効化" msgstr "属性マップの有効化"
#: settings/serializers/terminal.py:47 #: settings/serializers/terminal.py:51
msgid "Database proxy host" msgid "Database proxy host"
msgstr "データベースエージェントホスト" msgstr "データベースエージェントホスト"
#: settings/serializers/terminal.py:48 #: settings/serializers/terminal.py:52
msgid "Database proxy host, eg: dev.jumpserver.org" msgid "Database proxy host, eg: dev.jumpserver.org"
msgstr "RDP訪問先住所、例: dev.jumpserver.org:3389" msgstr "RDP訪問先住所、例: dev.jumpserver.org:3389"
#: settings/serializers/terminal.py:51 #: settings/serializers/terminal.py:55
msgid "MySQL port" msgid "MySQL port"
msgstr "MySQLポート" msgstr "MySQLポート"
#: settings/serializers/terminal.py:52 #: settings/serializers/terminal.py:56
msgid "MySQL protocol listen port" msgid "MySQL protocol listen port"
msgstr "MySQLプロトコルリッスンポート" msgstr "MySQLプロトコルリッスンポート"
#: settings/serializers/terminal.py:55 #: settings/serializers/terminal.py:59
msgid "MariaDB port" msgid "MariaDB port"
msgstr "MariaDBポート" msgstr "MariaDBポート"
#: settings/serializers/terminal.py:56 #: settings/serializers/terminal.py:60
msgid "MariaDB protocol listen port" msgid "MariaDB protocol listen port"
msgstr "MariaDBプロトコルリッスンポート" msgstr "MariaDBプロトコルリッスンポート"
#: settings/serializers/terminal.py:59 #: settings/serializers/terminal.py:63
msgid "PostgreSQL port" msgid "PostgreSQL port"
msgstr "PostgreSQLポート" msgstr "PostgreSQLポート"
#: settings/serializers/terminal.py:60 #: settings/serializers/terminal.py:64
msgid "PostgreSQL protocol listen port" msgid "PostgreSQL protocol listen port"
msgstr "PostgreSQLプロトコルリッスンポート" msgstr "PostgreSQLプロトコルリッスンポート"
@ -4859,7 +4859,7 @@ msgid "Input"
msgstr "入力" msgstr "入力"
#: terminal/backends/command/models.py:23 #: terminal/backends/command/models.py:23
#: terminal/backends/command/serializers.py:16 #: terminal/backends/command/serializers.py:36
msgid "Output" msgid "Output"
msgstr "出力" msgstr "出力"
@ -4870,23 +4870,23 @@ msgid "Session"
msgstr "セッション" msgstr "セッション"
#: terminal/backends/command/models.py:25 #: terminal/backends/command/models.py:25
#: terminal/backends/command/serializers.py:18 #: terminal/backends/command/serializers.py:17
msgid "Risk level" msgid "Risk level"
msgstr "リスクレベル" msgstr "リスクレベル"
#: terminal/backends/command/serializers.py:17 #: terminal/backends/command/serializers.py:15
msgid "Session ID" msgid "Session ID"
msgstr "セッションID" msgstr "セッションID"
#: terminal/backends/command/serializers.py:19 #: terminal/backends/command/serializers.py:37
msgid "Risk level display" msgid "Risk level display"
msgstr "リスクレベル表示" msgstr "リスクレベル表示"
#: terminal/backends/command/serializers.py:21 #: terminal/backends/command/serializers.py:38
msgid "Timestamp" msgid "Timestamp"
msgstr "タイムスタンプ" msgstr "タイムスタンプ"
#: terminal/backends/command/serializers.py:22 terminal/models/terminal.py:105 #: terminal/backends/command/serializers.py:39 terminal/models/terminal.py:105
msgid "Remote Address" msgid "Remote Address"
msgstr "リモートアドレス" msgstr "リモートアドレス"
@ -4915,7 +4915,7 @@ msgstr "一括作成非サポート"
msgid "Storage is invalid" msgid "Storage is invalid"
msgstr "ストレージが無効です" msgstr "ストレージが無効です"
#: terminal/models/command.py:24 #: terminal/models/command.py:53
msgid "Command record" msgid "Command record"
msgstr "コマンドレコード" msgstr "コマンドレコード"
@ -5140,7 +5140,7 @@ msgstr "エンドポイントが無効: パス '{}' を削除"
msgid "Bucket" msgid "Bucket"
msgstr "バケット" msgstr "バケット"
#: terminal/serializers/storage.py:34 users/models/user.py:693 #: terminal/serializers/storage.py:34 users/models/user.py:695
msgid "Secret key" msgid "Secret key"
msgstr "秘密キー" msgstr "秘密キー"
@ -5747,68 +5747,68 @@ msgstr "公開鍵は古いものと同じであってはなりません。"
msgid "Not a valid ssh public key" msgid "Not a valid ssh public key"
msgstr "有効なssh公開鍵ではありません" msgstr "有効なssh公開鍵ではありません"
#: users/forms/profile.py:160 users/models/user.py:690 #: users/forms/profile.py:160 users/models/user.py:692
#: users/templates/users/user_password_update.html:48 #: users/templates/users/user_password_update.html:48
msgid "Public key" msgid "Public key"
msgstr "公開キー" msgstr "公開キー"
#: users/models/user.py:556 #: users/models/user.py:558
msgid "Force enable" msgid "Force enable"
msgstr "強制有効" msgstr "強制有効"
#: users/models/user.py:623 #: users/models/user.py:625
msgid "Local" msgid "Local"
msgstr "ローカル" msgstr "ローカル"
#: users/models/user.py:671 users/serializers/user.py:140 #: users/models/user.py:673 users/serializers/user.py:142
msgid "Is service account" msgid "Is service account"
msgstr "サービスアカウントです" msgstr "サービスアカウントです"
#: users/models/user.py:673 #: users/models/user.py:675
msgid "Avatar" msgid "Avatar"
msgstr "アバター" msgstr "アバター"
#: users/models/user.py:676 #: users/models/user.py:678
msgid "Wechat" msgid "Wechat"
msgstr "微信" msgstr "微信"
#: users/models/user.py:687 #: users/models/user.py:689
msgid "Private key" msgid "Private key"
msgstr "ssh秘密鍵" msgstr "ssh秘密鍵"
#: users/models/user.py:709 #: users/models/user.py:711
msgid "Source" msgid "Source"
msgstr "ソース" msgstr "ソース"
#: users/models/user.py:713 #: users/models/user.py:715
msgid "Date password last updated" msgid "Date password last updated"
msgstr "最終更新日パスワード" msgstr "最終更新日パスワード"
#: users/models/user.py:716 #: users/models/user.py:718
msgid "Need update password" msgid "Need update password"
msgstr "更新パスワードが必要" msgstr "更新パスワードが必要"
#: users/models/user.py:886 #: users/models/user.py:888
msgid "Can invite user" msgid "Can invite user"
msgstr "ユーザーを招待できます" msgstr "ユーザーを招待できます"
#: users/models/user.py:887 #: users/models/user.py:889
msgid "Can remove user" msgid "Can remove user"
msgstr "ユーザーを削除できます" msgstr "ユーザーを削除できます"
#: users/models/user.py:888 #: users/models/user.py:890
msgid "Can match user" msgid "Can match user"
msgstr "ユーザーに一致できます" msgstr "ユーザーに一致できます"
#: users/models/user.py:897 #: users/models/user.py:899
msgid "Administrator" msgid "Administrator"
msgstr "管理者" msgstr "管理者"
#: users/models/user.py:900 #: users/models/user.py:902
msgid "Administrator is the super user of system" msgid "Administrator is the super user of system"
msgstr "管理者はシステムのスーパーユーザーです" msgstr "管理者はシステムのスーパーユーザーです"
#: users/models/user.py:925 #: users/models/user.py:927
msgid "User password history" msgid "User password history"
msgstr "ユーザーパスワード履歴" msgstr "ユーザーパスワード履歴"
@ -5859,97 +5859,101 @@ msgstr "新しいパスワードを最後の {} 個のパスワードにする
msgid "The newly set password is inconsistent" msgid "The newly set password is inconsistent"
msgstr "新しく設定されたパスワードが一致しない" msgstr "新しく設定されたパスワードが一致しない"
#: users/serializers/profile.py:142 users/serializers/user.py:138 #: users/serializers/profile.py:142 users/serializers/user.py:140
msgid "Is first login" msgid "Is first login"
msgstr "最初のログインです" msgstr "最初のログインです"
#: users/serializers/user.py:24 users/serializers/user.py:31 #: users/serializers/user.py:25 users/serializers/user.py:32
msgid "System roles" msgid "System roles"
msgstr "システムの役割" msgstr "システムの役割"
#: users/serializers/user.py:29 users/serializers/user.py:32 #: users/serializers/user.py:30 users/serializers/user.py:33
msgid "Org roles" msgid "Org roles"
msgstr "組織ロール" msgstr "組織ロール"
#: users/serializers/user.py:77 #: users/serializers/user.py:78
#: xpack/plugins/change_auth_plan/models/base.py:35 #: xpack/plugins/change_auth_plan/models/base.py:35
#: xpack/plugins/change_auth_plan/serializers/base.py:22 #: xpack/plugins/change_auth_plan/serializers/base.py:22
msgid "Password strategy" msgid "Password strategy"
msgstr "パスワード戦略" msgstr "パスワード戦略"
#: users/serializers/user.py:79 #: users/serializers/user.py:80
msgid "MFA enabled" msgid "MFA enabled"
msgstr "MFA有効化" msgstr "MFA有効化"
#: users/serializers/user.py:80 #: users/serializers/user.py:81
msgid "MFA force enabled" msgid "MFA force enabled"
msgstr "MFAフォース有効化" msgstr "MFAフォース有効化"
#: users/serializers/user.py:82 #: users/serializers/user.py:83
msgid "MFA level display" msgid "MFA level display"
msgstr "MFAレベル表示" msgstr "MFAレベル表示"
#: users/serializers/user.py:84 #: users/serializers/user.py:85
msgid "Login blocked" msgid "Login blocked"
msgstr "ログインブロック" msgstr "ログインブロック"
#: users/serializers/user.py:87 #: users/serializers/user.py:88
msgid "Can public key authentication" msgid "Can public key authentication"
msgstr "公開鍵認証が可能" msgstr "公開鍵認証が可能"
#: users/serializers/user.py:142 #: users/serializers/user.py:144
msgid "Avatar url" msgid "Avatar url"
msgstr "アバターURL" msgstr "アバターURL"
#: users/serializers/user.py:144 #: users/serializers/user.py:146
msgid "Groups name" msgid "Groups name"
msgstr "グループ名" msgstr "グループ名"
#: users/serializers/user.py:145 #: users/serializers/user.py:147
msgid "Source name" msgid "Source name"
msgstr "ソース名" msgstr "ソース名"
#: users/serializers/user.py:146 #: users/serializers/user.py:148
msgid "Organization role name" msgid "Organization role name"
msgstr "組織の役割名" msgstr "組織の役割名"
#: users/serializers/user.py:147 #: users/serializers/user.py:149
msgid "Super role name" msgid "Super role name"
msgstr "スーパーロール名" msgstr "スーパーロール名"
#: users/serializers/user.py:148 #: users/serializers/user.py:150
msgid "Total role name" msgid "Total role name"
msgstr "合計ロール名" msgstr "合計ロール名"
#: users/serializers/user.py:150 #: users/serializers/user.py:152
msgid "Is wecom bound" msgid "Is wecom bound"
msgstr "企業の微信をバインドしているかどうか" msgstr "企業の微信をバインドしているかどうか"
#: users/serializers/user.py:151 #: users/serializers/user.py:153
msgid "Is dingtalk bound" msgid "Is dingtalk bound"
msgstr "ピンをバインドしているかどうか" msgstr "ピンをバインドしているかどうか"
#: users/serializers/user.py:152 #: users/serializers/user.py:154
msgid "Is feishu bound" msgid "Is feishu bound"
msgstr "飛本を縛ったかどうか" msgstr "飛本を縛ったかどうか"
#: users/serializers/user.py:153 #: users/serializers/user.py:155
msgid "Is OTP bound" msgid "Is OTP bound"
msgstr "仮想MFAがバインドされているか" msgstr "仮想MFAがバインドされているか"
#: users/serializers/user.py:155 #: users/serializers/user.py:157
msgid "System role name" msgid "System role name"
msgstr "システムロール名" msgstr "システムロール名"
#: users/serializers/user.py:247 #: users/serializers/user.py:197
msgid "User cannot self-update fields: {}"
msgstr "ユーザーは自分のフィールドを更新できません: {}"
#: users/serializers/user.py:254
msgid "Select users" msgid "Select users"
msgstr "ユーザーの選択" msgstr "ユーザーの選択"
#: users/serializers/user.py:248 #: users/serializers/user.py:255
msgid "For security, only list several users" msgid "For security, only list several users"
msgstr "セキュリティのために、複数のユーザーのみをリストします" msgstr "セキュリティのために、複数のユーザーのみをリストします"
#: users/serializers/user.py:281 #: users/serializers/user.py:290
msgid "name not unique" msgid "name not unique"
msgstr "名前が一意ではない" msgstr "名前が一意ではない"

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: 2022-03-29 18:26+0800\n" "POT-Creation-Date: 2022-03-31 11:19+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"
@ -30,7 +30,7 @@ msgstr "访问控制"
#: settings/models.py:29 settings/serializers/sms.py:6 #: settings/models.py:29 settings/serializers/sms.py:6
#: terminal/models/storage.py:23 terminal/models/task.py:16 #: terminal/models/storage.py:23 terminal/models/task.py:16
#: terminal/models/terminal.py:100 users/forms/profile.py:32 #: terminal/models/terminal.py:100 users/forms/profile.py:32
#: users/models/group.py:15 users/models/user.py:659 #: users/models/group.py:15 users/models/user.py:661
#: users/templates/users/_select_user_modal.html:13 #: users/templates/users/_select_user_modal.html:13
#: users/templates/users/user_asset_permission.html:37 #: users/templates/users/user_asset_permission.html:37
#: users/templates/users/user_asset_permission.html:154 #: users/templates/users/user_asset_permission.html:154
@ -66,7 +66,7 @@ msgstr "激活中"
#: perms/models/base.py:93 rbac/models/role.py:37 settings/models.py:34 #: perms/models/base.py:93 rbac/models/role.py:37 settings/models.py:34
#: terminal/models/storage.py:26 terminal/models/terminal.py:114 #: terminal/models/storage.py:26 terminal/models/terminal.py:114
#: tickets/models/comment.py:24 tickets/models/ticket.py:154 #: tickets/models/comment.py:24 tickets/models/ticket.py:154
#: users/models/group.py:16 users/models/user.py:696 #: users/models/group.py:16 users/models/user.py:698
#: xpack/plugins/change_auth_plan/models/base.py:44 #: xpack/plugins/change_auth_plan/models/base.py:44
#: xpack/plugins/cloud/models.py:35 xpack/plugins/cloud/models.py:116 #: xpack/plugins/cloud/models.py:35 xpack/plugins/cloud/models.py:116
#: xpack/plugins/gathered_user/models.py:26 #: xpack/plugins/gathered_user/models.py:26
@ -94,8 +94,8 @@ msgstr "登录复核"
#: terminal/backends/command/models.py:19 #: terminal/backends/command/models.py:19
#: terminal/backends/command/serializers.py:12 terminal/models/session.py:42 #: terminal/backends/command/serializers.py:12 terminal/models/session.py:42
#: terminal/notifications.py:91 terminal/notifications.py:139 #: terminal/notifications.py:91 terminal/notifications.py:139
#: tickets/models/comment.py:17 users/const.py:14 users/models/user.py:884 #: tickets/models/comment.py:17 users/const.py:14 users/models/user.py:886
#: users/models/user.py:915 users/serializers/group.py:19 #: users/models/user.py:917 users/serializers/group.py:19
#: users/templates/users/user_asset_permission.html:38 #: users/templates/users/user_asset_permission.html:38
#: users/templates/users/user_asset_permission.html:64 #: users/templates/users/user_asset_permission.html:64
#: users/templates/users/user_database_app_permission.html:37 #: users/templates/users/user_database_app_permission.html:37
@ -169,7 +169,7 @@ msgstr "格式为逗号分隔的字符串, * 表示匹配所有. "
#: authentication/forms.py:15 authentication/forms.py:17 #: authentication/forms.py:15 authentication/forms.py:17
#: authentication/templates/authentication/_msg_different_city.html:9 #: authentication/templates/authentication/_msg_different_city.html:9
#: authentication/templates/authentication/_msg_oauth_bind.html:9 #: authentication/templates/authentication/_msg_oauth_bind.html:9
#: ops/models/adhoc.py:159 users/forms/profile.py:31 users/models/user.py:657 #: ops/models/adhoc.py:159 users/forms/profile.py:31 users/models/user.py:659
#: users/templates/users/_msg_user_created.html:12 #: users/templates/users/_msg_user_created.html:12
#: users/templates/users/_select_user_modal.html:14 #: users/templates/users/_select_user_modal.html:14
#: xpack/plugins/change_auth_plan/models/asset.py:34 #: xpack/plugins/change_auth_plan/models/asset.py:34
@ -280,7 +280,7 @@ msgstr "应用程序"
#: assets/models/cmd_filter.py:42 assets/models/user.py:338 audits/models.py:40 #: assets/models/cmd_filter.py:42 assets/models/user.py:338 audits/models.py:40
#: perms/models/application_permission.py:33 #: perms/models/application_permission.py:33
#: perms/models/asset_permission.py:25 terminal/backends/command/models.py:21 #: perms/models/asset_permission.py:25 terminal/backends/command/models.py:21
#: terminal/backends/command/serializers.py:14 terminal/models/session.py:46 #: terminal/backends/command/serializers.py:35 terminal/models/session.py:46
#: users/templates/users/_granted_assets.html:27 #: users/templates/users/_granted_assets.html:27
#: users/templates/users/user_asset_permission.html:42 #: users/templates/users/user_asset_permission.html:42
#: users/templates/users/user_asset_permission.html:76 #: users/templates/users/user_asset_permission.html:76
@ -375,7 +375,7 @@ msgstr "类型名称"
#: assets/serializers/cmd_filter.py:49 common/db/models.py:113 #: assets/serializers/cmd_filter.py:49 common/db/models.py:113
#: common/mixins/models.py:50 ops/models/adhoc.py:39 ops/models/command.py:30 #: common/mixins/models.py:50 ops/models/adhoc.py:39 ops/models/command.py:30
#: orgs/models.py:67 orgs/models.py:217 perms/models/base.py:92 #: orgs/models.py:67 orgs/models.py:217 perms/models/base.py:92
#: users/models/group.py:18 users/models/user.py:916 #: users/models/group.py:18 users/models/user.py:918
#: xpack/plugins/cloud/models.py:125 #: xpack/plugins/cloud/models.py:125
msgid "Date created" msgid "Date created"
msgstr "创建日期" msgstr "创建日期"
@ -627,7 +627,7 @@ msgstr "标签管理"
#: assets/models/cluster.py:28 assets/models/cmd_filter.py:52 #: assets/models/cluster.py:28 assets/models/cmd_filter.py:52
#: assets/models/cmd_filter.py:99 assets/models/group.py:21 #: assets/models/cmd_filter.py:99 assets/models/group.py:21
#: common/db/models.py:111 common/mixins/models.py:49 orgs/models.py:66 #: common/db/models.py:111 common/mixins/models.py:49 orgs/models.py:66
#: orgs/models.py:219 perms/models/base.py:91 users/models/user.py:704 #: orgs/models.py:219 perms/models/base.py:91 users/models/user.py:706
#: users/serializers/group.py:33 #: users/serializers/group.py:33
#: xpack/plugins/change_auth_plan/models/base.py:48 #: xpack/plugins/change_auth_plan/models/base.py:48
#: xpack/plugins/cloud/models.py:122 xpack/plugins/gathered_user/models.py:30 #: xpack/plugins/cloud/models.py:122 xpack/plugins/gathered_user/models.py:30
@ -808,7 +808,7 @@ msgstr "带宽"
msgid "Contact" msgid "Contact"
msgstr "联系人" msgstr "联系人"
#: assets/models/cluster.py:22 users/models/user.py:679 #: assets/models/cluster.py:22 users/models/user.py:681
msgid "Phone" msgid "Phone"
msgstr "手机" msgstr "手机"
@ -834,7 +834,7 @@ msgid "Default"
msgstr "默认" msgstr "默认"
#: assets/models/cluster.py:36 assets/models/label.py:14 rbac/const.py:6 #: assets/models/cluster.py:36 assets/models/label.py:14 rbac/const.py:6
#: users/models/user.py:901 #: users/models/user.py:903
msgid "System" msgid "System"
msgstr "系统" msgstr "系统"
@ -843,7 +843,7 @@ msgid "Default Cluster"
msgstr "默认Cluster" msgstr "默认Cluster"
#: assets/models/cmd_filter.py:34 perms/models/base.py:86 #: assets/models/cmd_filter.py:34 perms/models/base.py:86
#: users/models/group.py:31 users/models/user.py:665 #: users/models/group.py:31 users/models/user.py:667
#: users/templates/users/_select_user_modal.html:16 #: users/templates/users/_select_user_modal.html:16
#: users/templates/users/user_asset_permission.html:39 #: users/templates/users/user_asset_permission.html:39
#: users/templates/users/user_asset_permission.html:67 #: users/templates/users/user_asset_permission.html:67
@ -861,7 +861,7 @@ msgid "Regex"
msgstr "正则表达式" msgstr "正则表达式"
#: assets/models/cmd_filter.py:68 ops/models/command.py:26 #: assets/models/cmd_filter.py:68 ops/models/command.py:26
#: terminal/backends/command/serializers.py:15 terminal/models/session.py:53 #: terminal/backends/command/serializers.py:14 terminal/models/session.py:53
#: terminal/templates/terminal/_msg_command_alert.html:12 #: terminal/templates/terminal/_msg_command_alert.html:12
#: terminal/templates/terminal/_msg_command_execute_alert.html:10 #: terminal/templates/terminal/_msg_command_execute_alert.html:10
msgid "Command" msgid "Command"
@ -1498,7 +1498,7 @@ msgstr "用户代理"
#: audits/models.py:124 #: audits/models.py:124
#: authentication/templates/authentication/_mfa_confirm_modal.html:14 #: authentication/templates/authentication/_mfa_confirm_modal.html:14
#: users/forms/profile.py:64 users/models/user.py:682 #: users/forms/profile.py:64 users/models/user.py:684
#: users/serializers/profile.py:121 #: users/serializers/profile.py:121
msgid "MFA" msgid "MFA"
msgstr "MFA" msgstr "MFA"
@ -1576,13 +1576,13 @@ msgstr "认证令牌"
#: audits/signal_handlers.py:71 authentication/notifications.py:73 #: audits/signal_handlers.py:71 authentication/notifications.py:73
#: authentication/views/login.py:164 authentication/views/wecom.py:181 #: authentication/views/login.py:164 authentication/views/wecom.py:181
#: notifications/backends/__init__.py:11 users/models/user.py:718 #: notifications/backends/__init__.py:11 users/models/user.py:720
msgid "WeCom" msgid "WeCom"
msgstr "企业微信" msgstr "企业微信"
#: audits/signal_handlers.py:72 authentication/views/dingtalk.py:182 #: audits/signal_handlers.py:72 authentication/views/dingtalk.py:182
#: authentication/views/login.py:170 notifications/backends/__init__.py:12 #: authentication/views/login.py:170 notifications/backends/__init__.py:12
#: users/models/user.py:719 #: users/models/user.py:721
msgid "DingTalk" msgid "DingTalk"
msgstr "钉钉" msgstr "钉钉"
@ -2113,14 +2113,14 @@ msgid "Show"
msgstr "显示" msgstr "显示"
#: authentication/templates/authentication/_access_key_modal.html:66 #: authentication/templates/authentication/_access_key_modal.html:66
#: settings/serializers/security.py:39 users/models/user.py:554 #: settings/serializers/security.py:39 users/models/user.py:556
#: users/serializers/profile.py:111 users/templates/users/mfa_setting.html:61 #: users/serializers/profile.py:111 users/templates/users/mfa_setting.html:61
#: users/templates/users/user_verify_mfa.html:36 #: users/templates/users/user_verify_mfa.html:36
msgid "Disable" msgid "Disable"
msgstr "禁用" msgstr "禁用"
#: authentication/templates/authentication/_access_key_modal.html:67 #: authentication/templates/authentication/_access_key_modal.html:67
#: users/models/user.py:555 users/serializers/profile.py:112 #: users/models/user.py:557 users/serializers/profile.py:112
#: users/templates/users/mfa_setting.html:26 #: users/templates/users/mfa_setting.html:26
#: users/templates/users/mfa_setting.html:68 #: users/templates/users/mfa_setting.html:68
msgid "Enable" msgid "Enable"
@ -2369,7 +2369,7 @@ msgid "The FeiShu is already bound to another user"
msgstr "该飞书已经绑定其他用户" msgstr "该飞书已经绑定其他用户"
#: authentication/views/feishu.py:148 authentication/views/login.py:176 #: authentication/views/feishu.py:148 authentication/views/login.py:176
#: notifications/backends/__init__.py:14 users/models/user.py:720 #: notifications/backends/__init__.py:14 users/models/user.py:722
msgid "FeiShu" msgid "FeiShu"
msgstr "飞书" msgstr "飞书"
@ -2664,7 +2664,7 @@ msgid "Notifications"
msgstr "通知" msgstr "通知"
#: notifications/backends/__init__.py:10 users/forms/profile.py:101 #: notifications/backends/__init__.py:10 users/forms/profile.py:101
#: users/models/user.py:661 #: users/models/user.py:663
msgid "Email" msgid "Email"
msgstr "邮件" msgstr "邮件"
@ -2890,7 +2890,7 @@ msgid "Can view root org"
msgstr "可以查看全局组织" msgstr "可以查看全局组织"
#: orgs/models.py:216 rbac/models/role.py:46 rbac/models/rolebinding.py:43 #: orgs/models.py:216 rbac/models/role.py:46 rbac/models/rolebinding.py:43
#: users/models/user.py:669 users/templates/users/_select_user_modal.html:15 #: users/models/user.py:671 users/templates/users/_select_user_modal.html:15
msgid "Role" msgid "Role"
msgstr "角色" msgstr "角色"
@ -2977,7 +2977,7 @@ msgstr "剪贴板复制粘贴"
#: perms/models/base.py:90 #: perms/models/base.py:90
#: tickets/serializers/ticket/meta/ticket_type/apply_application.py:58 #: tickets/serializers/ticket/meta/ticket_type/apply_application.py:58
#: tickets/serializers/ticket/meta/ticket_type/apply_asset.py:60 #: tickets/serializers/ticket/meta/ticket_type/apply_asset.py:60
#: users/models/user.py:701 #: users/models/user.py:703
msgid "Date expired" msgid "Date expired"
msgstr "失效日期" msgstr "失效日期"
@ -3020,15 +3020,15 @@ msgstr "组织 ({}) 的应用授权"
#: perms/serializers/application/permission.py:20 #: perms/serializers/application/permission.py:20
#: perms/serializers/application/permission.py:41 #: perms/serializers/application/permission.py:41
#: perms/serializers/asset/permission.py:19 #: perms/serializers/asset/permission.py:19
#: perms/serializers/asset/permission.py:45 users/serializers/user.py:139 #: perms/serializers/asset/permission.py:45 users/serializers/user.py:141
msgid "Is valid" msgid "Is valid"
msgstr "账号是否有效" msgstr "账号是否有效"
#: perms/serializers/application/permission.py:21 #: perms/serializers/application/permission.py:21
#: perms/serializers/application/permission.py:40 #: perms/serializers/application/permission.py:40
#: perms/serializers/asset/permission.py:20 #: perms/serializers/asset/permission.py:20
#: perms/serializers/asset/permission.py:44 users/serializers/user.py:85 #: perms/serializers/asset/permission.py:44 users/serializers/user.py:86
#: users/serializers/user.py:141 #: users/serializers/user.py:143
msgid "Is expired" msgid "Is expired"
msgstr "已过期" msgstr "已过期"
@ -4206,47 +4206,47 @@ msgstr "RDP 访问地址, 如: dev.jumpserver.org:3389"
msgid "Enable XRDP" msgid "Enable XRDP"
msgstr "启用 XRDP 服务" msgstr "启用 XRDP 服务"
#: settings/serializers/terminal.py:42 #: settings/serializers/terminal.py:43
msgid "Koko host" msgid "Koko host"
msgstr "KOKO 主机地址" msgstr "KOKO 主机地址"
#: settings/serializers/terminal.py:43 #: settings/serializers/terminal.py:46
msgid "Koko ssh port" msgid "Koko ssh port"
msgstr "KOKO ssh 端口" msgstr "KOKO ssh 端口"
#: settings/serializers/terminal.py:45 #: settings/serializers/terminal.py:49
msgid "Enable database proxy" msgid "Enable database proxy"
msgstr "启用数据库组件" msgstr "启用数据库组件"
#: settings/serializers/terminal.py:47 #: settings/serializers/terminal.py:51
msgid "Database proxy host" msgid "Database proxy host"
msgstr "数据库主机地址" msgstr "数据库主机地址"
#: settings/serializers/terminal.py:48 #: settings/serializers/terminal.py:52
msgid "Database proxy host, eg: dev.jumpserver.org" msgid "Database proxy host, eg: dev.jumpserver.org"
msgstr "数据库组件地址, 如: dev.jumpserver.org (没有端口, 不同协议端口不同)" msgstr "数据库组件地址, 如: dev.jumpserver.org (没有端口, 不同协议端口不同)"
#: settings/serializers/terminal.py:51 #: settings/serializers/terminal.py:55
msgid "MySQL port" msgid "MySQL port"
msgstr "MySQL 协议端口" msgstr "MySQL 协议端口"
#: settings/serializers/terminal.py:52 #: settings/serializers/terminal.py:56
msgid "MySQL protocol listen port" msgid "MySQL protocol listen port"
msgstr "MySQL 协议监听端口" msgstr "MySQL 协议监听端口"
#: settings/serializers/terminal.py:55 #: settings/serializers/terminal.py:59
msgid "MariaDB port" msgid "MariaDB port"
msgstr "MariaDB 端口" msgstr "MariaDB 端口"
#: settings/serializers/terminal.py:56 #: settings/serializers/terminal.py:60
msgid "MariaDB protocol listen port" msgid "MariaDB protocol listen port"
msgstr "MariaDB 协议监听的端口" msgstr "MariaDB 协议监听的端口"
#: settings/serializers/terminal.py:59 #: settings/serializers/terminal.py:63
msgid "PostgreSQL port" msgid "PostgreSQL port"
msgstr "PostgreSQL 端口" msgstr "PostgreSQL 端口"
#: settings/serializers/terminal.py:60 #: settings/serializers/terminal.py:64
msgid "PostgreSQL protocol listen port" msgid "PostgreSQL protocol listen port"
msgstr "PostgreSQL 协议监听端口" msgstr "PostgreSQL 协议监听端口"
@ -4786,7 +4786,7 @@ msgid "Input"
msgstr "输入" msgstr "输入"
#: terminal/backends/command/models.py:23 #: terminal/backends/command/models.py:23
#: terminal/backends/command/serializers.py:16 #: terminal/backends/command/serializers.py:36
msgid "Output" msgid "Output"
msgstr "输出" msgstr "输出"
@ -4797,23 +4797,23 @@ msgid "Session"
msgstr "会话" msgstr "会话"
#: terminal/backends/command/models.py:25 #: terminal/backends/command/models.py:25
#: terminal/backends/command/serializers.py:18 #: terminal/backends/command/serializers.py:17
msgid "Risk level" msgid "Risk level"
msgstr "风险等级" msgstr "风险等级"
#: terminal/backends/command/serializers.py:17 #: terminal/backends/command/serializers.py:15
msgid "Session ID" msgid "Session ID"
msgstr "会话ID" msgstr "会话ID"
#: terminal/backends/command/serializers.py:19 #: terminal/backends/command/serializers.py:37
msgid "Risk level display" msgid "Risk level display"
msgstr "风险等级名称" msgstr "风险等级名称"
#: terminal/backends/command/serializers.py:21 #: terminal/backends/command/serializers.py:38
msgid "Timestamp" msgid "Timestamp"
msgstr "时间戳" msgstr "时间戳"
#: terminal/backends/command/serializers.py:22 terminal/models/terminal.py:105 #: terminal/backends/command/serializers.py:39 terminal/models/terminal.py:105
msgid "Remote Address" msgid "Remote Address"
msgstr "远端地址" msgstr "远端地址"
@ -4842,7 +4842,7 @@ msgstr "不支持批量创建"
msgid "Storage is invalid" msgid "Storage is invalid"
msgstr "存储无效" msgstr "存储无效"
#: terminal/models/command.py:24 #: terminal/models/command.py:53
msgid "Command record" msgid "Command record"
msgstr "命令记录" msgstr "命令记录"
@ -5067,7 +5067,7 @@ msgstr "端点无效: 移除路径 `{}`"
msgid "Bucket" msgid "Bucket"
msgstr "桶名称" msgstr "桶名称"
#: terminal/serializers/storage.py:34 users/models/user.py:693 #: terminal/serializers/storage.py:34 users/models/user.py:695
msgid "Secret key" msgid "Secret key"
msgstr "密钥" msgstr "密钥"
@ -5670,68 +5670,68 @@ msgstr "不能和原来的密钥相同"
msgid "Not a valid ssh public key" msgid "Not a valid ssh public key"
msgstr "SSH密钥不合法" msgstr "SSH密钥不合法"
#: users/forms/profile.py:160 users/models/user.py:690 #: users/forms/profile.py:160 users/models/user.py:692
#: users/templates/users/user_password_update.html:48 #: users/templates/users/user_password_update.html:48
msgid "Public key" msgid "Public key"
msgstr "SSH公钥" msgstr "SSH公钥"
#: users/models/user.py:556 #: users/models/user.py:558
msgid "Force enable" msgid "Force enable"
msgstr "强制启用" msgstr "强制启用"
#: users/models/user.py:623 #: users/models/user.py:625
msgid "Local" msgid "Local"
msgstr "数据库" msgstr "数据库"
#: users/models/user.py:671 users/serializers/user.py:140 #: users/models/user.py:673 users/serializers/user.py:142
msgid "Is service account" msgid "Is service account"
msgstr "服务账号" msgstr "服务账号"
#: users/models/user.py:673 #: users/models/user.py:675
msgid "Avatar" msgid "Avatar"
msgstr "头像" msgstr "头像"
#: users/models/user.py:676 #: users/models/user.py:678
msgid "Wechat" msgid "Wechat"
msgstr "微信" msgstr "微信"
#: users/models/user.py:687 #: users/models/user.py:689
msgid "Private key" msgid "Private key"
msgstr "ssh私钥" msgstr "ssh私钥"
#: users/models/user.py:709 #: users/models/user.py:711
msgid "Source" msgid "Source"
msgstr "来源" msgstr "来源"
#: users/models/user.py:713 #: users/models/user.py:715
msgid "Date password last updated" msgid "Date password last updated"
msgstr "最后更新密码日期" msgstr "最后更新密码日期"
#: users/models/user.py:716 #: users/models/user.py:718
msgid "Need update password" msgid "Need update password"
msgstr "需要更新密码" msgstr "需要更新密码"
#: users/models/user.py:886 #: users/models/user.py:888
msgid "Can invite user" msgid "Can invite user"
msgstr "可以邀请用户" msgstr "可以邀请用户"
#: users/models/user.py:887 #: users/models/user.py:889
msgid "Can remove user" msgid "Can remove user"
msgstr "可以移除用户" msgstr "可以移除用户"
#: users/models/user.py:888 #: users/models/user.py:890
msgid "Can match user" msgid "Can match user"
msgstr "可以匹配用户" msgstr "可以匹配用户"
#: users/models/user.py:897 #: users/models/user.py:899
msgid "Administrator" msgid "Administrator"
msgstr "管理员" msgstr "管理员"
#: users/models/user.py:900 #: users/models/user.py:902
msgid "Administrator is the super user of system" msgid "Administrator is the super user of system"
msgstr "Administrator是初始的超级管理员" msgstr "Administrator是初始的超级管理员"
#: users/models/user.py:925 #: users/models/user.py:927
msgid "User password history" msgid "User password history"
msgstr "用户密码历史" msgstr "用户密码历史"
@ -5782,97 +5782,101 @@ msgstr "新密码不能是最近 {} 次的密码"
msgid "The newly set password is inconsistent" msgid "The newly set password is inconsistent"
msgstr "两次密码不一致" msgstr "两次密码不一致"
#: users/serializers/profile.py:142 users/serializers/user.py:138 #: users/serializers/profile.py:142 users/serializers/user.py:140
msgid "Is first login" msgid "Is first login"
msgstr "首次登录" msgstr "首次登录"
#: users/serializers/user.py:24 users/serializers/user.py:31 #: users/serializers/user.py:25 users/serializers/user.py:32
msgid "System roles" msgid "System roles"
msgstr "系统角色" msgstr "系统角色"
#: users/serializers/user.py:29 users/serializers/user.py:32 #: users/serializers/user.py:30 users/serializers/user.py:33
msgid "Org roles" msgid "Org roles"
msgstr "组织角色" msgstr "组织角色"
#: users/serializers/user.py:77 #: users/serializers/user.py:78
#: xpack/plugins/change_auth_plan/models/base.py:35 #: xpack/plugins/change_auth_plan/models/base.py:35
#: xpack/plugins/change_auth_plan/serializers/base.py:22 #: xpack/plugins/change_auth_plan/serializers/base.py:22
msgid "Password strategy" msgid "Password strategy"
msgstr "密码策略" msgstr "密码策略"
#: users/serializers/user.py:79 #: users/serializers/user.py:80
msgid "MFA enabled" msgid "MFA enabled"
msgstr "MFA" msgstr "MFA"
#: users/serializers/user.py:80 #: users/serializers/user.py:81
msgid "MFA force enabled" msgid "MFA force enabled"
msgstr "强制 MFA" msgstr "强制 MFA"
#: users/serializers/user.py:82 #: users/serializers/user.py:83
msgid "MFA level display" msgid "MFA level display"
msgstr "MFA 等级名称" msgstr "MFA 等级名称"
#: users/serializers/user.py:84 #: users/serializers/user.py:85
msgid "Login blocked" msgid "Login blocked"
msgstr "登录被阻塞" msgstr "登录被阻塞"
#: users/serializers/user.py:87 #: users/serializers/user.py:88
msgid "Can public key authentication" msgid "Can public key authentication"
msgstr "能否公钥认证" msgstr "能否公钥认证"
#: users/serializers/user.py:142 #: users/serializers/user.py:144
msgid "Avatar url" msgid "Avatar url"
msgstr "头像路径" msgstr "头像路径"
#: users/serializers/user.py:144 #: users/serializers/user.py:146
msgid "Groups name" msgid "Groups name"
msgstr "用户组名" msgstr "用户组名"
#: users/serializers/user.py:145 #: users/serializers/user.py:147
msgid "Source name" msgid "Source name"
msgstr "用户来源名" msgstr "用户来源名"
#: users/serializers/user.py:146 #: users/serializers/user.py:148
msgid "Organization role name" msgid "Organization role name"
msgstr "组织角色名称" msgstr "组织角色名称"
#: users/serializers/user.py:147 #: users/serializers/user.py:149
msgid "Super role name" msgid "Super role name"
msgstr "超级角色名称" msgstr "超级角色名称"
#: users/serializers/user.py:148 #: users/serializers/user.py:150
msgid "Total role name" msgid "Total role name"
msgstr "汇总角色名称" msgstr "汇总角色名称"
#: users/serializers/user.py:150 #: users/serializers/user.py:152
msgid "Is wecom bound" msgid "Is wecom bound"
msgstr "是否绑定了企业微信" msgstr "是否绑定了企业微信"
#: users/serializers/user.py:151 #: users/serializers/user.py:153
msgid "Is dingtalk bound" msgid "Is dingtalk bound"
msgstr "是否绑定了钉钉" msgstr "是否绑定了钉钉"
#: users/serializers/user.py:152 #: users/serializers/user.py:154
msgid "Is feishu bound" msgid "Is feishu bound"
msgstr "是否绑定了飞书" msgstr "是否绑定了飞书"
#: users/serializers/user.py:153 #: users/serializers/user.py:155
msgid "Is OTP bound" msgid "Is OTP bound"
msgstr "是否绑定了虚拟 MFA" msgstr "是否绑定了虚拟 MFA"
#: users/serializers/user.py:155 #: users/serializers/user.py:157
msgid "System role name" msgid "System role name"
msgstr "系统角色名称" msgstr "系统角色名称"
#: users/serializers/user.py:247 #: users/serializers/user.py:197
msgid "User cannot self-update fields: {}"
msgstr "用户不能更新自己的字段: {}"
#: users/serializers/user.py:254
msgid "Select users" msgid "Select users"
msgstr "选择用户" msgstr "选择用户"
#: users/serializers/user.py:248 #: users/serializers/user.py:255
msgid "For security, only list several users" msgid "For security, only list several users"
msgstr "为了安全,仅列出几个用户" msgstr "为了安全,仅列出几个用户"
#: users/serializers/user.py:281 #: users/serializers/user.py:290
msgid "name not unique" msgid "name not unique"
msgstr "名称重复" msgstr "名称重复"

View File

@ -194,7 +194,7 @@ class UserSerializer(RolesSerializerMixin, CommonBulkSerializerMixin, serializer
if not disallow_fields: if not disallow_fields:
return attrs return attrs
# 用户自己不能更新自己的一些字段 # 用户自己不能更新自己的一些字段
error = 'User Cannot self-update fields: {}'.format(disallow_fields) error = _('User cannot self-update fields: {}').format(disallow_fields)
raise serializers.ValidationError(error) raise serializers.ValidationError(error)
def validate(self, attrs): def validate(self, attrs):