From: Lukasz Date: Tue, 18 May 2010 08:31:45 +0000 (+0200) Subject: Added countdown i18n. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/3d61d37cfde0d74021bd7e4aff0dd082627352e0?ds=inline;hp=--cc Added countdown i18n. --- 3d61d37cfde0d74021bd7e4aff0dd082627352e0 diff --git a/wolnelektury/static/js/jquery.countdown-de.js b/wolnelektury/static/js/jquery.countdown-de.js new file mode 100644 index 000000000..a578c9fca --- /dev/null +++ b/wolnelektury/static/js/jquery.countdown-de.js @@ -0,0 +1,11 @@ +/* http://keith-wood.name/countdown.html + German initialisation for the jQuery countdown extension + Written by Keith Wood (kbwood@virginbroadband.com.au) Jan 2008. */ +(function($) { + $.countdown.regional['de'] = { + labels: ['Jahren', 'Monate', 'Wochen', 'Tage', 'Stunden', 'Minuten', 'Sekunden'], + labels1: ['Jahre', 'Monat', 'Woche', 'Tag', 'Stunde', 'Minute', 'Sekunde'], + compactLabels: ['J', 'M', 'W', 'T'], + timeSeparator: ':', isRTL: false}; + //$.countdown.setDefaults($.countdown.regional['de']); +})(jQuery); diff --git a/wolnelektury/static/js/jquery.countdown-es.js b/wolnelektury/static/js/jquery.countdown-es.js new file mode 100644 index 000000000..07fea6d69 --- /dev/null +++ b/wolnelektury/static/js/jquery.countdown-es.js @@ -0,0 +1,11 @@ +/* http://keith-wood.name/countdown.html + * Spanish initialisation for the jQuery countdown extension + * Written by Sergio Carracedo Martinez webmaster@neodisenoweb.com (2008) */ +(function($) { + $.countdown.regional['es'] = { + labels: ['Años', 'Meses', 'Semanas', 'Dias', 'Horas', 'Minutos', 'Segundos'], + labels1: ['Años', 'Meses', 'Semanas', 'Dias', 'Horas', 'Minutos', 'Segundos'], + compactLabels: ['a', 'm', 's', 'g'], + timeSeparator: ':', isRTL: false}; + //$.countdown.setDefaults($.countdown.regional['es']); +})(jQuery); diff --git a/wolnelektury/static/js/jquery.countdown-fr.js b/wolnelektury/static/js/jquery.countdown-fr.js new file mode 100644 index 000000000..45a5990d1 --- /dev/null +++ b/wolnelektury/static/js/jquery.countdown-fr.js @@ -0,0 +1,11 @@ +/* http://keith-wood.name/countdown.html + French initialisation for the jQuery countdown extension + Written by Keith Wood (kbwood{at}iinet.com.au) Jan 2008. */ +(function($) { + $.countdown.regional['fr'] = { + labels: ['Années', 'Mois', 'Semaines', 'Jours', 'Heures', 'Minutes', 'Secondes'], + labels1: ['Année', 'Mois', 'Semaine', 'Jour', 'Heure', 'Minute', 'Seconde'], + compactLabels: ['a', 'm', 's', 'j'], + timeSeparator: ':', isRTL: false}; + //$.countdown.setDefaults($.countdown.regional['fr']); +})(jQuery); diff --git a/wolnelektury/static/js/jquery.countdown-lt.js b/wolnelektury/static/js/jquery.countdown-lt.js new file mode 100644 index 000000000..37afdd414 --- /dev/null +++ b/wolnelektury/static/js/jquery.countdown-lt.js @@ -0,0 +1,11 @@ +/* http://keith-wood.name/countdown.html + * Lithuanian localisation for the jQuery countdown extension + * Written by Moacir P. de Sá Pereira (moacir{at}gmail.com) (2009) */ +(function($) { + $.countdown.regional['lt'] = { + labels: ['Metų', 'Mėnesių', 'Savaičių', 'Dienų', 'Valandų', 'Minučių', 'Sekundžių'], + labels1: ['Metai', 'Mėnuo', 'Savaitė', 'Diena', 'Valanda', 'Minutė', 'Sekundė'], + compactLabels: ['m', 'm', 's', 'd'], + timeSeparator: ':', isRTL: false}; + //$.countdown.setDefaults($.countdown.regional['lt']); +})(jQuery); diff --git a/wolnelektury/static/js/jquery.countdown-ru.js b/wolnelektury/static/js/jquery.countdown-ru.js new file mode 100644 index 000000000..83303b3ae --- /dev/null +++ b/wolnelektury/static/js/jquery.countdown-ru.js @@ -0,0 +1,11 @@ +/* http://keith-wood.name/countdown.html + * Russian initialisation for the jQuery countdown extension + * Written by Dominus i3rixon@gmail.com (2008) */ +(function($) { + $.countdown.regional['ru'] = { + labels: ['Лет', 'Месяцев', 'Недель', 'Дней', 'Часов', 'Минут', 'Секунд'], + labels1: ['Год', 'Месяц', 'Неделя', 'День', 'Час', 'Минута', 'Секунда'], + compactLabels: ['l', 'm', 'n', 'd'], compactLabels1: ['g', 'm', 'n', 'd'], + timeSeparator: ':', isRTL: false}; + //$.countdown.setDefaults($.countdown.regional['ru']); +})(jQuery);