Skip to content

Commit 0da71b7

Browse files
[l10n] Add Icelandic (is-IS) locale (#19538)
1 parent a21fede commit 0da71b7

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

docs/src/pages/guides/localization/localization.md

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ const theme = createMuiTheme({
3737
| Finnish | fi-FI | `fiFI` |
3838
| French | fr-FR | `frFR` |
3939
| German | de-DE | `deDE` |
40+
| Icelandic | is-IS | `isIS` |
4041
| Indonesian | id-ID | `idID` |
4142
| Italian | it-IT | `itIT` |
4243
| Japanese | ja-JP | `jaJP` |

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

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export const faIR: object;
99
export const fiFI: object;
1010
export const frFR: object;
1111
export const idID: object;
12+
export const isIS: object;
1213
export const itIT: object;
1314
export const jaJP: object;
1415
export const koKR: object;

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

+25
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,31 @@ export const frFR = {
268268
},
269269
};
270270

271+
export const isIS = {
272+
props: {
273+
MuiTablePagination: {
274+
backIconButtonText: 'Fyrri síða',
275+
labelRowsPerPage: 'Raðir á síðu:',
276+
labelDisplayedRows: ({ from, to, count }) => `${from}-${to === -1 ? count : to} af ${count}`,
277+
nextIconButtonText: 'Næsta síða',
278+
},
279+
MuiRating: {
280+
getLabelText: value => `${value} ${value === 1 ? 'Stjarna' : 'Stjörnur'}`,
281+
emptyLabelText: 'Tómt',
282+
},
283+
MuiAutocomplete: {
284+
clearText: 'Hreinsa',
285+
closeText: 'Loka',
286+
loadingText: 'Hlaða…',
287+
noOptionsText: 'Engar niðurstöður',
288+
openText: 'Opna',
289+
},
290+
MuiAlert: {
291+
closeText: 'Loka',
292+
},
293+
},
294+
};
295+
271296
export const idID = {
272297
props: {
273298
MuiTablePagination: {

0 commit comments

Comments
 (0)