select2-rails 3.5.9 → 4.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -13
- data/README.md +22 -6
- data/Rakefile +1 -3
- data/lib/select2-rails/engine.rb +1 -1
- data/lib/select2-rails/source_file.rb +17 -47
- data/lib/select2-rails/version.rb +1 -1
- data/select2-rails.gemspec +1 -1
- data/vendor/assets/javascripts/select2-full.js +6820 -0
- data/vendor/assets/javascripts/select2.js +6108 -0
- data/vendor/assets/javascripts/select2_locale_af.js +3 -0
- data/vendor/assets/javascripts/select2_locale_ar.js +3 -0
- data/vendor/assets/javascripts/select2_locale_az.js +3 -0
- data/vendor/assets/javascripts/select2_locale_bg.js +3 -0
- data/vendor/assets/javascripts/select2_locale_bn.js +3 -0
- data/vendor/assets/javascripts/select2_locale_bs.js +3 -0
- data/vendor/assets/javascripts/select2_locale_ca.js +3 -0
- data/vendor/assets/javascripts/select2_locale_cs.js +3 -0
- data/vendor/assets/javascripts/select2_locale_da.js +3 -0
- data/vendor/assets/javascripts/select2_locale_de.js +3 -0
- data/vendor/assets/javascripts/select2_locale_dsb.js +3 -0
- data/vendor/assets/javascripts/select2_locale_el.js +3 -0
- data/vendor/assets/javascripts/select2_locale_en.js +3 -0
- data/vendor/assets/javascripts/select2_locale_es.js +3 -0
- data/vendor/assets/javascripts/select2_locale_et.js +3 -0
- data/vendor/assets/javascripts/select2_locale_eu.js +3 -0
- data/vendor/assets/javascripts/select2_locale_fa.js +3 -0
- data/vendor/assets/javascripts/select2_locale_fi.js +3 -0
- data/vendor/assets/javascripts/select2_locale_fr.js +3 -0
- data/vendor/assets/javascripts/select2_locale_gl.js +3 -0
- data/vendor/assets/javascripts/select2_locale_he.js +3 -0
- data/vendor/assets/javascripts/select2_locale_hi.js +3 -0
- data/vendor/assets/javascripts/select2_locale_hr.js +3 -0
- data/vendor/assets/javascripts/select2_locale_hsb.js +3 -0
- data/vendor/assets/javascripts/select2_locale_hu.js +3 -0
- data/vendor/assets/javascripts/select2_locale_hy.js +3 -0
- data/vendor/assets/javascripts/select2_locale_id.js +3 -0
- data/vendor/assets/javascripts/select2_locale_is.js +3 -0
- data/vendor/assets/javascripts/select2_locale_it.js +3 -0
- data/vendor/assets/javascripts/select2_locale_ja.js +3 -0
- data/vendor/assets/javascripts/select2_locale_ka.js +3 -0
- data/vendor/assets/javascripts/select2_locale_km.js +3 -0
- data/vendor/assets/javascripts/select2_locale_ko.js +3 -0
- data/vendor/assets/javascripts/select2_locale_lt.js +3 -0
- data/vendor/assets/javascripts/select2_locale_lv.js +3 -0
- data/vendor/assets/javascripts/select2_locale_mk.js +3 -0
- data/vendor/assets/javascripts/select2_locale_ms.js +3 -0
- data/vendor/assets/javascripts/select2_locale_nb.js +3 -0
- data/vendor/assets/javascripts/select2_locale_ne.js +3 -0
- data/vendor/assets/javascripts/select2_locale_nl.js +3 -0
- data/vendor/assets/javascripts/select2_locale_pl.js +3 -0
- data/vendor/assets/javascripts/select2_locale_ps.js +3 -0
- data/vendor/assets/javascripts/select2_locale_pt-BR.js +3 -0
- data/vendor/assets/javascripts/select2_locale_pt.js +3 -0
- data/vendor/assets/javascripts/select2_locale_ro.js +3 -0
- data/vendor/assets/javascripts/select2_locale_ru.js +3 -0
- data/vendor/assets/javascripts/select2_locale_sk.js +3 -0
- data/vendor/assets/javascripts/select2_locale_sl.js +3 -0
- data/vendor/assets/javascripts/select2_locale_sq.js +3 -0
- data/vendor/assets/javascripts/select2_locale_sr-Cyrl.js +3 -0
- data/vendor/assets/javascripts/select2_locale_sr.js +3 -0
- data/vendor/assets/javascripts/select2_locale_sv.js +3 -0
- data/vendor/assets/javascripts/select2_locale_th.js +3 -0
- data/vendor/assets/javascripts/select2_locale_tk.js +3 -0
- data/vendor/assets/javascripts/select2_locale_tr.js +3 -0
- data/vendor/assets/javascripts/select2_locale_uk.js +3 -0
- data/vendor/assets/javascripts/select2_locale_vi.js +3 -0
- data/vendor/assets/javascripts/select2_locale_zh-CN.js +3 -0
- data/vendor/assets/javascripts/select2_locale_zh-TW.js +3 -0
- data/vendor/assets/stylesheets/select2-bootstrap.css +610 -0
- data/vendor/assets/stylesheets/select2.css +481 -0
- metadata +80 -68
- data/app/assets/images/select2-spinner.gif +0 -0
- data/app/assets/images/select2.png +0 -0
- data/app/assets/images/select2x2.png +0 -0
- data/app/assets/javascripts/select2.js +0 -3481
- data/app/assets/javascripts/select2_locale_ar.js +0 -17
- data/app/assets/javascripts/select2_locale_az.js +0 -18
- data/app/assets/javascripts/select2_locale_bg.js +0 -18
- data/app/assets/javascripts/select2_locale_ca.js +0 -17
- data/app/assets/javascripts/select2_locale_cs.js +0 -49
- data/app/assets/javascripts/select2_locale_da.js +0 -17
- data/app/assets/javascripts/select2_locale_de.js +0 -16
- data/app/assets/javascripts/select2_locale_el.js +0 -17
- data/app/assets/javascripts/select2_locale_es.js +0 -15
- data/app/assets/javascripts/select2_locale_et.js +0 -17
- data/app/assets/javascripts/select2_locale_eu.js +0 -43
- data/app/assets/javascripts/select2_locale_fa.js +0 -19
- data/app/assets/javascripts/select2_locale_fi.js +0 -28
- data/app/assets/javascripts/select2_locale_fr.js +0 -16
- data/app/assets/javascripts/select2_locale_gl.js +0 -43
- data/app/assets/javascripts/select2_locale_he.js +0 -17
- data/app/assets/javascripts/select2_locale_hr.js +0 -22
- data/app/assets/javascripts/select2_locale_hu.js +0 -15
- data/app/assets/javascripts/select2_locale_id.js +0 -17
- data/app/assets/javascripts/select2_locale_is.js +0 -15
- data/app/assets/javascripts/select2_locale_it.js +0 -15
- data/app/assets/javascripts/select2_locale_ja.js +0 -15
- data/app/assets/javascripts/select2_locale_ka.js +0 -17
- data/app/assets/javascripts/select2_locale_ko.js +0 -17
- data/app/assets/javascripts/select2_locale_lt.js +0 -24
- data/app/assets/javascripts/select2_locale_lv.js +0 -17
- data/app/assets/javascripts/select2_locale_mk.js +0 -17
- data/app/assets/javascripts/select2_locale_ms.js +0 -17
- data/app/assets/javascripts/select2_locale_nl.js +0 -15
- data/app/assets/javascripts/select2_locale_no.js +0 -18
- data/app/assets/javascripts/select2_locale_pl.js +0 -23
- data/app/assets/javascripts/select2_locale_pt-BR.js +0 -15
- data/app/assets/javascripts/select2_locale_pt-PT.js +0 -15
- data/app/assets/javascripts/select2_locale_ro.js +0 -15
- data/app/assets/javascripts/select2_locale_rs.js +0 -17
- data/app/assets/javascripts/select2_locale_ru.js +0 -21
- data/app/assets/javascripts/select2_locale_sk.js +0 -48
- data/app/assets/javascripts/select2_locale_sv.js +0 -17
- data/app/assets/javascripts/select2_locale_th.js +0 -17
- data/app/assets/javascripts/select2_locale_tr.js +0 -17
- data/app/assets/javascripts/select2_locale_uk.js +0 -23
- data/app/assets/javascripts/select2_locale_vi.js +0 -18
- data/app/assets/javascripts/select2_locale_zh-CN.js +0 -14
- data/app/assets/javascripts/select2_locale_zh-TW.js +0 -14
- data/app/assets/stylesheets/select2-bootstrap.css +0 -87
- data/app/assets/stylesheets/select2.css.erb +0 -703
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Select2 Icelandic translation.
|
|
3
|
-
*/
|
|
4
|
-
(function ($) {
|
|
5
|
-
"use strict";
|
|
6
|
-
|
|
7
|
-
$.extend($.fn.select2.defaults, {
|
|
8
|
-
formatNoMatches: function () { return "Ekkert fannst"; },
|
|
9
|
-
formatInputTooShort: function (input, min) { var n = min - input.length; return "Vinsamlegast skrifið " + n + " staf" + (n > 1 ? "i" : "") + " í viðbót"; },
|
|
10
|
-
formatInputTooLong: function (input, max) { var n = input.length - max; return "Vinsamlegast styttið texta um " + n + " staf" + (n > 1 ? "i" : ""); },
|
|
11
|
-
formatSelectionTooBig: function (limit) { return "Þú getur aðeins valið " + limit + " atriði"; },
|
|
12
|
-
formatLoadMore: function (pageNumber) { return "Sæki fleiri niðurstöður…"; },
|
|
13
|
-
formatSearching: function () { return "Leita…"; }
|
|
14
|
-
});
|
|
15
|
-
})(jQuery);
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Select2 Italian translation
|
|
3
|
-
*/
|
|
4
|
-
(function ($) {
|
|
5
|
-
"use strict";
|
|
6
|
-
|
|
7
|
-
$.extend($.fn.select2.defaults, {
|
|
8
|
-
formatNoMatches: function () { return "Nessuna corrispondenza trovata"; },
|
|
9
|
-
formatInputTooShort: function (input, min) { var n = min - input.length; return "Inserisci ancora " + n + " caratter" + (n == 1? "e" : "i"); },
|
|
10
|
-
formatInputTooLong: function (input, max) { var n = input.length - max; return "Inserisci " + n + " caratter" + (n == 1? "e" : "i") + " in meno"; },
|
|
11
|
-
formatSelectionTooBig: function (limit) { return "Puoi selezionare solo " + limit + " element" + (limit == 1 ? "o" : "i"); },
|
|
12
|
-
formatLoadMore: function (pageNumber) { return "Caricamento in corso…"; },
|
|
13
|
-
formatSearching: function () { return "Ricerca…"; }
|
|
14
|
-
});
|
|
15
|
-
})(jQuery);
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Select2 Japanese translation.
|
|
3
|
-
*/
|
|
4
|
-
(function ($) {
|
|
5
|
-
"use strict";
|
|
6
|
-
|
|
7
|
-
$.extend($.fn.select2.defaults, {
|
|
8
|
-
formatNoMatches: function () { return "該当なし"; },
|
|
9
|
-
formatInputTooShort: function (input, min) { var n = min - input.length; return "後" + n + "文字入れてください"; },
|
|
10
|
-
formatInputTooLong: function (input, max) { var n = input.length - max; return "検索文字列が" + n + "文字長すぎます"; },
|
|
11
|
-
formatSelectionTooBig: function (limit) { return "最多で" + limit + "項目までしか選択できません"; },
|
|
12
|
-
formatLoadMore: function (pageNumber) { return "読込中・・・"; },
|
|
13
|
-
formatSearching: function () { return "検索中・・・"; }
|
|
14
|
-
});
|
|
15
|
-
})(jQuery);
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Select2 Georgian (Kartuli) translation.
|
|
3
|
-
*
|
|
4
|
-
* Author: Dimitri Kurashvili dimakura@gmail.com
|
|
5
|
-
*/
|
|
6
|
-
(function ($) {
|
|
7
|
-
"use strict";
|
|
8
|
-
|
|
9
|
-
$.extend($.fn.select2.defaults, {
|
|
10
|
-
formatNoMatches: function () { return "ვერ მოიძებნა"; },
|
|
11
|
-
formatInputTooShort: function (input, min) { var n = min - input.length; return "გთხოვთ შეიყვანოთ კიდევ " + n + " სიმბოლო"; },
|
|
12
|
-
formatInputTooLong: function (input, max) { var n = input.length - max; return "გთხოვთ წაშალოთ " + n + " სიმბოლო"; },
|
|
13
|
-
formatSelectionTooBig: function (limit) { return "თქვენ შეგიძლიათ მხოლოდ " + limit + " ჩანაწერის მონიშვნა"; },
|
|
14
|
-
formatLoadMore: function (pageNumber) { return "შედეგის ჩატვირთვა…"; },
|
|
15
|
-
formatSearching: function () { return "ძებნა…"; }
|
|
16
|
-
});
|
|
17
|
-
})(jQuery);
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Select2 Korean translation.
|
|
3
|
-
*
|
|
4
|
-
* @author Swen Mun <longfinfunnel@gmail.com>
|
|
5
|
-
*/
|
|
6
|
-
(function ($) {
|
|
7
|
-
"use strict";
|
|
8
|
-
|
|
9
|
-
$.extend($.fn.select2.defaults, {
|
|
10
|
-
formatNoMatches: function () { return "결과 없음"; },
|
|
11
|
-
formatInputTooShort: function (input, min) { var n = min - input.length; return "너무 짧습니다. "+n+"글자 더 입력해주세요."; },
|
|
12
|
-
formatInputTooLong: function (input, max) { var n = input.length - max; return "너무 깁니다. "+n+"글자 지워주세요."; },
|
|
13
|
-
formatSelectionTooBig: function (limit) { return "최대 "+limit+"개까지만 선택하실 수 있습니다."; },
|
|
14
|
-
formatLoadMore: function (pageNumber) { return "불러오는 중…"; },
|
|
15
|
-
formatSearching: function () { return "검색 중…"; }
|
|
16
|
-
});
|
|
17
|
-
})(jQuery);
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Select2 Lithuanian translation.
|
|
3
|
-
*
|
|
4
|
-
* @author CRONUS Karmalakas <cronus dot karmalakas at gmail dot com>
|
|
5
|
-
* @author Uriy Efremochkin <efremochkin@uriy.me>
|
|
6
|
-
*/
|
|
7
|
-
(function ($) {
|
|
8
|
-
"use strict";
|
|
9
|
-
|
|
10
|
-
$.extend($.fn.select2.defaults, {
|
|
11
|
-
formatNoMatches: function () { return "Atitikmenų nerasta"; },
|
|
12
|
-
formatInputTooShort: function (input, min) { return "Įrašykite dar" + character(min - input.length); },
|
|
13
|
-
formatInputTooLong: function (input, max) { return "Pašalinkite" + character(input.length - max); },
|
|
14
|
-
formatSelectionTooBig: function (limit) {
|
|
15
|
-
return "Jūs galite pasirinkti tik " + limit + " element" + ((limit%100 > 9 && limit%100 < 21) || limit%10 == 0 ? "ų" : limit%10 > 1 ? "us" : "ą");
|
|
16
|
-
},
|
|
17
|
-
formatLoadMore: function (pageNumber) { return "Kraunama daugiau rezultatų…"; },
|
|
18
|
-
formatSearching: function () { return "Ieškoma…"; }
|
|
19
|
-
});
|
|
20
|
-
|
|
21
|
-
function character (n) {
|
|
22
|
-
return " " + n + " simbol" + ((n%100 > 9 && n%100 < 21) || n%10 == 0 ? "ių" : n%10 > 1 ? "ius" : "į");
|
|
23
|
-
}
|
|
24
|
-
})(jQuery);
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Select2 Latvian translation.
|
|
3
|
-
*
|
|
4
|
-
* @author Uriy Efremochkin <efremochkin@uriy.me>
|
|
5
|
-
*/
|
|
6
|
-
(function ($) {
|
|
7
|
-
"use strict";
|
|
8
|
-
|
|
9
|
-
$.extend($.fn.select2.defaults, {
|
|
10
|
-
formatNoMatches: function () { return "Sakritību nav"; },
|
|
11
|
-
formatInputTooShort: function (input, min) { var n = min - input.length; return "Lūdzu ievadiet vēl " + n + " simbol" + (n == 11 ? "us" : n%10 == 1 ? "u" : "us"); },
|
|
12
|
-
formatInputTooLong: function (input, max) { var n = input.length - max; return "Lūdzu ievadiet par " + n + " simbol" + (n == 11 ? "iem" : n%10 == 1 ? "u" : "iem") + " mazāk"; },
|
|
13
|
-
formatSelectionTooBig: function (limit) { return "Jūs varat izvēlēties ne vairāk kā " + limit + " element" + (limit == 11 ? "us" : limit%10 == 1 ? "u" : "us"); },
|
|
14
|
-
formatLoadMore: function (pageNumber) { return "Datu ielāde…"; },
|
|
15
|
-
formatSearching: function () { return "Meklēšana…"; }
|
|
16
|
-
});
|
|
17
|
-
})(jQuery);
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Select2 Macedonian translation.
|
|
3
|
-
*
|
|
4
|
-
* Author: Marko Aleksic <psybaron@gmail.com>
|
|
5
|
-
*/
|
|
6
|
-
(function ($) {
|
|
7
|
-
"use strict";
|
|
8
|
-
|
|
9
|
-
$.extend($.fn.select2.defaults, {
|
|
10
|
-
formatNoMatches: function () { return "Нема пронајдено совпаѓања"; },
|
|
11
|
-
formatInputTooShort: function (input, min) { var n = min - input.length; return "Ве молиме внесете уште " + n + " карактер" + (n == 1 ? "" : "и"); },
|
|
12
|
-
formatInputTooLong: function (input, max) { var n = input.length - max; return "Ве молиме внесете " + n + " помалку карактер" + (n == 1? "" : "и"); },
|
|
13
|
-
formatSelectionTooBig: function (limit) { return "Можете да изберете само " + limit + " ставк" + (limit == 1 ? "а" : "и"); },
|
|
14
|
-
formatLoadMore: function (pageNumber) { return "Вчитување резултати…"; },
|
|
15
|
-
formatSearching: function () { return "Пребарување…"; }
|
|
16
|
-
});
|
|
17
|
-
})(jQuery);
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Select2 Malay translation.
|
|
3
|
-
*
|
|
4
|
-
* Author: Kepoweran <kepoweran@gmail.com>
|
|
5
|
-
*/
|
|
6
|
-
(function ($) {
|
|
7
|
-
"use strict";
|
|
8
|
-
|
|
9
|
-
$.extend($.fn.select2.defaults, {
|
|
10
|
-
formatNoMatches: function () { return "Tiada padanan yang ditemui"; },
|
|
11
|
-
formatInputTooShort: function (input, min) { var n = min - input.length; return "Sila masukkan " + n + " aksara lagi"; },
|
|
12
|
-
formatInputTooLong: function (input, max) { var n = input.length - max; return "Sila hapuskan " + n + " aksara"; },
|
|
13
|
-
formatSelectionTooBig: function (limit) { return "Anda hanya boleh memilih " + limit + " pilihan"; },
|
|
14
|
-
formatLoadMore: function (pageNumber) { return "Sedang memuatkan keputusan…"; },
|
|
15
|
-
formatSearching: function () { return "Mencari…"; }
|
|
16
|
-
});
|
|
17
|
-
})(jQuery);
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Select2 Dutch translation
|
|
3
|
-
*/
|
|
4
|
-
(function ($) {
|
|
5
|
-
"use strict";
|
|
6
|
-
|
|
7
|
-
$.extend($.fn.select2.defaults, {
|
|
8
|
-
formatNoMatches: function () { return "Geen resultaten gevonden"; },
|
|
9
|
-
formatInputTooShort: function (input, min) { var n = min - input.length; return "Vul " + n + " karakter" + (n == 1? "" : "s") + " meer in"; },
|
|
10
|
-
formatInputTooLong: function (input, max) { var n = input.length - max; return "Vul " + n + " karakter" + (n == 1? "" : "s") + " minder in"; },
|
|
11
|
-
formatSelectionTooBig: function (limit) { return "Maximaal " + limit + " item" + (limit == 1 ? "" : "s") + " toegestaan"; },
|
|
12
|
-
formatLoadMore: function (pageNumber) { return "Meer resultaten laden…"; },
|
|
13
|
-
formatSearching: function () { return "Zoeken…"; }
|
|
14
|
-
});
|
|
15
|
-
})(jQuery);
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Select2 Norwegian translation.
|
|
3
|
-
*
|
|
4
|
-
* Author: Torgeir Veimo <torgeir.veimo@gmail.com>
|
|
5
|
-
*/
|
|
6
|
-
(function ($) {
|
|
7
|
-
"use strict";
|
|
8
|
-
|
|
9
|
-
$.extend($.fn.select2.defaults, {
|
|
10
|
-
formatNoMatches: function () { return "Ingen treff"; },
|
|
11
|
-
formatInputTooShort: function (input, min) { var n = min - input.length; return "Vennligst skriv inn " + n + (n>1 ? " flere tegn" : " tegn til"); },
|
|
12
|
-
formatInputTooLong: function (input, max) { var n = input.length - max; return "Vennligst fjern " + n + " tegn"; },
|
|
13
|
-
formatSelectionTooBig: function (limit) { return "Du kan velge maks " + limit + " elementer"; },
|
|
14
|
-
formatLoadMore: function (pageNumber) { return "Laster flere resultater…"; },
|
|
15
|
-
formatSearching: function () { return "Søker…"; }
|
|
16
|
-
});
|
|
17
|
-
})(jQuery);
|
|
18
|
-
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Select2 Polish translation.
|
|
3
|
-
*
|
|
4
|
-
* @author Jan Kondratowicz <jan@kondratowicz.pl>
|
|
5
|
-
* @author Uriy Efremochkin <efremochkin@uriy.me>
|
|
6
|
-
* @author Michał Połtyn <mike@poltyn.com>
|
|
7
|
-
*/
|
|
8
|
-
(function ($) {
|
|
9
|
-
"use strict";
|
|
10
|
-
|
|
11
|
-
$.extend($.fn.select2.defaults, {
|
|
12
|
-
formatNoMatches: function () { return "Brak wyników"; },
|
|
13
|
-
formatInputTooShort: function (input, min) { return "Wpisz co najmniej" + character(min - input.length, "znak", "i"); },
|
|
14
|
-
formatInputTooLong: function (input, max) { return "Wpisana fraza jest za długa o" + character(input.length - max, "znak", "i"); },
|
|
15
|
-
formatSelectionTooBig: function (limit) { return "Możesz zaznaczyć najwyżej" + character(limit, "element", "y"); },
|
|
16
|
-
formatLoadMore: function (pageNumber) { return "Ładowanie wyników…"; },
|
|
17
|
-
formatSearching: function () { return "Szukanie…"; }
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
function character (n, word, pluralSuffix) {
|
|
21
|
-
return " " + n + " " + word + (n == 1 ? "" : n%10 < 5 && n%10 > 1 && (n%100 < 5 || n%100 > 20) ? pluralSuffix : "ów");
|
|
22
|
-
}
|
|
23
|
-
})(jQuery);
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Select2 Brazilian Portuguese translation
|
|
3
|
-
*/
|
|
4
|
-
(function ($) {
|
|
5
|
-
"use strict";
|
|
6
|
-
|
|
7
|
-
$.extend($.fn.select2.defaults, {
|
|
8
|
-
formatNoMatches: function () { return "Nenhum resultado encontrado"; },
|
|
9
|
-
formatInputTooShort: function (input, min) { var n = min - input.length; return "Digite mais " + n + " caracter" + (n == 1? "" : "es"); },
|
|
10
|
-
formatInputTooLong: function (input, max) { var n = input.length - max; return "Apague " + n + " caracter" + (n == 1? "" : "es"); },
|
|
11
|
-
formatSelectionTooBig: function (limit) { return "Só é possível selecionar " + limit + " elemento" + (limit == 1 ? "" : "s"); },
|
|
12
|
-
formatLoadMore: function (pageNumber) { return "Carregando mais resultados…"; },
|
|
13
|
-
formatSearching: function () { return "Buscando…"; }
|
|
14
|
-
});
|
|
15
|
-
})(jQuery);
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Select2 Portuguese (Portugal) translation
|
|
3
|
-
*/
|
|
4
|
-
(function ($) {
|
|
5
|
-
"use strict";
|
|
6
|
-
|
|
7
|
-
$.extend($.fn.select2.defaults, {
|
|
8
|
-
formatNoMatches: function () { return "Nenhum resultado encontrado"; },
|
|
9
|
-
formatInputTooShort: function (input, min) { var n = min - input.length; return "Introduza " + n + " car" + (n == 1 ? "ácter" : "acteres"); },
|
|
10
|
-
formatInputTooLong: function (input, max) { var n = input.length - max; return "Apague " + n + " car" + (n == 1 ? "ácter" : "acteres"); },
|
|
11
|
-
formatSelectionTooBig: function (limit) { return "Só é possível selecionar " + limit + " elemento" + (limit == 1 ? "" : "s"); },
|
|
12
|
-
formatLoadMore: function (pageNumber) { return "A carregar mais resultados…"; },
|
|
13
|
-
formatSearching: function () { return "A pesquisar…"; }
|
|
14
|
-
});
|
|
15
|
-
})(jQuery);
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Select2 Romanian translation.
|
|
3
|
-
*/
|
|
4
|
-
(function ($) {
|
|
5
|
-
"use strict";
|
|
6
|
-
|
|
7
|
-
$.extend($.fn.select2.defaults, {
|
|
8
|
-
formatNoMatches: function () { return "Nu a fost găsit nimic"; },
|
|
9
|
-
formatInputTooShort: function (input, min) { var n = min - input.length; return "Vă rugăm să introduceți incă " + n + " caracter" + (n == 1 ? "" : "e"); },
|
|
10
|
-
formatInputTooLong: function (input, max) { var n = input.length - max; return "Vă rugăm să introduceți mai puțin de " + n + " caracter" + (n == 1? "" : "e"); },
|
|
11
|
-
formatSelectionTooBig: function (limit) { return "Aveți voie să selectați cel mult " + limit + " element" + (limit == 1 ? "" : "e"); },
|
|
12
|
-
formatLoadMore: function (pageNumber) { return "Se încarcă…"; },
|
|
13
|
-
formatSearching: function () { return "Căutare…"; }
|
|
14
|
-
});
|
|
15
|
-
})(jQuery);
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Select2 Serbian translation.
|
|
3
|
-
*
|
|
4
|
-
* @author Limon Monte <limon.monte@gmail.com>
|
|
5
|
-
*/
|
|
6
|
-
(function ($) {
|
|
7
|
-
"use strict";
|
|
8
|
-
|
|
9
|
-
$.extend($.fn.select2.defaults, {
|
|
10
|
-
formatNoMatches: function () { return "Ništa nije pronađeno"; },
|
|
11
|
-
formatInputTooShort: function (input, min) { var n = min - input.length; return "Ukucajte bar još " + n + " simbol" + (n % 10 == 1 && n % 100 != 11 ? "" : "a"); },
|
|
12
|
-
formatInputTooLong: function (input, max) { var n = input.length - max; return "Obrišite " + n + " simbol" + (n % 10 == 1 && n % 100 != 11 ? "" : "a"); },
|
|
13
|
-
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")); },
|
|
14
|
-
formatLoadMore: function (pageNumber) { return "Preuzimanje još rezultata…"; },
|
|
15
|
-
formatSearching: function () { return "Pretraga…"; }
|
|
16
|
-
});
|
|
17
|
-
})(jQuery);
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Select2 Russian translation.
|
|
3
|
-
*
|
|
4
|
-
* @author Uriy Efremochkin <efremochkin@uriy.me>
|
|
5
|
-
*/
|
|
6
|
-
(function ($) {
|
|
7
|
-
"use strict";
|
|
8
|
-
|
|
9
|
-
$.extend($.fn.select2.defaults, {
|
|
10
|
-
formatNoMatches: function () { return "Совпадений не найдено"; },
|
|
11
|
-
formatInputTooShort: function (input, min) { return "Пожалуйста, введите еще хотя бы" + character(min - input.length); },
|
|
12
|
-
formatInputTooLong: function (input, max) { return "Пожалуйста, введите на" + character(input.length - max) + " меньше"; },
|
|
13
|
-
formatSelectionTooBig: function (limit) { return "Вы можете выбрать не более " + limit + " элемент" + (limit%10 == 1 && limit%100 != 11 ? "а" : "ов"); },
|
|
14
|
-
formatLoadMore: function (pageNumber) { return "Загрузка данных…"; },
|
|
15
|
-
formatSearching: function () { return "Поиск…"; }
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
function character (n) {
|
|
19
|
-
return " " + n + " символ" + (n%10 < 5 && n%10 > 0 && (n%100 < 5 || n%100 > 20) ? n%10 > 1 ? "a" : "" : "ов");
|
|
20
|
-
}
|
|
21
|
-
})(jQuery);
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Select2 Slovak translation.
|
|
3
|
-
*
|
|
4
|
-
* Author: David Vallner <david@vallner.net>
|
|
5
|
-
*/
|
|
6
|
-
(function ($) {
|
|
7
|
-
"use strict";
|
|
8
|
-
// use text for the numbers 2 through 4
|
|
9
|
-
var smallNumbers = {
|
|
10
|
-
2: function(masc) { return (masc ? "dva" : "dve"); },
|
|
11
|
-
3: function() { return "tri"; },
|
|
12
|
-
4: function() { return "štyri"; }
|
|
13
|
-
}
|
|
14
|
-
$.extend($.fn.select2.defaults, {
|
|
15
|
-
formatNoMatches: function () { return "Nenašli sa žiadne položky"; },
|
|
16
|
-
formatInputTooShort: function (input, min) {
|
|
17
|
-
var n = min - input.length;
|
|
18
|
-
if (n == 1) {
|
|
19
|
-
return "Prosím zadajte ešte jeden znak";
|
|
20
|
-
} else if (n <= 4) {
|
|
21
|
-
return "Prosím zadajte ešte ďalšie "+smallNumbers[n](true)+" znaky";
|
|
22
|
-
} else {
|
|
23
|
-
return "Prosím zadajte ešte ďalších "+n+" znakov";
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
formatInputTooLong: function (input, max) {
|
|
27
|
-
var n = input.length - max;
|
|
28
|
-
if (n == 1) {
|
|
29
|
-
return "Prosím zadajte o jeden znak menej";
|
|
30
|
-
} else if (n <= 4) {
|
|
31
|
-
return "Prosím zadajte o "+smallNumbers[n](true)+" znaky menej";
|
|
32
|
-
} else {
|
|
33
|
-
return "Prosím zadajte o "+n+" znakov menej";
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
formatSelectionTooBig: function (limit) {
|
|
37
|
-
if (limit == 1) {
|
|
38
|
-
return "Môžete zvoliť len jednu položku";
|
|
39
|
-
} else if (limit <= 4) {
|
|
40
|
-
return "Môžete zvoliť najviac "+smallNumbers[limit](false)+" položky";
|
|
41
|
-
} else {
|
|
42
|
-
return "Môžete zvoliť najviac "+limit+" položiek";
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
formatLoadMore: function (pageNumber) { return "Načítavajú sa ďalšie výsledky…"; },
|
|
46
|
-
formatSearching: function () { return "Vyhľadávanie…"; }
|
|
47
|
-
});
|
|
48
|
-
})(jQuery);
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Select2 Swedish translation.
|
|
3
|
-
*
|
|
4
|
-
* Author: Jens Rantil <jens.rantil@telavox.com>
|
|
5
|
-
*/
|
|
6
|
-
(function ($) {
|
|
7
|
-
"use strict";
|
|
8
|
-
|
|
9
|
-
$.extend($.fn.select2.defaults, {
|
|
10
|
-
formatNoMatches: function () { return "Inga träffar"; },
|
|
11
|
-
formatInputTooShort: function (input, min) { var n = min - input.length; return "Var god skriv in " + n + (n>1 ? " till tecken" : " tecken till"); },
|
|
12
|
-
formatInputTooLong: function (input, max) { var n = input.length - max; return "Var god sudda ut " + n + " tecken"; },
|
|
13
|
-
formatSelectionTooBig: function (limit) { return "Du kan max välja " + limit + " element"; },
|
|
14
|
-
formatLoadMore: function (pageNumber) { return "Laddar fler resultat…"; },
|
|
15
|
-
formatSearching: function () { return "Söker…"; }
|
|
16
|
-
});
|
|
17
|
-
})(jQuery);
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Select2 Thai translation.
|
|
3
|
-
*
|
|
4
|
-
* Author: Atsawin Chaowanakritsanakul <joke@nakhon.net>
|
|
5
|
-
*/
|
|
6
|
-
(function ($) {
|
|
7
|
-
"use strict";
|
|
8
|
-
|
|
9
|
-
$.extend($.fn.select2.defaults, {
|
|
10
|
-
formatNoMatches: function () { return "ไม่พบข้อมูล"; },
|
|
11
|
-
formatInputTooShort: function (input, min) { var n = min - input.length; return "โปรดพิมพ์เพิ่มอีก " + n + " ตัวอักษร"; },
|
|
12
|
-
formatInputTooLong: function (input, max) { var n = input.length - max; return "โปรดลบออก " + n + " ตัวอักษร"; },
|
|
13
|
-
formatSelectionTooBig: function (limit) { return "คุณสามารถเลือกได้ไม่เกิน " + limit + " รายการ"; },
|
|
14
|
-
formatLoadMore: function (pageNumber) { return "กำลังค้นข้อมูลเพิ่ม…"; },
|
|
15
|
-
formatSearching: function () { return "กำลังค้นข้อมูล…"; }
|
|
16
|
-
});
|
|
17
|
-
})(jQuery);
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Select2 Turkish translation.
|
|
3
|
-
*
|
|
4
|
-
* Author: Salim KAYABAŞI <salim.kayabasi@gmail.com>
|
|
5
|
-
*/
|
|
6
|
-
(function ($) {
|
|
7
|
-
"use strict";
|
|
8
|
-
|
|
9
|
-
$.extend($.fn.select2.defaults, {
|
|
10
|
-
formatNoMatches: function () { return "Sonuç bulunamadı"; },
|
|
11
|
-
formatInputTooShort: function (input, min) { var n = min - input.length; return "En az " + n + " karakter daha girmelisiniz"; },
|
|
12
|
-
formatInputTooLong: function (input, max) { var n = input.length - max; return n + " karakter azaltmalısınız"; },
|
|
13
|
-
formatSelectionTooBig: function (limit) { return "Sadece " + limit + " seçim yapabilirsiniz"; },
|
|
14
|
-
formatLoadMore: function (pageNumber) { return "Daha fazla…"; },
|
|
15
|
-
formatSearching: function () { return "Aranıyor…"; }
|
|
16
|
-
});
|
|
17
|
-
})(jQuery);
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Select2 Ukrainian translation.
|
|
3
|
-
*
|
|
4
|
-
* @author bigmihail <bigmihail@bigmir.net>
|
|
5
|
-
* @author Uriy Efremochkin <efremochkin@uriy.me>
|
|
6
|
-
*/
|
|
7
|
-
(function ($) {
|
|
8
|
-
"use strict";
|
|
9
|
-
|
|
10
|
-
$.extend($.fn.select2.defaults, {
|
|
11
|
-
formatMatches: function (matches) { return character(matches, "результат") + " знайдено, використовуйте клавіші зі стрілками вверх та вниз для навігації."; },
|
|
12
|
-
formatNoMatches: function () { return "Нічого не знайдено"; },
|
|
13
|
-
formatInputTooShort: function (input, min) { return "Введіть буль ласка ще " + character(min - input.length, "символ"); },
|
|
14
|
-
formatInputTooLong: function (input, max) { return "Введіть буль ласка на " + character(input.length - max, "символ") + " менше"; },
|
|
15
|
-
formatSelectionTooBig: function (limit) { return "Ви можете вибрати лише " + character(limit, "елемент"); },
|
|
16
|
-
formatLoadMore: function (pageNumber) { return "Завантаження даних…"; },
|
|
17
|
-
formatSearching: function () { return "Пошук…"; }
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
function character (n, word) {
|
|
21
|
-
return n + " " + word + (n%10 < 5 && n%10 > 0 && (n%100 < 5 || n%100 > 19) ? n%10 > 1 ? "и" : "" : "ів");
|
|
22
|
-
}
|
|
23
|
-
})(jQuery);
|