Skip to content

Commit

Permalink
[l10n] Add Armenian (hy-AM) locale (#19844)
Browse files Browse the repository at this point in the history
  • Loading branch information
vgevorgyan authored Feb 25, 2020
1 parent 2becf8d commit 4c396bd
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/src/pages/guides/localization/localization.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` |
Expand Down
1 change: 1 addition & 0 deletions packages/material-ui/src/locale/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
25 changes: 25 additions & 0 deletions packages/material-ui/src/locale/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 4c396bd

Please sign in to comment.