Skip to content

Commit 093f92c

Browse files
committed
Merge pull request select2#1214 from leesei/master
Added Traditional Chinese translation
2 parents 4f8e89c + b1a1a1c commit 093f92c

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

select2_locale_zh-TW.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/**
2+
* Select2 Traditional Chinese translation
3+
*/
4+
(function ($) {
5+
"use strict";
6+
$.extend($.fn.select2.defaults, {
7+
formatNoMatches: function () { return "沒有找到匹配項"; },
8+
formatInputTooShort: function (input, min) { var n = min - input.length; return "請再輸入" + n + "個字符";},
9+
formatInputTooLong: function (input, max) { var n = input.length - max; return "請刪掉" + n + "個字符";},
10+
formatSelectionTooBig: function (limit) { return "你只能選擇最多" + limit + "項"; },
11+
formatLoadMore: function (pageNumber) { return "加載結果中..."; },
12+
formatSearching: function () { return "搜尋中..."; }
13+
});
14+
})(jQuery);

0 commit comments

Comments
 (0)