Skip to content

Commit d1e2a03

Browse files
authored
[app-builder] optimize duplicate app name error message (#580)
1 parent f695f24 commit d1e2a03

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

app-builder/plugins/aipp-plugin/src/main/resources/i18n/messages_en.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
90001011=Incorrect configuration. Check whether the workflow orchestration is correct. Error cause: {0}
1414
90001012=Duplicate property key are not allow.
1515
90001013=The application name cannot be empty.
16-
90001014=The application name already exists.
16+
90001014=The application name already exists. It may be used by you or another user. Please change the name and try again.
1717
90001015=The application instance log is empty.
1818
90001018=The application name cannot exceed 64 characters.
1919
90002000=Failed to upload the file.

app-builder/plugins/aipp-plugin/src/main/resources/i18n/messages_zh.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
90001011=配置有误,请查看工作流编排是否正确,错误原因:{0}
1414
90001012=存在相同的应用属性。
1515
90001013=应用名称不能为空。
16-
90001014=应用名称已存在。
16+
90001014=应用名称已存在,该名称可能已被您或其他用户使用,请更换名称后重试
1717
90001015=应用实例日志为空。
1818
90001018=应用名称长度超过最大值64。
1919
90002000=文件上传失败。

app-builder/services/aipp-service/src/main/java/modelengine/fit/jober/aipp/common/exception/AippErrCode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public enum AippErrCode implements ErrorCode, RetCode {
104104
/**
105105
* 名称已存在
106106
*/
107-
AIPP_NAME_IS_DUPLICATE(90001014, "应用名称已存在。"),
107+
AIPP_NAME_IS_DUPLICATE(90001014, "应用名称已存在,该名称可能已被您或其他用户使用,请更换名称后重试。"),
108108

109109
/**
110110
* 实例历史记录不存在

common/plugins/http-interceptor/src/main/resources/i18n/aipp_en.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
90001011=Incorrect configuration. Check whether the workflow orchestration is correct. Error cause: {0}
1414
90001012=Duplicate property key are not allow.
1515
90001013=The application name cannot be empty.
16-
90001014=The application name already exists.
16+
90001014=The application name already exists. It may be used by you or another user. Please change the name and try again.
1717
90001015=The application instance log is empty.
1818
90001018=The application name cannot exceed 64 characters.
1919
90002000=Failed to upload the file.

common/plugins/http-interceptor/src/main/resources/i18n/aipp_zh.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
90001011=配置有误,请查看工作流编排是否正确,错误原因:{0}
1414
90001012=存在相同的应用属性。
1515
90001013=应用名称不能为空。
16-
90001014=应用名称已存在。
16+
90001014=应用名称已存在,该名称可能已被您或其他用户使用,请更换名称后重试
1717
90001015=应用实例日志为空。
1818
90001018=应用名称长度超过最大值64。
1919
90002000=文件上传失败。

frontend/src/locale/en_US.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1621,7 +1621,7 @@
16211621
"90001011": "Configuration error, please check if the workflow orchestration is correct. Error reason: {error info}.",
16221622
"90001012": "Duplicate application property exists.",
16231623
"90001013": "Application name cannot be empty.",
1624-
"90001014": "Application name already exists.",
1624+
"90001014": "The application name already exists. It may be used by you or another user. Please change the name and try again.",
16251625
"90001015": "Application instance log is empty.",
16261626
"90002000": "File upload failed.",
16271627
"90002001": "File expired or corrupted.",

frontend/src/locale/zh_CN.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1621,7 +1621,7 @@
16211621
"90001011": "配置有误,请查看工作流编排是否正确,错误原因:{错误信息}。",
16221622
"90001012": "存在相同的应用属性。",
16231623
"90001013": "应用名称不能为空。",
1624-
"90001014": "应用名称已存在。",
1624+
"90001014": "应用名称已存在,该名称可能已被您或其他用户使用,请更换名称后重试",
16251625
"90001015": "应用实例日志为空。",
16261626
"90002000": "文件上传失败。",
16271627
"90002001": "文件过期或损坏。",

0 commit comments

Comments
 (0)