Subversion Repositories Integrator Subversion

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 espaco 1
/**
2
 * Select2 Traditional Chinese translation
3
 */
4
(function ($) {
5
    "use strict";
6
    $.fn.select2.locales['zh-TW'] = {
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
 
15
    $.extend($.fn.select2.defaults, $.fn.select2.locales['zh-TW']);
16
})(jQuery);