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

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