mirror of https://gitee.com/y_project/RuoYi.git
汉化select2插件
parent
46b08d9474
commit
660fc42750
|
@ -4590,12 +4590,12 @@ S2.define('select2/i18n/en',[],function () {
|
|||
// English
|
||||
return {
|
||||
errorLoading: function () {
|
||||
return 'The results could not be loaded.';
|
||||
return '无法载入结果';
|
||||
},
|
||||
inputTooLong: function (args) {
|
||||
var overChars = args.input.length - args.maximum;
|
||||
|
||||
var message = 'Please delete ' + overChars + ' character';
|
||||
var message = '请删除' + overChars + '个字符';
|
||||
|
||||
if (overChars != 1) {
|
||||
message += 's';
|
||||
|
@ -4606,15 +4606,15 @@ S2.define('select2/i18n/en',[],function () {
|
|||
inputTooShort: function (args) {
|
||||
var remainingChars = args.minimum - args.input.length;
|
||||
|
||||
var message = 'Please enter ' + remainingChars + ' or more characters';
|
||||
var message = '请再输入至少' + remainingChars + '个字符';
|
||||
|
||||
return message;
|
||||
},
|
||||
loadingMore: function () {
|
||||
return 'Loading more results…';
|
||||
return '载入更多结果…';
|
||||
},
|
||||
maximumSelected: function (args) {
|
||||
var message = 'You can only select ' + args.maximum + ' item';
|
||||
var message = '最多只能选择' + args.maximum + '个项目';
|
||||
|
||||
if (args.maximum != 1) {
|
||||
message += 's';
|
||||
|
@ -4623,13 +4623,13 @@ S2.define('select2/i18n/en',[],function () {
|
|||
return message;
|
||||
},
|
||||
noResults: function () {
|
||||
return 'No results found';
|
||||
return '未找到结果';
|
||||
},
|
||||
searching: function () {
|
||||
return 'Searching…';
|
||||
return '搜索中…';
|
||||
},
|
||||
removeAllItems: function () {
|
||||
return 'Remove all items';
|
||||
return '删除所有项目';
|
||||
}
|
||||
};
|
||||
});
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue