Skip to content

Commit

Permalink
[l10n] Improve Ukrainian (uk-UA) locale (#12627)
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Kobylansky <57197177+alexkobylansky@users.noreply.github.com>
Co-authored-by: Lukas <llukas.tyla@gmail.com>
  • Loading branch information
alexkobylansky and LukasTy authored Apr 2, 2024
1 parent 90d6d68 commit 4802a15
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion docs/data/date-pickers/localization/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@
"languageTag": "uk-UA",
"importName": "ukUA",
"localeName": "Ukrainian",
"missingKeysCount": 14,
"missingKeysCount": 0,
"totalKeysCount": 50,
"githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/ukUA.ts"
},
Expand Down
28 changes: 14 additions & 14 deletions packages/x-date-pickers/src/locales/ukUA.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ const ukUAPickers: Partial<PickersLocaleText<any>> = {
// DateRange labels
start: 'Початок',
end: 'Кінець',
// startDate: 'Start date',
// startTime: 'Start time',
// endDate: 'End date',
// endTime: 'End time',
startDate: 'День початку',
startTime: 'Час початку',
endDate: 'День закінчення',
endTime: 'Час закінчення',

// Action bar
cancelButtonLabel: 'Відміна',
Expand Down Expand Up @@ -67,7 +67,7 @@ const ukUAPickers: Partial<PickersLocaleText<any>> = {
value !== null && utils.isValid(value)
? `Оберіть час, обраний час ${utils.format(value, 'fullTime')}`
: 'Оберіть час',
// fieldClearLabel: 'Clear value',
fieldClearLabel: 'Очистити дані',

// Table labels
timeTableLabel: 'оберіть час',
Expand All @@ -84,17 +84,17 @@ const ukUAPickers: Partial<PickersLocaleText<any>> = {
fieldMeridiemPlaceholder: () => 'aa',

// View names
// year: 'Year',
// month: 'Month',
// day: 'Day',
// weekDay: 'Week day',
// hours: 'Hours',
// minutes: 'Minutes',
// seconds: 'Seconds',
// meridiem: 'Meridiem',
year: 'Рік',
month: 'Місяць',
day: 'День',
weekDay: 'День тижня',
hours: 'Годин',
minutes: 'Хвилин',
seconds: 'Секунд',
meridiem: 'Меридіем',

// Common
// empty: 'Empty',
empty: 'Порожній',
};

export const ukUA = getPickersLocalization(ukUAPickers);

0 comments on commit 4802a15

Please sign in to comment.