Sha256: 86b8afaa82c0b8de71d37c2cfe3949a130055880c203c785022e32a6cb7f7aaa

Contents?: true

Size: 763 Bytes

Versions: 2

Compression:

Stored size: 763 Bytes

Contents

/**
 * Select2 Chinese translation
 */

(function ($) {
    "use strict";
    $.fn.select2.locales['zh-CN'] = {
        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 "搜索中…"; }
    };

    $.extend($.fn.select2.defaults, $.fn.select2.locales['zh-CN']);
})(jQuery);

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_billing_sisow-0.9.2 spec/dummy/public/assets/select2_locale_zh-CN-86b8afaa82c0b8de71d37c2cfe3949a130055880c203c785022e32a6cb7f7aaa.js
spree_billing_sisow-0.9.1 spec/dummy/public/assets/select2_locale_zh-CN-86b8afaa82c0b8de71d37c2cfe3949a130055880c203c785022e32a6cb7f7aaa.js