Create zh-CN.js
This commit is contained in:
parent
c2326209c2
commit
c3c5f360fc
36
src/js/select2/i18n/zh-CN.js
vendored
Normal file
36
src/js/select2/i18n/zh-CN.js
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
define(function () {
|
||||
// Chinese (Simplified)
|
||||
return {
|
||||
errorLoading: function () {
|
||||
return '无法载入结果。';
|
||||
},
|
||||
inputTooLong: function (args) {
|
||||
var overChars = args.input.length - args.maximum;
|
||||
|
||||
var message = '请删除' + overChars + '个字符';
|
||||
|
||||
return message;
|
||||
},
|
||||
inputTooShort: function (args) {
|
||||
var remainingChars = args.minimum - args.input.length;
|
||||
|
||||
var message = '请再输入至少' + remainingChars + '个字符';
|
||||
|
||||
return message;
|
||||
},
|
||||
loadingMore: function () {
|
||||
return '载入更多结果…';
|
||||
},
|
||||
maximumSelected: function (args) {
|
||||
var message = '最多只能选择' + args.maximum + '个项目';
|
||||
|
||||
return message;
|
||||
},
|
||||
noResults: function () {
|
||||
return '未找到结果';
|
||||
},
|
||||
searching: function () {
|
||||
return '搜索中…';
|
||||
}
|
||||
};
|
||||
});
|
Loading…
Reference in New Issue
Block a user