1
0
mirror of synced 2024-11-22 21:16:10 +03:00

Create zh-CN.js

This commit is contained in:
Erick Guan 2015-02-13 19:56:40 +08:00
parent c2326209c2
commit c3c5f360fc

36
src/js/select2/i18n/zh-CN.js vendored Normal file
View 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 '搜索中…';
}
};
});