Skip to content

Commit d33873a

Browse files
committed
fix: Publish permission
1 parent 40f9528 commit d33873a

4 files changed

Lines changed: 12 additions & 2 deletions

File tree

apps/common/constants/permission_constants.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,7 @@ def get_workspace_role(self):
338338
WorkspaceGroup.OTHER.value: _("Other"),
339339
Operate.READ.value: _("Read"),
340340
Operate.EDIT.value: _("Edit"),
341+
Operate.PUBLISH.value: _("Publish"),
341342
Operate.CREATE.value: _("Create"),
342343
Operate.DELETE.value: _("Delete"),
343344
Group.EMAIL_SETTING.value: _("Email Setting"),

apps/locales/en_US/LC_MESSAGES/django.po

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9246,4 +9246,7 @@ msgid "The {index}th item in model_params_form must be a dictionary"
92469246
msgstr ""
92479247

92489248
msgid "The label field is required for the {index}th item in model_params_form"
9249+
msgstr ""
9250+
9251+
msgid "Publish"
92499252
msgstr ""

apps/locales/zh_CN/LC_MESSAGES/django.po

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9369,4 +9369,7 @@ msgid "The {index}th item in model_params_form must be a dictionary"
93699369
msgstr "model_params_form 中的第 {index} 项必须是一个字典"
93709370

93719371
msgid "The label field is required for the {index}th item in model_params_form"
9372-
msgstr "model_params_form 中的第 {index} 项的 label 字段是必填项"
9372+
msgstr "model_params_form 中的第 {index} 项的 label 字段是必填项"
9373+
9374+
msgid "Publish"
9375+
msgstr "发布"

apps/locales/zh_Hant/LC_MESSAGES/django.po

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9366,4 +9366,7 @@ msgid "The {index}th item in model_params_form must be a dictionary"
93669366
msgstr "model_params_form 中的第 {index} 项必须是一个字典"
93679367

93689368
msgid "The label field is required for the {index}th item in model_params_form"
9369-
msgstr "model_params_form 中的第 {index} 项的 label 字段是必填项"
9369+
msgstr "model_params_form 中的第 {index} 项的 label 字段是必填项"
9370+
9371+
msgid "Publish"
9372+
msgstr "發布"

0 commit comments

Comments
 (0)