new static files.
Signed-off-by: rscnt <rascnt@gmail.com>
This commit is contained in:
parent
83e792bcaa
commit
fe4f6c97d5
778 changed files with 71557 additions and 0 deletions
25
static/cms/js/select2/select2_locale_pl.js
vendored
Normal file
25
static/cms/js/select2/select2_locale_pl.js
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
/**
|
||||
* Select2 Polish translation.
|
||||
*
|
||||
* @author Jan Kondratowicz <jan@kondratowicz.pl>
|
||||
* @author Uriy Efremochkin <efremochkin@uriy.me>
|
||||
* @author Michał Połtyn <mike@poltyn.com>
|
||||
*/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.select2.locales['pl'] = {
|
||||
formatNoMatches: function () { return "Brak wyników"; },
|
||||
formatInputTooShort: function (input, min) { return "Wpisz co najmniej" + character(min - input.length, "znak", "i"); },
|
||||
formatInputTooLong: function (input, max) { return "Wpisana fraza jest za długa o" + character(input.length - max, "znak", "i"); },
|
||||
formatSelectionTooBig: function (limit) { return "Możesz zaznaczyć najwyżej" + character(limit, "element", "y"); },
|
||||
formatLoadMore: function (pageNumber) { return "Ładowanie wyników…"; },
|
||||
formatSearching: function () { return "Szukanie…"; }
|
||||
};
|
||||
|
||||
$.extend($.fn.select2.defaults, $.fn.select2.locales['pl']);
|
||||
|
||||
function character (n, word, pluralSuffix) {
|
||||
return " " + n + " " + word + (n == 1 ? "" : n%10 < 5 && n%10 > 1 && (n%100 < 5 || n%100 > 20) ? pluralSuffix : "ów");
|
||||
}
|
||||
})(jQuery);
|
||||
Loading…
Add table
Add a link
Reference in a new issue