46 lines
1.3 KiB
JavaScript
46 lines
1.3 KiB
JavaScript
/*! Select2 4.0.6-rc.1 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
|
|
|
(function () {
|
|
if (jQuery && jQuery.fn && jQuery.fn.select2 && jQuery.fn.select2.amd)
|
|
var e = jQuery.fn.select2.amd;
|
|
return (
|
|
e.define("select2/i18n/hr", [], function () {
|
|
function e(e) {
|
|
var t = " " + e + " znak";
|
|
return (
|
|
e % 10 < 5 && e % 10 > 0 && (e % 100 < 5 || e % 100 > 19)
|
|
? e % 10 > 1 && (t += "a")
|
|
: (t += "ova"),
|
|
t
|
|
);
|
|
}
|
|
return {
|
|
errorLoading: function () {
|
|
return "Preuzimanje nije uspjelo.";
|
|
},
|
|
inputTooLong: function (t) {
|
|
var n = t.input.length - t.maximum;
|
|
return "Unesite " + e(n);
|
|
},
|
|
inputTooShort: function (t) {
|
|
var n = t.minimum - t.input.length;
|
|
return "Unesite još " + e(n);
|
|
},
|
|
loadingMore: function () {
|
|
return "Učitavanje rezultata…";
|
|
},
|
|
maximumSelected: function (e) {
|
|
return "Maksimalan broj odabranih stavki je " + e.maximum;
|
|
},
|
|
noResults: function () {
|
|
return "Nema rezultata";
|
|
},
|
|
searching: function () {
|
|
return "Pretraga…";
|
|
},
|
|
};
|
|
}),
|
|
{ define: e.define, require: e.require }
|
|
);
|
|
})();
|