|
@@ -15,7 +15,10 @@
|
|
|
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");
|