2022-12-31 10:07:18 +00:00
|
|
|
/* http://keith-wood.name/countdown.html
|
2022-12-28 23:45:36 +00:00
|
|
|
* Serbian Latin initialisation for the jQuery countdown extension
|
|
|
|
* Written by Predrag Leka lp@lemurcake.com (2010) */
|
|
|
|
(function($) {
|
2022-12-31 10:07:18 +00:00
|
|
|
'use strict';
|
2022-12-28 23:45:36 +00:00
|
|
|
$.countdown.regionalOptions['sr-SR'] = {
|
2022-12-31 10:07:18 +00:00
|
|
|
labels: ['Godina','Meseci','Nedelja','Dana','Časova','Minuta','Sekundi'],
|
|
|
|
labels1: ['Godina','Mesec','Nedelja','Dan','Čas','Minut','Sekunda'],
|
|
|
|
labels2: ['Godine','Meseca','Nedelje','Dana','Časa','Minuta','Sekunde'],
|
|
|
|
compactLabels: ['g','m','n','d'],
|
2022-12-28 23:45:36 +00:00
|
|
|
whichLabels: function(amount) {
|
2022-12-31 10:07:18 +00:00
|
|
|
return (amount === 1 ? 1 : (amount >= 2 && amount <= 4 ? 2 : 0));
|
2022-12-28 23:45:36 +00:00
|
|
|
},
|
2022-12-31 10:07:18 +00:00
|
|
|
digits: ['0','1','2','3','4','5','6','7','8','9'],
|
|
|
|
timeSeparator: ':',
|
|
|
|
isRTL: false
|
|
|
|
};
|
2022-12-28 23:45:36 +00:00
|
|
|
$.countdown.setDefaults($.countdown.regionalOptions['sr-SR']);
|
|
|
|
})(jQuery);
|