countdown/js/jquery.countdown-sk.js

20 lines
764 B
JavaScript
Raw Normal View History

/* http://keith-wood.name/countdown.html
2022-12-28 23:45:36 +00:00
* Slovak initialisation for the jQuery countdown extension
* Written by Roman Chlebec (creamd@c64.sk) (2008) */
(function($) {
'use strict';
$.countdown.regionalOptions.sk = {
labels: ['Rokov','Mesiacov','Týždňov','Dní','Hodín','Minút','Sekúnd'],
labels1: ['Rok','Mesiac','Týždeň','Deň','Hodina','Minúta','Sekunda'],
labels2: ['Roky','Mesiace','Týždne','Dni','Hodiny','Minúty','Sekundy'],
compactLabels: ['r','m','t','d'],
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.sk);
2022-12-28 23:45:36 +00:00
})(jQuery);