Message说明

SoFast的Message支持国际化,可通过配置资源文件实现。 SoFast内置了大量通用message,业务开发可选择使用,也可自定义业务的独立Message。

Message定义规范

Level标识.业务类别标识.MessageId

通用Message可省略业务类别标识

如通用Message: 
Err.E001=Login Fail. 

业务Message:
Err.PL.EXT001=the certificate is bound.

SoFast内置了以下Message,可直接复制到资源文件中使用

##### 英文Message,可放入该文件messages.properties
Err.E001=Login Fail.
Err.E002=Not Allow Access.
Err.E003=Token Expired.
Err.E004=Login user name already exists, please re-enter.
Err.E005=Please select the user's organization.
Err.E006=User can only specify a single organization.
Err.E007=Please enter the correct parameters.
Err.E008=The original password is wrong.
Err.E009=Only the administrator can reset someone else\u2019s information.
Err.E010=Please enter correct verify code.
Err.E011=Verification code has expired.
Err.E012=Permission value already exists, please re-enter.
Err.E013=Role code already exists, please re-enter.
Err.E014=The account is not bound to a user.
Err.E015=Under the same organization, the organization name cannot be duplicate.
Err.E016=The subordinate organization already exists and cannot be deleted.
Err.E017=The user is bound and cannot be deleted.
Err.E018=Default data, cannot be modified.
Err.E019=Position code already exists, please re-enter.
Err.E020=The menu permission code already exists. Please re-enter it.
Err.E021=API permission code already exists. Please re-enter.
Err.E022=Data permission code already exists. Please re-enter.
Err.E023=The default organization has been bound and cannot be unbound.
Err.E024=Dictionary data has been bound. Dictionary type cannot be modified.
Err.E095=User is already logged in, repeated login is prohibited.
Err.E096=User is locked, login is prohibited.
Err.E097=Request method not supported.
Err.E098=IllegalArgumentException,please confirm request parameters.
Err.E099=An unknown error occurred in the system.
Err.E100=Duplicate primary key or unique index.
Err.E101=Data not exists or delete error.
Err.E102=System is busy, Please try later.


####### \u6587\u4EF6\u64CD\u4F5C\u63D0\u793A\u4FE1\u606F #######
Err.F001=The file name {0} is too long, please make sure the file name is less than {1}.
Err.F002=File format [{0}] is not supported, please upload the file format required by this system.
Err.F003=File download failed, please download again or contact the administrator.
Err.F004=The file you downloaded {0} does not exist.
Err.F005=File upload error.
Err.F006=The size of the uploaded file is too large.
### \u901A\u7528\u6210\u529F\u63D0\u793A\u4FE1\u606F ######
Msg.C001=Inserted successfully.
Msg.C002=Update successfully.
Msg.C003=Deleted successfully.
## 中文Message,可放入该文件:messages_zh_CN.properties

Err.E001=\u767B\u9646\u5931\u8D25,\u8BF7\u786E\u8BA4\u7528\u6237\u540D\u53E3\u4EE4.
Err.E002=\u8BBF\u95EE\u53D7\u9650,\u8BF7\u786E\u8BA4\u6743\u9650.
Err.E003=TOKEN\u975E\u6CD5\u6216\u5DF2\u8FC7\u671F.
Err.E004=\u767B\u5F55\u7528\u6237\u540D\u5DF2\u5B58\u5728\u8BF7\u91CD\u65B0\u8F93\u5165.
Err.E005=\u8BF7\u9009\u62E9\u7528\u6237\u6240\u5C5E\u7EC4\u7EC7.
Err.E006=\u7528\u6237\u53EA\u80FD\u6307\u5B9A\u5355\u4E00\u7EC4\u7EC7.
Err.E007=\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u53C2\u6570.
Err.E008=\u539F\u5BC6\u7801\u9519\u8BEF.
Err.E009=\u53EA\u6709\u7BA1\u7406\u5458\u80FD\u91CD\u7F6E\u4ED6\u4EBA\u4FE1\u606F.
Err.E010=\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u9A8C\u8BC1\u7801.
Err.E011=\u9A8C\u8BC1\u7801\u5DF2\u8FC7\u671F.
Err.E012=\u6743\u9650\u503C\u5DF2\u5B58\u5728\u8BF7\u91CD\u65B0\u8F93\u5165.
Err.E013=\u89D2\u8272\u7F16\u7801\u5DF2\u5B58\u5728\u8BF7\u91CD\u65B0\u8F93\u5165.
Err.E014=\u8BE5\u8D26\u6237\u672A\u7ED1\u5B9A.
Err.E015=\u540C\u4E00\u7EC4\u7EC7\u673A\u6784\u4E0B,\u673A\u6784\u540D\u79F0\u4E0D\u80FD\u91CD\u590D.
Err.E016=\u4E0B\u7EA7\u7EC4\u7EC7\u673A\u6784\u5DF2\u5B58\u5728,\u4E0D\u53EF\u5220\u9664.
Err.E017=\u5DF2\u7ED1\u5B9A\u7528\u6237,\u4E0D\u53EF\u5220\u9664.
Err.E018=\u9ED8\u8BA4\u6570\u636E,\u4E0D\u53EF\u4FEE\u6539.
Err.E019=\u804C\u4F4D\u7F16\u7801\u5DF2\u5B58\u5728\u8BF7\u91CD\u65B0\u8F93\u5165.
Err.E020=\u83DC\u5355\u6743\u9650\u7F16\u7801\u5DF2\u5B58\u5728\u8BF7\u91CD\u65B0\u8F93\u5165.
Err.E021=API\u6743\u9650\u7F16\u7801\u5DF2\u5B58\u5728\u8BF7\u91CD\u65B0\u8F93\u5165.
Err.E022=\u6570\u636E\u6743\u9650\u7F16\u7801\u5DF2\u5B58\u5728\u8BF7\u91CD\u65B0\u8F93\u5165.
Err.E023=\u5DF2\u7ED1\u5B9A\u9ED8\u8BA4\u7EC4\u7EC7,\u4E0D\u53EF\u89E3\u9664\u7ED1\u5B9A.
Err.E024=\u5DF2\u7ED1\u5B9A\u5B57\u5178\u6570\u636E,\u4E0D\u53EF\u4FEE\u6539\u5B57\u5178\u7C7B\u578B.
Err.E095=\u7528\u6237\u5DF2\u767B\u5F55,\u7981\u6B62\u91CD\u590D\u767B\u5F55.
Err.E096=\u7528\u6237\u5DF2\u9501\u5B9A,\u7981\u6B62\u767B\u5F55.
Err.E097=\u9519\u8BEF\u7684\u8BF7\u6C42\u65B9\u6CD5.
Err.E098=\u975E\u6CD5\u6570\u636E\u5F02\u5E38,\u8BF7\u786E\u8BA4\u8BF7\u6C42\u53C2\u6570\u662F\u5426\u6B63\u786E.
Err.E099=\u7CFB\u7EDF\u53D1\u751F\u672A\u77E5\u9519\u8BEF.
Err.E100=\u4E3B\u952E\u6216\u552F\u4E00\u7D22\u5F15\u91CD\u590D.
Err.E101=\u6570\u636E\u4E0D\u5B58\u5728\u6216\u5220\u9664\u5931\u8D25.
Err.E102=\u7CFB\u7EDF\u7E41\u5FD9\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5.

####### \u6587\u4EF6\u64CD\u4F5C\u63D0\u793A\u4FE1\u606F #######
Err.F001=\u6587\u4EF6\u540D{0}\u8FC7\u957F,\u8BF7\u786E\u4FDD\u6587\u4EF6\u540D\u5C0F\u4E8E{1}.
Err.F002=\u6587\u4EF6\u683C\u5F0F[{0}]\u4E0D\u652F\u6301,\u8BF7\u4E0A\u4F20\u672C\u7CFB\u7EDF\u8981\u6C42\u7684\u6587\u4EF6\u683C\u5F0F.
Err.F003=\u6587\u4EF6\u4E0B\u8F7D\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u4E0B\u8F7D\u6216\u8054\u7CFB\u7BA1\u7406\u5458.
Err.F004=\u60A8\u4E0B\u8F7D\u7684\u6587\u4EF6{0}\u4E0D\u5B58\u5728.
Err.F005=\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25.
Err.F006=\u4E0A\u4F20\u6587\u4EF6\u7684size\u8FC7\u5927,\u8BF7\u8C03\u6574\u6587\u4EF6\u5927\u5C0F\u540E\u91CD\u65B0\u4E0A\u4F20.
### \u901A\u7528\u6210\u529F\u63D0\u793A\u4FE1\u606F ######
Msg.C001=\u63D2\u5165\u6210\u529F.
Msg.C002=\u66F4\u65B0\u6210\u529F.
Msg.C003=\u5220\u9664\u6210\u529F.
Copyright © 2020. 恩梯梯数据(中国)信息技术有限公司. all right reserved,powered by Gitbook该文件修订时间: 2022-03-25 17:06:58

results matching ""

    No results matching ""