select2-rails 3.5.0 → 4.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +35 -6
- data/Rakefile +1 -3
- data/lib/select2-rails/engine.rb +1 -1
- data/lib/select2-rails/source_file.rb +19 -30
- 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 +82 -77
- 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 -3217
- data/app/assets/javascripts/select2_locale_ar.js +0 -17
- data/app/assets/javascripts/select2_locale_bg.js +0 -17
- 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 -15
- 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 -17
- data/app/assets/javascripts/select2_locale_fi.js +0 -28
- data/app/assets/javascripts/select2_locale_fr.js +0 -15
- 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 -42
- 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 -16
- 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_ko.js +0 -17
- data/app/assets/javascripts/select2_locale_lt.js +0 -29
- data/app/assets/javascripts/select2_locale_lv.js +0 -16
- 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 -37
- 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_ru.js +0 -15
- 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_ua.js +0 -17
- 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.css.erb +0 -615
@@ -1,17 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Select2 Arabic translation.
|
3
|
-
*
|
4
|
-
* Author: Your Name <amedhat3@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 <Language> translation.
|
3
|
-
*
|
4
|
-
* Author: Lubomir Vikev <lubomirvikev@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 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,15 +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
|
-
});
|
15
|
-
})(jQuery);
|
@@ -1,17 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Select2 <Language> translation.
|
3
|
-
*
|
4
|
-
* Author: Your Name <your@email>
|
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 ? "" : "s"); },
|
12
|
-
formatInputTooLong: function (input, max) { var n = input.length - max; return "Παρακαλούμε διαγράψτε " + n + " χαρακτήρες" + (n == 1 ? "" : "s"); },
|
13
|
-
formatSelectionTooBig: function (limit) { return "Μπορείτε να επιλέξετε μόνο " + limit + " αντικείμενο" + (limit == 1 ? "" : "s"); },
|
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? "á" : "a") + "cter" + (n == 1? "" : "es"); },
|
10
|
-
formatInputTooLong: function (input, max) { var n = input.length - max; return "Por favor, elimine " + n + " car" + (n == 1? "á" : "a") + "cter" + (n == 1? "" : "es"); },
|
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,17 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Select2 <fa> translation.
|
3
|
-
*
|
4
|
-
* Author: Ali Choopan <choopan@arsh.co>
|
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,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 annar " + 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,15 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Select2 French translation
|
3
|
-
*/
|
4
|
-
(function ($) {
|
5
|
-
"use strict";
|
6
|
-
|
7
|
-
$.extend($.fn.select2.defaults, {
|
8
|
-
formatNoMatches: function () { return "Aucun résultat trouvé"; },
|
9
|
-
formatInputTooShort: function (input, min) { var n = min - input.length; return "Merci de saisir " + n + " caractère" + (n == 1? "" : "s") + " de plus"; },
|
10
|
-
formatInputTooLong: function (input, max) { var n = input.length - max; return "Merci de supprimer " + n + " caractère" + (n == 1? "" : "s"); },
|
11
|
-
formatSelectionTooBig: function (limit) { return "Vous pouvez seulement sélectionner " + limit + " élément" + (limit == 1 ? "" : "s"); },
|
12
|
-
formatLoadMore: function (pageNumber) { return "Chargement de résultats supplémentaires..."; },
|
13
|
-
formatSearching: function () { return "Recherche en cours..."; }
|
14
|
-
});
|
15
|
-
})(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,42 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Select2 Croatian translation.
|
3
|
-
*
|
4
|
-
* Author: Edi Modrić <edi.modric@gmail.com>
|
5
|
-
*/
|
6
|
-
(function ($) {
|
7
|
-
"use strict";
|
8
|
-
|
9
|
-
var specialNumbers = {
|
10
|
-
1: function(n) { return (n % 100 != 11 ? "znak" : "znakova"); },
|
11
|
-
2: function(n) { return (n % 100 != 12 ? "znaka" : "znakova"); },
|
12
|
-
3: function(n) { return (n % 100 != 13 ? "znaka" : "znakova"); },
|
13
|
-
4: function(n) { return (n % 100 != 14 ? "znaka" : "znakova"); }
|
14
|
-
};
|
15
|
-
|
16
|
-
$.extend($.fn.select2.defaults, {
|
17
|
-
formatNoMatches: function () { return "Nema rezultata"; },
|
18
|
-
formatInputTooShort: function (input, min) {
|
19
|
-
var n = min - input.length;
|
20
|
-
var nMod10 = n % 10;
|
21
|
-
|
22
|
-
if (nMod10 > 0 && nMod10 < 5) {
|
23
|
-
return "Unesite još " + n + " " + specialNumbers[nMod10](n);
|
24
|
-
}
|
25
|
-
|
26
|
-
return "Unesite još " + n + " znakova";
|
27
|
-
},
|
28
|
-
formatInputTooLong: function (input, max) {
|
29
|
-
var n = input.length - max;
|
30
|
-
var nMod10 = n % 10;
|
31
|
-
|
32
|
-
if (nMod10 > 0 && nMod10 < 5) {
|
33
|
-
return "Unesite " + n + " " + specialNumbers[nMod10](n) + " manje";
|
34
|
-
}
|
35
|
-
|
36
|
-
return "Unesite " + n + " znakova manje";
|
37
|
-
},
|
38
|
-
formatSelectionTooBig: function (limit) { return "Maksimalan broj odabranih stavki je " + limit; },
|
39
|
-
formatLoadMore: function (pageNumber) { return "Učitavanje rezultata..."; },
|
40
|
-
formatSearching: function () { return "Pretraga..."; }
|
41
|
-
});
|
42
|
-
})(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 + " kerekterrel 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);
|