Skip to content

Commit

Permalink
[l10n] Add Kurdish (Kurmanji) locale (#32508)
Browse files Browse the repository at this point in the history
  • Loading branch information
cergo123 authored Dec 23, 2022
1 parent e984fc1 commit 7710cdd
Showing 1 changed file with 71 additions and 0 deletions.
71 changes: 71 additions & 0 deletions packages/mui-material/src/locale/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2110,6 +2110,77 @@ export const koKR: Localization = {
},
};

export const kuLatn: Localization = {
components: {
MuiBreadcrumbs: {
defaultProps: {
expandText: 'Rê nîşan bide',
},
},
MuiTablePagination: {
defaultProps: {
getItemAriaLabel: (type) => {
if (type === 'first') {
return 'Biçe rûpela yekem';
}
if (type === 'last') {
return 'Biçe rûpela dawî';
}
if (type === 'next') {
return 'Biçe rûpela din';
}
// if (type === 'previous') {
return 'Biçe rûpela berê';
},
labelRowsPerPage: 'Rêz li ser rûpelê:',
labelDisplayedRows: ({ from, to, count }) =>
`${from}${to} of ${count !== -1 ? count : `zêdetir ji ${to}`}`,
},
},
MuiRating: {
defaultProps: {
getLabelText: (value) => `${value} Stêrk`,
emptyLabelText: 'Vala',
},
},
MuiAutocomplete: {
defaultProps: {
clearText: 'Paqij bike',
closeText: 'Bigre',
loadingText: 'Tê barkirin…',
noOptionsText: 'Vebijêrk tune',
openText: 'Veke',
},
},
MuiAlert: {
defaultProps: {
closeText: 'Bigre',
},
},
MuiPagination: {
defaultProps: {
'aria-label': 'Navîgasyona rûpelan',
getItemAriaLabel: (type, page, selected) => {
if (type === 'page') {
return `${selected ? '' : 'Biçe '}rûpel ${page}`;
}
if (type === 'first') {
return 'Biçe rûpela yekem';
}
if (type === 'last') {
return 'Biçe rûpela dawî';
}
if (type === 'next') {
return 'Biçe rûpela din';
}
// if (type === 'previous') {
return 'Biçe rûpela berê';
},
},
},
},
};

export const kkKZ: Localization = {
components: {
MuiBreadcrumbs: {
Expand Down

0 comments on commit 7710cdd

Please sign in to comment.