Browse Source

国际化

es6
imp 6 years ago
parent
commit
2daf93274b
  1. 21
      dist/bundle.ie.js
  2. 6
      dist/bundle.ie.min.js
  3. 21
      dist/bundle.js
  4. 6
      dist/bundle.min.js
  5. 21
      dist/core.js
  6. 21
      dist/fineui.ie.js
  7. 6
      dist/fineui.ie.min.js
  8. 21
      dist/fineui.js
  9. 6
      dist/fineui.min.js
  10. 21
      dist/fineui_without_jquery_polyfill.js
  11. 21
      dist/utils.js
  12. 6
      dist/utils.min.js
  13. 21
      src/core/base.js

21
dist/bundle.ie.js vendored

@ -10154,17 +10154,22 @@ if (!_global.BI) {
if (!localeText) {
localeText = key;
}
var len = arguments.length;
if (len > 1) {
for (var i = 1; i < len; i++) {
var key = "{R" + i + "}";
localeText = BI.replaceAll(localeText, key, arguments[i] + "");
if (i === 1) {
localeText = BI.replaceAll(localeText, "\\{\\s*\\}", arguments[i] + "");
if (_.indexOf(localeText, "{R") >= 0) {
var len = arguments.length;
if (len > 1) {
for (var i = 1; i < len; i++) {
var key = "{R" + i + "}";
localeText = BI.replaceAll(localeText, key, arguments[i] + "");
}
}
return localeText;
} else {
var args = Array.prototype.slice.call(arguments);
var count = 1;
return BI.replaceAll(localeText, "\\{\\s*\\}", function () {
return args[count++] + "";
});
}
return localeText;
},
assert: function (v, is) {

6
dist/bundle.ie.min.js vendored

File diff suppressed because one or more lines are too long

21
dist/bundle.js vendored

@ -10154,17 +10154,22 @@ if (!_global.BI) {
if (!localeText) {
localeText = key;
}
var len = arguments.length;
if (len > 1) {
for (var i = 1; i < len; i++) {
var key = "{R" + i + "}";
localeText = BI.replaceAll(localeText, key, arguments[i] + "");
if (i === 1) {
localeText = BI.replaceAll(localeText, "\\{\\s*\\}", arguments[i] + "");
if (_.indexOf(localeText, "{R") >= 0) {
var len = arguments.length;
if (len > 1) {
for (var i = 1; i < len; i++) {
var key = "{R" + i + "}";
localeText = BI.replaceAll(localeText, key, arguments[i] + "");
}
}
return localeText;
} else {
var args = Array.prototype.slice.call(arguments);
var count = 1;
return BI.replaceAll(localeText, "\\{\\s*\\}", function () {
return args[count++] + "";
});
}
return localeText;
},
assert: function (v, is) {

6
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

21
dist/core.js vendored

@ -10154,17 +10154,22 @@ if (!_global.BI) {
if (!localeText) {
localeText = key;
}
var len = arguments.length;
if (len > 1) {
for (var i = 1; i < len; i++) {
var key = "{R" + i + "}";
localeText = BI.replaceAll(localeText, key, arguments[i] + "");
if (i === 1) {
localeText = BI.replaceAll(localeText, "\\{\\s*\\}", arguments[i] + "");
if (_.indexOf(localeText, "{R") >= 0) {
var len = arguments.length;
if (len > 1) {
for (var i = 1; i < len; i++) {
var key = "{R" + i + "}";
localeText = BI.replaceAll(localeText, key, arguments[i] + "");
}
}
return localeText;
} else {
var args = Array.prototype.slice.call(arguments);
var count = 1;
return BI.replaceAll(localeText, "\\{\\s*\\}", function () {
return args[count++] + "";
});
}
return localeText;
},
assert: function (v, is) {

21
dist/fineui.ie.js vendored

@ -10396,17 +10396,22 @@ if (!_global.BI) {
if (!localeText) {
localeText = key;
}
var len = arguments.length;
if (len > 1) {
for (var i = 1; i < len; i++) {
var key = "{R" + i + "}";
localeText = BI.replaceAll(localeText, key, arguments[i] + "");
if (i === 1) {
localeText = BI.replaceAll(localeText, "\\{\\s*\\}", arguments[i] + "");
if (_.indexOf(localeText, "{R") >= 0) {
var len = arguments.length;
if (len > 1) {
for (var i = 1; i < len; i++) {
var key = "{R" + i + "}";
localeText = BI.replaceAll(localeText, key, arguments[i] + "");
}
}
return localeText;
} else {
var args = Array.prototype.slice.call(arguments);
var count = 1;
return BI.replaceAll(localeText, "\\{\\s*\\}", function () {
return args[count++] + "";
});
}
return localeText;
},
assert: function (v, is) {

6
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

21
dist/fineui.js vendored

@ -10396,17 +10396,22 @@ if (!_global.BI) {
if (!localeText) {
localeText = key;
}
var len = arguments.length;
if (len > 1) {
for (var i = 1; i < len; i++) {
var key = "{R" + i + "}";
localeText = BI.replaceAll(localeText, key, arguments[i] + "");
if (i === 1) {
localeText = BI.replaceAll(localeText, "\\{\\s*\\}", arguments[i] + "");
if (_.indexOf(localeText, "{R") >= 0) {
var len = arguments.length;
if (len > 1) {
for (var i = 1; i < len; i++) {
var key = "{R" + i + "}";
localeText = BI.replaceAll(localeText, key, arguments[i] + "");
}
}
return localeText;
} else {
var args = Array.prototype.slice.call(arguments);
var count = 1;
return BI.replaceAll(localeText, "\\{\\s*\\}", function () {
return args[count++] + "";
});
}
return localeText;
},
assert: function (v, is) {

6
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

21
dist/fineui_without_jquery_polyfill.js vendored

@ -10154,17 +10154,22 @@ if (!_global.BI) {
if (!localeText) {
localeText = key;
}
var len = arguments.length;
if (len > 1) {
for (var i = 1; i < len; i++) {
var key = "{R" + i + "}";
localeText = BI.replaceAll(localeText, key, arguments[i] + "");
if (i === 1) {
localeText = BI.replaceAll(localeText, "\\{\\s*\\}", arguments[i] + "");
if (_.indexOf(localeText, "{R") >= 0) {
var len = arguments.length;
if (len > 1) {
for (var i = 1; i < len; i++) {
var key = "{R" + i + "}";
localeText = BI.replaceAll(localeText, key, arguments[i] + "");
}
}
return localeText;
} else {
var args = Array.prototype.slice.call(arguments);
var count = 1;
return BI.replaceAll(localeText, "\\{\\s*\\}", function () {
return args[count++] + "";
});
}
return localeText;
},
assert: function (v, is) {

21
dist/utils.js vendored

@ -10916,17 +10916,22 @@ if (!_global.BI) {
if (!localeText) {
localeText = key;
}
var len = arguments.length;
if (len > 1) {
for (var i = 1; i < len; i++) {
var key = "{R" + i + "}";
localeText = BI.replaceAll(localeText, key, arguments[i] + "");
if (i === 1) {
localeText = BI.replaceAll(localeText, "\\{\\s*\\}", arguments[i] + "");
if (_.indexOf(localeText, "{R") >= 0) {
var len = arguments.length;
if (len > 1) {
for (var i = 1; i < len; i++) {
var key = "{R" + i + "}";
localeText = BI.replaceAll(localeText, key, arguments[i] + "");
}
}
return localeText;
} else {
var args = Array.prototype.slice.call(arguments);
var count = 1;
return BI.replaceAll(localeText, "\\{\\s*\\}", function () {
return args[count++] + "";
});
}
return localeText;
},
assert: function (v, is) {

6
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

21
src/core/base.js

@ -43,17 +43,22 @@ if (!_global.BI) {
if (!localeText) {
localeText = key;
}
var len = arguments.length;
if (len > 1) {
for (var i = 1; i < len; i++) {
var key = "{R" + i + "}";
localeText = BI.replaceAll(localeText, key, arguments[i] + "");
if (i === 1) {
localeText = BI.replaceAll(localeText, "\\{\\s*\\}", arguments[i] + "");
if (_.indexOf(localeText, "{R") >= 0) {
var len = arguments.length;
if (len > 1) {
for (var i = 1; i < len; i++) {
var key = "{R" + i + "}";
localeText = BI.replaceAll(localeText, key, arguments[i] + "");
}
}
return localeText;
} else {
var args = Array.prototype.slice.call(arguments);
var count = 1;
return BI.replaceAll(localeText, "\\{\\s*\\}", function () {
return args[count++] + "";
});
}
return localeText;
},
assert: function (v, is) {

Loading…
Cancel
Save