diff options
author | 6092002067 <wu.youbo@zte.com.cn> | 2017-03-24 15:06:16 +0800 |
---|---|---|
committer | 6092002067 <wu.youbo@zte.com.cn> | 2017-03-24 15:06:16 +0800 |
commit | c9b359eade64a52ce853b45d1ed8fa3fc368a976 (patch) | |
tree | b795fd5e6253145f9fae1e374517271d0b3d8fca /holmes-actions/src | |
parent | 68d0b52af532f4cde355b642593e76cf737aeb21 (diff) |
Add i18n for the sake of clarity
Issue-ID: HOLMES-52
Change-Id: I29e0d463b1a5e3c131bceff9fcb1167e813696b0
Signed-off-by: youbowu <wu.youbo@zte.com.cn>
Diffstat (limited to 'holmes-actions/src')
3 files changed, 3 insertions, 0 deletions
diff --git a/holmes-actions/src/main/java/org/openo/holmes/common/i18n/correlation-i18n-en-US.json b/holmes-actions/src/main/java/org/openo/holmes/common/i18n/correlation-i18n-en-US.json index 5e39cc0..f45b92b 100644 --- a/holmes-actions/src/main/java/org/openo/holmes/common/i18n/correlation-i18n-en-US.json +++ b/holmes-actions/src/main/java/org/openo/holmes/common/i18n/correlation-i18n-en-US.json @@ -16,6 +16,7 @@ "EXCEPTION_DB_RULE_GET_ERROR": "Error when get rule from database", "EXCEPTION_REQUEST_IS_EMPTY": "The request object is empty", "RULE_MANAGEMENT_CALL_DELETE_RULE_REST_FAILED": "Delete rules from engine call interface failure ", + "RULE_MANAGEMENT_DELETE_RULE_FAILED":"To delete rules from the engine failure", "RULE_MANAGEMENT_CALL_DEPLOY_RULE_REST_FAILED": "From the rules engine calls the deployment of interface failure", "RULE_MANAGEMENT_CALL_CHECK_RULE_REST_FAILED": "From the rules engine calls the check of interface failure", "RULE_MANAGEMENT_CREATE_QUERY_SQL_FAILED": "Create query exception", diff --git a/holmes-actions/src/main/java/org/openo/holmes/common/i18n/correlation-i18n-zh-CN.json b/holmes-actions/src/main/java/org/openo/holmes/common/i18n/correlation-i18n-zh-CN.json index 856e3a2..39b0e82 100644 --- a/holmes-actions/src/main/java/org/openo/holmes/common/i18n/correlation-i18n-zh-CN.json +++ b/holmes-actions/src/main/java/org/openo/holmes/common/i18n/correlation-i18n-zh-CN.json @@ -12,6 +12,7 @@ "DSA_REQUEST_EXECUTE_FAILED":"发送请求失败",
"DSA_HTTP_CLIENT_CLOSE_FAILED":"httpclient 关闭失败",
"RULE_MANAGEMENT_CALL_DELETE_RULE_REST_FAILED": "从引擎调用删除规则接口失败",
+ "RULE_MANAGEMENT_DELETE_RULE_FAILED":"从引擎中删除规则失败",
"RULE_MANAGEMENT_CALL_DEPLOY_RULE_REST_FAILED": "从引擎调用部署规则接口失败",
"RULE_MANAGEMENT_CALL_CHECK_RULE_REST_FAILED": "从引擎调用校验规则接口失败",
"RULE_MANAGEMENT_CREATE_QUERY_SQL_FAILED": "创建查询语句异常",
diff --git a/holmes-actions/src/main/java/org/openo/holmes/common/utils/I18nProxy.java b/holmes-actions/src/main/java/org/openo/holmes/common/utils/I18nProxy.java index f0a2bf4..6e9a844 100644 --- a/holmes-actions/src/main/java/org/openo/holmes/common/utils/I18nProxy.java +++ b/holmes-actions/src/main/java/org/openo/holmes/common/utils/I18nProxy.java @@ -43,6 +43,7 @@ public class I18nProxy { /*-----------------------Rule Management------------------------------- */
public static final String RULE_MANAGEMENT_CALL_DELETE_RULE_REST_FAILED = "RULE_MANAGEMENT_CALL_DELETE_RULE_REST_FAILED";
+ public static final String RULE_MANAGEMENT_DELETE_RULE_FAILED = "RULE_MANAGEMENT_DELETE_RULE_FAILED";
public static final String RULE_MANAGEMENT_CALL_DEPLOY_RULE_REST_FAILED = "RULE_MANAGEMENT_CALL_DEPLOY_RULE_REST_FAILED";
public static final String RULE_MANAGEMENT_CALL_CHECK_RULE_REST_FAILED = "RULE_MANAGEMENT_CALL_CHECK_RULE_REST_FAILED";
public static final String RULE_MANAGEMENT_CREATE_QUERY_SQL_FAILED = "RULE_MANAGEMENT_CREATE_QUERY_SQL_FAILED";
|