Skip to content

Commit

Permalink
chore: improve ru_RU locale for DatePicker (ant-design#47705)
Browse files Browse the repository at this point in the history
* Update ru_RU.ts

Signed-off-by: anykobz <66529344+anykobz@users.noreply.github.com>

* Update components/date-picker/locale/ru_RU.ts

Signed-off-by: afc163 <afc163@gmail.com>

* chore: update snapshot

---------

Signed-off-by: anykobz <66529344+anykobz@users.noreply.github.com>
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: anykobz <66529344+anykobz@users.noreply.github.com>
  • Loading branch information
2 people authored and tanzhenyun committed Mar 29, 2024
1 parent d8c5a70 commit 9476eed
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 33 deletions.
2 changes: 2 additions & 0 deletions components/date-picker/locale/ru_RU.ts
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
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

0 comments on commit 9476eed

Please sign in to comment.