Skip to content

Commit

Permalink
Revert "[l10n] Add Central Kurdish (ku-CKB) locale (mui#36592)"
Browse files Browse the repository at this point in the history
This reverts commit 0ad546e.
  • Loading branch information
cccEric authored Apr 25, 2023
1 parent 8e8442b commit af00439
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 72 deletions.
1 change: 0 additions & 1 deletion docs/data/material/guides/localization/localization.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ The [Data Grid and Data Grid Pro](/x/react-data-grid/) components have their own
| Khmer | kh-KH | `khKH` |
| Kazakh | kk-KZ | `kkKZ` |
| Korean | ko-KR | `koKR` |
| Kurdish (Central) | ku-CKB | `kuCKB` |
| Macedonian | mk-MK | `mkMK` |
| Norwegian (bokmål) | nb-NO | `nbNO` |
| Persian | fa-IR | `faIR` |
Expand Down
71 changes: 0 additions & 71 deletions packages/mui-material/src/locale/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2195,77 +2195,6 @@ export const koKR: Localization = {
},
};

export const kuCKB: Localization = {
components: {
MuiBreadcrumbs: {
defaultProps: {
expandText: 'ڕێچکە پیشان بدە',
},
},
MuiTablePagination: {
defaultProps: {
getItemAriaLabel: (type) => {
if (type === 'first') {
return 'چوونە یەکەم پەڕە';
}
if (type === 'last') {
return 'چوونە کۆتا پەڕە';
}
if (type === 'next') {
return 'چوونە پەڕەی دواتر';
}
// if (type === 'previous') {
return 'گەڕانەوە بۆ پەڕەی پێشوو';
},
labelRowsPerPage: 'ژمارەی ڕیزەکان لە هەر پەڕەیەک:',
labelDisplayedRows: ({ from, to, count }) =>
`${from}${to} لە ${count !== -1 ? count : ` زیاترە لە${to}`}`,
},
},
MuiRating: {
defaultProps: {
getLabelText: (value) => `${value} ${value !== 1 ? 'ئەستێرەکان' : 'ئەستێرە'}`,
emptyLabelText: 'خاڵیە',
},
},
MuiAutocomplete: {
defaultProps: {
clearText: 'سڕینەوە',
closeText: 'داخستن',
loadingText: 'لە بارکردندایە...',
noOptionsText: 'هیچ بژاردەیەک نیە',
openText: 'کردنەوە',
},
},
MuiAlert: {
defaultProps: {
closeText: 'داخستن',
},
},
MuiPagination: {
defaultProps: {
'aria-label': 'گەڕان لە پەڕەکان',
getItemAriaLabel: (type, page, selected) => {
if (type === 'page') {
return `${selected ? '' : 'چوون بۆ '} پەڕەی ${page}`;
}
if (type === 'first') {
return 'چوونە یەکەم پەڕە';
}
if (type === 'last') {
return 'چوونە کۆتا پەڕە';
}
if (type === 'next') {
return 'چوونە پەڕەی دواتر';
}
// if (type === 'previous') {
return 'گەڕانەوە بۆ پەڕەی پێشوو';
},
},
},
},
};

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

0 comments on commit af00439

Please sign in to comment.