2013-03-03 21:46:06 +04:00
|
|
|
/**
|
|
|
|
* Select2 Chinese translation
|
|
|
|
*/
|
|
|
|
(function ($) {
|
|
|
|
"use strict";
|
2014-04-15 11:20:22 +04:00
|
|
|
$.fn.select2.locales['zh-CN'] = {
|
2013-03-03 21:46:06 +04:00
|
|
|
formatNoMatches: function () { return "没有找到匹配项"; },
|
|
|
|
formatInputTooShort: function (input, min) { var n = min - input.length; return "请再输入" + n + "个字符";},
|
|
|
|
formatInputTooLong: function (input, max) { var n = input.length - max; return "请删掉" + n + "个字符";},
|
|
|
|
formatSelectionTooBig: function (limit) { return "你只能选择最多" + limit + "项"; },
|
2014-01-08 13:35:47 +04:00
|
|
|
formatLoadMore: function (pageNumber) { return "加载结果中…"; },
|
|
|
|
formatSearching: function () { return "搜索中…"; }
|
2013-03-03 21:46:06 +04:00
|
|
|
});
|
|
|
|
})(jQuery);
|