Added countdown i18n.
[wolnelektury.git] / wolnelektury / static / js / jquery.countdown-ru.js
diff --git a/wolnelektury/static/js/jquery.countdown-ru.js b/wolnelektury/static/js/jquery.countdown-ru.js
new file mode 100644 (file)
index 0000000..83303b3
--- /dev/null
@@ -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);