PageSourceSearch

https://academy.astrovastu.pro/nassets/42c11533/jquery.countdown-ru-with-translate.js?v=1765633899

js astrovastu.pro collected 2026-09-28 09:00:29 UTC 991 bytes, 27 lines download raw bytes

1function ct(value) {
2	if (typeof Yii != 'undefined') {
3		value = Yii.t('common', value);
4	}
5
6	return value;
7}
8
9(function($) {
10	$.countdown.regionalOptions['ru'] = {
11		labels: [ct('Лет'), ct('Месяцев'), ct('Недель'), ct(' дней '), ':', ':', ''],
12		labels1: [ct('Год'), ct('Месяц'), ct('Неделя'), ct(' день '), ':', ':', ''],
13		labels2: [ct('Года'), ct('Месяца'), ct('Недели'), ct(' дня '), ':', ':', ''],
14		compactLabels: [ct('л'), ct('м'), ct('н'), ct(' д')],
15		compactLabels1: [ct('л'), ct('м'), ct('н'), ct(' д')],
16		whichLabels: function (amount) {
17			var units = amount % 10;
18			var tens = Math.floor((amount % 100) / 10);
19			return (amount == 1 ? 1 : (units >= 2 && units <= 4 && tens != 1 ? 2 :
20				(units == 1 && tens != 1 ? 1 : 0)));
21		},
22		digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'],
23		timeSeparator: ':',
24		isRTL: false
25	};
26	$.countdown.setDefaults($.countdown.regionalOptions['ru']);
27})(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.