select2-rails 3.5.9 → 4.0.13
Sign up to get free protection for your applications and to get access to all the features.
- 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,17 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Select2 Arabic translation.
|
3
|
-
*
|
4
|
-
* Author: Adel KEDJOUR <adel@kedjour.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; if (n == 1){ return "الرجاء إدخال حرف واحد على الأكثر"; } return n == 2 ? "الرجاء إدخال حرفين على الأكثر" : "الرجاء إدخال " + n + " على الأكثر"; },
|
12
|
-
formatInputTooLong: function (input, max) { var n = input.length - max; if (n == 1){ return "الرجاء إدخال حرف واحد على الأقل"; } return n == 2 ? "الرجاء إدخال حرفين على الأقل" : "الرجاء إدخال " + n + " على الأقل "; },
|
13
|
-
formatSelectionTooBig: function (limit) { if (n == 1){ return "يمكنك أن تختار إختيار واحد فقط"; } return n == 2 ? "يمكنك أن تختار إختيارين فقط" : "يمكنك أن تختار " + n + " إختيارات فقط"; },
|
14
|
-
formatLoadMore: function (pageNumber) { return "تحميل المزيد من النتائج…"; },
|
15
|
-
formatSearching: function () { return "البحث…"; }
|
16
|
-
});
|
17
|
-
})(jQuery);
|
@@ -1,18 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Select2 Azerbaijani translation.
|
3
|
-
*
|
4
|
-
* Author: Farhad Safarov <farhad.safarov@gmail.com>
|
5
|
-
*/
|
6
|
-
(function ($) {
|
7
|
-
"use strict";
|
8
|
-
|
9
|
-
$.extend($.fn.select2.defaults, {
|
10
|
-
formatMatches: function (matches) { return matches + " nəticə mövcuddur, hərəkət etdirmək üçün yuxarı və aşağı düymələrindən istifadə edin."; },
|
11
|
-
formatNoMatches: function () { return "Nəticə tapılmadı"; },
|
12
|
-
formatInputTooShort: function (input, min) { var n = min - input.length; return n + " simvol daxil edin"; },
|
13
|
-
formatInputTooLong: function (input, max) { var n = input.length - max; return n + " simvol silin"; },
|
14
|
-
formatSelectionTooBig: function (limit) { return "Sadəcə " + limit + " element seçə bilərsiniz"; },
|
15
|
-
formatLoadMore: function (pageNumber) { return "Daha çox nəticə yüklənir…"; },
|
16
|
-
formatSearching: function () { return "Axtarılır…"; }
|
17
|
-
});
|
18
|
-
})(jQuery);
|
@@ -1,18 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Select2 Bulgarian translation.
|
3
|
-
*
|
4
|
-
* @author Lubomir Vikev <lubomirvikev@gmail.com>
|
5
|
-
* @author Uriy Efremochkin <efremochkin@uriy.me>
|
6
|
-
*/
|
7
|
-
(function ($) {
|
8
|
-
"use strict";
|
9
|
-
|
10
|
-
$.extend($.fn.select2.defaults, {
|
11
|
-
formatNoMatches: function () { return "Няма намерени съвпадения"; },
|
12
|
-
formatInputTooShort: function (input, min) { var n = min - input.length; return "Моля въведете още " + n + " символ" + (n > 1 ? "а" : ""); },
|
13
|
-
formatInputTooLong: function (input, max) { var n = input.length - max; return "Моля въведете с " + n + " по-малко символ" + (n > 1 ? "а" : ""); },
|
14
|
-
formatSelectionTooBig: function (limit) { return "Можете да направите до " + limit + (limit > 1 ? " избора" : " избор"); },
|
15
|
-
formatLoadMore: function (pageNumber) { return "Зареждат се още…"; },
|
16
|
-
formatSearching: function () { return "Търсене…"; }
|
17
|
-
});
|
18
|
-
})(jQuery);
|
@@ -1,17 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Select2 Catalan translation.
|
3
|
-
*
|
4
|
-
* Author: David Planella <david.planella@gmail.com>
|
5
|
-
*/
|
6
|
-
(function ($) {
|
7
|
-
"use strict";
|
8
|
-
|
9
|
-
$.extend($.fn.select2.defaults, {
|
10
|
-
formatNoMatches: function () { return "No s'ha trobat cap coincidència"; },
|
11
|
-
formatInputTooShort: function (input, min) { var n = min - input.length; return "Introduïu " + n + " caràcter" + (n == 1 ? "" : "s") + " més"; },
|
12
|
-
formatInputTooLong: function (input, max) { var n = input.length - max; return "Introduïu " + n + " caràcter" + (n == 1? "" : "s") + "menys"; },
|
13
|
-
formatSelectionTooBig: function (limit) { return "Només podeu seleccionar " + limit + " element" + (limit == 1 ? "" : "s"); },
|
14
|
-
formatLoadMore: function (pageNumber) { return "S'estan carregant més resultats…"; },
|
15
|
-
formatSearching: function () { return "S'està cercant…"; }
|
16
|
-
});
|
17
|
-
})(jQuery);
|
@@ -1,49 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Select2 Czech translation.
|
3
|
-
*
|
4
|
-
* Author: Michal Marek <ahoj@michal-marek.cz>
|
5
|
-
* Author - sklonovani: David Vallner <david@vallner.net>
|
6
|
-
*/
|
7
|
-
(function ($) {
|
8
|
-
"use strict";
|
9
|
-
// use text for the numbers 2 through 4
|
10
|
-
var smallNumbers = {
|
11
|
-
2: function(masc) { return (masc ? "dva" : "dvě"); },
|
12
|
-
3: function() { return "tři"; },
|
13
|
-
4: function() { return "čtyři"; }
|
14
|
-
}
|
15
|
-
$.extend($.fn.select2.defaults, {
|
16
|
-
formatNoMatches: function () { return "Nenalezeny žádné položky"; },
|
17
|
-
formatInputTooShort: function (input, min) {
|
18
|
-
var n = min - input.length;
|
19
|
-
if (n == 1) {
|
20
|
-
return "Prosím zadejte ještě jeden znak";
|
21
|
-
} else if (n <= 4) {
|
22
|
-
return "Prosím zadejte ještě další "+smallNumbers[n](true)+" znaky";
|
23
|
-
} else {
|
24
|
-
return "Prosím zadejte ještě dalších "+n+" znaků";
|
25
|
-
}
|
26
|
-
},
|
27
|
-
formatInputTooLong: function (input, max) {
|
28
|
-
var n = input.length - max;
|
29
|
-
if (n == 1) {
|
30
|
-
return "Prosím zadejte o jeden znak méně";
|
31
|
-
} else if (n <= 4) {
|
32
|
-
return "Prosím zadejte o "+smallNumbers[n](true)+" znaky méně";
|
33
|
-
} else {
|
34
|
-
return "Prosím zadejte o "+n+" znaků méně";
|
35
|
-
}
|
36
|
-
},
|
37
|
-
formatSelectionTooBig: function (limit) {
|
38
|
-
if (limit == 1) {
|
39
|
-
return "Můžete zvolit jen jednu položku";
|
40
|
-
} else if (limit <= 4) {
|
41
|
-
return "Můžete zvolit maximálně "+smallNumbers[limit](false)+" položky";
|
42
|
-
} else {
|
43
|
-
return "Můžete zvolit maximálně "+limit+" položek";
|
44
|
-
}
|
45
|
-
},
|
46
|
-
formatLoadMore: function (pageNumber) { return "Načítají se další výsledky…"; },
|
47
|
-
formatSearching: function () { return "Vyhledávání…"; }
|
48
|
-
});
|
49
|
-
})(jQuery);
|
@@ -1,17 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Select2 Danish translation.
|
3
|
-
*
|
4
|
-
* Author: Anders Jenbo <anders@jenbo.dk>
|
5
|
-
*/
|
6
|
-
(function ($) {
|
7
|
-
"use strict";
|
8
|
-
|
9
|
-
$.extend($.fn.select2.defaults, {
|
10
|
-
formatNoMatches: function () { return "Ingen resultater fundet"; },
|
11
|
-
formatInputTooShort: function (input, min) { var n = min - input.length; return "Angiv venligst " + n + " tegn mere"; },
|
12
|
-
formatInputTooLong: function (input, max) { var n = input.length - max; return "Angiv venligst " + n + " tegn mindre"; },
|
13
|
-
formatSelectionTooBig: function (limit) { return "Du kan kun vælge " + limit + " emne" + (limit === 1 ? "" : "r"); },
|
14
|
-
formatLoadMore: function (pageNumber) { return "Indlæser flere resultater…"; },
|
15
|
-
formatSearching: function () { return "Søger…"; }
|
16
|
-
});
|
17
|
-
})(jQuery);
|
@@ -1,16 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Select2 German translation
|
3
|
-
*/
|
4
|
-
(function ($) {
|
5
|
-
"use strict";
|
6
|
-
|
7
|
-
$.extend($.fn.select2.defaults, {
|
8
|
-
formatNoMatches: function () { return "Keine Übereinstimmungen gefunden"; },
|
9
|
-
formatInputTooShort: function (input, min) { var n = min - input.length; return "Bitte " + n + " Zeichen mehr eingeben"; },
|
10
|
-
formatInputTooLong: function (input, max) { var n = input.length - max; return "Bitte " + n + " Zeichen weniger eingeben"; },
|
11
|
-
formatSelectionTooBig: function (limit) { return "Sie können nur " + limit + " Eintr" + (limit === 1 ? "ag" : "äge") + " auswählen"; },
|
12
|
-
formatLoadMore: function (pageNumber) { return "Lade mehr Ergebnisse…"; },
|
13
|
-
formatSearching: function () { return "Suche…"; },
|
14
|
-
formatMatches: function (matches) { return matches + " Ergebnis " + (matches > 1 ? "se" : "") + " verfügbar, zum Navigieren die Hoch-/Runter-Pfeiltasten verwenden."; }
|
15
|
-
});
|
16
|
-
})(jQuery);
|
@@ -1,17 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Select2 Greek 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) { var n = min - input.length; return "Παρακαλούμε εισάγετε " + n + " περισσότερο" + (n > 1 ? "υς" : "") + " χαρακτήρ" + (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,15 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Select2 Spanish translation
|
3
|
-
*/
|
4
|
-
(function ($) {
|
5
|
-
"use strict";
|
6
|
-
|
7
|
-
$.extend($.fn.select2.defaults, {
|
8
|
-
formatNoMatches: function () { return "No se encontraron resultados"; },
|
9
|
-
formatInputTooShort: function (input, min) { var n = min - input.length; return "Por favor, introduzca " + n + " car" + (n == 1? "ácter" : "acteres"); },
|
10
|
-
formatInputTooLong: function (input, max) { var n = input.length - max; return "Por favor, elimine " + n + " car" + (n == 1? "ácter" : "acteres"); },
|
11
|
-
formatSelectionTooBig: function (limit) { return "Sólo puede seleccionar " + limit + " elemento" + (limit == 1 ? "" : "s"); },
|
12
|
-
formatLoadMore: function (pageNumber) { return "Cargando más resultados…"; },
|
13
|
-
formatSearching: function () { return "Buscando…"; }
|
14
|
-
});
|
15
|
-
})(jQuery);
|
@@ -1,17 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Select2 Estonian translation.
|
3
|
-
*
|
4
|
-
* Author: Kuldar Kalvik <kuldar@kalvik.ee>
|
5
|
-
*/
|
6
|
-
(function ($) {
|
7
|
-
"use strict";
|
8
|
-
|
9
|
-
$.extend($.fn.select2.defaults, {
|
10
|
-
formatNoMatches: function () { return "Tulemused puuduvad"; },
|
11
|
-
formatInputTooShort: function (input, min) { var n = min - input.length; return "Sisesta " + n + " täht" + (n == 1 ? "" : "e") + " rohkem"; },
|
12
|
-
formatInputTooLong: function (input, max) { var n = input.length - max; return "Sisesta " + n + " täht" + (n == 1? "" : "e") + " vähem"; },
|
13
|
-
formatSelectionTooBig: function (limit) { return "Saad vaid " + limit + " tulemus" + (limit == 1 ? "e" : "t") + " valida"; },
|
14
|
-
formatLoadMore: function (pageNumber) { return "Laen tulemusi.."; },
|
15
|
-
formatSearching: function () { return "Otsin.."; }
|
16
|
-
});
|
17
|
-
})(jQuery);
|
@@ -1,43 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Select2 Basque translation.
|
3
|
-
*
|
4
|
-
* Author: Julen Ruiz Aizpuru <julenx at gmail dot com>
|
5
|
-
*/
|
6
|
-
(function ($) {
|
7
|
-
"use strict";
|
8
|
-
|
9
|
-
$.extend($.fn.select2.defaults, {
|
10
|
-
formatNoMatches: function () {
|
11
|
-
return "Ez da bat datorrenik aurkitu";
|
12
|
-
},
|
13
|
-
formatInputTooShort: function (input, min) {
|
14
|
-
var n = min - input.length;
|
15
|
-
if (n === 1) {
|
16
|
-
return "Idatzi karaktere bat gehiago";
|
17
|
-
} else {
|
18
|
-
return "Idatzi " + n + " karaktere gehiago";
|
19
|
-
}
|
20
|
-
},
|
21
|
-
formatInputTooLong: function (input, max) {
|
22
|
-
var n = input.length - max;
|
23
|
-
if (n === 1) {
|
24
|
-
return "Idatzi karaktere bat gutxiago";
|
25
|
-
} else {
|
26
|
-
return "Idatzi " + n + " karaktere gutxiago";
|
27
|
-
}
|
28
|
-
},
|
29
|
-
formatSelectionTooBig: function (limit) {
|
30
|
-
if (limit === 1 ) {
|
31
|
-
return "Elementu bakarra hauta dezakezu";
|
32
|
-
} else {
|
33
|
-
return limit + " elementu hauta ditzakezu soilik";
|
34
|
-
}
|
35
|
-
},
|
36
|
-
formatLoadMore: function (pageNumber) {
|
37
|
-
return "Emaitza gehiago kargatzen…";
|
38
|
-
},
|
39
|
-
formatSearching: function () {
|
40
|
-
return "Bilatzen…";
|
41
|
-
}
|
42
|
-
});
|
43
|
-
})(jQuery);
|
@@ -1,19 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Select2 Persian translation.
|
3
|
-
*
|
4
|
-
* Author: Ali Choopan <choopan@arsh.co>
|
5
|
-
* Author: Ebrahim Byagowi <ebrahim@gnu.org>
|
6
|
-
*/
|
7
|
-
(function ($) {
|
8
|
-
"use strict";
|
9
|
-
|
10
|
-
$.extend($.fn.select2.defaults, {
|
11
|
-
formatMatches: function (matches) { return matches + " نتیجه موجود است، کلیدهای جهت بالا و پایین را برای گشتن استفاده کنید."; },
|
12
|
-
formatNoMatches: function () { return "نتیجهای یافت نشد."; },
|
13
|
-
formatInputTooShort: function (input, min) { var n = min - input.length; return "لطفاً " + n + " نویسه بیشتر وارد نمایید"; },
|
14
|
-
formatInputTooLong: function (input, max) { var n = input.length - max; return "لطفاً " + n + " نویسه را حذف کنید."; },
|
15
|
-
formatSelectionTooBig: function (limit) { return "شما فقط میتوانید " + limit + " مورد را انتخاب کنید"; },
|
16
|
-
formatLoadMore: function (pageNumber) { return "در حال بارگیری موارد بیشتر…"; },
|
17
|
-
formatSearching: function () { return "در حال جستجو…"; }
|
18
|
-
});
|
19
|
-
})(jQuery);
|
@@ -1,28 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Select2 Finnish translation
|
3
|
-
*/
|
4
|
-
(function ($) {
|
5
|
-
"use strict";
|
6
|
-
$.extend($.fn.select2.defaults, {
|
7
|
-
formatNoMatches: function () {
|
8
|
-
return "Ei tuloksia";
|
9
|
-
},
|
10
|
-
formatInputTooShort: function (input, min) {
|
11
|
-
var n = min - input.length;
|
12
|
-
return "Ole hyvä ja anna " + n + " merkkiä lisää";
|
13
|
-
},
|
14
|
-
formatInputTooLong: function (input, max) {
|
15
|
-
var n = input.length - max;
|
16
|
-
return "Ole hyvä ja anna " + n + " merkkiä vähemmän";
|
17
|
-
},
|
18
|
-
formatSelectionTooBig: function (limit) {
|
19
|
-
return "Voit valita ainoastaan " + limit + " kpl";
|
20
|
-
},
|
21
|
-
formatLoadMore: function (pageNumber) {
|
22
|
-
return "Ladataan lisää tuloksia…";
|
23
|
-
},
|
24
|
-
formatSearching: function () {
|
25
|
-
return "Etsitään…";
|
26
|
-
}
|
27
|
-
});
|
28
|
-
})(jQuery);
|
@@ -1,16 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Select2 French translation
|
3
|
-
*/
|
4
|
-
(function ($) {
|
5
|
-
"use strict";
|
6
|
-
|
7
|
-
$.extend($.fn.select2.defaults, {
|
8
|
-
formatMatches: function (matches) { return matches + " résultats sont disponibles, utilisez les flèches haut et bas pour naviguer."; },
|
9
|
-
formatNoMatches: function () { return "Aucun résultat trouvé"; },
|
10
|
-
formatInputTooShort: function (input, min) { var n = min - input.length; return "Saisissez " + n + " caractère" + (n == 1? "" : "s") + " supplémentaire" + (n == 1? "" : "s") ; },
|
11
|
-
formatInputTooLong: function (input, max) { var n = input.length - max; return "Supprimez " + n + " caractère" + (n == 1? "" : "s"); },
|
12
|
-
formatSelectionTooBig: function (limit) { return "Vous pouvez seulement sélectionner " + limit + " élément" + (limit == 1 ? "" : "s"); },
|
13
|
-
formatLoadMore: function (pageNumber) { return "Chargement de résultats supplémentaires…"; },
|
14
|
-
formatSearching: function () { return "Recherche en cours…"; }
|
15
|
-
});
|
16
|
-
})(jQuery);
|
@@ -1,43 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Select2 Galician translation
|
3
|
-
*
|
4
|
-
* Author: Leandro Regueiro <leandro.regueiro@gmail.com>
|
5
|
-
*/
|
6
|
-
(function ($) {
|
7
|
-
"use strict";
|
8
|
-
|
9
|
-
$.extend($.fn.select2.defaults, {
|
10
|
-
formatNoMatches: function () {
|
11
|
-
return "Non se atoparon resultados";
|
12
|
-
},
|
13
|
-
formatInputTooShort: function (input, min) {
|
14
|
-
var n = min - input.length;
|
15
|
-
if (n === 1) {
|
16
|
-
return "Engada un carácter";
|
17
|
-
} else {
|
18
|
-
return "Engada " + n + " caracteres";
|
19
|
-
}
|
20
|
-
},
|
21
|
-
formatInputTooLong: function (input, max) {
|
22
|
-
var n = input.length - max;
|
23
|
-
if (n === 1) {
|
24
|
-
return "Elimine un carácter";
|
25
|
-
} else {
|
26
|
-
return "Elimine " + n + " caracteres";
|
27
|
-
}
|
28
|
-
},
|
29
|
-
formatSelectionTooBig: function (limit) {
|
30
|
-
if (limit === 1 ) {
|
31
|
-
return "Só pode seleccionar un elemento";
|
32
|
-
} else {
|
33
|
-
return "Só pode seleccionar " + limit + " elementos";
|
34
|
-
}
|
35
|
-
},
|
36
|
-
formatLoadMore: function (pageNumber) {
|
37
|
-
return "Cargando máis resultados…";
|
38
|
-
},
|
39
|
-
formatSearching: function () {
|
40
|
-
return "Buscando…";
|
41
|
-
}
|
42
|
-
});
|
43
|
-
})(jQuery);
|
@@ -1,17 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Select2 Hebrew translation.
|
3
|
-
*
|
4
|
-
* Author: Yakir Sitbon <http://www.yakirs.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,22 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Select2 Croatian translation.
|
3
|
-
*
|
4
|
-
* @author Edi Modrić <edi.modric@gmail.com>
|
5
|
-
* @author Uriy Efremochkin <efremochkin@uriy.me>
|
6
|
-
*/
|
7
|
-
(function ($) {
|
8
|
-
"use strict";
|
9
|
-
|
10
|
-
$.extend($.fn.select2.defaults, {
|
11
|
-
formatNoMatches: function () { return "Nema rezultata"; },
|
12
|
-
formatInputTooShort: function (input, min) { return "Unesite još" + character(min - input.length); },
|
13
|
-
formatInputTooLong: function (input, max) { return "Unesite" + character(input.length - max) + " manje"; },
|
14
|
-
formatSelectionTooBig: function (limit) { return "Maksimalan broj odabranih stavki je " + limit; },
|
15
|
-
formatLoadMore: function (pageNumber) { return "Učitavanje rezultata…"; },
|
16
|
-
formatSearching: function () { return "Pretraga…"; }
|
17
|
-
});
|
18
|
-
|
19
|
-
function character (n) {
|
20
|
-
return " " + n + " znak" + (n%10 < 5 && n%10 > 0 && (n%100 < 5 || n%100 > 19) ? n%10 > 1 ? "a" : "" : "ova");
|
21
|
-
}
|
22
|
-
})(jQuery);
|
@@ -1,15 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Select2 Hungarian translation
|
3
|
-
*/
|
4
|
-
(function ($) {
|
5
|
-
"use strict";
|
6
|
-
|
7
|
-
$.extend($.fn.select2.defaults, {
|
8
|
-
formatNoMatches: function () { return "Nincs találat."; },
|
9
|
-
formatInputTooShort: function (input, min) { var n = min - input.length; return "Túl rövid. Még " + n + " karakter hiányzik."; },
|
10
|
-
formatInputTooLong: function (input, max) { var n = input.length - max; return "Túl hosszú. " + n + " karakterrel több, mint kellene."; },
|
11
|
-
formatSelectionTooBig: function (limit) { return "Csak " + limit + " elemet lehet kiválasztani."; },
|
12
|
-
formatLoadMore: function (pageNumber) { return "Töltés…"; },
|
13
|
-
formatSearching: function () { return "Keresés…"; }
|
14
|
-
});
|
15
|
-
})(jQuery);
|
@@ -1,17 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Select2 Indonesian translation.
|
3
|
-
*
|
4
|
-
* Author: Ibrahim Yusuf <ibrahim7usuf@gmail.com>
|
5
|
-
*/
|
6
|
-
(function ($) {
|
7
|
-
"use strict";
|
8
|
-
|
9
|
-
$.extend($.fn.select2.defaults, {
|
10
|
-
formatNoMatches: function () { return "Tidak ada data yang sesuai"; },
|
11
|
-
formatInputTooShort: function (input, min) { var n = min - input.length; return "Masukkan " + n + " huruf lagi" + (n == 1 ? "" : "s"); },
|
12
|
-
formatInputTooLong: function (input, max) { var n = input.length - max; return "Hapus " + n + " huruf" + (n == 1 ? "" : "s"); },
|
13
|
-
formatSelectionTooBig: function (limit) { return "Anda hanya dapat memilih " + limit + " pilihan" + (limit == 1 ? "" : "s"); },
|
14
|
-
formatLoadMore: function (pageNumber) { return "Mengambil data…"; },
|
15
|
-
formatSearching: function () { return "Mencari…"; }
|
16
|
-
});
|
17
|
-
})(jQuery);
|