File:  [LON-CAPA] / loncom / html / adm / countdown / jquery.countdown-hr.js
Revision 1.1: download - view: text, annotated - select for diffs
Sun Mar 18 13:51:11 2012 UTC (12 years, 5 months ago) by foxr
Branches: MAIN
CVS tags: version_2_11_0_RC1, HEAD
Add jquery countdown widget to the repository (BZ 5891 resolution will use
this for the timer).

    1: /* http://keith-wood.name/countdown.html
    2:  * Croatian Latin initialisation for the jQuery countdown extension
    3:  * Written by Dejan Broz info@hqfactory.com (2011) */
    4: (function($) {
    5: 	$.countdown.regional['hr'] = {
    6: 		labels: ['Godina', 'Mjeseci', 'Tjedana', 'Dana', 'Sati', 'Minuta', 'Sekundi'],
    7: 		labels1: ['Godina', 'Mjesec', 'Tjedan', 'Dan', 'Sat', 'Minuta', 'Sekunda'],
    8: 		labels2: ['Godine', 'Mjeseca', 'Tjedna', 'Dana', 'Sata', 'Minute', 'Sekunde'],
    9: 		compactLabels: ['g', 'm', 't', 'd'],
   10: 		whichLabels: function(amount) {
   11: 			return (amount == 1 ? 1 : (amount >= 2 && amount <= 4 ? 2 : 0));
   12: 		},
   13: 		timeSeparator: ':', isRTL: false};
   14: 	$.countdown.setDefaults($.countdown.regional['hr']);
   15: })(jQuery);

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>