/usr/share/javascript/jquery-countdown/jquery.countdown-ru.js is in libjs-jquery-countdown 12-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | /* http://keith-wood.name/countdown.html
* Russian initialisation for the jQuery countdown extension
* Written by Sergey K. (xslade{at}gmail.com) June 2010. */
(function($) {
$.countdown.regional['ru'] = {
labels: ['Лет', 'Месяцев', 'Недель', 'Дней', 'Часов', 'Минут', 'Секунд'],
labels1: ['Год', 'Месяц', 'Неделя', 'День', 'Час', 'Минута', 'Секунда'],
labels2: ['Года', 'Месяца', 'Недели', 'Дня', 'Часа', 'Минуты', 'Секунды'],
compactLabels: ['l', 'm', 't', 'd'], compactLabels1: ['r', 'm', 't', 'd'],
whichLabels: function(amount) {
var units = amount % 10;
var tens = Math.floor((amount % 100) / 10);
return (amount == 1 ? 1 : (units >= 2 && units <= 4 && tens != 1 ? 2 :
(units == 1 && tens != 1 ? 1 : 0)));
},
timeSeparator: ':', isRTL: false};
$.countdown.setDefaults($.countdown.regional['ru']);
})(jQuery);
|