From 4b6c33420c08bb89ede78cba920c55272e7459cc Mon Sep 17 00:00:00 2001 From: zhouyanbing Date: Wed, 16 Jun 2021 16:22:14 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E7=94=A8=E6=88=B7=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E5=A2=9E=E5=8A=A0=E9=94=99=E8=AF=AF=E7=A0=81?= =?UTF-8?q?=E8=B5=84=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 需求链接:https://gitee.com/OSDT/dashboard?issue_id=I3OYBM --- .../i18n/en_US/usermgmt/errorCode.properties | 18 ++++++++++++++++++ .../i18n/zh_CN/usermgmt/errorCode.properties | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 src/main/resources/i18n/en_US/usermgmt/errorCode.properties create mode 100644 src/main/resources/i18n/zh_CN/usermgmt/errorCode.properties diff --git a/src/main/resources/i18n/en_US/usermgmt/errorCode.properties b/src/main/resources/i18n/en_US/usermgmt/errorCode.properties new file mode 100644 index 0000000..bdc018f --- /dev/null +++ b/src/main/resources/i18n/en_US/usermgmt/errorCode.properties @@ -0,0 +1,18 @@ +70000=No login user. +70001=No permission. +70002=Illegal parameter. +70003=Database Exception. +70004=User not exist. +70005=mobile phone not exist. +70006=email address not exist. +70007=Username has existed. +70008=Telephone has existed. +70009=MailAddress has existed. +70010=password incorrect. +70011=verification code incorrect or expired. +70012=sms server connect failed. +70013=send verification code by sms failed. +70014=send verification code by mail failed. +70015=User register failed. +70016=Modify password failed. +79999=Unkown Error. diff --git a/src/main/resources/i18n/zh_CN/usermgmt/errorCode.properties b/src/main/resources/i18n/zh_CN/usermgmt/errorCode.properties new file mode 100644 index 0000000..82d7869 --- /dev/null +++ b/src/main/resources/i18n/zh_CN/usermgmt/errorCode.properties @@ -0,0 +1,18 @@ +70000=\u8930\u64b3\u58a0\u5a0c\u2103\u6e41\u9427\u8bf2\u7d8d\u9428\u52ed\u6564\u93b4\u67ab\ufffd\ufffd +70001=\u5a0c\u2103\u6e41\u93c9\u51ae\u6aba\u7481\u5757\u68f6\u9286\ufffd +70002=\u95c8\u70b4\u7876\u9428\u52ee\ue1ec\u59f9\u509a\u5f2c\u93c1\u822c\ufffd\ufffd +70003=\u93c1\u7248\u5d41\u6434\u64b3\u7d13\u752f\u641e\ufffd\ufffd +70004=\u9422\u3126\u57db\u6d93\u5d85\u74e8\u9366\u3123\ufffd\ufffd +70005=\u9422\u4f43\u763d\u9359\u98ce\u721c\u6d93\u5d85\u74e8\u9366\u3123\ufffd\ufffd +70006=\u95ad\ue1be\ue188\u9366\u677f\u6f43\u6d93\u5d85\u74e8\u9366\u3123\ufffd\ufffd +70007=\u9422\u3126\u57db\u935a\u5d85\u51e1\u701b\u6a3a\u6e6a\u9286\ufffd +70008=\u9422\u4f43\u763d\u9359\u98ce\u721c\u5bb8\u63d2\u74e8\u9366\u3123\ufffd\ufffd +70009=\u95ad\ue1be\ue188\u9366\u677f\u6f43\u5bb8\u63d2\u74e8\u9366\u3123\ufffd\ufffd +70010=\u7035\u55d9\u721c\u95bf\u6b12\ue1e4\u9286\ufffd +70011=\u6960\u5c83\u7609\u942e\u4f80\u654a\u7487\ue21b\u57a8\u6fb6\u8fa8\u6665\u9286\ufffd +70012=SMS\u93c8\u5d85\u59df\u9363\u3128\u7e5b\u93ba\u30e5\u3051\u7490\u30e3\ufffd\ufffd +70013=\u942d\ue15d\u4fca\u6960\u5c83\u7609\u942e\u4f78\u5f42\u95ab\u4f78\u3051\u7490\u30e3\ufffd\ufffd +70014=\u95ad\ue1bb\u6b22\u6960\u5c83\u7609\u942e\u4f78\u5f42\u95ab\u4f78\u3051\u7490\u30e3\ufffd\ufffd +70015=\u9422\u3126\u57db\u5a09\u3125\u553d\u6fb6\u8fab\u89e6\u9286\ufffd +70016=\u6dc7\ue1bd\u657c\u7035\u55d9\u721c\u6fb6\u8fab\u89e6\u9286\ufffd +79999=\u93c8\ue046\u7161\u95bf\u6b12\ue1e4\u9286\ufffd -- Gitee From 16b533a8e591f574d9c2ef17332d0cd7dc4c06f9 Mon Sep 17 00:00:00 2001 From: zhouyanbing Date: Wed, 16 Jun 2021 17:32:02 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E7=94=A8=E6=88=B7=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E8=A1=A5=E5=85=85=E9=94=99=E8=AF=AF=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 需求链接:https://gitee.com/OSDT/dashboard?issue_id=I3OYBM --- src/main/resources/i18n/en_US/usermgmt/errorCode.properties | 1 + src/main/resources/i18n/zh_CN/usermgmt/errorCode.properties | 1 + 2 files changed, 2 insertions(+) diff --git a/src/main/resources/i18n/en_US/usermgmt/errorCode.properties b/src/main/resources/i18n/en_US/usermgmt/errorCode.properties index bdc018f..0cf90d3 100644 --- a/src/main/resources/i18n/en_US/usermgmt/errorCode.properties +++ b/src/main/resources/i18n/en_US/usermgmt/errorCode.properties @@ -15,4 +15,5 @@ 70014=send verification code by mail failed. 70015=User register failed. 70016=Modify password failed. +70017=Login failed. 79999=Unkown Error. diff --git a/src/main/resources/i18n/zh_CN/usermgmt/errorCode.properties b/src/main/resources/i18n/zh_CN/usermgmt/errorCode.properties index 82d7869..6b6ff8b 100644 --- a/src/main/resources/i18n/zh_CN/usermgmt/errorCode.properties +++ b/src/main/resources/i18n/zh_CN/usermgmt/errorCode.properties @@ -15,4 +15,5 @@ 70014=\u95ad\ue1bb\u6b22\u6960\u5c83\u7609\u942e\u4f78\u5f42\u95ab\u4f78\u3051\u7490\u30e3\ufffd\ufffd 70015=\u9422\u3126\u57db\u5a09\u3125\u553d\u6fb6\u8fab\u89e6\u9286\ufffd 70016=\u6dc7\ue1bd\u657c\u7035\u55d9\u721c\u6fb6\u8fab\u89e6\u9286\ufffd +70017=\u9427\u8bf2\u7d8d\u6fb6\u8fab\u89e6\u9286\ufffd 79999=\u93c8\ue046\u7161\u95bf\u6b12\ue1e4\u9286\ufffd -- Gitee From 05145692939daa3037b71b30939ccabd756f7b14 Mon Sep 17 00:00:00 2001 From: zhouyanbing Date: Thu, 17 Jun 2021 15:25:24 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E8=B0=83=E6=95=B4=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E7=A0=81=E6=8F=8F=E8=BF=B0=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../i18n/en_US/usermgmt/errorCode.properties | 22 +++++++++---------- .../i18n/zh_CN/usermgmt/errorCode.properties | 12 +++++----- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/main/resources/i18n/en_US/usermgmt/errorCode.properties b/src/main/resources/i18n/en_US/usermgmt/errorCode.properties index 0cf90d3..edf5ec7 100644 --- a/src/main/resources/i18n/en_US/usermgmt/errorCode.properties +++ b/src/main/resources/i18n/en_US/usermgmt/errorCode.properties @@ -2,17 +2,17 @@ 70001=No permission. 70002=Illegal parameter. 70003=Database Exception. -70004=User not exist. -70005=mobile phone not exist. -70006=email address not exist. -70007=Username has existed. -70008=Telephone has existed. -70009=MailAddress has existed. -70010=password incorrect. -70011=verification code incorrect or expired. -70012=sms server connect failed. -70013=send verification code by sms failed. -70014=send verification code by mail failed. +70004=The user does not exist. +70005=The mobile phone does not exist. +70006=The email address does not exist. +70007=The user name has been registered. +70008=The mobile phone number has been registered. +70009=The email address has been registered. +70010=The password is incorrect. +70011=The verification code is wrong or expired. +70012=Sms server connect failed. +70013=Send verification code by sms failed. +70014=Send verification code by mail failed. 70015=User register failed. 70016=Modify password failed. 70017=Login failed. diff --git a/src/main/resources/i18n/zh_CN/usermgmt/errorCode.properties b/src/main/resources/i18n/zh_CN/usermgmt/errorCode.properties index 6b6ff8b..7a22efc 100644 --- a/src/main/resources/i18n/zh_CN/usermgmt/errorCode.properties +++ b/src/main/resources/i18n/zh_CN/usermgmt/errorCode.properties @@ -1,15 +1,15 @@ 70000=\u8930\u64b3\u58a0\u5a0c\u2103\u6e41\u9427\u8bf2\u7d8d\u9428\u52ed\u6564\u93b4\u67ab\ufffd\ufffd -70001=\u5a0c\u2103\u6e41\u93c9\u51ae\u6aba\u7481\u5757\u68f6\u9286\ufffd +70001=\u5a0c\u2103\u6e41\u7481\u5757\u68f6\u93c9\u51ae\u6aba\u9286\ufffd 70002=\u95c8\u70b4\u7876\u9428\u52ee\ue1ec\u59f9\u509a\u5f2c\u93c1\u822c\ufffd\ufffd 70003=\u93c1\u7248\u5d41\u6434\u64b3\u7d13\u752f\u641e\ufffd\ufffd 70004=\u9422\u3126\u57db\u6d93\u5d85\u74e8\u9366\u3123\ufffd\ufffd -70005=\u9422\u4f43\u763d\u9359\u98ce\u721c\u6d93\u5d85\u74e8\u9366\u3123\ufffd\ufffd +70005=\u93b5\u5b2b\u6e80\u9359\u98ce\u721c\u6d93\u5d85\u74e8\u9366\u3123\ufffd\ufffd 70006=\u95ad\ue1be\ue188\u9366\u677f\u6f43\u6d93\u5d85\u74e8\u9366\u3123\ufffd\ufffd -70007=\u9422\u3126\u57db\u935a\u5d85\u51e1\u701b\u6a3a\u6e6a\u9286\ufffd -70008=\u9422\u4f43\u763d\u9359\u98ce\u721c\u5bb8\u63d2\u74e8\u9366\u3123\ufffd\ufffd -70009=\u95ad\ue1be\ue188\u9366\u677f\u6f43\u5bb8\u63d2\u74e8\u9366\u3123\ufffd\ufffd +70007=\u9422\u3126\u57db\u935a\u5d85\u51e1\u7f01\u5fda\ue766\u5a09\u3125\u553d\u9286\ufffd +70008=\u93b5\u5b2b\u6e80\u9359\u98ce\u721c\u5bb8\u832c\u7ca1\u741a\ue0a3\u655e\u9350\u5c7b\ufffd\ufffd +70009=\u95ad\ue1be\ue188\u9366\u677f\u6f43\u5bb8\u832c\u7ca1\u741a\ue0a3\u655e\u9350\u5c7b\ufffd\ufffd 70010=\u7035\u55d9\u721c\u95bf\u6b12\ue1e4\u9286\ufffd -70011=\u6960\u5c83\u7609\u942e\u4f80\u654a\u7487\ue21b\u57a8\u6fb6\u8fa8\u6665\u9286\ufffd +70011=\u6960\u5c83\u7609\u942e\u4f80\u654a\u7487\ue21b\u57a8\u5bb8\u63d2\u3051\u93c1\u581b\ufffd\ufffd 70012=SMS\u93c8\u5d85\u59df\u9363\u3128\u7e5b\u93ba\u30e5\u3051\u7490\u30e3\ufffd\ufffd 70013=\u942d\ue15d\u4fca\u6960\u5c83\u7609\u942e\u4f78\u5f42\u95ab\u4f78\u3051\u7490\u30e3\ufffd\ufffd 70014=\u95ad\ue1bb\u6b22\u6960\u5c83\u7609\u942e\u4f78\u5f42\u95ab\u4f78\u3051\u7490\u30e3\ufffd\ufffd -- Gitee