mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2024-12-08 17:25:24 +01:00
1 line
667 B
JavaScript
1 line
667 B
JavaScript
|
(function($){"use strict";$.fn.select2.locales["hr"]={formatNoMatches:function(){return"Nema rezultata"},formatInputTooShort:function(input,min){return"Unesite još"+character(min-input.length)},formatInputTooLong:function(input,max){return"Unesite"+character(input.length-max)+" manje"},formatSelectionTooBig:function(limit){return"Maksimalan broj odabranih stavki je "+limit},formatLoadMore:function(pageNumber){return"Učitavanje rezultata…"},formatSearching:function(){return"Pretraga…"}};$.extend($.fn.select2.defaults,$.fn.select2.locales["hr"]);function character(n){return" "+n+" znak"+(n%10<5&&n%10>0&&(n%100<5||n%100>19)?n%10>1?"a":"":"ova")}})(jQuery);
|