carnival 0.0.56 → 0.0.57
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/carnival/admin.js +3 -0
- data/app/assets/javascripts/carnival/admin.js.orig +25 -0
- data/app/assets/javascripts/carnival/external/select2/select2.min.js +23 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_ar.js +19 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_az.js +20 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_bg.js +20 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_ca.js +19 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_cs.js +51 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_da.js +19 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_de.js +18 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_el.js +19 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_en.js.template +20 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_es.js +17 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_et.js +19 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_eu.js +45 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_fa.js +21 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_fi.js +30 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_fr.js +18 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_gl.js +45 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_he.js +19 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_hr.js +24 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_hu.js +17 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_id.js +19 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_is.js +17 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_it.js +17 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_ja.js +17 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_ka.js +19 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_ko.js +19 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_lt.js +26 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_lv.js +19 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_mk.js +19 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_ms.js +19 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_nl.js +17 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_no.js +20 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_pl.js +25 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_pt-BR.js +17 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_pt-PT.js +17 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_ro.js +17 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_rs.js +19 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_ru.js +23 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_sk.js +50 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_sv.js +19 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_th.js +19 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_tr.js +19 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_ug-CN.js +16 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_uk.js +25 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_vi.js +20 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_zh-CN.js +16 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_zh-TW.js +16 -0
- data/app/assets/javascripts/carnival/select_remote.js +60 -0
- data/app/assets/javascripts/carnival/vizir_admin.js +2 -1
- data/app/assets/javascripts/carnival/vizir_admin.js.orig +144 -0
- data/app/assets/stylesheets/carnival/admin.css +1 -0
- data/app/assets/stylesheets/carnival/main.css +4 -0
- data/app/assets/stylesheets/carnival/select2-spinner.gif +0 -0
- data/app/assets/stylesheets/carnival/select2.css +704 -0
- data/app/assets/stylesheets/carnival/select2.png +0 -0
- data/app/assets/stylesheets/carnival/select2x2.png +0 -0
- data/app/controllers/carnival/base_admin_controller.rb +12 -0
- data/app/inputs/carnival_select_remote_input.rb +29 -0
- data/app/views/carnival/shared/form/_field.html.haml +7 -0
- data/app/views/carnival/shared/form/_field.html.haml.orig +14 -11
- data/app/views/carnival/shared/form/_form.html.haml +5 -1
- data/app/views/carnival/shared/form/_form.html.haml.orig +120 -0
- data/app/views/carnival/shared/form/_nested_form_options.html.haml +1 -1
- data/app/views/carnival/shared/form/_nested_form_options.html.haml.orig +47 -0
- data/lib/carnival/routes.rb +1 -0
- data/lib/carnival/routes.rb.orig +24 -0
- data/lib/carnival/version.rb +1 -1
- data/lib/carnival/version.rb.orig +3 -3
- data/test/dummy/app/controllers/admin/countries_controller.rb +1 -0
- data/test/dummy/app/presenters/admin/state_presenter.rb +2 -1
- data/test/dummy/app/presenters/admin/state_presenter.rb.orig +50 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/log/bullet.log +215 -0
- data/test/dummy/log/development.log +56326 -0
- data/test/dummy/tmp/cache/assets/development/sass/509d6df7de260d7d7b30aaf213f62ecc911d86f4/select2.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/018a93c2452c8104980bcd5778c4f903 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0771f824a0b668f566e7c11953b6065e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0bbd04f3201327a4cdd08aa5beea2422 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0e538066312487cf0c93484b2a433017 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/12adab320a9b9986d13ed94e39efe2e7 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/1367e1fa08f1b8c7abd298d4bbe85c1a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/14a446a1806cd2ee255698c10b3cd391 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/22ee6768794b3c3c55570719479481c3 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/24d23fdd4c311a9447e4c8c19c97d48e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/29317ab42cc07bf908f29827920b27d5 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/29c571d9350b75a47945757daf5ef26f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2c4a028e3e3b137a5e49c13178239cce +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2dfdac7588010f579a833be228971375 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/30c8c2e6ca355103a267133f6b45b0ce +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/32d06d5bee6f865ba0f92224a787a90a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/34dba06ee0eb7a742ecdfcba69edb56e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/379fa199e19b70bbee3ac80c78e0d81e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/39d34c0caaa6f36d684fac1898a7f88f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/3d4686d9bb627b7c725f000130c5a61d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/3d8100b6e405407290dcf994ef05e0b7 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/3eb8fc367b74dbe8ae50e0f98feec6bb +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/3f9e96f5004cdb0ba971394c41c76931 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/41249a08e767749660864b8a126871e4 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/43797547fd9a4d394bb0f7a99b2b3a94 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/43f27cc92ef38f6a01575708b2fa0e97 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4771cad53166b45022c6d03cb4b8c1e2 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/48693f24b0d6df0cc626066ce01674e3 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4a7a4dcd9fea9bd2e287771c51f96631 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4b6e6db955179fabe966a77cecb884fc +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4b8f852230d4e126ed2a8f54594bc2ca +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4e4b1f24c5e69f2f305f6d6483a1605c +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4fc67dc5428a9f07a32dd1bb9e1447ae +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/50b3d3fa409e82b9990432561974e533 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/51537bd5728cad7f016be9b074c4f3ee +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/51bc502ce2fcf333e1123f4b19fcf7f8 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/536648929c703c8c5e964b502b2095ff +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/5644ad965098c5b865233d32caa78fa2 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/565023fdd3960225e817ec043b2d9474 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/56a682a9df1f53c8d67f2467389995b2 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/63982917dbb816db857477c2a2e7f999 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/69b3c18a3b9e45cd69a6df6c91f1807b +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/6c56ac77ea3b80472eb076fda62e0259 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/6c95dc85b0bd5df72197be27cb987cb0 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/6d806eaa317f200bbf2832a0abf1c1cc +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/6dbcb09bb8b13a79ba150908ac8a5491 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/6ebd06491e132b3907c33181ba6455d8 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/752d59d33a640efa2745467df3e2cb7b +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/78b5037e05950c87864989c8fd18524a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/79938d0a132e22a9a8f9cb59799aa546 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/79f249600921bff9906cd4f6418852d6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8576d7c22dbd8222ab27a6c47f56a65c +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/874ebf15c13c8699187b0c9e5dc52175 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/9285a4d2fa6444ced9a4d2775ebead57 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/929914a16eaca5537bbc9b4d33646223 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/9ae99eba4f0f2e46d6bd58c98d39a1f9 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/9dbe0a36629f740426a301876917b9d3 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/9dcf3f13f133f78ee4595ed37117b05b +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a0a55ae2ade6651b5e3a02c48eb65f88 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a104711413193d8cbfa431662760b38a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a23f793f10f58c10ce34d68d181ed32f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a515ea5e8aa465597bf897e31735b32d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a68cd2439f6cc8e7f002b1845ab3fd0c +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/adafe641ec176fcf476a9a200f7d561f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/ae269fb1b4129501c9b8ca317b0cd7e7 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/b740fd10a7de993ae4db7f1f5df909d6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/bc4c8f727196d1e399090596cae4a85b +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/bf313b342653b1b3e509da03d61866e2 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/bf81a479ccdf9a6ba78ef5a5647d8e16 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/bfae304b927120a1b379c8dfdcf03cbb +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c34cb2d9c5caf3927f220b9e43f6762d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c72101732682999b6ca050f007fc6467 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c753ab5855fa7322e298f05684a45d0f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c8927e934e7960fc7907b6fc02ea7f08 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c980544b5828a643ecaa8e784897c2c2 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/caa549dc4bdcddd64e487a5827e64a80 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cae24edceb694d087d7a1547f551ee34 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cb180d1ba68a565b8373b22576170eb8 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cc2c3f8b87c5b787305412a3076058db +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d16461dfcae4b782f721ebd81e4f8740 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d5a920fbfad1410d8ec2dbc5029bbaf6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d6327a0916e2e516fcf7ab7c5520c7a0 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d73ac23504860006ee8365d9031bd98b +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/daf428b2f08afc738dfcd85d872d49c4 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/dc5a6e1e848dfc338a281846eb757ef2 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/dcedf863f6acc3e1f21ec11434a77bf7 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e0352d0f97751491adbe6a94832772af +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e4298973f799acdce289752c24bfddf2 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e9c81ca91323dab8977ffd8a459cab06 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/eb7d39f60d584b68af01ee0b7fa59e9d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/ef5b9ae70f88795292472efad672fc1b +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f1e75c209067b23f5c0c7bf2006c43d0 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f5c9348795319821f3309d4e03bb9fdb +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f69e8aafb38584272cbcbca08f3085d3 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f6b09a5a33ecad520452011007930e0e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f7ab949c8c6b7ef3f2b743ebd98f9f59 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- metadata +267 -46
- data/app/models/carnival/field.rb.orig +0 -157
@@ -0,0 +1,45 @@
|
|
1
|
+
/**
|
2
|
+
* Select2 Galician translation
|
3
|
+
*
|
4
|
+
* Author: Leandro Regueiro <leandro.regueiro@gmail.com>
|
5
|
+
*/
|
6
|
+
(function ($) {
|
7
|
+
"use strict";
|
8
|
+
|
9
|
+
$.fn.select2.locales['gl'] = {
|
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
|
+
|
44
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['gl']);
|
45
|
+
})(jQuery);
|
@@ -0,0 +1,19 @@
|
|
1
|
+
/**
|
2
|
+
* Select2 Hebrew translation.
|
3
|
+
*
|
4
|
+
* Author: Yakir Sitbon <http://www.yakirs.net/>
|
5
|
+
*/
|
6
|
+
(function ($) {
|
7
|
+
"use strict";
|
8
|
+
|
9
|
+
$.fn.select2.locales['he'] = {
|
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
|
+
|
18
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['he']);
|
19
|
+
})(jQuery);
|
@@ -0,0 +1,24 @@
|
|
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
|
+
$.fn.select2.locales['hr'] = {
|
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
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['hr']);
|
20
|
+
|
21
|
+
function character (n) {
|
22
|
+
return " " + n + " znak" + (n%10 < 5 && n%10 > 0 && (n%100 < 5 || n%100 > 19) ? n%10 > 1 ? "a" : "" : "ova");
|
23
|
+
}
|
24
|
+
})(jQuery);
|
@@ -0,0 +1,17 @@
|
|
1
|
+
/**
|
2
|
+
* Select2 Hungarian translation
|
3
|
+
*/
|
4
|
+
(function ($) {
|
5
|
+
"use strict";
|
6
|
+
|
7
|
+
$.fn.select2.locales['hu'] = {
|
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
|
+
|
16
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['hu']);
|
17
|
+
})(jQuery);
|
@@ -0,0 +1,19 @@
|
|
1
|
+
/**
|
2
|
+
* Select2 Indonesian translation.
|
3
|
+
*
|
4
|
+
* Author: Ibrahim Yusuf <ibrahim7usuf@gmail.com>
|
5
|
+
*/
|
6
|
+
(function ($) {
|
7
|
+
"use strict";
|
8
|
+
|
9
|
+
$.fn.select2.locales['id'] = {
|
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
|
+
|
18
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['id']);
|
19
|
+
})(jQuery);
|
@@ -0,0 +1,17 @@
|
|
1
|
+
/**
|
2
|
+
* Select2 Icelandic translation.
|
3
|
+
*/
|
4
|
+
(function ($) {
|
5
|
+
"use strict";
|
6
|
+
|
7
|
+
$.fn.select2.locales['is'] = {
|
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
|
+
|
16
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['is']);
|
17
|
+
})(jQuery);
|
@@ -0,0 +1,17 @@
|
|
1
|
+
/**
|
2
|
+
* Select2 Italian translation
|
3
|
+
*/
|
4
|
+
(function ($) {
|
5
|
+
"use strict";
|
6
|
+
|
7
|
+
$.fn.select2.locales['it'] = {
|
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
|
+
|
16
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['it']);
|
17
|
+
})(jQuery);
|
@@ -0,0 +1,17 @@
|
|
1
|
+
/**
|
2
|
+
* Select2 Japanese translation.
|
3
|
+
*/
|
4
|
+
(function ($) {
|
5
|
+
"use strict";
|
6
|
+
|
7
|
+
$.fn.select2.locales['ja'] = {
|
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
|
+
|
16
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['ja']);
|
17
|
+
})(jQuery);
|
@@ -0,0 +1,19 @@
|
|
1
|
+
/**
|
2
|
+
* Select2 Georgian (Kartuli) translation.
|
3
|
+
*
|
4
|
+
* Author: Dimitri Kurashvili dimakura@gmail.com
|
5
|
+
*/
|
6
|
+
(function ($) {
|
7
|
+
"use strict";
|
8
|
+
|
9
|
+
$.fn.select2.locales['ka'] = {
|
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
|
+
|
18
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['ka']);
|
19
|
+
})(jQuery);
|
@@ -0,0 +1,19 @@
|
|
1
|
+
/**
|
2
|
+
* Select2 Korean translation.
|
3
|
+
*
|
4
|
+
* @author Swen Mun <longfinfunnel@gmail.com>
|
5
|
+
*/
|
6
|
+
(function ($) {
|
7
|
+
"use strict";
|
8
|
+
|
9
|
+
$.fn.select2.locales['ko'] = {
|
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
|
+
|
18
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['ko']);
|
19
|
+
})(jQuery);
|
@@ -0,0 +1,26 @@
|
|
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
|
+
$.fn.select2.locales['lt'] = {
|
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
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['lt']);
|
22
|
+
|
23
|
+
function character (n) {
|
24
|
+
return " " + n + " simbol" + ((n%100 > 9 && n%100 < 21) || n%10 == 0 ? "ių" : n%10 > 1 ? "ius" : "į");
|
25
|
+
}
|
26
|
+
})(jQuery);
|
@@ -0,0 +1,19 @@
|
|
1
|
+
/**
|
2
|
+
* Select2 Latvian translation.
|
3
|
+
*
|
4
|
+
* @author Uriy Efremochkin <efremochkin@uriy.me>
|
5
|
+
*/
|
6
|
+
(function ($) {
|
7
|
+
"use strict";
|
8
|
+
|
9
|
+
$.fn.select2.locales['lv'] = {
|
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
|
+
|
18
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['lv']);
|
19
|
+
})(jQuery);
|
@@ -0,0 +1,19 @@
|
|
1
|
+
/**
|
2
|
+
* Select2 Macedonian translation.
|
3
|
+
*
|
4
|
+
* Author: Marko Aleksic <psybaron@gmail.com>
|
5
|
+
*/
|
6
|
+
(function ($) {
|
7
|
+
"use strict";
|
8
|
+
|
9
|
+
$.fn.select2.locales['mk'] = {
|
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
|
+
|
18
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['mk']);
|
19
|
+
})(jQuery);
|
@@ -0,0 +1,19 @@
|
|
1
|
+
/**
|
2
|
+
* Select2 Malay translation.
|
3
|
+
*
|
4
|
+
* Author: Kepoweran <kepoweran@gmail.com>
|
5
|
+
*/
|
6
|
+
(function ($) {
|
7
|
+
"use strict";
|
8
|
+
|
9
|
+
$.fn.select2.locales['ms'] = {
|
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
|
+
|
18
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['ms']);
|
19
|
+
})(jQuery);
|
@@ -0,0 +1,17 @@
|
|
1
|
+
/**
|
2
|
+
* Select2 Dutch translation
|
3
|
+
*/
|
4
|
+
(function ($) {
|
5
|
+
"use strict";
|
6
|
+
|
7
|
+
$.fn.select2.locales['nl'] = {
|
8
|
+
formatNoMatches: function () { return "Geen resultaten gevonden"; },
|
9
|
+
formatInputTooShort: function (input, min) { var n = min - input.length; return "Vul nog " + n + " karakter" + (n == 1? "" : "s") + " in"; },
|
10
|
+
formatInputTooLong: function (input, max) { var n = input.length - max; return "Haal " + n + " karakter" + (n == 1? "" : "s") + " weg"; },
|
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
|
+
|
16
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['nl']);
|
17
|
+
})(jQuery);
|
@@ -0,0 +1,20 @@
|
|
1
|
+
/**
|
2
|
+
* Select2 Norwegian translation.
|
3
|
+
*
|
4
|
+
* Author: Torgeir Veimo <torgeir.veimo@gmail.com>
|
5
|
+
*/
|
6
|
+
(function ($) {
|
7
|
+
"use strict";
|
8
|
+
|
9
|
+
$.fn.select2.locales['no'] = {
|
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
|
+
|
18
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['no']);
|
19
|
+
})(jQuery);
|
20
|
+
|
@@ -0,0 +1,25 @@
|
|
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
|
+
$.fn.select2.locales['pl'] = {
|
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
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['pl']);
|
21
|
+
|
22
|
+
function character (n, word, pluralSuffix) {
|
23
|
+
return " " + n + " " + word + (n == 1 ? "" : n%10 < 5 && n%10 > 1 && (n%100 < 5 || n%100 > 20) ? pluralSuffix : "ów");
|
24
|
+
}
|
25
|
+
})(jQuery);
|
@@ -0,0 +1,17 @@
|
|
1
|
+
/**
|
2
|
+
* Select2 Brazilian Portuguese translation
|
3
|
+
*/
|
4
|
+
(function ($) {
|
5
|
+
"use strict";
|
6
|
+
|
7
|
+
$.fn.select2.locales['pt-BR'] = {
|
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
|
+
|
16
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['pt-BR']);
|
17
|
+
})(jQuery);
|
@@ -0,0 +1,17 @@
|
|
1
|
+
/**
|
2
|
+
* Select2 Portuguese (Portugal) translation
|
3
|
+
*/
|
4
|
+
(function ($) {
|
5
|
+
"use strict";
|
6
|
+
|
7
|
+
$.fn.select2.locales['pt-PT'] = {
|
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
|
+
|
16
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['pt-PT']);
|
17
|
+
})(jQuery);
|
@@ -0,0 +1,17 @@
|
|
1
|
+
/**
|
2
|
+
* Select2 Romanian translation.
|
3
|
+
*/
|
4
|
+
(function ($) {
|
5
|
+
"use strict";
|
6
|
+
|
7
|
+
$.fn.select2.locales['ro'] = {
|
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
|
+
|
16
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['ro']);
|
17
|
+
})(jQuery);
|
@@ -0,0 +1,19 @@
|
|
1
|
+
/**
|
2
|
+
* Select2 Serbian translation.
|
3
|
+
*
|
4
|
+
* @author Limon Monte <limon.monte@gmail.com>
|
5
|
+
*/
|
6
|
+
(function ($) {
|
7
|
+
"use strict";
|
8
|
+
|
9
|
+
$.fn.select2.locales['rs'] = {
|
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
|
+
|
18
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['rs']);
|
19
|
+
})(jQuery);
|