Skip to content

Commit e174dc5

Browse files
Sync the English baseline
1 parent a89041f commit e174dc5

File tree

2 files changed

+38
-13
lines changed

2 files changed

+38
-13
lines changed

packages/material-ui/src/locale/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export const etEE: object;
99
export const faIR: object;
1010
export const fiFI: object;
1111
export const frFR: object;
12+
export const heIL: object;
1213
export const huHU: object;
1314
export const hyAM: object;
1415
export const idID: object;

packages/material-ui/src/locale/index.js

Lines changed: 37 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,9 @@ export const deDE = {
144144
export const enUS = {
145145
/**
146146
props: {
147+
MuiBreadcrumbs: {
148+
expandText: 'Show path',
149+
},
147150
MuiTablePagination: {
148151
backIconButtonText: 'Previous page',
149152
labelRowsPerPage: 'Rows per page:',
@@ -164,6 +167,27 @@ export const enUS = {
164167
MuiAlert: {
165168
closeText: 'Close',
166169
},
170+
MuiPagination: {
171+
'aria-label': 'Pagination navigation',
172+
getItemAriaLabel: (type, page, selected) => {
173+
if (type === 'page') {
174+
return `${selected ? '' : 'Go to '}page ${page}`;
175+
}
176+
if (type === 'first') {
177+
return 'Go to first page';
178+
}
179+
if (type === 'last') {
180+
return 'Go to last page';
181+
}
182+
if (type === 'next') {
183+
return 'Go to next page';
184+
}
185+
if (type === 'previous') {
186+
return 'Go to previous page';
187+
}
188+
return undefined;
189+
},
190+
},
167191
},
168192
*/
169193
};
@@ -341,27 +365,27 @@ export const frFR = {
341365
export const heIL = {
342366
props: {
343367
MuiTablePagination: {
344-
backIconButtonText: "העמוד הקודם",
345-
labelRowsPerPage: "שורות בעמוד:",
368+
backIconButtonText: 'העמוד הקודם',
369+
labelRowsPerPage: 'שורות בעמוד:',
346370
labelDisplayedRows: ({ from, to, count }) =>
347371
`${from}-${to === -1 ? count : to} מתוך ${count}`,
348-
nextIconButtonText: "העמוד הבא"
372+
nextIconButtonText: 'העמוד הבא',
349373
},
350374
MuiRating: {
351-
getLabelText: value => `${value} כוכב${value !== 1 ? "ים" : ""}`,
352-
emptyLabelText: "ריק"
375+
getLabelText: value => `${value} כוכב${value !== 1 ? 'ים' : ''}`,
376+
emptyLabelText: 'ריק',
353377
},
354378
MuiAutocomplete: {
355-
clearText: "נקה",
356-
closeText: "סגור",
357-
loadingText: "טוען…",
358-
noOptionsText: "אין אופציות",
359-
openText: "פתח"
379+
clearText: 'נקה',
380+
closeText: 'סגור',
381+
loadingText: 'טוען…',
382+
noOptionsText: 'אין אופציות',
383+
openText: 'פתח',
360384
},
361385
MuiAlert: {
362-
closeText: "סגור"
363-
}
364-
}
386+
closeText: 'סגור',
387+
},
388+
},
365389
};
366390

367391
export const huHU = {

0 commit comments

Comments
 (0)