Server IP : 192.185.129.71 / Your IP : 18.220.199.255 Web Server : Apache System : Linux bh-ht-3.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : svymadmin ( 4072) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home4/svymadmin/public_html/vivekaexcel.edu.in/bkp/school/assets/js/select2/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
/** * Select2 Croatian translation. * * Author: Edi Modrić <edi.modric@gmail.com> */ (function ($) { "use strict"; var specialNumbers = { 1: function(n) { return (n % 100 != 11 ? "znak" : "znakova"); }, 2: function(n) { return (n % 100 != 12 ? "znaka" : "znakova"); }, 3: function(n) { return (n % 100 != 13 ? "znaka" : "znakova"); }, 4: function(n) { return (n % 100 != 14 ? "znaka" : "znakova"); } }; $.extend($.fn.select2.defaults, { formatNoMatches: function () { return "Nema rezultata"; }, formatInputTooShort: function (input, min) { var n = min - input.length; var nMod10 = n % 10; if (nMod10 > 0 && nMod10 < 5) { return "Unesite još " + n + " " + specialNumbers[nMod10](n); } return "Unesite još " + n + " znakova"; }, formatInputTooLong: function (input, max) { var n = input.length - max; var nMod10 = n % 10; if (nMod10 > 0 && nMod10 < 5) { return "Unesite " + n + " " + specialNumbers[nMod10](n) + " manje"; } return "Unesite " + n + " znakova manje"; }, formatSelectionTooBig: function (limit) { return "Maksimalan broj odabranih stavki je " + limit; }, formatLoadMore: function (pageNumber) { return "Učitavanje rezultata..."; }, formatSearching: function () { return "Pretraga..."; } }); })(jQuery);