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

chore: improve ru_RU locale for DatePicker #47705

Merged
merged 3 commits into from
Mar 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions components/date-picker/locale/ru_RU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ const locale: PickerLocale = {
rangeYearPlaceholder: ['Начальный год', 'Год окончания'],
rangeMonthPlaceholder: ['Начальный месяц', 'Конечный месяц'],
rangeWeekPlaceholder: ['Начальная неделя', 'Конечная неделя'],
shortWeekDays: ['Вскр', 'Пн', 'Вт', 'Ср', 'Чт', 'Пт', 'Сбб'],
shortMonths: ['Янв', 'Фев', 'Мар', 'Апр', 'Май', 'Июн', 'Июл', 'Авг', 'Сен', 'Окт', 'Ноя', 'Дек'],
...CalendarLocale,
},
timePickerLocale: {
Expand Down
66 changes: 33 additions & 33 deletions components/locale/__tests__/__snapshots__/index.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -281867,7 +281867,7 @@ exports[`Locale Provider should display the text as ru 1`] = `
tabindex="-1"
type="button"
>
сент.
Сен
</button>
<button
class="ant-picker-year-btn"
Expand Down Expand Up @@ -281905,25 +281905,25 @@ exports[`Locale Provider should display the text as ru 1`] = `
<thead>
<tr>
<th>
пн
Пн
</th>
<th>
вт
Вт
</th>
<th>
ср
Ср
</th>
<th>
чт
Чт
</th>
<th>
пт
Пт
</th>
<th>
сб
Сбб
</th>
<th>
вс
Вскр
</th>
</tr>
</thead>
Expand Down Expand Up @@ -284086,7 +284086,7 @@ exports[`Locale Provider should display the text as ru 1`] = `
tabindex="-1"
type="button"
>
сент.
Сен
</button>
<button
class="ant-picker-year-btn"
Expand Down Expand Up @@ -284126,25 +284126,25 @@ exports[`Locale Provider should display the text as ru 1`] = `
<thead>
<tr>
<th>
пн
Пн
</th>
<th>
вт
Вт
</th>
<th>
ср
Ср
</th>
<th>
чт
Чт
</th>
<th>
пт
Пт
</th>
<th>
сб
Сбб
</th>
<th>
вс
Вскр
</th>
</tr>
</thead>
Expand Down Expand Up @@ -284624,7 +284624,7 @@ exports[`Locale Provider should display the text as ru 1`] = `
tabindex="-1"
type="button"
>
окт.
Окт
</button>
<button
class="ant-picker-year-btn"
Expand Down Expand Up @@ -284662,25 +284662,25 @@ exports[`Locale Provider should display the text as ru 1`] = `
<thead>
<tr>
<th>
пн
Пн
</th>
<th>
вт
Вт
</th>
<th>
ср
Ср
</th>
<th>
чт
Чт
</th>
<th>
пт
Пт
</th>
<th>
сб
Сбб
</th>
<th>
вс
Вскр
</th>
</tr>
</thead>
Expand Down Expand Up @@ -285719,9 +285719,9 @@ exports[`Locale Provider should display the text as ru 1`] = `
</span>
<span
class="ant-select-selection-item"
title="сент."
title="Сен"
>
сент.
Сен
</span>
</div>
<span
Expand Down Expand Up @@ -285811,25 +285811,25 @@ exports[`Locale Provider should display the text as ru 1`] = `
<thead>
<tr>
<th>
пн
Пн
</th>
<th>
вт
Вт
</th>
<th>
ср
Ср
</th>
<th>
чт
Чт
</th>
<th>
пт
Пт
</th>
<th>
сб
Сбб
</th>
<th>
вс
Вскр
</th>
</tr>
</thead>
Expand Down