diff --git a/docs/data/date-pickers/localization/data.json b/docs/data/date-pickers/localization/data.json index ab897ccab6ab6..92307676e08ce 100644 --- a/docs/data/date-pickers/localization/data.json +++ b/docs/data/date-pickers/localization/data.json @@ -107,7 +107,7 @@ "languageTag": "hu-HU", "importName": "huHU", "localeName": "Hungarian", - "missingKeysCount": 14, + "missingKeysCount": 0, "totalKeysCount": 50, "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/huHU.ts" }, diff --git a/packages/x-date-pickers/src/locales/huHU.ts b/packages/x-date-pickers/src/locales/huHU.ts index eeaf2448bd4a0..2738f681e3c74 100644 --- a/packages/x-date-pickers/src/locales/huHU.ts +++ b/packages/x-date-pickers/src/locales/huHU.ts @@ -26,10 +26,10 @@ const huHUPickers: Partial> = { // DateRange labels start: 'Kezdő dátum', end: 'Záró dátum', - // startDate: 'Start date', - // startTime: 'Start time', - // endDate: 'End date', - // endTime: 'End time', + startDate: 'Kezdő dátum', + startTime: 'Kezdő idő', + endDate: 'Záró dátum', + endTime: 'Záró idő', // Action bar cancelButtonLabel: 'Mégse', @@ -78,24 +78,24 @@ const huHUPickers: Partial> = { fieldYearPlaceholder: (params) => 'É'.repeat(params.digitAmount), fieldMonthPlaceholder: (params) => (params.contentType === 'letter' ? 'HHHH' : 'HH'), fieldDayPlaceholder: () => 'NN', - // fieldWeekDayPlaceholder: params => params.contentType === 'letter' ? 'EEEE' : 'EE', + fieldWeekDayPlaceholder: (params) => (params.contentType === 'letter' ? 'NNNN' : 'NN'), fieldHoursPlaceholder: () => 'óó', fieldMinutesPlaceholder: () => 'pp', fieldSecondsPlaceholder: () => 'mm', fieldMeridiemPlaceholder: () => 'dd', // View names - // year: 'Year', - // month: 'Month', - // day: 'Day', - // weekDay: 'Week day', - // hours: 'Hours', - // minutes: 'Minutes', - // seconds: 'Seconds', - // meridiem: 'Meridiem', + year: 'Év', + month: 'Hónap', + day: 'Nap', + weekDay: 'Hétköznap', + hours: timeViews.hours, + minutes: timeViews.minutes, + seconds: timeViews.seconds, + meridiem: timeViews.meridiem, // Common - // empty: 'Empty', + empty: 'Üres', }; export const huHU = getPickersLocalization(huHUPickers);