feat: 工作台支持配置显示系统工具 (#12013)

Co-authored-by: halo <wuyihuangw@gmail.com>
pull/12036/head
fit2bot 2023-11-03 17:33:44 +08:00 committed by GitHub
parent 9b8c817a16
commit 44624d0ce0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 123 additions and 70 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: 2023-11-02 14:52+0800\n" "POT-Creation-Date: 2023-11-03 16:52+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"
@ -89,7 +89,7 @@ msgstr "テンプレート"
msgid "Skip" msgid "Skip"
msgstr "スキップ" msgstr "スキップ"
#: accounts/const/account.py:32 audits/const.py:24 rbac/tree.py:236 #: accounts/const/account.py:32 audits/const.py:24 rbac/tree.py:237
#: templates/_csv_import_export.html:18 templates/_csv_update_modal.html:6 #: templates/_csv_import_export.html:18 templates/_csv_update_modal.html:6
msgid "Update" msgid "Update"
msgstr "更新" msgstr "更新"
@ -265,7 +265,7 @@ msgstr "ソース ID"
#: accounts/serializers/automations/change_secret.py:127 #: accounts/serializers/automations/change_secret.py:127
#: acls/serializers/base.py:124 acls/templates/acls/asset_login_reminder.html:7 #: acls/serializers/base.py:124 acls/templates/acls/asset_login_reminder.html:7
#: assets/serializers/asset/common.py:125 assets/serializers/gateway.py:28 #: assets/serializers/asset/common.py:125 assets/serializers/gateway.py:28
#: audits/models.py:58 authentication/api/connection_token.py:407 #: audits/models.py:58 authentication/api/connection_token.py:408
#: ops/models/base.py:18 perms/models/asset_permission.py:74 #: ops/models/base.py:18 perms/models/asset_permission.py:74
#: perms/serializers/permission.py:39 terminal/backends/command/models.py:18 #: perms/serializers/permission.py:39 terminal/backends/command/models.py:18
#: terminal/models/session/session.py:33 #: terminal/models/session/session.py:33
@ -727,7 +727,7 @@ msgstr "編集済み"
#: acls/templates/acls/asset_login_reminder.html:6 #: acls/templates/acls/asset_login_reminder.html:6
#: assets/models/automations/base.py:19 #: assets/models/automations/base.py:19
#: assets/serializers/automations/base.py:20 #: assets/serializers/automations/base.py:20
#: authentication/api/connection_token.py:406 ops/models/base.py:17 #: authentication/api/connection_token.py:407 ops/models/base.py:17
#: ops/models/job.py:139 ops/serializers/job.py:21 #: ops/models/job.py:139 ops/serializers/job.py:21
#: terminal/templates/terminal/_msg_command_execute_alert.html:16 #: terminal/templates/terminal/_msg_command_execute_alert.html:16
msgid "Assets" msgid "Assets"
@ -1339,7 +1339,7 @@ msgstr "無効"
#: assets/const/base.py:33 settings/serializers/basic.py:6 #: assets/const/base.py:33 settings/serializers/basic.py:6
#: users/serializers/preference/koko.py:19 #: users/serializers/preference/koko.py:19
#: users/serializers/preference/lina.py:39 #: users/serializers/preference/lina.py:39
#: users/serializers/preference/luna.py:60 #: users/serializers/preference/luna.py:69
msgid "Basic" msgid "Basic"
msgstr "基本" msgstr "基本"
@ -1366,7 +1366,7 @@ msgstr "クラウド サービス"
#: assets/const/category.py:14 assets/models/asset/gpt.py:11 #: assets/const/category.py:14 assets/models/asset/gpt.py:11
#: assets/models/asset/web.py:16 audits/const.py:42 #: assets/models/asset/web.py:16 audits/const.py:42
#: terminal/models/applet/applet.py:27 users/const.py:47 #: terminal/models/applet/applet.py:27 users/const.py:52
msgid "Web" msgid "Web"
msgstr "Web" msgstr "Web"
@ -2259,7 +2259,7 @@ msgstr "Rmdir"
#: audits/const.py:14 audits/const.py:25 #: audits/const.py:14 audits/const.py:25
#: authentication/templates/authentication/_access_key_modal.html:65 #: authentication/templates/authentication/_access_key_modal.html:65
#: perms/const.py:17 rbac/tree.py:237 #: perms/const.py:17 rbac/tree.py:238
msgid "Delete" msgid "Delete"
msgstr "削除" msgstr "削除"
@ -2284,7 +2284,7 @@ msgstr "ダウンロード"
msgid "Rename dir" msgid "Rename dir"
msgstr "マップディレクトリ" msgstr "マップディレクトリ"
#: audits/const.py:23 rbac/tree.py:235 terminal/api/session/session.py:257 #: audits/const.py:23 rbac/tree.py:236 terminal/api/session/session.py:257
#: 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"
@ -2292,7 +2292,7 @@ msgstr "表示"
#: audits/const.py:26 #: audits/const.py:26
#: authentication/templates/authentication/_access_key_modal.html:22 #: authentication/templates/authentication/_access_key_modal.html:22
#: rbac/tree.py:234 #: rbac/tree.py:235
msgid "Create" msgid "Create"
msgstr "作成" msgstr "作成"
@ -2560,29 +2560,29 @@ msgstr ""
msgid "This action require verify your MFA" msgid "This action require verify your MFA"
msgstr "この操作には、MFAを検証する必要があります" msgstr "この操作には、MFAを検証する必要があります"
#: authentication/api/connection_token.py:262 #: authentication/api/connection_token.py:263
msgid "Reusable connection token is not allowed, global setting not enabled" msgid "Reusable connection token is not allowed, global setting not enabled"
msgstr "" msgstr ""
"再使用可能な接続トークンの使用は許可されていません。グローバル設定は有効に" "再使用可能な接続トークンの使用は許可されていません。グローバル設定は有効に"
"なっていません" "なっていません"
#: authentication/api/connection_token.py:376 #: authentication/api/connection_token.py:377
msgid "Anonymous account is not supported for this asset" msgid "Anonymous account is not supported for this asset"
msgstr "匿名アカウントはこのプロパティではサポートされていません" msgstr "匿名アカウントはこのプロパティではサポートされていません"
#: authentication/api/connection_token.py:395 #: authentication/api/connection_token.py:396
msgid "Account not found" msgid "Account not found"
msgstr "アカウントが見つかりません" msgstr "アカウントが見つかりません"
#: authentication/api/connection_token.py:398 #: authentication/api/connection_token.py:399
msgid "Permission expired" msgid "Permission expired"
msgstr "承認の有効期限が切れています" msgstr "承認の有効期限が切れています"
#: authentication/api/connection_token.py:428 #: authentication/api/connection_token.py:429
msgid "ACL action is reject: {}({})" msgid "ACL action is reject: {}({})"
msgstr "ACL アクションは拒否です: {}({})" msgstr "ACL アクションは拒否です: {}({})"
#: authentication/api/connection_token.py:432 #: authentication/api/connection_token.py:433
msgid "ACL action is review" msgid "ACL action is review"
msgstr "ACL アクションはレビューです" msgstr "ACL アクションはレビューです"
@ -3153,13 +3153,13 @@ msgid "Show"
msgstr "表示" msgstr "表示"
#: authentication/templates/authentication/_access_key_modal.html:66 #: authentication/templates/authentication/_access_key_modal.html:66
#: users/models/user.py:640 users/serializers/profile.py:92 #: users/const.py:37 users/models/user.py:640 users/serializers/profile.py:92
#: 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:641 users/serializers/profile.py:93 #: users/const.py:38 users/models/user.py:641 users/serializers/profile.py:93
#: 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"
@ -4306,7 +4306,7 @@ msgstr ""
msgid "The organization have resource ({}) cannot be deleted" msgid "The organization have resource ({}) cannot be deleted"
msgstr "組織のリソース ({}) は削除できません" msgstr "組織のリソース ({}) は削除できません"
#: orgs/apps.py:7 rbac/tree.py:125 #: orgs/apps.py:7 rbac/tree.py:126
msgid "App organizations" msgid "App organizations"
msgstr "アプリ組織" msgstr "アプリ組織"
@ -4519,6 +4519,12 @@ msgstr "Webターミナルを表示できます"
msgid "Can view file manager" msgid "Can view file manager"
msgstr "ファイルマネージャを表示できます" msgstr "ファイルマネージャを表示できます"
#: rbac/models/menu.py:20
#, fuzzy
#| msgid "Can view my assets"
msgid "Can view System Tools"
msgstr "私の資産を見ることができます"
#: rbac/models/permission.py:27 rbac/models/role.py:34 #: rbac/models/permission.py:27 rbac/models/role.py:34
msgid "Permissions" msgid "Permissions"
msgstr "権限" msgstr "権限"
@ -4638,20 +4644,20 @@ msgstr "私の資産"
msgid "Applet" msgid "Applet"
msgstr "リモートアプリケーション" msgstr "リモートアプリケーション"
#: rbac/tree.py:126 #: rbac/tree.py:127
msgid "Ticket comment" msgid "Ticket comment"
msgstr "チケットコメント" msgstr "チケットコメント"
#: rbac/tree.py:127 settings/serializers/feature.py:58 #: rbac/tree.py:128 settings/serializers/feature.py:58
#: tickets/models/ticket/general.py:307 #: tickets/models/ticket/general.py:307
msgid "Ticket" msgid "Ticket"
msgstr "チケット" msgstr "チケット"
#: rbac/tree.py:128 #: rbac/tree.py:129
msgid "Common setting" msgid "Common setting"
msgstr "共通設定" msgstr "共通設定"
#: rbac/tree.py:129 #: rbac/tree.py:130
msgid "View permission tree" msgid "View permission tree"
msgstr "権限ツリーの表示" msgstr "権限ツリーの表示"
@ -6087,7 +6093,7 @@ msgid "Home page"
msgstr "ホームページ" msgstr "ホームページ"
#: templates/resource_download.html:18 templates/resource_download.html:33 #: templates/resource_download.html:18 templates/resource_download.html:33
#: users/const.py:48 #: users/const.py:53
msgid "Client" msgid "Client"
msgstr "クライアント" msgstr "クライアント"
@ -7370,11 +7376,11 @@ msgstr "マルチスクリーンディスプレイ"
msgid "Drives redirect" msgid "Drives redirect"
msgstr "ディスクマウント" msgstr "ディスクマウント"
#: users/const.py:52 #: users/const.py:57
msgid "Replace" msgid "Replace"
msgstr "置換" msgstr "置換"
#: users/const.py:53 #: users/const.py:58
msgid "Suffix" msgid "Suffix"
msgstr "接尾辞を付ける" msgstr "接尾辞を付ける"
@ -7595,43 +7601,54 @@ msgstr "ファイルの暗号化パスワードを確認する"
msgid "The newly set password is inconsistent" msgid "The newly set password is inconsistent"
msgstr "新しく設定されたパスワードが一致しない" msgstr "新しく設定されたパスワードが一致しない"
#: users/serializers/preference/luna.py:23 #: users/serializers/preference/luna.py:26
msgid "Async loading of asset tree" msgid "Async loading of asset tree"
msgstr "非同期ロード資産ツリー" msgstr "非同期ロード資産ツリー"
#: users/serializers/preference/luna.py:30 #: users/serializers/preference/luna.py:33
msgid "RDP resolution" msgid "RDP resolution"
msgstr "RDP 解像度" msgstr "RDP 解像度"
#: users/serializers/preference/luna.py:34 #: users/serializers/preference/luna.py:37
msgid "Keyboard layout" msgid "Keyboard layout"
msgstr "キーボードレイアウト" msgstr "キーボードレイアウト"
#: users/serializers/preference/luna.py:38 #: users/serializers/preference/luna.py:41
msgid "RDP client option" msgid "RDP client option"
msgstr "RDPクライアントオプション" msgstr "RDPクライアントオプション"
#: users/serializers/preference/luna.py:42 #: users/serializers/preference/luna.py:45
msgid "Rdp smart size"
msgstr ""
#: users/serializers/preference/luna.py:46
msgid ""
"Determines whether the client computer should scale the content on the "
"remote computer to fit the window size of the client computer when the "
"window is resized."
msgstr ""
#: users/serializers/preference/luna.py:51
msgid "Remote application connection method" msgid "Remote application connection method"
msgstr "リモートアプリケーション接続方式" msgstr "リモートアプリケーション接続方式"
#: users/serializers/preference/luna.py:49 #: users/serializers/preference/luna.py:58
msgid "Character terminal font size" msgid "Character terminal font size"
msgstr "文字終端フォントサイズ" msgstr "文字終端フォントサイズ"
#: users/serializers/preference/luna.py:52 #: users/serializers/preference/luna.py:61
msgid "Backspace as Ctrl+H" msgid "Backspace as Ctrl+H"
msgstr "文字終端Backspace As Ctrl+H" msgstr "文字終端Backspace As Ctrl+H"
#: users/serializers/preference/luna.py:55 #: users/serializers/preference/luna.py:64
msgid "Right click quickly paste" msgid "Right click quickly paste"
msgstr "右クリックでクイック貼り付け" msgstr "右クリックでクイック貼り付け"
#: users/serializers/preference/luna.py:61 #: users/serializers/preference/luna.py:70
msgid "Graphics" msgid "Graphics"
msgstr "図形化" msgstr "図形化"
#: users/serializers/preference/luna.py:62 #: users/serializers/preference/luna.py:71
msgid "Command line" msgid "Command line"
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: 2023-11-02 14:52+0800\n" "POT-Creation-Date: 2023-11-03 16:52+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"
@ -88,7 +88,7 @@ msgstr "模板"
msgid "Skip" msgid "Skip"
msgstr "跳过" msgstr "跳过"
#: accounts/const/account.py:32 audits/const.py:24 rbac/tree.py:236 #: accounts/const/account.py:32 audits/const.py:24 rbac/tree.py:237
#: templates/_csv_import_export.html:18 templates/_csv_update_modal.html:6 #: templates/_csv_import_export.html:18 templates/_csv_update_modal.html:6
msgid "Update" msgid "Update"
msgstr "更新" msgstr "更新"
@ -264,7 +264,7 @@ msgstr "来源 ID"
#: accounts/serializers/automations/change_secret.py:127 #: accounts/serializers/automations/change_secret.py:127
#: acls/serializers/base.py:124 acls/templates/acls/asset_login_reminder.html:7 #: acls/serializers/base.py:124 acls/templates/acls/asset_login_reminder.html:7
#: assets/serializers/asset/common.py:125 assets/serializers/gateway.py:28 #: assets/serializers/asset/common.py:125 assets/serializers/gateway.py:28
#: audits/models.py:58 authentication/api/connection_token.py:407 #: audits/models.py:58 authentication/api/connection_token.py:408
#: ops/models/base.py:18 perms/models/asset_permission.py:74 #: ops/models/base.py:18 perms/models/asset_permission.py:74
#: perms/serializers/permission.py:39 terminal/backends/command/models.py:18 #: perms/serializers/permission.py:39 terminal/backends/command/models.py:18
#: terminal/models/session/session.py:33 #: terminal/models/session/session.py:33
@ -725,7 +725,7 @@ msgstr "已修改"
#: acls/templates/acls/asset_login_reminder.html:6 #: acls/templates/acls/asset_login_reminder.html:6
#: assets/models/automations/base.py:19 #: assets/models/automations/base.py:19
#: assets/serializers/automations/base.py:20 #: assets/serializers/automations/base.py:20
#: authentication/api/connection_token.py:406 ops/models/base.py:17 #: authentication/api/connection_token.py:407 ops/models/base.py:17
#: ops/models/job.py:139 ops/serializers/job.py:21 #: ops/models/job.py:139 ops/serializers/job.py:21
#: terminal/templates/terminal/_msg_command_execute_alert.html:16 #: terminal/templates/terminal/_msg_command_execute_alert.html:16
msgid "Assets" msgid "Assets"
@ -1332,7 +1332,7 @@ msgstr "禁用"
#: assets/const/base.py:33 settings/serializers/basic.py:6 #: assets/const/base.py:33 settings/serializers/basic.py:6
#: users/serializers/preference/koko.py:19 #: users/serializers/preference/koko.py:19
#: users/serializers/preference/lina.py:39 #: users/serializers/preference/lina.py:39
#: users/serializers/preference/luna.py:60 #: users/serializers/preference/luna.py:69
msgid "Basic" msgid "Basic"
msgstr "基本" msgstr "基本"
@ -1359,7 +1359,7 @@ msgstr "云服务"
#: assets/const/category.py:14 assets/models/asset/gpt.py:11 #: assets/const/category.py:14 assets/models/asset/gpt.py:11
#: assets/models/asset/web.py:16 audits/const.py:42 #: assets/models/asset/web.py:16 audits/const.py:42
#: terminal/models/applet/applet.py:27 users/const.py:47 #: terminal/models/applet/applet.py:27 users/const.py:52
msgid "Web" msgid "Web"
msgstr "Web" msgstr "Web"
@ -2243,7 +2243,7 @@ msgstr "删除目录"
#: audits/const.py:14 audits/const.py:25 #: audits/const.py:14 audits/const.py:25
#: authentication/templates/authentication/_access_key_modal.html:65 #: authentication/templates/authentication/_access_key_modal.html:65
#: perms/const.py:17 rbac/tree.py:237 #: perms/const.py:17 rbac/tree.py:238
msgid "Delete" msgid "Delete"
msgstr "删除" msgstr "删除"
@ -2268,7 +2268,7 @@ msgstr "下载"
msgid "Rename dir" msgid "Rename dir"
msgstr "映射目录" msgstr "映射目录"
#: audits/const.py:23 rbac/tree.py:235 terminal/api/session/session.py:257 #: audits/const.py:23 rbac/tree.py:236 terminal/api/session/session.py:257
#: 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"
@ -2276,7 +2276,7 @@ msgstr "查看"
#: audits/const.py:26 #: audits/const.py:26
#: authentication/templates/authentication/_access_key_modal.html:22 #: authentication/templates/authentication/_access_key_modal.html:22
#: rbac/tree.py:234 #: rbac/tree.py:235
msgid "Create" msgid "Create"
msgstr "创建" msgstr "创建"
@ -2544,27 +2544,27 @@ msgstr ""
msgid "This action require verify your MFA" msgid "This action require verify your MFA"
msgstr "该操作需要验证您的 MFA, 请先开启并配置" msgstr "该操作需要验证您的 MFA, 请先开启并配置"
#: authentication/api/connection_token.py:262 #: authentication/api/connection_token.py:263
msgid "Reusable connection token is not allowed, global setting not enabled" msgid "Reusable connection token is not allowed, global setting not enabled"
msgstr "不允许使用可重复使用的连接令牌,未启用全局设置" msgstr "不允许使用可重复使用的连接令牌,未启用全局设置"
#: authentication/api/connection_token.py:376 #: authentication/api/connection_token.py:377
msgid "Anonymous account is not supported for this asset" msgid "Anonymous account is not supported for this asset"
msgstr "匿名账号不支持当前资产" msgstr "匿名账号不支持当前资产"
#: authentication/api/connection_token.py:395 #: authentication/api/connection_token.py:396
msgid "Account not found" msgid "Account not found"
msgstr "账号未找到" msgstr "账号未找到"
#: authentication/api/connection_token.py:398 #: authentication/api/connection_token.py:399
msgid "Permission expired" msgid "Permission expired"
msgstr "授权已过期" msgstr "授权已过期"
#: authentication/api/connection_token.py:428 #: authentication/api/connection_token.py:429
msgid "ACL action is reject: {}({})" msgid "ACL action is reject: {}({})"
msgstr "ACL 动作是拒绝: {}({})" msgstr "ACL 动作是拒绝: {}({})"
#: authentication/api/connection_token.py:432 #: authentication/api/connection_token.py:433
msgid "ACL action is review" msgid "ACL action is review"
msgstr "ACL 动作是复核" msgstr "ACL 动作是复核"
@ -3120,13 +3120,13 @@ msgid "Show"
msgstr "显示" msgstr "显示"
#: authentication/templates/authentication/_access_key_modal.html:66 #: authentication/templates/authentication/_access_key_modal.html:66
#: users/models/user.py:640 users/serializers/profile.py:92 #: users/const.py:37 users/models/user.py:640 users/serializers/profile.py:92
#: 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:641 users/serializers/profile.py:93 #: users/const.py:38 users/models/user.py:641 users/serializers/profile.py:93
#: 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"
@ -4253,7 +4253,7 @@ msgstr "LDAP 同步设置组织为当前组织,请切换其他组织后再进
msgid "The organization have resource ({}) cannot be deleted" msgid "The organization have resource ({}) cannot be deleted"
msgstr "组织存在资源 ({}) 不能被删除" msgstr "组织存在资源 ({}) 不能被删除"
#: orgs/apps.py:7 rbac/tree.py:125 #: orgs/apps.py:7 rbac/tree.py:126
msgid "App organizations" msgid "App organizations"
msgstr "组织管理" msgstr "组织管理"
@ -4466,6 +4466,12 @@ msgstr "Web终端"
msgid "Can view file manager" msgid "Can view file manager"
msgstr "文件管理" msgstr "文件管理"
#: rbac/models/menu.py:20
#, fuzzy
#| msgid "Can view my assets"
msgid "Can view System Tools"
msgstr "可以查看我的资产"
#: rbac/models/permission.py:27 rbac/models/role.py:34 #: rbac/models/permission.py:27 rbac/models/role.py:34
msgid "Permissions" msgid "Permissions"
msgstr "授权" msgstr "授权"
@ -4584,20 +4590,20 @@ msgstr "我的资产"
msgid "Applet" msgid "Applet"
msgstr "远程应用" msgstr "远程应用"
#: rbac/tree.py:126 #: rbac/tree.py:127
msgid "Ticket comment" msgid "Ticket comment"
msgstr "工单评论" msgstr "工单评论"
#: rbac/tree.py:127 settings/serializers/feature.py:58 #: rbac/tree.py:128 settings/serializers/feature.py:58
#: tickets/models/ticket/general.py:307 #: tickets/models/ticket/general.py:307
msgid "Ticket" msgid "Ticket"
msgstr "工单管理" msgstr "工单管理"
#: rbac/tree.py:128 #: rbac/tree.py:129
msgid "Common setting" msgid "Common setting"
msgstr "一般设置" msgstr "一般设置"
#: rbac/tree.py:129 #: rbac/tree.py:130
msgid "View permission tree" msgid "View permission tree"
msgstr "查看授权树" msgstr "查看授权树"
@ -6000,7 +6006,7 @@ msgid "Home page"
msgstr "首页" msgstr "首页"
#: templates/resource_download.html:18 templates/resource_download.html:33 #: templates/resource_download.html:18 templates/resource_download.html:33
#: users/const.py:48 #: users/const.py:53
msgid "Client" msgid "Client"
msgstr "客户端" msgstr "客户端"
@ -7263,11 +7269,11 @@ msgstr "多屏显示"
msgid "Drives redirect" msgid "Drives redirect"
msgstr "磁盘挂载" msgstr "磁盘挂载"
#: users/const.py:52 #: users/const.py:57
msgid "Replace" msgid "Replace"
msgstr "替换" msgstr "替换"
#: users/const.py:53 #: users/const.py:58
msgid "Suffix" msgid "Suffix"
msgstr "加后缀" msgstr "加后缀"
@ -7488,43 +7494,54 @@ msgstr "确认文件加密密码"
msgid "The newly set password is inconsistent" msgid "The newly set password is inconsistent"
msgstr "两次密码不一致" msgstr "两次密码不一致"
#: users/serializers/preference/luna.py:23 #: users/serializers/preference/luna.py:26
msgid "Async loading of asset tree" msgid "Async loading of asset tree"
msgstr "异步加载资产树" msgstr "异步加载资产树"
#: users/serializers/preference/luna.py:30 #: users/serializers/preference/luna.py:33
msgid "RDP resolution" msgid "RDP resolution"
msgstr "RDP 分辨率" msgstr "RDP 分辨率"
#: users/serializers/preference/luna.py:34 #: users/serializers/preference/luna.py:37
msgid "Keyboard layout" msgid "Keyboard layout"
msgstr "键盘布局" msgstr "键盘布局"
#: users/serializers/preference/luna.py:38 #: users/serializers/preference/luna.py:41
msgid "RDP client option" msgid "RDP client option"
msgstr "RDP 客户端选项" msgstr "RDP 客户端选项"
#: users/serializers/preference/luna.py:42 #: users/serializers/preference/luna.py:45
msgid "Rdp smart size"
msgstr ""
#: users/serializers/preference/luna.py:46
msgid ""
"Determines whether the client computer should scale the content on the "
"remote computer to fit the window size of the client computer when the "
"window is resized."
msgstr ""
#: users/serializers/preference/luna.py:51
msgid "Remote application connection method" msgid "Remote application connection method"
msgstr "远程应用连接方式" msgstr "远程应用连接方式"
#: users/serializers/preference/luna.py:49 #: users/serializers/preference/luna.py:58
msgid "Character terminal font size" msgid "Character terminal font size"
msgstr "字符终端字体大小" msgstr "字符终端字体大小"
#: users/serializers/preference/luna.py:52 #: users/serializers/preference/luna.py:61
msgid "Backspace as Ctrl+H" msgid "Backspace as Ctrl+H"
msgstr "字符终端Backspace As Ctrl+H" msgstr "字符终端Backspace As Ctrl+H"
#: users/serializers/preference/luna.py:55 #: users/serializers/preference/luna.py:64
msgid "Right click quickly paste" msgid "Right click quickly paste"
msgstr "右键快速粘贴" msgstr "右键快速粘贴"
#: users/serializers/preference/luna.py:61 #: users/serializers/preference/luna.py:70
msgid "Graphics" msgid "Graphics"
msgstr "图形化" msgstr "图形化"
#: users/serializers/preference/luna.py:62 #: users/serializers/preference/luna.py:71
msgid "Command line" msgid "Command line"
msgstr "命令行" msgstr "命令行"

View File

@ -0,0 +1,17 @@
# Generated by Django 4.1.10 on 2023-11-01 14:11
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('rbac', '0012_remove_add_changesecretexection_permission'),
]
operations = [
migrations.AlterModelOptions(
name='menupermission',
options={'default_permissions': [], 'permissions': [('view_console', 'Can view console view'), ('view_audit', 'Can view audit view'), ('view_workbench', 'Can view workbench view'), ('view_webterminal', 'Can view web terminal'), ('view_filemanager', 'Can view file manager'), ('view_systemtools', 'Can view System Tools')], 'verbose_name': 'Menu permission'},
),
]

View File

@ -17,4 +17,5 @@ class MenuPermission(models.Model):
('view_workbench', _('Can view workbench view')), ('view_workbench', _('Can view workbench view')),
('view_webterminal', _('Can view web terminal')), ('view_webterminal', _('Can view web terminal')),
('view_filemanager', _('Can view file manager')), ('view_filemanager', _('Can view file manager')),
('view_systemtools', _('Can view System Tools')),
] ]

View File

@ -118,6 +118,7 @@ special_pid_mapper = {
"rbac.view_workbench": "view_workbench", "rbac.view_workbench": "view_workbench",
"rbac.view_webterminal": "view_workbench", "rbac.view_webterminal": "view_workbench",
"rbac.view_filemanager": "view_workbench", "rbac.view_filemanager": "view_workbench",
"rbac.view_systemtools": "view_workbench",
'tickets.view_ticket': 'tickets' 'tickets.view_ticket': 'tickets'
} }