countdown/js/jquery.countdown-sr.js

20 lines
878 B
JavaScript
Raw Normal View History

/* http://keith-wood.name/countdown.html
2022-12-28 23:45:36 +00:00
* Serbian Cyrillic initialisation for the jQuery countdown extension
* Written by Predrag Leka lp@lemurcake.com (2010) */
(function($) {
'use strict';
$.countdown.regionalOptions.sr = {
labels: ['Година','Месеци','Недеља','Дана','Часова','Минута','Секунди'],
labels1: ['Година','месец','Недеља','Дан','Час','Минут','Секунда'],
labels2: ['Године','Месеца','Недеље','Дана','Часа','Минута','Секунде'],
compactLabels: ['г','м','н','д'],
2022-12-28 23:45:36 +00:00
whichLabels: function(amount) {
return (amount === 1 ? 1 : (amount >= 2 && amount <= 4 ? 2 : 0));
2022-12-28 23:45:36 +00:00
},
digits: ['0','1','2','3','4','5','6','7','8','9'],
timeSeparator: ':',
isRTL: false
};
$.countdown.setDefaults($.countdown.regionalOptions.sr);
2022-12-28 23:45:36 +00:00
})(jQuery);