diff --git a/docs/src/pages/guides/localization/localization.md b/docs/src/pages/guides/localization/localization.md index 6238af4f53d19e..948c9b35a5182a 100644 --- a/docs/src/pages/guides/localization/localization.md +++ b/docs/src/pages/guides/localization/localization.md @@ -27,6 +27,7 @@ const theme = createMuiTheme({ | Locale | BCP 47 language tag | Import name |:-------|:---------|:---------| +| Armenian | hy-AM | `hyAM` | | Azerbaijani | az-AZ | `azAZ` | | Bulgarian | bg-BG | `bgBG` | | Catalan | ca-ES | `caES` | diff --git a/packages/material-ui/src/locale/index.d.ts b/packages/material-ui/src/locale/index.d.ts index d1a20175acf214..b8c407e954b970 100644 --- a/packages/material-ui/src/locale/index.d.ts +++ b/packages/material-ui/src/locale/index.d.ts @@ -10,6 +10,7 @@ export const faIR: object; export const fiFI: object; export const frFR: object; export const huHU: object; +export const hyAM: object; export const idID: object; export const isIS: object; export const itIT: object; diff --git a/packages/material-ui/src/locale/index.js b/packages/material-ui/src/locale/index.js index c820f717d96af3..ce9108dc7235f0 100644 --- a/packages/material-ui/src/locale/index.js +++ b/packages/material-ui/src/locale/index.js @@ -363,6 +363,31 @@ export const huHU = { }, }; +export const hyAM = { + props: { + MuiTablePagination: { + backIconButtonText: 'Նախորդը', + labelRowsPerPage: 'Տողեր մեկ էջում`', + labelDisplayedRows: ({ from, to, count }) => `${from}-${to === -1 ? count : to} / ${count}`, + nextIconButtonText: 'Հաջորդը', + }, + MuiRating: { + getLabelText: value => `${value} Աստղ`, + emptyLabelText: 'Դատարկ', + }, + MuiAutocomplete: { + clearText: 'Մաքրել', + closeText: 'Փակել', + loadingText: 'Բեռնում…', + noOptionsText: 'Տարբերակներ չկան', + openText: 'Բացել', + }, + MuiAlert: { + closeText: 'Փակել', + }, + }, +}; + export const idID = { props: { MuiTablePagination: {