Sha256: de8f4a835f2ecda9ecd4849e110c1b2abad080da0fc31290d4a6aa9572c8a6ca

Contents?: true

Size: 762 Bytes

Versions: 270

Compression:

Stored size: 762 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

270 entries across 270 versions & 7 rubygems

Version Path
alchemy_i18n-4.3.1 vendor/locales/select2_locale_zh-CN.js
solidus_backend-4.5.1 vendor/assets/javascripts/solidus_admin/select2_locales/select2_locale_zh-CN.js
solidus_backend-4.5.0 vendor/assets/javascripts/solidus_admin/select2_locales/select2_locale_zh-CN.js
solidus_backend-4.3.6 vendor/assets/javascripts/solidus_admin/select2_locales/select2_locale_zh-CN.js
solidus_backend-4.2.5 vendor/assets/javascripts/solidus_admin/select2_locales/select2_locale_zh-CN.js
solidus_backend-4.1.6 vendor/assets/javascripts/solidus_admin/select2_locales/select2_locale_zh-CN.js
alchemy_i18n-4.3.0 vendor/locales/select2_locale_zh-CN.js
solidus_backend-4.4.2 vendor/assets/javascripts/solidus_admin/select2_locales/select2_locale_zh-CN.js
solidus_backend-4.4.1 vendor/assets/javascripts/solidus_admin/select2_locales/select2_locale_zh-CN.js
solidus_backend-4.4.0 vendor/assets/javascripts/solidus_admin/select2_locales/select2_locale_zh-CN.js
alchemy_i18n-4.2.2 vendor/assets/javascripts/select2_locale_zh-CN.js
alchemy_i18n-4.2.1 vendor/assets/javascripts/select2_locale_zh-CN.js
alchemy_i18n-4.2.0 vendor/assets/javascripts/select2_locale_zh-CN.js
solidus_backend-4.3.4 vendor/assets/javascripts/solidus_admin/select2_locales/select2_locale_zh-CN.js
solidus_backend-4.2.4 vendor/assets/javascripts/solidus_admin/select2_locales/select2_locale_zh-CN.js
solidus_backend-4.1.5 vendor/assets/javascripts/solidus_admin/select2_locales/select2_locale_zh-CN.js
solidus_backend-4.3.3 vendor/assets/javascripts/solidus_admin/select2_locales/select2_locale_zh-CN.js
alchemy_i18n-4.1.3 vendor/assets/javascripts/select2_locale_zh-CN.js
solidus_backend-4.3.2 vendor/assets/javascripts/solidus_admin/select2_locales/select2_locale_zh-CN.js
alchemy_i18n-4.1.2 vendor/assets/javascripts/select2_locale_zh-CN.js