countdown/js/jquery.countdown-sr.js

20 lines
878 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* http://keith-wood.name/countdown.html
* 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: ['г','м','н','д'],
whichLabels: function(amount) {
return (amount === 1 ? 1 : (amount >= 2 && amount <= 4 ? 2 : 0));
},
digits: ['0','1','2','3','4','5','6','7','8','9'],
timeSeparator: ':',
isRTL: false
};
$.countdown.setDefaults($.countdown.regionalOptions.sr);
})(jQuery);