countdown/js/jquery.countdown-sr.js

20 lines
878 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/* 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);