Skip to content

Commit

Permalink
[l10n] Improve Hebrew (he-IL) locale (mui#12910)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Tzahi <[email protected]>
Co-authored-by: alexandre <[email protected]>
  • Loading branch information
2 people authored and DungTiger committed Jul 23, 2024
1 parent 1bbcfb5 commit 0dbdd93
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 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 @@ -99,7 +99,7 @@
"languageTag": "he-IL",
"importName": "heIL",
"localeName": "Hebrew",
"missingKeysCount": 14,
"missingKeysCount": 1,
"totalKeysCount": 50,
"githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/heIL.ts"
},
Expand Down
26 changes: 13 additions & 13 deletions packages/x-date-pickers/src/locales/heIL.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ const heILPickers: 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 heILPickers: 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 heILPickers: Partial<PickersLocaleText<any>> = {
fieldMeridiemPlaceholder: () => 'aa',

// View names
// year: 'Year',
// month: 'Month',
// day: 'Day',
// weekDay: 'Week day',
// hours: 'Hours',
// minutes: 'Minutes',
// seconds: 'Seconds',
year: 'שנה',
month: 'חודש',
day: 'יום',
weekDay: 'יום בשבוע',
hours: 'שעות',
minutes: 'דקות',
seconds: 'שניות',
// meridiem: 'Meridiem',

// Common
// empty: 'Empty',
empty: 'ריק',
};

export const heIL = getPickersLocalization(heILPickers);

0 comments on commit 0dbdd93

Please sign in to comment.