perf: 修改授权动作翻译 (#12095)

Co-authored-by: feng <1304903146@qq.com>
pull/12096/head
fit2bot 1 year ago committed by GitHub
parent 5673698a57
commit 521c1f0dfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:27a9c056cf4fd6408e82ce39bf1348c74a69a1d57bb7614550a3823f2fed7016
size 164767
oid sha256:7798440c21227ff39fcdb70340cb6b5823551ba33ec41be768de75c8c8d0ef07
size 165089

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-11-13 17:47+0800\n"
"POT-Creation-Date: 2023-11-14 10:32+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"
@ -2305,11 +2305,11 @@ msgstr "Rmdir"
#: audits/const.py:14 audits/const.py:25
#: authentication/templates/authentication/_access_key_modal.html:65
#: perms/const.py:17 rbac/tree.py:238
#: rbac/tree.py:238
msgid "Delete"
msgstr "削除"
#: audits/const.py:15 perms/const.py:13
#: audits/const.py:15
msgid "Upload"
msgstr "アップロード"
@ -2321,8 +2321,7 @@ msgstr "名前の変更"
msgid "Symlink"
msgstr "Symlink"
#: audits/const.py:18 audits/const.py:28 perms/const.py:14
#: terminal/api/session/session.py:146
#: audits/const.py:18 audits/const.py:28 terminal/api/session/session.py:146
msgid "Download"
msgstr "ダウンロード"
@ -2342,7 +2341,7 @@ msgstr "表示"
msgid "Create"
msgstr "作成"
#: audits/const.py:29 perms/const.py:12
#: audits/const.py:29
msgid "Connect"
msgstr "接続"
@ -4397,21 +4396,31 @@ msgstr "組織キャッシュを更新する"
msgid "App permissions"
msgstr "アプリの権限"
#: perms/const.py:12
msgid "All protocols"
msgstr "すべてのプロトコル"
msgid "Connect (All protocols)"
msgstr "接続(すべてのプロトコル)"
#: perms/const.py:13
msgid "Upload (RDP, SFTP)"
msgstr "アップロードRDPSFTP"
#: perms/const.py:14
msgid "Download (RDP, SFTP)"
msgstr "ダウンロードRDP、SFTP"
#: perms/const.py:15
msgid "Copy"
msgstr "コピー"
msgid "Copy (RDP, VNC)"
msgstr "レプリケーションRDPVNC"
#: perms/const.py:16
msgid "Paste"
msgstr "貼り付け"
msgid "Paste (RDP, VNC)"
msgstr "貼り付けRDPVNC"
msgid "Delete (SFTP)"
msgstr "削除SFTP"
#: perms/const.py:18
msgid "Share"
msgstr ""
msgid "Share (SSH)"
msgstr "共有SSH"
#: perms/const.py:28
msgid "Transfer"
@ -8702,6 +8711,12 @@ msgstr "エンタープライズプロフェッショナル版"
msgid "Ultimate edition"
msgstr "エンタープライズ・フラッグシップ・エディション"
#~ msgid "Copy"
#~ msgstr "コピー"
#~ msgid "Paste"
#~ msgstr "貼り付け"
#~ msgid "Password can not contains `'` "
#~ msgstr "パスワードには `'` を含まない"

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f1baab6122387956c98bca6cc8d6dad7fe3d54662b6118bfe0b7cc53af856e84
size 134662
oid sha256:5baaa1f74fd4041bfa534949262def4ded352e3108e7e891e45ea2d4f79830a0
size 134936

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: JumpServer 0.3.3\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-11-13 17:47+0800\n"
"POT-Creation-Date: 2023-11-14 10:32+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"
@ -2289,11 +2289,11 @@ msgstr "删除目录"
#: audits/const.py:14 audits/const.py:25
#: authentication/templates/authentication/_access_key_modal.html:65
#: perms/const.py:17 rbac/tree.py:238
#: rbac/tree.py:238
msgid "Delete"
msgstr "删除"
#: audits/const.py:15 perms/const.py:13
#: audits/const.py:15
msgid "Upload"
msgstr "上传"
@ -2305,8 +2305,7 @@ msgstr "重命名"
msgid "Symlink"
msgstr "建立软链接"
#: audits/const.py:18 audits/const.py:28 perms/const.py:14
#: terminal/api/session/session.py:146
#: audits/const.py:18 audits/const.py:28 terminal/api/session/session.py:146
msgid "Download"
msgstr "下载"
@ -2326,7 +2325,7 @@ msgstr "查看"
msgid "Create"
msgstr "创建"
#: audits/const.py:29 perms/const.py:12
#: audits/const.py:29
msgid "Connect"
msgstr "连接"
@ -4346,21 +4345,31 @@ msgstr "刷新组织缓存"
msgid "App permissions"
msgstr "授权管理"
#: perms/const.py:12
msgid "All protocols"
msgstr "所有协议"
msgid "Connect (All protocols)"
msgstr "连接 (所有协议)"
#: perms/const.py:13
msgid "Upload (RDP, SFTP)"
msgstr "上传 (RDP, SFTP)"
#: perms/const.py:14
msgid "Download (RDP, SFTP)"
msgstr "下载 (RDP, SFTP)"
#: perms/const.py:15
msgid "Copy"
msgstr "复制"
msgid "Copy (RDP, VNC)"
msgstr "复制 (RDP, VNC)"
#: perms/const.py:16
msgid "Paste"
msgstr "粘贴"
msgid "Paste (RDP, VNC)"
msgstr "粘贴 (RDP, VNC)"
msgid "Delete (SFTP)"
msgstr "删除 (SFTP)"
#: perms/const.py:18
msgid "Share"
msgstr ""
msgid "Share (SSH)"
msgstr "分享 (SSH)"
#: perms/const.py:28
msgid "Transfer"
@ -8583,6 +8592,12 @@ msgstr "企业专业版"
msgid "Ultimate edition"
msgstr "企业旗舰版"
#~ msgid "Copy"
#~ msgstr "复制"
#~ msgid "Paste"
#~ msgstr "粘贴"
#~ msgid "Password can not contains `'` "
#~ msgstr "密码不能包含 `'` 字符"

@ -9,13 +9,13 @@ __all__ = ["ActionChoices"]
class ActionChoices(BitChoices):
connect = bit(1), _("Connect") + " ({})".format(_("All protocols"))
upload = bit(2), _("Upload") + " (RDP, SFTP)"
download = bit(3), _("Download") + " (RDP, SFTP)"
copy = bit(4), _("Copy") + " (RDP, VNC)"
paste = bit(5), _("Paste") + " (RDP, VNC)"
delete = bit(6), _("Delete") + " (SFTP)"
share = bit(7), _("Share") + " (SSH)"
connect = bit(1), _("Connect (All protocols)")
upload = bit(2), _("Upload (RDP, SFTP)")
download = bit(3), _("Download (RDP, SFTP)")
copy = bit(4), _("Copy (RDP, VNC)")
paste = bit(5), _("Paste (RDP, VNC)")
delete = bit(6), _("Delete (SFTP)")
share = bit(7), _("Share (SSH)")
@classmethod
def is_tree(cls):

Loading…
Cancel
Save