Skip to content

Commit

Permalink
[l10n] Improve Polish (plPL) locale (#14891)
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Cherniavskyi <[email protected]>
  • Loading branch information
wojtkolos and cherniavskii authored Oct 29, 2024
1 parent 753b2f7 commit b7c2a8b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 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 @@ -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"
},
Expand Down
24 changes: 12 additions & 12 deletions packages/x-date-pickers/src/locales/plPL.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ const plPLPickers: Partial<PickersLocaleText> = {
// 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',
Expand Down Expand Up @@ -63,7 +63,7 @@ const plPLPickers: Partial<PickersLocaleText> = {
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',
Expand All @@ -80,13 +80,13 @@ const plPLPickers: Partial<PickersLocaleText> = {
// 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
Expand Down

0 comments on commit b7c2a8b

Please sign in to comment.