From 5ce2489495e779b38cb3da8d9e2eb755258a1991 Mon Sep 17 00:00:00 2001 From: yanzili <978387851@qq.com> Date: Tue, 22 Jun 2021 14:10:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BD=E9=99=85=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/i18n/messages.properties | 6 +++ .../resources/i18n/messages_en_US.properties | 33 ++++++++++++++++ .../resources/i18n/messages_zh_CN.properties | 38 +++++++++++++++++++ 3 files changed, 77 insertions(+) create mode 100644 report-core/src/main/resources/i18n/messages.properties create mode 100644 report-core/src/main/resources/i18n/messages_en_US.properties create mode 100644 report-core/src/main/resources/i18n/messages_zh_CN.properties diff --git a/report-core/src/main/resources/i18n/messages.properties b/report-core/src/main/resources/i18n/messages.properties new file mode 100644 index 00000000..42266854 --- /dev/null +++ b/report-core/src/main/resources/i18n/messages.properties @@ -0,0 +1,6 @@ +500=\u7CFB\u7EDF\u5F02\u5E38 +200=\u64CD\u4F5C\u6210\u529F +2001=\u6587\u4EF6\u540D\u4E0D\u5141\u8BB8\u4E3A\u7A7A +2002=\u6587\u4EF6\u7C7B\u578B\u4E0D\u652F\u6301 +2003=\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25 +6001={0} diff --git a/report-core/src/main/resources/i18n/messages_en_US.properties b/report-core/src/main/resources/i18n/messages_en_US.properties new file mode 100644 index 00000000..35bad51b --- /dev/null +++ b/report-core/src/main/resources/i18n/messages_en_US.properties @@ -0,0 +1,33 @@ +500=Server error +200=success +1013=The code does not allow duplication +2001=File names are not allowed to be empty +2002=Unsupported suffix type +2003=File upload failed +2004=File does not exist + +3001=Template code does not allow duplication +3002=The receiver is not allowed to be empty +Insert.failure=Insert failure +Update.failure=Update failure\uFF0Ccheck version +Delete.failure=Delete failure +Dict.item.code.exist=Dict item code exist +Rule.execute.param.null=Rule execute param null +Rule.content.compile.error=Rule content compile error +Rule.content.execute.error=Rule content execute error +Rule.content.not.exist=Rule content not exist +Rule.code.exist=Rule code exist +Rule.fields.not.exist=Rule fields not exist +Rule.field.value.is.required=Rule field value is required +Rule.field.value.type.error=Rule field value type error +Rule.fields.check.error=Rule fields check error +Component.load.check.error={0} Component not load +4001=Data source connection failed +4002=Data source type is not currently supported +4003=execute sql error +4004=Incomplete parameter replacement values +4005=execute js error +4006=analysis data error +4007=The report code does not allow duplication +4008=The set code does not allow duplication +4009=The source code does not allow duplication diff --git a/report-core/src/main/resources/i18n/messages_zh_CN.properties b/report-core/src/main/resources/i18n/messages_zh_CN.properties new file mode 100644 index 00000000..2399eff3 --- /dev/null +++ b/report-core/src/main/resources/i18n/messages_zh_CN.properties @@ -0,0 +1,38 @@ +500=\u7CFB\u7EDF\u5F02\u5E38 +200=\u64CD\u4F5C\u6210\u529F +1013=\u7F16\u7801\u4E0D\u5141\u8BB8\u91CD\u590D +2001=\u6587\u4EF6\u540D\u4E0D\u5141\u8BB8\u4E3A\u7A7A +2002=\u6587\u4EF6\u7C7B\u578B\u4E0D\u652F\u6301 +2003=\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25 +2004=\u6587\u4EF6\u4E0D\u5B58\u5728 + +3001=\u6A21\u677F\u4EE3\u7801\u4E0D\u5141\u8BB8\u91CD\u590D +3002=\u63A5\u6536\u4EBA\u4E0D\u5141\u8BB8\u4E3A\u7A7A +Dict.item.code.exist=\u6570\u636E\u5B57\u5178\u9879\u503C\u5DF2\u5B58\u5728 +Insert.failure=\u63D2\u5165\u5931\u8D25 +Update.failure=\u66F4\u65B0\u5931\u8D25\uFF0C\u68C0\u67E5\u7248\u672C\u53F7\u662F\u5426\u4E00\u81F4 +Delete.failure=\u5220\u9664\u5931\u8D25 +Rule.execute.param.null=\u89C4\u5219\u6267\u884C\u53C2\u6570\u4E0D\u80FD\u4E3A\u7A7A +Rule.content.compile.error=\u89C4\u5219\u5185\u5BB9\u7F16\u8BD1\u5931\u8D25 +Rule.content.execute.error=\u89C4\u5219\u6267\u884C\u5931\u8D25 +Rule.code.exist=\u89C4\u5219\u7F16\u7801\u5DF2\u5B58\u5728 +Rule.content.not.exist=\u5BF9\u5E94\u89C4\u5219\u5185\u5BB9\u4E0D\u5B58\u5728 +Rule.fields.not.exist=\u5BF9\u5E94\u89C4\u5219\u5B57\u6BB5\u503C\u4E0D\u5B58\u5728 +Rule.field.value.is.required=\u89C4\u5219\u5B57\u6BB5\u5FC5\u586B +Rule.field.value.type.error=\u89C4\u5219\u5B57\u6BB5\u503C\u7C7B\u578B\u9519\u8BEF +Rule.fields.check.error=\u89C4\u5219\u53C2\u6570\u6821\u9A8C\u4E0D\u901A\u8FC7 +Component.load.check.error={0}\u7EC4\u4EF6\u672A\u52A0\u8F7D + +4001=\u6570\u636E\u6E90\u8FDE\u63A5\u5931\u8D25 +4002=\u6570\u636E\u6E90\u7C7B\u578B\u6682\u4E0D\u652F\u6301 +4003=\u6267\u884Csql\u5931\u8D25 +4004=\u53C2\u6570\u66FF\u6362\u503C\u4E0D\u5168 +4005=\u6267\u884Cjs\u5931\u8D25 +4006=\u89E3\u6790\u6570\u636E\u5931\u8D25 +4007=\u62A5\u8868\u7F16\u7801\u4E0D\u5141\u8BB8\u91CD\u590D +4008=\u6570\u636E\u96C6\u7F16\u7801\u4E0D\u5141\u8BB8\u91CD\u590D +4009=\u6570\u636E\u6E90\u7F16\u7801\u4E0D\u5141\u8BB8\u91CD\u590D +6001={0} + +7001=\u89E3\u6790\u5931\u8D25 +