countdown/js/jquery.countdown-uk.js

19 lines
929 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
* Ukrainian initialisation for the jQuery countdown extension
* Written by Goloborodko M misha.gm@gmail.com (2009), corrections by Iгор Kоновал */
(function($) {
'use strict';
$.countdown.regionalOptions.uk = {
labels: ['Років','Місяців','Тижнів','Днів','Годин','Хвилин','Секунд'],
labels1: ['Рік','Місяць','Тиждень','День','Година','Хвилина','Секунда'],
labels2: ['Роки','Місяці','Тижні','Дні','Години','Хвилини','Секунди'],
compactLabels: ['r','m','t','d'],
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.uk);
})(jQuery);