diff --git a/apps/common/constants/permission_constants.py b/apps/common/constants/permission_constants.py index 31dbbf66a42..d07f5830ee9 100644 --- a/apps/common/constants/permission_constants.py +++ b/apps/common/constants/permission_constants.py @@ -338,6 +338,7 @@ def get_workspace_role(self): WorkspaceGroup.OTHER.value: _("Other"), Operate.READ.value: _("Read"), Operate.EDIT.value: _("Edit"), + Operate.PUBLISH.value: _("Publish"), Operate.CREATE.value: _("Create"), Operate.DELETE.value: _("Delete"), Group.EMAIL_SETTING.value: _("Email Setting"), diff --git a/apps/locales/en_US/LC_MESSAGES/django.po b/apps/locales/en_US/LC_MESSAGES/django.po index 7c71c8832a3..98262c54269 100644 --- a/apps/locales/en_US/LC_MESSAGES/django.po +++ b/apps/locales/en_US/LC_MESSAGES/django.po @@ -9246,4 +9246,7 @@ msgid "The {index}th item in model_params_form must be a dictionary" msgstr "" msgid "The label field is required for the {index}th item in model_params_form" +msgstr "" + +msgid "Publish" msgstr "" \ No newline at end of file diff --git a/apps/locales/zh_CN/LC_MESSAGES/django.po b/apps/locales/zh_CN/LC_MESSAGES/django.po index e014cf30fc4..cd48cb71ec2 100644 --- a/apps/locales/zh_CN/LC_MESSAGES/django.po +++ b/apps/locales/zh_CN/LC_MESSAGES/django.po @@ -9369,4 +9369,7 @@ msgid "The {index}th item in model_params_form must be a dictionary" msgstr "model_params_form 中的第 {index} 项必须是一个字典" msgid "The label field is required for the {index}th item in model_params_form" -msgstr "model_params_form 中的第 {index} 项的 label 字段是必填项" \ No newline at end of file +msgstr "model_params_form 中的第 {index} 项的 label 字段是必填项" + +msgid "Publish" +msgstr "发布" \ No newline at end of file diff --git a/apps/locales/zh_Hant/LC_MESSAGES/django.po b/apps/locales/zh_Hant/LC_MESSAGES/django.po index cac48ef0e47..48890b882b6 100644 --- a/apps/locales/zh_Hant/LC_MESSAGES/django.po +++ b/apps/locales/zh_Hant/LC_MESSAGES/django.po @@ -9366,4 +9366,7 @@ msgid "The {index}th item in model_params_form must be a dictionary" msgstr "model_params_form 中的第 {index} 项必须是一个字典" msgid "The label field is required for the {index}th item in model_params_form" -msgstr "model_params_form 中的第 {index} 项的 label 字段是必填项" \ No newline at end of file +msgstr "model_params_form 中的第 {index} 项的 label 字段是必填项" + +msgid "Publish" +msgstr "發布" \ No newline at end of file