diff --git a/test-track/backend/src/main/java/io/metersphere/excel/handler/FunctionCaseTemplateWriteHandler.java b/test-track/backend/src/main/java/io/metersphere/excel/handler/FunctionCaseTemplateWriteHandler.java index 8fa197a05c..41733a31e3 100644 --- a/test-track/backend/src/main/java/io/metersphere/excel/handler/FunctionCaseTemplateWriteHandler.java +++ b/test-track/backend/src/main/java/io/metersphere/excel/handler/FunctionCaseTemplateWriteHandler.java @@ -92,7 +92,7 @@ public class FunctionCaseTemplateWriteHandler implements RowWriteHandler { if (CollectionUtils.isEmpty(list)) { setComment(priorityIndex, Translator.get("options").concat("(P0、P1、P2、P3)")); } else { - setComment(priorityIndex, Translator.get("options").concat(JSON.toJSONString(list))); + setComment(priorityIndex, Translator.get("options").concat(JSON.toJSONString(list)).concat(Translator.get("cannot_ignore_case"))); } list.clear(); @@ -100,7 +100,7 @@ public class FunctionCaseTemplateWriteHandler implements RowWriteHandler { list = caseLevelAndStatusValueMap.get("caseStatus"); } if (CollectionUtils.isNotEmpty(list)) { - setComment(statusIndex, Translator.get("options").concat(JSON.toJSONString(list))); + setComment(statusIndex, Translator.get("options").concat(JSON.toJSONString(list)).concat(Translator.get("cannot_ignore_case"))); } } diff --git a/test-track/backend/src/main/resources/i18n/commons_en_US.properties b/test-track/backend/src/main/resources/i18n/commons_en_US.properties index d8b9f99045..a952d85eec 100644 --- a/test-track/backend/src/main/resources/i18n/commons_en_US.properties +++ b/test-track/backend/src/main/resources/i18n/commons_en_US.properties @@ -14,6 +14,7 @@ invalid_parameter=Invalid parameter! name_already_exists=Name already exists resource_not_exist=The resource does not exist or has been deleted read_permission_file_fail=Failed to read permission file! +cannot_ignore_case=Please pay attention to letter case! #user related user_email_already_exists=User email already exists user_id_is_null=User ID cannot be null diff --git a/test-track/backend/src/main/resources/i18n/commons_zh_CN.properties b/test-track/backend/src/main/resources/i18n/commons_zh_CN.properties index 4356306fcb..75ecda01e7 100644 --- a/test-track/backend/src/main/resources/i18n/commons_zh_CN.properties +++ b/test-track/backend/src/main/resources/i18n/commons_zh_CN.properties @@ -12,6 +12,7 @@ invalid_parameter=非法的参数 name_already_exists=该名称已经存在 resource_not_exist=资源不存在或已删除 read_permission_file_fail=读取权限文件失败! +cannot_ignore_case=请注意大小写! #attachment upload test_case_attachment_upload_not_found=无法上传附件,未找到相关联用例: issues_attachment_upload_not_found=无法上传附件,未找到相关联缺陷: diff --git a/test-track/backend/src/main/resources/i18n/commons_zh_TW.properties b/test-track/backend/src/main/resources/i18n/commons_zh_TW.properties index e20bf50ed3..499ca39e5a 100644 --- a/test-track/backend/src/main/resources/i18n/commons_zh_TW.properties +++ b/test-track/backend/src/main/resources/i18n/commons_zh_TW.properties @@ -12,6 +12,7 @@ invalid_parameter=非法的參數 name_already_exists=該名稱已經存在 resource_not_exist=資源不存在或已刪除 read_permission_file_fail=讀取權限文件失敗! +cannot_ignore_case=請注意大小寫! #attachment upload test_case_attachment_upload_not_found=無法上傳附件,未找到相關用例: issues_attachment_upload_not_found=無法上傳附件,未找到相關缺陷: