diff options
Diffstat (limited to 'apps/files_external/3rdparty/select2/select2_locale_zh-CN.js')
-rw-r--r-- | apps/files_external/3rdparty/select2/select2_locale_zh-CN.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/apps/files_external/3rdparty/select2/select2_locale_zh-CN.js b/apps/files_external/3rdparty/select2/select2_locale_zh-CN.js new file mode 100644 index 00000000000..6add3c52518 --- /dev/null +++ b/apps/files_external/3rdparty/select2/select2_locale_zh-CN.js @@ -0,0 +1,14 @@ +/** + * Select2 Chinese translation + */ +(function ($) { + "use strict"; + $.extend($.fn.select2.defaults, { + 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 + "项"; }, + formatLoadMore: function (pageNumber) { return "加载结果中…"; }, + formatSearching: function () { return "搜索中…"; } + }); +})(jQuery); |