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 Kurdish (Kurmanji) locale #32508

Merged
merged 6 commits into from Dec 23, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
71 changes: 71 additions & 0 deletions packages/mui-material/src/locale/index.ts
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