Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[l10n] Add Indonesian (id-Id) locale #18817

Merged
merged 5 commits into from
Dec 13, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update documentation
  • Loading branch information
oliviertassinari committed Dec 13, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit a5a930b6115b40f13787dc813ecb7a34a902643c
1 change: 1 addition & 0 deletions docs/src/pages/guides/localization/localization.md
Original file line number Diff line number Diff line change
@@ -32,6 +32,7 @@ const theme = createMuiTheme({
| English (United States) | en-US | `enUS` |
| French | fr-FR | `frFR` |
| German | de-DE | `deDE` |
| Indonesian | id-ID | `idID` |
| Italian | it-IT | `itIT` |
| Japanese | ja-JP | `jaJP` |
| Persian | fa-IR | `faIR` |
1 change: 1 addition & 0 deletions packages/material-ui/src/locale/index.d.ts
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@ export const enUS: object;
export const esES: object;
export const faIR: object;
export const frFR: object;
export const idID: object;
export const itIT: object;
export const jaJP: object;
export const nlNL: object;
42 changes: 21 additions & 21 deletions packages/material-ui/src/locale/index.js
Original file line number Diff line number Diff line change
@@ -106,6 +106,27 @@ export const frFR = {
},
};

export const idID = {
props: {
MuiTablePagination: {
backIconButtonText: 'Halaman sebelumnya',
labelRowsPerPage: 'Baris per halaman:',
labelDisplayedRows: ({ from, to, count }) => `${from}-${to === -1 ? count : to} of ${count}`,
fuadinaqi marked this conversation as resolved.
Show resolved Hide resolved
nextIconButtonText: 'Halaman selanjutnya',
},
MuiRating: {
getLabelText: value => `${value} Star${value !== 1 ? 's' : ''}`,
fuadinaqi marked this conversation as resolved.
Show resolved Hide resolved
},
MuiAutocomplete: {
clearText: 'Hapus',
closeText: 'Tutup',
loadingText: 'Memuat…',
noOptionsText: 'Tidak ada opsi',
openText: 'Buka',
},
},
};

export const itIT = {
props: {
MuiTablePagination: {
@@ -317,24 +338,3 @@ export const zhCN = {
},
},
};

export const idID = {
props: {
MuiTablePagination: {
backIconButtonText: 'Halaman sebelumnya',
labelRowsPerPage: 'Baris per halaman:',
labelDisplayedRows: ({ from, to, count }) => `${from}-${to === -1 ? count : to} of ${count}`,
nextIconButtonText: 'Halaman selanjutnya',
},
MuiRating: {
getLabelText: value => `${value} Star${value !== 1 ? 's' : ''}`,
},
MuiAutocomplete: {
clearText: 'Hapus',
closeText: 'Tutup',
loadingText: 'Memuat…',
noOptionsText: 'Tidak ada opsi',
openText: 'Buka',
},
},
};