Skip to content

Commit

Permalink
[l10n] Improve Dutch (nlNL) locale (pickers) (#14036)
Browse files Browse the repository at this point in the history
Signed-off-by: Robin <[email protected]>
Co-authored-by: alex <[email protected]>
  • Loading branch information
Robin1896 and alexfauquette authored Aug 2, 2024
1 parent 98975a3 commit 7d86cfd
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 @@ -59,7 +59,7 @@
"languageTag": "nl-NL",
"importName": "nlNL",
"localeName": "Dutch",
"missingKeysCount": 14,
"missingKeysCount": 0,
"totalKeysCount": 50,
"githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/nlNL.ts"
},
Expand Down
28 changes: 14 additions & 14 deletions packages/x-date-pickers/src/locales/nlNL.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ const nlNLPickers: Partial<PickersLocaleText<any>> = {
// DateRange labels
start: 'Start',
end: 'Einde',
// startDate: 'Start date',
// startTime: 'Start time',
// endDate: 'End date',
// endTime: 'End time',
startDate: 'Start datum',
startTime: 'Start tijd',
endDate: 'Eind datum',
endTime: 'Eind tijd',

// Action bar
cancelButtonLabel: 'Annuleren',
Expand Down Expand Up @@ -67,7 +67,7 @@ const nlNLPickers: Partial<PickersLocaleText<any>> = {
value !== null && utils.isValid(value)
? `Kies tijd, geselecteerde tijd is ${utils.format(value, 'fullTime')}`
: 'Kies tijd',
// fieldClearLabel: 'Clear value',
fieldClearLabel: 'Wissen',

// Table labels
timeTableLabel: 'kies tijd',
Expand All @@ -84,17 +84,17 @@ const nlNLPickers: 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: 'Jaar',
month: 'Maand',
day: 'Dag',
weekDay: 'Weekdag',
hours: 'Uren',
minutes: 'Minuten',
seconds: 'Seconden',
meridiem: 'Middag',

// Common
// empty: 'Empty',
empty: 'Legen',
};

export const nlNL = getPickersLocalization(nlNLPickers);

0 comments on commit 7d86cfd

Please sign in to comment.