1
0
mirror of synced 2024-11-29 08:06:03 +03:00

Merge pull request #3042 from fantasticfears/patch-1

Create zh-CN.js
This commit is contained in:
Kevin Brown 2015-02-13 09:18:23 -05:00
commit 05f5a1b4b5

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 '搜索中…';
}
};
});