From 0ed893d601bf1b36c3d419cf4c2e3ecc040905c0 Mon Sep 17 00:00:00 2001 From: zhangzhanwei Date: Thu, 2 Apr 2026 14:26:40 +0800 Subject: [PATCH] feat: Add permission constants label --- apps/common/constants/permission_constants.py | 2 ++ apps/locales/en_US/LC_MESSAGES/django.po | 7 +++++++ apps/locales/zh_CN/LC_MESSAGES/django.po | 5 +++++ apps/locales/zh_Hant/LC_MESSAGES/django.po | 7 +++++++ 4 files changed, 21 insertions(+) diff --git a/apps/common/constants/permission_constants.py b/apps/common/constants/permission_constants.py index d6a97dd3583..cb8c8cb8b71 100644 --- a/apps/common/constants/permission_constants.py +++ b/apps/common/constants/permission_constants.py @@ -378,6 +378,8 @@ def get_workspace_role(self): Operate.TRIGGER_EDIT.value: _('Edit Trigger'), Operate.TRIGGER_DELETE.value: _('Delete Trigger'), Operate.RECORD.value: _('Read execute record'), + Operate.BATCH_DELETE.value: _('Batch delete'), + Operate.BATCH_MOVE.value: _('Batch move'), Group.APPLICATION_OVERVIEW.value: _('Overview'), Group.APPLICATION_ACCESS.value: _('Application Access'), diff --git a/apps/locales/en_US/LC_MESSAGES/django.po b/apps/locales/en_US/LC_MESSAGES/django.po index 81a636203f5..742ea32e0ff 100644 --- a/apps/locales/en_US/LC_MESSAGES/django.po +++ b/apps/locales/en_US/LC_MESSAGES/django.po @@ -9230,5 +9230,12 @@ msgstr "Export system knowledge bundle" msgid "Export shared knowledge bundle" msgstr "Export shared knowledge bundle" +msgid "Batch delete" +msgstr "Batch delete" + +msgid "Batch move" +msgstr "Batch move" + + diff --git a/apps/locales/zh_CN/LC_MESSAGES/django.po b/apps/locales/zh_CN/LC_MESSAGES/django.po index 1207df47c81..40a9a8e4e99 100644 --- a/apps/locales/zh_CN/LC_MESSAGES/django.po +++ b/apps/locales/zh_CN/LC_MESSAGES/django.po @@ -9353,3 +9353,8 @@ msgstr "导出系统知识库" msgid "Export shared knowledge bundle" msgstr "导出共享知识库" +msgid "Batch delete" +msgstr "批量删除" + +msgid "Batch move" +msgstr "批量移动" diff --git a/apps/locales/zh_Hant/LC_MESSAGES/django.po b/apps/locales/zh_Hant/LC_MESSAGES/django.po index 482e74a1025..f73891f3fb0 100644 --- a/apps/locales/zh_Hant/LC_MESSAGES/django.po +++ b/apps/locales/zh_Hant/LC_MESSAGES/django.po @@ -9350,3 +9350,10 @@ msgstr "匯出系統知識庫" msgid "Export shared knowledge bundle" msgstr "匯出共享知識庫" +msgid "Batch delete" +msgstr "批量刪除" + +msgid "Batch move" +msgstr "批量移動" + +