mirror of
https://gitee.com/coder-xiaomo/flashsale
synced 2025-09-13 07:21:38 +08:00
添加Metronic(作为LFS)
This commit is contained in:
22
frontend/static/assets/global/plugins/select2/select2_locale_pl.js
vendored
Normal file
22
frontend/static/assets/global/plugins/select2/select2_locale_pl.js
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
/**
|
||||
* Select2 Polish translation.
|
||||
*
|
||||
* @author Jan Kondratowicz <jan@kondratowicz.pl>
|
||||
* @author Uriy Efremochkin <efremochkin@uriy.me>
|
||||
*/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
$.extend($.fn.select2.defaults, {
|
||||
formatNoMatches: function () { return "Brak wyników"; },
|
||||
formatInputTooShort: function (input, min) { return "Wpisz jeszcze" + 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…"; }
|
||||
});
|
||||
|
||||
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);
|
Reference in New Issue
Block a user