Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added russian translation #78

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions src/js/rangedate-picker.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@ const availableMonths = {
EN: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November',
'December'],
ID: ['Januari', 'Februari', 'Maret', 'April', 'Mei', 'Juni', 'Juli', 'Agustus', 'September', 'Oktober', 'November',
'Desember']
'Desember'],
RU: ['Январь', 'Февраль', 'Март', 'Апрель', 'Май', 'Июнь', 'Июль', 'Август', 'Сентябрь', 'Октябрь', 'ноябрь',
'Декабрь'],
}

const availableShortDays = {
EN: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
ID: ['Min', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab']
ID: ['Min', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab'],
RU: ['Вск', 'Пнд', 'Втр', 'Срд', 'Чтв', 'Птн', 'Сбт']
}

const presetRangeLabel = {
Expand All @@ -28,6 +31,13 @@ const presetRangeLabel = {
lastMonth: 'Bulan lalu',
lastSevenDays: '7 Hari Terakhir',
lastThirtyDays: '30 Hari Terakhir'
},
RU: {
today: 'Сегодня',
thisMonth: 'Этот месяц',
lastMonth: 'Последний месяц',
lastSevenSays: 'Последние 7 дней',
lastThirtyDays: 'Последние 30 дней'
}
}

Expand Down