plain-design 1.0.0-beta.61 → 1.0.0-beta.63

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plain-design",
3
- "version": "1.0.0-beta.61",
3
+ "version": "1.0.0-beta.63",
4
4
  "description": "",
5
5
  "main": "dist/plain-design.min.js",
6
6
  "module": "dist/plain-design.commonjs.min.js",
@@ -203,7 +203,7 @@ export const i18n = (() => {
203
203
  const val1 = lang1[key];
204
204
  const val2 = lang2[key];
205
205
  if (!!val1 && !!val2) {
206
- if (typeof lang1 === "object" && typeof lang2 === "object") {
206
+ if (typeof val1 === "object" && typeof val2 === "object") {
207
207
  result[key] = merge(val1, val2);
208
208
  } else {
209
209
  result[key] = val2;
@@ -53,6 +53,10 @@ export const EnUsLocale: tZhCnLocale = {
53
53
  lookUp: 'Look up',
54
54
  operation: 'Operation',
55
55
  noFilter: 'No filter',
56
+ back: 'Back',
57
+ error403: 'You do not have permission to access this page',
58
+ error404: 'The page does not exist or has expired',
59
+ error500: 'Page abnormality, please report the issue to the system administrator',
56
60
  validate: {
57
61
  require: ' Require',
58
62
  notMatchPattern: ' not match patter',
@@ -51,6 +51,10 @@ export const ZhCnLocale = {
51
51
  lookUp: '查看',
52
52
  operation: '操作',
53
53
  noFilter: '暂无筛选',
54
+ back: '返回',
55
+ error403: '您没有权限访问该页面',
56
+ error404: '页面不存在或者页面已经失效',
57
+ error500: '页面异常,请向系统管理员反馈问题',
54
58
  validate: {
55
59
  require: '必填',
56
60
  notMatchPattern: '不符合表达式',