[101] | 1 | /*
|
---|
| 2 | * jQuery Mobile Framework : plugin to provide a date and time picker.
|
---|
| 3 | * Copyright (c) JTSage
|
---|
| 4 | * CC 3.0 Attribution. May be relicensed without permission/notifcation.
|
---|
| 5 | * https://github.com/jtsage/jquery-mobile-datebox
|
---|
| 6 | *
|
---|
| 7 | * Translation by: Alexander Zolotko <azolotko@gmail.com>
|
---|
| 8 | *
|
---|
| 9 | */
|
---|
| 10 |
|
---|
| 11 | jQuery.extend(jQuery.mobile.datebox.prototype.options.lang, {
|
---|
| 12 | 'ru': {
|
---|
| 13 | setDateButtonLabel: "Установить Дату",
|
---|
| 14 | setTimeButtonLabel: "Установить Время",
|
---|
| 15 | setDurationButtonLabel: "Установить Продолжительность",
|
---|
| 16 | calTodayButtonLabel: "Сегодня",
|
---|
| 17 | titleDateDialogLabel: "Выбрать дату",
|
---|
| 18 | titleTimeDialogLabel: "Выбрать время",
|
---|
| 19 | daysOfWeek: ["Воскресенье", "Понедельник", "Вторник", "Среда", "Четверг", "Пятница", "Суббота"],
|
---|
| 20 | daysOfWeekShort: ["Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"],
|
---|
| 21 | monthsOfYear: ["Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь"],
|
---|
| 22 | monthsOfYearShort: ["Янв", "Фев", "Мар", "Апр", "Май", "Июн", "Июл", "Авг", "Сен", "Окт", "Ноя", "Дек"],
|
---|
| 23 | durationLabel: ["Дни", "Часы", "Минуты", "Секунды"],
|
---|
| 24 | durationDays: ["День", "Дни"],
|
---|
| 25 | tooltip: "Открытый выбор даты",
|
---|
| 26 | nextMonth: "След",
|
---|
| 27 | prevMonth: "Пред",
|
---|
| 28 | timeFormat: 24,
|
---|
| 29 | headerFormat: '%A, %B %-d, %Y',
|
---|
| 30 | dateFieldOrder: ['d','m','y'],
|
---|
| 31 | timeFieldOrder: ['h', 'i', 'a'],
|
---|
| 32 | slideFieldOrder: ['y', 'm', 'd'],
|
---|
| 33 | dateFormat: "%d.%m.%Y",
|
---|
| 34 | useArabicIndic: false,
|
---|
| 35 | isRTL: false,
|
---|
| 36 | calStartDay: 0,
|
---|
| 37 | clearButton: "Ясно",
|
---|
| 38 | durationOrder: ['d', 'h', 'i', 's'],
|
---|
| 39 | meridiem: ["AM", "PM"],
|
---|
| 40 | timeOutput: "%k:%M",
|
---|
| 41 | durationFormat: "%Dd %DA, %Dl:%DM:%DS",
|
---|
| 42 | calDateListLabel: "Другие даты",
|
---|
| 43 | calHeaderFormat: "%B %Y"
|
---|
| 44 | }
|
---|
| 45 | });
|
---|
| 46 | jQuery.extend(jQuery.mobile.datebox.prototype.options, {
|
---|
| 47 | useLang: 'ru'
|
---|
| 48 | });
|
---|
| 49 |
|
---|