From b7c2a8b7b66bc5d2da628e13c303aae66cff4daa Mon Sep 17 00:00:00 2001 From: Wojciech Witczak <70755745+wojtkolos@users.noreply.github.com> Date: Tue, 29 Oct 2024 22:40:54 +0100 Subject: [PATCH] [l10n] Improve Polish (plPL) locale (#14891) Co-authored-by: Andrew Cherniavskyi --- docs/data/date-pickers/localization/data.json | 2 +- packages/x-date-pickers/src/locales/plPL.ts | 24 +++++++++---------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/docs/data/date-pickers/localization/data.json b/docs/data/date-pickers/localization/data.json index f8d4e61e2317..f29e1b96e9a5 100644 --- a/docs/data/date-pickers/localization/data.json +++ b/docs/data/date-pickers/localization/data.json @@ -203,7 +203,7 @@ "languageTag": "pl-PL", "importName": "plPL", "localeName": "Polish", - "missingKeysCount": 22, + "missingKeysCount": 10, "totalKeysCount": 50, "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/plPL.ts" }, diff --git a/packages/x-date-pickers/src/locales/plPL.ts b/packages/x-date-pickers/src/locales/plPL.ts index a65ce59c360d..7c8e92d64479 100644 --- a/packages/x-date-pickers/src/locales/plPL.ts +++ b/packages/x-date-pickers/src/locales/plPL.ts @@ -25,10 +25,10 @@ const plPLPickers: Partial = { // DateRange labels start: 'Początek', end: 'Koniec', - // startDate: 'Start date', - // startTime: 'Start time', - // endDate: 'End date', - // endTime: 'End time', + startDate: 'Data rozpoczęcia', + startTime: 'Czas rozpoczęcia', + endDate: 'Data zakończenia', + endTime: 'Czas zakończenia', // Action bar cancelButtonLabel: 'Anuluj', @@ -63,7 +63,7 @@ const plPLPickers: Partial = { formattedDate ? `Wybierz datę, obecnie wybrana data to ${formattedDate}` : 'Wybierz datę', openTimePickerDialogue: (formattedTime) => formattedTime ? `Wybierz czas, obecnie wybrany czas to ${formattedTime}` : 'Wybierz czas', - // fieldClearLabel: 'Clear', + fieldClearLabel: 'Wyczyść', // Table labels timeTableLabel: 'wybierz czas', @@ -80,13 +80,13 @@ const plPLPickers: Partial = { // fieldMeridiemPlaceholder: () => 'aa', // View names - // year: 'Year', - // month: 'Month', - // day: 'Day', - // weekDay: 'Week day', - // hours: 'Hours', - // minutes: 'Minutes', - // seconds: 'Seconds', + year: 'Rok', + month: 'Miesiąc', + day: 'Dzień', + weekDay: 'Dzień tygodnia', + hours: 'Godzin', + minutes: 'Minut', + seconds: 'Sekund', // meridiem: 'Meridiem', // Common