Skip to content

Commit 3a5ed39

Browse files
committed
feat: Add permission constants label
1 parent ef0e5dc commit 3a5ed39

File tree

4 files changed

+21
-0
lines changed

4 files changed

+21
-0
lines changed

apps/common/constants/permission_constants.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,8 @@ def get_workspace_role(self):
378378
Operate.TRIGGER_EDIT.value: _('Edit Trigger'),
379379
Operate.TRIGGER_DELETE.value: _('Delete Trigger'),
380380
Operate.RECORD.value: _('Read execute record'),
381+
Operate.BATCH_DELETE.value: _('Batch delete'),
382+
Operate.BATCH_MOVE.value: _('Batch move'),
381383

382384
Group.APPLICATION_OVERVIEW.value: _('Overview'),
383385
Group.APPLICATION_ACCESS.value: _('Application Access'),

apps/locales/en_US/LC_MESSAGES/django.po

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9230,5 +9230,12 @@ msgstr "Export system knowledge bundle"
92309230
msgid "Export shared knowledge bundle"
92319231
msgstr "Export shared knowledge bundle"
92329232

9233+
msgid "Batch delete"
9234+
msgstr "Batch delete"
9235+
9236+
msgid "Batch move"
9237+
msgstr "Batch move"
9238+
9239+
92339240

92349241

apps/locales/zh_CN/LC_MESSAGES/django.po

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9353,3 +9353,8 @@ msgstr "导出系统知识库"
93539353
msgid "Export shared knowledge bundle"
93549354
msgstr "导出共享知识库"
93559355

9356+
msgid "Batch delete"
9357+
msgstr "批量删除"
9358+
9359+
msgid "Batch move"
9360+
msgstr "批量移动"

apps/locales/zh_Hant/LC_MESSAGES/django.po

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9350,3 +9350,10 @@ msgstr "匯出系統知識庫"
93509350
msgid "Export shared knowledge bundle"
93519351
msgstr "匯出共享知識庫"
93529352

9353+
msgid "Batch delete"
9354+
msgstr "批量刪除"
9355+
9356+
msgid "Batch move"
9357+
msgstr "批量移動"
9358+
9359+

0 commit comments

Comments
 (0)