fix: Role details - multiple instances of English in permissions list

This commit is contained in:
wangruidong 2024-06-12 17:19:17 +08:00 committed by w940853815
parent aa16c3d3a1
commit 3fb261b5c8
4 changed files with 7 additions and 7 deletions

View File

@ -178,7 +178,7 @@
"BasicSetting": "基本設定", "BasicSetting": "基本設定",
"BatchConsent": "一括同意", "BatchConsent": "一括同意",
"BatchDeployment": "一括デプロイ", "BatchDeployment": "一括デプロイ",
"BatchProcessing": "バルク処理({Number} アイテムが選択されています)", "BatchProcessing": "バルク処理({number} アイテムが選択されています)",
"BatchReject": "一括拒否", "BatchReject": "一括拒否",
"BatchTest": "一括テスト", "BatchTest": "一括テスト",
"BasicSettings": "基本設定", "BasicSettings": "基本設定",

View File

@ -200,7 +200,7 @@
"BasicSettings": "基本设置", "BasicSettings": "基本设置",
"BatchConsent": "批量同意", "BatchConsent": "批量同意",
"BatchDeployment": "批量部署", "BatchDeployment": "批量部署",
"BatchProcessing": "批量处理(选中 {Number} 项)", "BatchProcessing": "批量处理(选中 {number} 项)",
"BatchReject": "批量拒绝", "BatchReject": "批量拒绝",
"BatchTest": "批量测试", "BatchTest": "批量测试",
"BeforeChange": "变更前", "BeforeChange": "变更前",

View File

@ -225,7 +225,7 @@
"BatchConsent": "批次同意", "BatchConsent": "批次同意",
"BatchDelete": "批次刪除", "BatchDelete": "批次刪除",
"BatchDisable": "批次禁用", "BatchDisable": "批次禁用",
"BatchProcessing": "批次處理(選中 {Number} 項)", "BatchProcessing": "批次處理(選中 {number} 項)",
"BatchReject": "批次拒絕", "BatchReject": "批次拒絕",
"BatchRemoval": "批次移除", "BatchRemoval": "批次移除",
"BatchRetry": "批次重試", "BatchRetry": "批次重試",

View File

@ -234,10 +234,10 @@ class CounterTree(Tree):
class PermissionTreeUtil: class PermissionTreeUtil:
get_permissions: Callable get_permissions: Callable
action_mapper = { action_mapper = {
'add': _('create'), 'add': _('Create'),
'view': _('view'), 'view': _('View'),
'change': _('update'), 'change': _('Update'),
'delete': _('delete') 'delete': _('Delete')
} }
action_icon = { action_icon = {
'add': 'add', 'add': 'add',