fix(系统设置): 模板提示信息优化

--bug=1041272 --user=宋昌昌 【系统设置】组织-模板-创建zentao缺陷模板时字段设置错误的提示信息优化 https://www.tapd.cn/55049933/s/1522220
This commit is contained in:
song-cc-rock 2024-05-28 16:03:14 +08:00 committed by 刘瑞斌
parent e2ceab55ff
commit 60650c7958
5 changed files with 5 additions and 1 deletions

View File

@ -418,6 +418,7 @@ internal_custom_field_permission_error=系统字段或模板无法删除!
internal_template_permission_error=系统模板无法删除!
default_template_permission_error=默认模板无法删除!
field_validate_error={0}字段参数值不合法
simple_field_validate_error_tips=字段参数值不合法, 请检查必填项或默认值!
status_definition_required_error=该状态无法取消
#result message

View File

@ -427,6 +427,7 @@ internal_custom_field_permission_error=System fields cannot be deleted
internal_template_permission_error=System template cannot be deleted
default_template_permission_error=Default templates cannot be deleted
field_validate_error=The field {0} value is invalid
simple_field_validate_error_tips=The field parameter value is invalid, please check the required field or the default value!
status_definition_required_error=This status cannot be canceled
#result message

View File

@ -425,6 +425,7 @@ internal_custom_field_permission_error=系统字段或模板无法删除!
internal_template_permission_error=系统模板无法删除!
default_template_permission_error=默认模板无法删除!
field_validate_error={0}字段参数值不合法
simple_field_validate_error_tips=字段参数值不合法, 请检查必填项或默认值!
status_definition_required_error=该状态无法取消
#result message

View File

@ -424,6 +424,7 @@ internal_custom_field_permission_error=系統字段或模板無法刪除!
internal_template_permission_error=系統模板無法刪除!
default_template_permission_error=默认模板无法删除!
field_validate_error={0}字段參數值不合法
simple_field_validate_error_tips=字段參數值不合法, 請檢查必填項或默認值!
status_definition_required_error=該狀態無法取消
#result message

View File

@ -27,7 +27,7 @@ public enum CommonResultCode implements IResultCode {
DEFAULT_TEMPLATE_PERMISSION(100014, "default_template_permission_error"),
STATUS_ITEM_NOT_EXIST(100015, "status_item.not.exist"),
STATUS_ITEM_EXIST(100016, "status_item.exist"),
FIELD_VALIDATE_ERROR(100017, "field_validate_error"),
FIELD_VALIDATE_ERROR(100017, "simple_field_validate_error_tips"),
STATUS_DEFINITION_REQUIRED_ERROR(100018, "status_definition_required_error"),
ADMIN_USER_ROLE_PERMISSION(100019, "internal_admin_user_role_permission_error");