diff --git a/select2_locale_ar.js b/select2_locale_ar.js index 119f89b1..2d32c879 100644 --- a/select2_locale_ar.js +++ b/select2_locale_ar.js @@ -13,8 +13,7 @@ formatSelectionTooBig: function (limit) { if (n == 1){ return "يمكنك أن تختار إختيار واحد فقط"; } return n == 2 ? "يمكنك أن تختار إختيارين فقط" : "يمكنك أن تختار " + n + " إختيارات فقط"; }, formatLoadMore: function (pageNumber) { return "تحميل المزيد من النتائج…"; }, formatSearching: function () { return "البحث…"; } - } + }; $.extend($.fn.select2.defaults, $.fn.select2.locales['ar']); - ); })(jQuery); diff --git a/select2_locale_bg.js b/select2_locale_bg.js index e309aec6..bc069f65 100644 --- a/select2_locale_bg.js +++ b/select2_locale_bg.js @@ -14,8 +14,7 @@ formatSelectionTooBig: function (limit) { return "Можете да направите до " + limit + (limit > 1 ? " избора" : " избор"); }, formatLoadMore: function (pageNumber) { return "Зареждат се още…"; }, formatSearching: function () { return "Търсене…"; } - } + }; $.extend($.fn.select2.defaults, $.fn.select2.locales['bg']); - ); })(jQuery); diff --git a/select2_locale_ca.js b/select2_locale_ca.js index a6c3a377..b847207c 100644 --- a/select2_locale_ca.js +++ b/select2_locale_ca.js @@ -13,8 +13,7 @@ formatSelectionTooBig: function (limit) { return "Només podeu seleccionar " + limit + " element" + (limit == 1 ? "" : "s"); }, formatLoadMore: function (pageNumber) { return "S'estan carregant més resultats…"; }, formatSearching: function () { return "S'està cercant…"; } - } + }; $.extend($.fn.select2.defaults, $.fn.select2.locales['ca']); - ); })(jQuery); diff --git a/select2_locale_cs.js b/select2_locale_cs.js index 5fe984f9..ef121856 100644 --- a/select2_locale_cs.js +++ b/select2_locale_cs.js @@ -45,8 +45,7 @@ }, formatLoadMore: function (pageNumber) { return "Načítají se další výsledky…"; }, formatSearching: function () { return "Vyhledávání…"; } - } + }; $.extend($.fn.select2.defaults, $.fn.select2.locales['cs']); - ); })(jQuery); diff --git a/select2_locale_da.js b/select2_locale_da.js index df95bd32..0ffe57f2 100644 --- a/select2_locale_da.js +++ b/select2_locale_da.js @@ -13,8 +13,7 @@ formatSelectionTooBig: function (limit) { return "Du kan kun vælge " + limit + " emne" + (limit === 1 ? "" : "r"); }, formatLoadMore: function (pageNumber) { return "Indlæser flere resultater…"; }, formatSearching: function () { return "Søger…"; } - } + }; $.extend($.fn.select2.defaults, $.fn.select2.locales['fi']); - ); })(jQuery); diff --git a/select2_locale_de.js b/select2_locale_de.js index 67fa42bd..472eb650 100644 --- a/select2_locale_de.js +++ b/select2_locale_de.js @@ -12,8 +12,7 @@ formatLoadMore: function (pageNumber) { return "Lade mehr Ergebnisse…"; }, formatSearching: function () { return "Suche…"; }, formatMatches: function (matches) { return matches + " Ergebnis " + (matches > 1 ? "se" : "") + " verfügbar, zum Navigieren die Hoch-/Runter-Pfeiltasten verwenden."; } - } + }; $.extend($.fn.select2.defaults, $.fn.select2.locales['de']); - ); })(jQuery); \ No newline at end of file diff --git a/select2_locale_el.js b/select2_locale_el.js index f135d92e..74d45561 100644 --- a/select2_locale_el.js +++ b/select2_locale_el.js @@ -13,8 +13,7 @@ formatSelectionTooBig: function (limit) { return "Μπορείτε να επιλέξετε μόνο " + limit + " αντικείμεν" + (limit > 1 ? "α" : "ο"); }, formatLoadMore: function (pageNumber) { return "Φόρτωση περισσότερων…"; }, formatSearching: function () { return "Αναζήτηση…"; } - } + }; $.extend($.fn.select2.defaults, $.fn.select2.locales['el']); - ); })(jQuery); \ No newline at end of file diff --git a/select2_locale_en.js.template b/select2_locale_en.js.template index 88e209c3..1979a202 100644 --- a/select2_locale_en.js.template +++ b/select2_locale_en.js.template @@ -14,8 +14,7 @@ formatSelectionTooBig: function (limit) { return "You can only select " + limit + " item" + (limit == 1 ? "" : "s"); }, formatLoadMore: function (pageNumber) { return "Loading more results…"; }, formatSearching: function () { return "Searching…"; } - } + }; $.extend($.fn.select2.defaults, $.fn.select2.locales['en']); - ); })(jQuery); diff --git a/select2_locale_es.js b/select2_locale_es.js index afaaaa81..c1ac945e 100644 --- a/select2_locale_es.js +++ b/select2_locale_es.js @@ -11,8 +11,7 @@ formatSelectionTooBig: function (limit) { return "Sólo puede seleccionar " + limit + " elemento" + (limit == 1 ? "" : "s"); }, formatLoadMore: function (pageNumber) { return "Cargando más resultados…"; }, formatSearching: function () { return "Buscando…"; } - } + }; $.extend($.fn.select2.defaults, $.fn.select2.locales['es']); - ); })(jQuery); diff --git a/select2_locale_et.js b/select2_locale_et.js index 5ff9682e..8e6582eb 100644 --- a/select2_locale_et.js +++ b/select2_locale_et.js @@ -13,8 +13,7 @@ formatSelectionTooBig: function (limit) { return "Saad vaid " + limit + " tulemus" + (limit == 1 ? "e" : "t") + " valida"; }, formatLoadMore: function (pageNumber) { return "Laen tulemusi.."; }, formatSearching: function () { return "Otsin.."; } - } + }; $.extend($.fn.select2.defaults, $.fn.select2.locales['et']); - ); })(jQuery); diff --git a/select2_locale_eu.js b/select2_locale_eu.js index 1825aca1..e4336ca5 100644 --- a/select2_locale_eu.js +++ b/select2_locale_eu.js @@ -39,8 +39,7 @@ formatSearching: function () { return "Bilatzen…"; } - } + }; $.extend($.fn.select2.defaults, $.fn.select2.locales['eu']); - ); })(jQuery); diff --git a/select2_locale_ka.js b/select2_locale_ka.js index d2d3bb6b..e64594bf 100644 --- a/select2_locale_ka.js +++ b/select2_locale_ka.js @@ -13,8 +13,7 @@ formatSelectionTooBig: function (limit) { return "თქვენ შეგიძლიათ მხოლოდ " + limit + " ჩანაწერის მონიშვნა"; }, formatLoadMore: function (pageNumber) { return "შედეგის ჩატვირთვა…"; }, formatSearching: function () { return "ძებნა…"; } - } + }; $.extend($.fn.select2.defaults, $.fn.select2.locales['ka']); - ); })(jQuery); diff --git a/select2_locale_ko.js b/select2_locale_ko.js index 5f98112d..da1dbf81 100644 --- a/select2_locale_ko.js +++ b/select2_locale_ko.js @@ -13,8 +13,7 @@ formatSelectionTooBig: function (limit) { return "최대 "+limit+"개까지만 선택하실 수 있습니다."; }, formatLoadMore: function (pageNumber) { return "불러오는 중…"; }, formatSearching: function () { return "검색 중…"; } - } + }; $.extend($.fn.select2.defaults, $.fn.select2.locales['ko']); - ); })(jQuery); diff --git a/select2_locale_lt.js b/select2_locale_lt.js index d7d5887b..5bdb1482 100644 --- a/select2_locale_lt.js +++ b/select2_locale_lt.js @@ -16,10 +16,9 @@ }, formatLoadMore: function (pageNumber) { return "Kraunama daugiau rezultatų…"; }, formatSearching: function () { return "Ieškoma…"; } - } + }; $.extend($.fn.select2.defaults, $.fn.select2.locales['lt']); - ); function character (n) { return " " + n + " simbol" + ((n%100 > 9 && n%100 < 21) || n%10 == 0 ? "ių" : n%10 > 1 ? "ius" : "į"); diff --git a/select2_locale_lv.js b/select2_locale_lv.js index b1afde94..286c9626 100644 --- a/select2_locale_lv.js +++ b/select2_locale_lv.js @@ -13,8 +13,7 @@ formatSelectionTooBig: function (limit) { return "Jūs varat izvēlēties ne vairāk kā " + limit + " element" + (limit == 11 ? "us" : limit%10 == 1 ? "u" : "us"); }, formatLoadMore: function (pageNumber) { return "Datu ielāde…"; }, formatSearching: function () { return "Meklēšana…"; } - } + }; $.extend($.fn.select2.defaults, $.fn.select2.locales['lv']); - ); })(jQuery); diff --git a/select2_locale_mk.js b/select2_locale_mk.js index 005e64fc..af3395b1 100644 --- a/select2_locale_mk.js +++ b/select2_locale_mk.js @@ -13,8 +13,7 @@ formatSelectionTooBig: function (limit) { return "Можете да изберете само " + limit + " ставк" + (limit == 1 ? "а" : "и"); }, formatLoadMore: function (pageNumber) { return "Вчитување резултати…"; }, formatSearching: function () { return "Пребарување…"; } - } + }; $.extend($.fn.select2.defaults, $.fn.select2.locales['mk']); - ); })(jQuery); \ No newline at end of file diff --git a/select2_locale_ms.js b/select2_locale_ms.js index f5342888..76166345 100644 --- a/select2_locale_ms.js +++ b/select2_locale_ms.js @@ -13,8 +13,7 @@ formatSelectionTooBig: function (limit) { return "Anda hanya boleh memilih " + limit + " pilihan"; }, formatLoadMore: function (pageNumber) { return "Sedang memuatkan keputusan…"; }, formatSearching: function () { return "Mencari…"; } - } + }; $.extend($.fn.select2.defaults, $.fn.select2.locales['ms']); - ); })(jQuery); diff --git a/select2_locale_nl.js b/select2_locale_nl.js index 64ed8ab0..de841c78 100644 --- a/select2_locale_nl.js +++ b/select2_locale_nl.js @@ -11,8 +11,7 @@ formatSelectionTooBig: function (limit) { return "Maximaal " + limit + " item" + (limit == 1 ? "" : "s") + " toegestaan"; }, formatLoadMore: function (pageNumber) { return "Meer resultaten laden…"; }, formatSearching: function () { return "Zoeken…"; } - } + }; $.extend($.fn.select2.defaults, $.fn.select2.locales['nl']); - ); })(jQuery); \ No newline at end of file diff --git a/select2_locale_no.js b/select2_locale_no.js index 270264a4..bde066e9 100644 --- a/select2_locale_no.js +++ b/select2_locale_no.js @@ -13,9 +13,8 @@ formatSelectionTooBig: function (limit) { return "Du kan velge maks " + limit + " elementer"; }, formatLoadMore: function (pageNumber) { return "Laster flere resultater…"; }, formatSearching: function () { return "Søker…"; } - } + }; $.extend($.fn.select2.defaults, $.fn.select2.locales['no']); - ); })(jQuery); diff --git a/select2_locale_pl.js b/select2_locale_pl.js index eedd0b86..1d429296 100644 --- a/select2_locale_pl.js +++ b/select2_locale_pl.js @@ -15,10 +15,9 @@ formatSelectionTooBig: function (limit) { return "Możesz zaznaczyć najwyżej" + character(limit, "element", "y"); }, formatLoadMore: function (pageNumber) { return "Ładowanie wyników…"; }, formatSearching: function () { return "Szukanie…"; } - } + }; $.extend($.fn.select2.defaults, $.fn.select2.locales['pl']); - ); function character (n, word, pluralSuffix) { return " " + n + " " + word + (n == 1 ? "" : n%10 < 5 && n%10 > 1 && (n%100 < 5 || n%100 > 20) ? pluralSuffix : "ów"); diff --git a/select2_locale_pt-BR.js b/select2_locale_pt-BR.js index 2fe1e1ad..d0c9bc2e 100644 --- a/select2_locale_pt-BR.js +++ b/select2_locale_pt-BR.js @@ -11,8 +11,7 @@ formatSelectionTooBig: function (limit) { return "Só é possível selecionar " + limit + " elemento" + (limit == 1 ? "" : "s"); }, formatLoadMore: function (pageNumber) { return "Carregando mais resultados…"; }, formatSearching: function () { return "Buscando…"; } - } + }; $.extend($.fn.select2.defaults, $.fn.select2.locales['pt-BR']); - ); })(jQuery); diff --git a/select2_locale_pt-PT.js b/select2_locale_pt-PT.js index c37dc71b..ad3c7c48 100644 --- a/select2_locale_pt-PT.js +++ b/select2_locale_pt-PT.js @@ -11,8 +11,7 @@ formatSelectionTooBig: function (limit) { return "Só é possível selecionar " + limit + " elemento" + (limit == 1 ? "" : "s"); }, formatLoadMore: function (pageNumber) { return "A carregar mais resultados…"; }, formatSearching: function () { return "A pesquisar…"; } - } + }; $.extend($.fn.select2.defaults, $.fn.select2.locales['pt-PT']); - ); })(jQuery); diff --git a/select2_locale_ro.js b/select2_locale_ro.js index 8142c87d..a488bac8 100644 --- a/select2_locale_ro.js +++ b/select2_locale_ro.js @@ -11,8 +11,7 @@ formatSelectionTooBig: function (limit) { return "Aveți voie să selectați cel mult " + limit + " element" + (limit == 1 ? "" : "e"); }, formatLoadMore: function (pageNumber) { return "Se încarcă…"; }, formatSearching: function () { return "Căutare…"; } - } + }; $.extend($.fn.select2.defaults, $.fn.select2.locales['ro']); - ); })(jQuery); diff --git a/select2_locale_rs.js b/select2_locale_rs.js index bc8f7468..1eac36d6 100644 --- a/select2_locale_rs.js +++ b/select2_locale_rs.js @@ -13,8 +13,7 @@ formatSelectionTooBig: function (limit) { return "Možete izabrati samo " + limit + " stavk" + (limit % 10 == 1 && limit % 100 != 11 ? "u" : (limit % 10 >= 2 && limit % 10 <= 4 && (limit % 100 < 12 || limit % 100 > 14)? "e" : "i")); }, formatLoadMore: function (pageNumber) { return "Preuzimanje još rezultata…"; }, formatSearching: function () { return "Pretraga…"; } - } + }; $.extend($.fn.select2.defaults, $.fn.select2.locales['rs']); - ); })(jQuery); diff --git a/select2_locale_ru.js b/select2_locale_ru.js index 7db981fe..06993d5f 100644 --- a/select2_locale_ru.js +++ b/select2_locale_ru.js @@ -13,10 +13,9 @@ formatSelectionTooBig: function (limit) { return "Вы можете выбрать не более " + limit + " элемент" + (limit%10 == 1 && limit%100 != 11 ? "а" : "ов"); }, formatLoadMore: function (pageNumber) { return "Загрузка данных…"; }, formatSearching: function () { return "Поиск…"; } - } + }; $.extend($.fn.select2.defaults, $.fn.select2.locales['ru']); - ); function character (n) { return " " + n + " символ" + (n%10 < 5 && n%10 > 0 && (n%100 < 5 || n%100 > 20) ? n%10 > 1 ? "a" : "" : "ов"); diff --git a/select2_locale_sk.js b/select2_locale_sk.js index 9bc2563a..10d2b503 100644 --- a/select2_locale_sk.js +++ b/select2_locale_sk.js @@ -10,7 +10,7 @@ 2: function(masc) { return (masc ? "dva" : "dve"); }, 3: function() { return "tri"; }, 4: function() { return "štyri"; } - } + }; $.fn.select2.locales['sk'] = { formatNoMatches: function () { return "Nenašli sa žiadne položky"; }, formatInputTooShort: function (input, min) { @@ -44,8 +44,7 @@ }, formatLoadMore: function (pageNumber) { return "Načítavajú sa ďalšie výsledky…"; }, formatSearching: function () { return "Vyhľadávanie…"; } - } + }; $.extend($.fn.select2.defaults, $.fn.select2.locales['sk']); - ); })(jQuery); diff --git a/select2_locale_sv.js b/select2_locale_sv.js index a7a24fda..426e0411 100644 --- a/select2_locale_sv.js +++ b/select2_locale_sv.js @@ -13,8 +13,7 @@ formatSelectionTooBig: function (limit) { return "Du kan max välja " + limit + " element"; }, formatLoadMore: function (pageNumber) { return "Laddar fler resultat…"; }, formatSearching: function () { return "Söker…"; } - } + }; $.extend($.fn.select2.defaults, $.fn.select2.locales['sv']); - ); })(jQuery); diff --git a/select2_locale_th.js b/select2_locale_th.js index cecf46db..09270b14 100644 --- a/select2_locale_th.js +++ b/select2_locale_th.js @@ -13,8 +13,7 @@ formatSelectionTooBig: function (limit) { return "คุณสามารถเลือกได้ไม่เกิน " + limit + " รายการ"; }, formatLoadMore: function (pageNumber) { return "กำลังค้นข้อมูลเพิ่ม…"; }, formatSearching: function () { return "กำลังค้นข้อมูล…"; } - } + }; $.extend($.fn.select2.defaults, $.fn.select2.locales['th']); - ); })(jQuery); diff --git a/select2_locale_tr.js b/select2_locale_tr.js index bc80121f..33f47919 100644 --- a/select2_locale_tr.js +++ b/select2_locale_tr.js @@ -13,8 +13,7 @@ formatSelectionTooBig: function (limit) { return "Sadece " + limit + " seçim yapabilirsiniz"; }, formatLoadMore: function (pageNumber) { return "Daha fazla…"; }, formatSearching: function () { return "Aranıyor…"; } - } + }; $.extend($.fn.select2.defaults, $.fn.select2.locales['tr']); - ); })(jQuery); diff --git a/select2_locale_uk.js b/select2_locale_uk.js index 22ee3419..fbcd078d 100644 --- a/select2_locale_uk.js +++ b/select2_locale_uk.js @@ -15,10 +15,9 @@ formatSelectionTooBig: function (limit) { return "Ви можете вибрати лише " + character(limit, "елемент"); }, formatLoadMore: function (pageNumber) { return "Завантаження даних…"; }, formatSearching: function () { return "Пошук…"; } - } + }; $.extend($.fn.select2.defaults, $.fn.select2.locales['uk']); - ); function character (n, word) { return n + " " + word + (n%10 < 5 && n%10 > 0 && (n%100 < 5 || n%100 > 19) ? n%10 > 1 ? "и" : "" : "ів"); diff --git a/select2_locale_vi.js b/select2_locale_vi.js index a30af49d..90c33eb0 100644 --- a/select2_locale_vi.js +++ b/select2_locale_vi.js @@ -13,9 +13,8 @@ formatSelectionTooBig: function (limit) { return "Chỉ có thể chọn được " + limit + " tùy chọn" + (limit == 1 ? "" : "s"); }, formatLoadMore: function (pageNumber) { return "Đang lấy thêm kết quả…"; }, formatSearching: function () { return "Đang tìm…"; } - } + }; $.extend($.fn.select2.defaults, $.fn.select2.locales['vi']); - ); })(jQuery); diff --git a/select2_locale_zh-CN.js b/select2_locale_zh-CN.js index 7f1c2b77..4f6638fa 100644 --- a/select2_locale_zh-CN.js +++ b/select2_locale_zh-CN.js @@ -10,8 +10,7 @@ formatSelectionTooBig: function (limit) { return "你只能选择最多" + limit + "项"; }, formatLoadMore: function (pageNumber) { return "加载结果中…"; }, formatSearching: function () { return "搜索中…"; } - } + }; $.extend($.fn.select2.defaults, $.fn.select2.locales['zh-CN']); - ); })(jQuery); diff --git a/select2_locale_zh-TW.js b/select2_locale_zh-TW.js index d5d5957d..46608edd 100644 --- a/select2_locale_zh-TW.js +++ b/select2_locale_zh-TW.js @@ -10,8 +10,7 @@ formatSelectionTooBig: function (limit) { return "你只能選擇最多" + limit + "項"; }, formatLoadMore: function (pageNumber) { return "載入中…"; }, formatSearching: function () { return "搜尋中…"; } - } + }; $.extend($.fn.select2.defaults, $.fn.select2.locales['zh-TW']); - ); })(jQuery);