@mui/material 7.3.1 → 7.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Accordion/Accordion.d.ts +3 -3
- package/AccordionSummary/AccordionSummary.d.ts +3 -3
- package/Alert/Alert.d.ts +6 -6
- package/Avatar/Avatar.d.ts +3 -3
- package/Backdrop/Backdrop.d.ts +2 -2
- package/Badge/Badge.d.ts +2 -2
- package/BottomNavigationAction/BottomNavigationAction.d.ts +2 -2
- package/CHANGELOG.md +153 -4
- package/CardActionArea/CardActionArea.d.ts +2 -2
- package/CardHeader/CardHeader.d.ts +6 -6
- package/Checkbox/Checkbox.d.ts +2 -2
- package/Chip/Chip.d.ts +2 -2
- package/Chip/Chip.js +2 -2
- package/CircularProgress/CircularProgress.d.ts +6 -0
- package/CircularProgress/CircularProgress.js +31 -4
- package/CircularProgress/circularProgressClasses.d.ts +2 -0
- package/CircularProgress/circularProgressClasses.js +1 -1
- package/Dialog/Dialog.d.ts +5 -5
- package/Divider/Divider.js +1 -1
- package/Drawer/Drawer.d.ts +6 -6
- package/Drawer/Drawer.js +5 -1
- package/InputBase/InputBase.js +1 -1
- package/ListItem/ListItem.js +1 -1
- package/ListItemText/ListItemText.d.ts +2 -2
- package/Menu/Menu.d.ts +5 -5
- package/MenuItem/MenuItem.js +1 -1
- package/MobileStepper/MobileStepper.d.ts +4 -4
- package/OutlinedInput/OutlinedInput.js +1 -1
- package/PaginationItem/PaginationItem.d.ts +36 -4
- package/Popover/Popover.d.ts +5 -5
- package/Popover/Popover.js +2 -2
- package/Radio/Radio.d.ts +2 -2
- package/Rating/Rating.d.ts +5 -5
- package/Slider/Slider.js +1 -1
- package/Snackbar/Snackbar.d.ts +3 -3
- package/SnackbarContent/SnackbarContent.js +1 -1
- package/SpeedDial/SpeedDial.d.ts +2 -2
- package/SpeedDialAction/SpeedDialAction.d.ts +4 -4
- package/StepContent/StepContent.d.ts +1 -1
- package/StepLabel/StepLabel.d.ts +3 -3
- package/SwipeableDrawer/SwipeableDrawer.d.ts +1 -1
- package/Switch/Switch.d.ts +5 -5
- package/TablePagination/TablePagination.d.ts +10 -10
- package/TablePagination/TablePagination.js +3 -3
- package/TablePaginationActions/TablePaginationActions.d.ts +2 -2
- package/TablePaginationActions/TablePaginationActions.js +2 -2
- package/Tabs/Tabs.d.ts +8 -8
- package/Tabs/Tabs.js +5 -0
- package/TextField/TextField.d.ts +6 -6
- package/TextField/TextField.js +1 -1
- package/Tooltip/Tooltip.d.ts +4 -4
- package/esm/Accordion/Accordion.d.ts +3 -3
- package/esm/AccordionSummary/AccordionSummary.d.ts +3 -3
- package/esm/Alert/Alert.d.ts +6 -6
- package/esm/Avatar/Avatar.d.ts +3 -3
- package/esm/Backdrop/Backdrop.d.ts +2 -2
- package/esm/Badge/Badge.d.ts +2 -2
- package/esm/BottomNavigationAction/BottomNavigationAction.d.ts +2 -2
- package/esm/CardActionArea/CardActionArea.d.ts +2 -2
- package/esm/CardHeader/CardHeader.d.ts +6 -6
- package/esm/Checkbox/Checkbox.d.ts +2 -2
- package/esm/Chip/Chip.d.ts +2 -2
- package/esm/Chip/Chip.js +2 -2
- package/esm/CircularProgress/CircularProgress.d.ts +6 -0
- package/esm/CircularProgress/CircularProgress.js +32 -5
- package/esm/CircularProgress/circularProgressClasses.d.ts +2 -0
- package/esm/CircularProgress/circularProgressClasses.js +1 -1
- package/esm/Dialog/Dialog.d.ts +5 -5
- package/esm/Divider/Divider.js +1 -1
- package/esm/Drawer/Drawer.d.ts +6 -6
- package/esm/Drawer/Drawer.js +5 -1
- package/esm/InputBase/InputBase.js +1 -1
- package/esm/ListItem/ListItem.js +1 -1
- package/esm/ListItemText/ListItemText.d.ts +2 -2
- package/esm/Menu/Menu.d.ts +5 -5
- package/esm/MenuItem/MenuItem.js +1 -1
- package/esm/MobileStepper/MobileStepper.d.ts +4 -4
- package/esm/OutlinedInput/OutlinedInput.js +1 -1
- package/esm/PaginationItem/PaginationItem.d.ts +36 -4
- package/esm/Popover/Popover.d.ts +5 -5
- package/esm/Popover/Popover.js +2 -2
- package/esm/Radio/Radio.d.ts +2 -2
- package/esm/Rating/Rating.d.ts +5 -5
- package/esm/Slider/Slider.js +1 -1
- package/esm/Snackbar/Snackbar.d.ts +3 -3
- package/esm/SnackbarContent/SnackbarContent.js +1 -1
- package/esm/SpeedDial/SpeedDial.d.ts +2 -2
- package/esm/SpeedDialAction/SpeedDialAction.d.ts +4 -4
- package/esm/StepContent/StepContent.d.ts +1 -1
- package/esm/StepLabel/StepLabel.d.ts +3 -3
- package/esm/SwipeableDrawer/SwipeableDrawer.d.ts +1 -1
- package/esm/Switch/Switch.d.ts +5 -5
- package/esm/TablePagination/TablePagination.d.ts +10 -10
- package/esm/TablePagination/TablePagination.js +3 -3
- package/esm/TablePaginationActions/TablePaginationActions.d.ts +2 -2
- package/esm/TablePaginationActions/TablePaginationActions.js +2 -2
- package/esm/Tabs/Tabs.d.ts +8 -8
- package/esm/Tabs/Tabs.js +5 -0
- package/esm/TextField/TextField.d.ts +6 -6
- package/esm/TextField/TextField.js +1 -1
- package/esm/Tooltip/Tooltip.d.ts +4 -4
- package/esm/index.js +1 -1
- package/esm/internal/SwitchBase.d.ts +1 -1
- package/esm/locale/amET.d.ts +2 -0
- package/esm/locale/amET.js +73 -0
- package/esm/locale/arEG.d.ts +2 -0
- package/esm/locale/arEG.js +73 -0
- package/esm/locale/arSA.d.ts +2 -0
- package/esm/locale/arSA.js +73 -0
- package/esm/locale/arSD.d.ts +2 -0
- package/esm/locale/arSD.js +73 -0
- package/esm/locale/azAZ.d.ts +2 -0
- package/esm/locale/azAZ.js +77 -0
- package/esm/locale/beBY.d.ts +2 -0
- package/esm/locale/beBY.js +85 -0
- package/esm/locale/bgBG.d.ts +2 -0
- package/esm/locale/bgBG.js +70 -0
- package/esm/locale/bnBD.d.ts +2 -0
- package/esm/locale/bnBD.js +73 -0
- package/esm/locale/caES.d.ts +2 -0
- package/esm/locale/caES.js +70 -0
- package/esm/locale/csCZ.d.ts +2 -0
- package/esm/locale/csCZ.js +81 -0
- package/esm/locale/daDK.d.ts +2 -0
- package/esm/locale/daDK.js +73 -0
- package/esm/locale/deDE.d.ts +2 -0
- package/esm/locale/deDE.js +73 -0
- package/esm/locale/elGR.d.ts +2 -0
- package/esm/locale/elGR.js +75 -0
- package/esm/locale/enUS.d.ts +2 -0
- package/esm/locale/enUS.js +61 -0
- package/esm/locale/esES.d.ts +2 -0
- package/esm/locale/esES.js +73 -0
- package/esm/locale/etEE.d.ts +2 -0
- package/esm/locale/etEE.js +73 -0
- package/esm/locale/faIR.d.ts +2 -0
- package/esm/locale/faIR.js +78 -0
- package/esm/locale/fiFI.d.ts +2 -0
- package/esm/locale/fiFI.js +73 -0
- package/esm/locale/frFR.d.ts +2 -0
- package/esm/locale/frFR.js +73 -0
- package/esm/locale/heIL.d.ts +2 -0
- package/esm/locale/heIL.js +73 -0
- package/esm/locale/hiIN.d.ts +2 -0
- package/esm/locale/hiIN.js +73 -0
- package/esm/locale/hrHR.d.ts +2 -0
- package/esm/locale/hrHR.js +81 -0
- package/esm/locale/huHU.d.ts +2 -0
- package/esm/locale/huHU.js +70 -0
- package/esm/locale/hyAM.d.ts +2 -0
- package/esm/locale/hyAM.js +70 -0
- package/esm/locale/idID.d.ts +2 -0
- package/esm/locale/idID.js +70 -0
- package/esm/locale/index.d.ts +60 -82
- package/esm/locale/index.js +60 -4327
- package/esm/locale/isIS.d.ts +2 -0
- package/esm/locale/isIS.js +73 -0
- package/esm/locale/itIT.d.ts +2 -0
- package/esm/locale/itIT.js +73 -0
- package/esm/locale/jaJP.d.ts +2 -0
- package/esm/locale/jaJP.js +73 -0
- package/esm/locale/khKH.d.ts +2 -0
- package/esm/locale/khKH.js +73 -0
- package/esm/locale/kkKZ.d.ts +2 -0
- package/esm/locale/kkKZ.js +76 -0
- package/esm/locale/koKR.d.ts +2 -0
- package/esm/locale/koKR.js +73 -0
- package/esm/locale/kuCKB.d.ts +2 -0
- package/esm/locale/kuCKB.js +73 -0
- package/esm/locale/kuLatn.d.ts +2 -0
- package/esm/locale/kuLatn.js +73 -0
- package/esm/locale/mkMK.d.ts +2 -0
- package/esm/locale/mkMK.js +77 -0
- package/esm/locale/msMS.d.ts +2 -0
- package/esm/locale/msMS.js +77 -0
- package/esm/locale/myMY.d.ts +2 -0
- package/esm/locale/myMY.js +77 -0
- package/esm/locale/nbNO.d.ts +2 -0
- package/esm/locale/nbNO.js +73 -0
- package/esm/locale/neNP.d.ts +2 -0
- package/esm/locale/neNP.js +77 -0
- package/esm/locale/nlNL.d.ts +2 -0
- package/esm/locale/nlNL.js +73 -0
- package/esm/locale/nnNO.d.ts +2 -0
- package/esm/locale/nnNO.js +73 -0
- package/esm/locale/plPL.d.ts +2 -0
- package/esm/locale/plPL.js +82 -0
- package/esm/locale/psAF.d.ts +2 -0
- package/esm/locale/psAF.js +73 -0
- package/esm/locale/ptBR.d.ts +2 -0
- package/esm/locale/ptBR.js +73 -0
- package/esm/locale/ptPT.d.ts +2 -0
- package/esm/locale/ptPT.js +73 -0
- package/esm/locale/roRO.d.ts +2 -0
- package/esm/locale/roRO.js +73 -0
- package/esm/locale/ruRU.d.ts +2 -0
- package/esm/locale/ruRU.js +85 -0
- package/esm/locale/siLK.d.ts +2 -0
- package/esm/locale/siLK.js +73 -0
- package/esm/locale/skSK.d.ts +2 -0
- package/esm/locale/skSK.js +81 -0
- package/esm/locale/srRS.d.ts +2 -0
- package/esm/locale/srRS.js +81 -0
- package/esm/locale/svSE.d.ts +2 -0
- package/esm/locale/svSE.js +73 -0
- package/esm/locale/thTH.d.ts +2 -0
- package/esm/locale/thTH.js +73 -0
- package/esm/locale/tlTL.d.ts +2 -0
- package/esm/locale/tlTL.js +74 -0
- package/esm/locale/trTR.d.ts +2 -0
- package/esm/locale/trTR.js +73 -0
- package/esm/locale/ukUA.d.ts +2 -0
- package/esm/locale/ukUA.js +82 -0
- package/esm/locale/urPK.d.ts +2 -0
- package/esm/locale/urPK.js +73 -0
- package/esm/locale/utils/LocaleTextApi.d.ts +23 -0
- package/esm/locale/utils/LocaleTextApi.js +1 -0
- package/esm/locale/viVN.d.ts +2 -0
- package/esm/locale/viVN.js +73 -0
- package/esm/locale/zhCN.d.ts +2 -0
- package/esm/locale/zhCN.js +51 -0
- package/esm/locale/zhHK.d.ts +2 -0
- package/esm/locale/zhHK.js +51 -0
- package/esm/locale/zhTW.d.ts +2 -0
- package/esm/locale/zhTW.js +51 -0
- package/esm/styles/createColorScheme.js +2 -2
- package/esm/styles/createTheme.js +2 -2
- package/esm/useAutocomplete/useAutocomplete.js +2 -2
- package/esm/utils/shouldSpreadAdditionalProps.js +1 -1
- package/esm/version/index.js +2 -2
- package/index.js +1 -1
- package/internal/SwitchBase.d.ts +1 -1
- package/locale/amET.d.ts +2 -0
- package/locale/amET.js +79 -0
- package/locale/arEG.d.ts +2 -0
- package/locale/arEG.js +79 -0
- package/locale/arSA.d.ts +2 -0
- package/locale/arSA.js +79 -0
- package/locale/arSD.d.ts +2 -0
- package/locale/arSD.js +79 -0
- package/locale/azAZ.d.ts +2 -0
- package/locale/azAZ.js +83 -0
- package/locale/beBY.d.ts +2 -0
- package/locale/beBY.js +91 -0
- package/locale/bgBG.d.ts +2 -0
- package/locale/bgBG.js +76 -0
- package/locale/bnBD.d.ts +2 -0
- package/locale/bnBD.js +79 -0
- package/locale/caES.d.ts +2 -0
- package/locale/caES.js +76 -0
- package/locale/csCZ.d.ts +2 -0
- package/locale/csCZ.js +87 -0
- package/locale/daDK.d.ts +2 -0
- package/locale/daDK.js +79 -0
- package/locale/deDE.d.ts +2 -0
- package/locale/deDE.js +79 -0
- package/locale/elGR.d.ts +2 -0
- package/locale/elGR.js +81 -0
- package/locale/enUS.d.ts +2 -0
- package/locale/enUS.js +67 -0
- package/locale/esES.d.ts +2 -0
- package/locale/esES.js +79 -0
- package/locale/etEE.d.ts +2 -0
- package/locale/etEE.js +79 -0
- package/locale/faIR.d.ts +2 -0
- package/locale/faIR.js +84 -0
- package/locale/fiFI.d.ts +2 -0
- package/locale/fiFI.js +79 -0
- package/locale/frFR.d.ts +2 -0
- package/locale/frFR.js +79 -0
- package/locale/heIL.d.ts +2 -0
- package/locale/heIL.js +79 -0
- package/locale/hiIN.d.ts +2 -0
- package/locale/hiIN.js +79 -0
- package/locale/hrHR.d.ts +2 -0
- package/locale/hrHR.js +87 -0
- package/locale/huHU.d.ts +2 -0
- package/locale/huHU.js +76 -0
- package/locale/hyAM.d.ts +2 -0
- package/locale/hyAM.js +76 -0
- package/locale/idID.d.ts +2 -0
- package/locale/idID.js +76 -0
- package/locale/index.d.ts +60 -82
- package/locale/index.js +660 -4328
- package/locale/isIS.d.ts +2 -0
- package/locale/isIS.js +79 -0
- package/locale/itIT.d.ts +2 -0
- package/locale/itIT.js +79 -0
- package/locale/jaJP.d.ts +2 -0
- package/locale/jaJP.js +79 -0
- package/locale/khKH.d.ts +2 -0
- package/locale/khKH.js +79 -0
- package/locale/kkKZ.d.ts +2 -0
- package/locale/kkKZ.js +82 -0
- package/locale/koKR.d.ts +2 -0
- package/locale/koKR.js +79 -0
- package/locale/kuCKB.d.ts +2 -0
- package/locale/kuCKB.js +79 -0
- package/locale/kuLatn.d.ts +2 -0
- package/locale/kuLatn.js +79 -0
- package/locale/mkMK.d.ts +2 -0
- package/locale/mkMK.js +83 -0
- package/locale/msMS.d.ts +2 -0
- package/locale/msMS.js +83 -0
- package/locale/myMY.d.ts +2 -0
- package/locale/myMY.js +83 -0
- package/locale/nbNO.d.ts +2 -0
- package/locale/nbNO.js +79 -0
- package/locale/neNP.d.ts +2 -0
- package/locale/neNP.js +83 -0
- package/locale/nlNL.d.ts +2 -0
- package/locale/nlNL.js +79 -0
- package/locale/nnNO.d.ts +2 -0
- package/locale/nnNO.js +79 -0
- package/locale/plPL.d.ts +2 -0
- package/locale/plPL.js +88 -0
- package/locale/psAF.d.ts +2 -0
- package/locale/psAF.js +79 -0
- package/locale/ptBR.d.ts +2 -0
- package/locale/ptBR.js +79 -0
- package/locale/ptPT.d.ts +2 -0
- package/locale/ptPT.js +79 -0
- package/locale/roRO.d.ts +2 -0
- package/locale/roRO.js +79 -0
- package/locale/ruRU.d.ts +2 -0
- package/locale/ruRU.js +91 -0
- package/locale/siLK.d.ts +2 -0
- package/locale/siLK.js +79 -0
- package/locale/skSK.d.ts +2 -0
- package/locale/skSK.js +87 -0
- package/locale/srRS.d.ts +2 -0
- package/locale/srRS.js +87 -0
- package/locale/svSE.d.ts +2 -0
- package/locale/svSE.js +79 -0
- package/locale/thTH.d.ts +2 -0
- package/locale/thTH.js +79 -0
- package/locale/tlTL.d.ts +2 -0
- package/locale/tlTL.js +80 -0
- package/locale/trTR.d.ts +2 -0
- package/locale/trTR.js +79 -0
- package/locale/ukUA.d.ts +2 -0
- package/locale/ukUA.js +88 -0
- package/locale/urPK.d.ts +2 -0
- package/locale/urPK.js +79 -0
- package/locale/utils/LocaleTextApi.d.ts +23 -0
- package/locale/utils/LocaleTextApi.js +5 -0
- package/locale/viVN.d.ts +2 -0
- package/locale/viVN.js +79 -0
- package/locale/zhCN.d.ts +2 -0
- package/locale/zhCN.js +57 -0
- package/locale/zhHK.d.ts +2 -0
- package/locale/zhHK.js +57 -0
- package/locale/zhTW.d.ts +2 -0
- package/locale/zhTW.js +57 -0
- package/package.json +36 -37
- package/styles/createColorScheme.js +2 -2
- package/styles/createTheme.js +2 -2
- package/useAutocomplete/useAutocomplete.js +2 -2
- package/utils/shouldSpreadAdditionalProps.js +1 -1
- package/version/index.js +2 -2
- package/esm/utils/isHostComponent.d.ts +0 -6
- package/esm/utils/isHostComponent.js +0 -7
- package/utils/isHostComponent.d.ts +0 -6
- package/utils/isHostComponent.js +0 -13
package/locale/mkMK.js
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.mkMK = void 0;
|
|
7
|
+
// Macedonian - Македонски
|
|
8
|
+
const mkMK = exports.mkMK = {
|
|
9
|
+
components: {
|
|
10
|
+
MuiBreadcrumbs: {
|
|
11
|
+
defaultProps: {
|
|
12
|
+
expandText: 'Прикажи патека'
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
MuiTablePagination: {
|
|
16
|
+
defaultProps: {
|
|
17
|
+
getItemAriaLabel: type => {
|
|
18
|
+
if (type === 'first') {
|
|
19
|
+
return 'Оди на прва страница';
|
|
20
|
+
}
|
|
21
|
+
if (type === 'last') {
|
|
22
|
+
return 'Оди на последна страница';
|
|
23
|
+
}
|
|
24
|
+
if (type === 'next') {
|
|
25
|
+
return 'Оди на следна страница';
|
|
26
|
+
}
|
|
27
|
+
// if (type === 'previous') {
|
|
28
|
+
return 'Оди на предходна страница';
|
|
29
|
+
},
|
|
30
|
+
labelRowsPerPage: 'Редови по страница:',
|
|
31
|
+
labelDisplayedRows: ({
|
|
32
|
+
from,
|
|
33
|
+
to,
|
|
34
|
+
count
|
|
35
|
+
}) => `${from}–${to} од ${count !== -1 ? count : `повеќе од ${to}`}`
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
MuiRating: {
|
|
39
|
+
defaultProps: {
|
|
40
|
+
getLabelText: value => {
|
|
41
|
+
const lastDigit = value % 10;
|
|
42
|
+
return `${value} Ѕвезд${lastDigit === 1 ? 'а' : 'и'}`;
|
|
43
|
+
},
|
|
44
|
+
emptyLabelText: 'Празно'
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
MuiAutocomplete: {
|
|
48
|
+
defaultProps: {
|
|
49
|
+
clearText: 'Избриши',
|
|
50
|
+
closeText: 'Затвори',
|
|
51
|
+
loadingText: 'Се презема',
|
|
52
|
+
noOptionsText: 'Нема опција',
|
|
53
|
+
openText: 'Отвори'
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
MuiAlert: {
|
|
57
|
+
defaultProps: {
|
|
58
|
+
closeText: 'Затвори'
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
MuiPagination: {
|
|
62
|
+
defaultProps: {
|
|
63
|
+
'aria-label': 'Навигација низ страници',
|
|
64
|
+
getItemAriaLabel: (type, page, selected) => {
|
|
65
|
+
if (type === 'page') {
|
|
66
|
+
return `${selected ? '' : 'Оди на '}страница ${page}`;
|
|
67
|
+
}
|
|
68
|
+
if (type === 'first') {
|
|
69
|
+
return 'Оди на прва страница';
|
|
70
|
+
}
|
|
71
|
+
if (type === 'last') {
|
|
72
|
+
return 'Оди на последна страница';
|
|
73
|
+
}
|
|
74
|
+
if (type === 'next') {
|
|
75
|
+
return 'Оди на следна страница';
|
|
76
|
+
}
|
|
77
|
+
// if (type === 'previous') {
|
|
78
|
+
return 'Оди на предходна страница';
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
};
|
package/locale/msMS.d.ts
ADDED
package/locale/msMS.js
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.msMS = void 0;
|
|
7
|
+
// Malay-Melayu
|
|
8
|
+
const msMS = exports.msMS = {
|
|
9
|
+
components: {
|
|
10
|
+
MuiBreadcrumbs: {
|
|
11
|
+
defaultProps: {
|
|
12
|
+
expandText: 'Tunjukkan laluan'
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
MuiTablePagination: {
|
|
16
|
+
defaultProps: {
|
|
17
|
+
getItemAriaLabel: type => {
|
|
18
|
+
if (type === 'first') {
|
|
19
|
+
return 'Pergi ke halaman pertama';
|
|
20
|
+
}
|
|
21
|
+
if (type === 'last') {
|
|
22
|
+
return 'Pergi ke halaman terakhir';
|
|
23
|
+
}
|
|
24
|
+
if (type === 'next') {
|
|
25
|
+
return 'Pergi ke halaman seterusnya';
|
|
26
|
+
}
|
|
27
|
+
// if (type === 'previous') {
|
|
28
|
+
return 'Pergi ke halaman sebelumnya';
|
|
29
|
+
},
|
|
30
|
+
labelRowsPerPage: 'Baris setiap halaman:',
|
|
31
|
+
labelDisplayedRows: ({
|
|
32
|
+
from,
|
|
33
|
+
to,
|
|
34
|
+
count
|
|
35
|
+
}) => `${from}–${to} daripada ${count !== -1 ? count : `lebih daripada ${to}`}`
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
MuiRating: {
|
|
39
|
+
defaultProps: {
|
|
40
|
+
getLabelText: value => {
|
|
41
|
+
const lastDigit = value % 10;
|
|
42
|
+
return `${value} Bintang${lastDigit === 1 ? 's' : ''}`;
|
|
43
|
+
},
|
|
44
|
+
emptyLabelText: 'kosong'
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
MuiAutocomplete: {
|
|
48
|
+
defaultProps: {
|
|
49
|
+
clearText: 'Jelas',
|
|
50
|
+
closeText: 'tutup',
|
|
51
|
+
loadingText: 'Memuatkan…',
|
|
52
|
+
noOptionsText: 'Tiada pilihan',
|
|
53
|
+
openText: 'Buka'
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
MuiAlert: {
|
|
57
|
+
defaultProps: {
|
|
58
|
+
closeText: 'tutup'
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
MuiPagination: {
|
|
62
|
+
defaultProps: {
|
|
63
|
+
'aria-label': 'Navigasi penomboran',
|
|
64
|
+
getItemAriaLabel: (type, page, selected) => {
|
|
65
|
+
if (type === 'page') {
|
|
66
|
+
return `${selected ? '' : 'Pergi ke '}muka surat ${page}`;
|
|
67
|
+
}
|
|
68
|
+
if (type === 'first') {
|
|
69
|
+
return 'Pergi ke halaman pertama';
|
|
70
|
+
}
|
|
71
|
+
if (type === 'last') {
|
|
72
|
+
return 'Pergi ke halaman terakhir';
|
|
73
|
+
}
|
|
74
|
+
if (type === 'next') {
|
|
75
|
+
return 'Pergi ke halaman seterusnya';
|
|
76
|
+
}
|
|
77
|
+
// if (type === 'previous') {
|
|
78
|
+
return 'Pergi ke halaman sebelumnya';
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
};
|
package/locale/myMY.d.ts
ADDED
package/locale/myMY.js
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.myMY = void 0;
|
|
7
|
+
// Myanmar - မြန်မာ
|
|
8
|
+
const myMY = exports.myMY = {
|
|
9
|
+
components: {
|
|
10
|
+
MuiBreadcrumbs: {
|
|
11
|
+
defaultProps: {
|
|
12
|
+
expandText: 'လမ်းကြောင်းပြပါ။'
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
MuiTablePagination: {
|
|
16
|
+
defaultProps: {
|
|
17
|
+
getItemAriaLabel: type => {
|
|
18
|
+
if (type === 'first') {
|
|
19
|
+
return 'ပထမစာမျက်နှာသို့သွားပါ။';
|
|
20
|
+
}
|
|
21
|
+
if (type === 'last') {
|
|
22
|
+
return 'နောက်ဆုံးစာမျက်နှာသို့သွားပါ။';
|
|
23
|
+
}
|
|
24
|
+
if (type === 'next') {
|
|
25
|
+
return 'နောက်စာမျက်နှာသို့သွားပါ။';
|
|
26
|
+
}
|
|
27
|
+
// if (type === 'previous') {
|
|
28
|
+
return 'ယခင်စာမျက်နှာသို့သွားပါ။';
|
|
29
|
+
},
|
|
30
|
+
labelRowsPerPage: 'စာမျက်နှာအလိုက် အတန်းများ:',
|
|
31
|
+
labelDisplayedRows: ({
|
|
32
|
+
from,
|
|
33
|
+
to,
|
|
34
|
+
count
|
|
35
|
+
}) => `${from}–${to} ၏ ${count !== -1 ? count : `ထက်ပိုပြီး ${to}`}`
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
MuiRating: {
|
|
39
|
+
defaultProps: {
|
|
40
|
+
getLabelText: value => {
|
|
41
|
+
const lastDigit = value % 10;
|
|
42
|
+
return `${value} ကြယ်ပွင့်${lastDigit === 1 ? '၎' : ''}`;
|
|
43
|
+
},
|
|
44
|
+
emptyLabelText: 'ဗလာ'
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
MuiAutocomplete: {
|
|
48
|
+
defaultProps: {
|
|
49
|
+
clearText: 'ရှင်းလင်းသော',
|
|
50
|
+
closeText: 'ပိတ်လိုက်',
|
|
51
|
+
loadingText: 'ဖွင့်နေသည်…',
|
|
52
|
+
noOptionsText: 'ရွေးချယ်ခွင့်မရှိပါ။',
|
|
53
|
+
openText: 'ဖွင့်သည်။'
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
MuiAlert: {
|
|
57
|
+
defaultProps: {
|
|
58
|
+
closeText: 'ပိတ်လိုက်'
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
MuiPagination: {
|
|
62
|
+
defaultProps: {
|
|
63
|
+
'aria-label': 'Pagination အညွှန်း',
|
|
64
|
+
getItemAriaLabel: (type, page, selected) => {
|
|
65
|
+
if (type === 'page') {
|
|
66
|
+
return `${selected ? '' : 'သွားပါ။ '}စာမျက်နှာ ${page}`;
|
|
67
|
+
}
|
|
68
|
+
if (type === 'first') {
|
|
69
|
+
return 'ပထမစာမျက်နှာသို့သွားပါ။';
|
|
70
|
+
}
|
|
71
|
+
if (type === 'last') {
|
|
72
|
+
return 'နောက်ဆုံးစာမျက်နှာသို့သွားပါ။';
|
|
73
|
+
}
|
|
74
|
+
if (type === 'next') {
|
|
75
|
+
return 'နောက်စာမျက်နှာသို့သွားပါ။';
|
|
76
|
+
}
|
|
77
|
+
// if (type === 'previous') {
|
|
78
|
+
return 'ယခင်စာမျက်နှာသို့သွားပါ။';
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
};
|
package/locale/nbNO.d.ts
ADDED
package/locale/nbNO.js
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.nbNO = void 0;
|
|
7
|
+
const nbNO = exports.nbNO = {
|
|
8
|
+
components: {
|
|
9
|
+
MuiBreadcrumbs: {
|
|
10
|
+
defaultProps: {
|
|
11
|
+
expandText: 'Vis sti'
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
MuiTablePagination: {
|
|
15
|
+
defaultProps: {
|
|
16
|
+
getItemAriaLabel: type => {
|
|
17
|
+
if (type === 'first') {
|
|
18
|
+
return 'Gå til første side';
|
|
19
|
+
}
|
|
20
|
+
if (type === 'last') {
|
|
21
|
+
return 'Gå til siste side';
|
|
22
|
+
}
|
|
23
|
+
if (type === 'next') {
|
|
24
|
+
return 'Gå til neste side';
|
|
25
|
+
}
|
|
26
|
+
// if (type === 'previous') {
|
|
27
|
+
return 'Gå til forrige side';
|
|
28
|
+
},
|
|
29
|
+
labelRowsPerPage: 'Rader per side:',
|
|
30
|
+
labelDisplayedRows: ({
|
|
31
|
+
from,
|
|
32
|
+
to,
|
|
33
|
+
count
|
|
34
|
+
}) => `${from}–${to} av ${count !== -1 ? count : `mer enn ${to}`}`
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
MuiRating: {
|
|
38
|
+
defaultProps: {
|
|
39
|
+
getLabelText: value => `${value} Stjerne${value !== 1 ? 'r' : ''}`,
|
|
40
|
+
emptyLabelText: 'Tom'
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
MuiAutocomplete: {
|
|
44
|
+
defaultProps: {
|
|
45
|
+
clearText: 'Tøm',
|
|
46
|
+
closeText: 'Lukk',
|
|
47
|
+
loadingText: 'Laster inn…',
|
|
48
|
+
noOptionsText: 'Ingen alternativer',
|
|
49
|
+
openText: 'Åpne'
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
MuiAlert: {
|
|
53
|
+
defaultProps: {
|
|
54
|
+
closeText: 'Lukk'
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
MuiPagination: {
|
|
58
|
+
defaultProps: {
|
|
59
|
+
'aria-label': 'Paginering navigasjon',
|
|
60
|
+
getItemAriaLabel: (type, page, selected) => {
|
|
61
|
+
if (type === 'page') {
|
|
62
|
+
return `${selected ? '' : 'Gå til '}side ${page}`;
|
|
63
|
+
}
|
|
64
|
+
if (type === 'first') {
|
|
65
|
+
return 'Gå til første side';
|
|
66
|
+
}
|
|
67
|
+
if (type === 'last') {
|
|
68
|
+
return 'Gå til siste side';
|
|
69
|
+
}
|
|
70
|
+
if (type === 'next') {
|
|
71
|
+
return 'Gå til neste side';
|
|
72
|
+
}
|
|
73
|
+
// if (type === 'previous') {
|
|
74
|
+
return 'Gå til forrige side';
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
};
|
package/locale/neNP.d.ts
ADDED
package/locale/neNP.js
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.neNP = void 0;
|
|
7
|
+
// Nepali-नेपाली
|
|
8
|
+
const neNP = exports.neNP = {
|
|
9
|
+
components: {
|
|
10
|
+
MuiBreadcrumbs: {
|
|
11
|
+
defaultProps: {
|
|
12
|
+
expandText: 'बाटो देखाउनुहोस्'
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
MuiTablePagination: {
|
|
16
|
+
defaultProps: {
|
|
17
|
+
getItemAriaLabel: type => {
|
|
18
|
+
if (type === 'first') {
|
|
19
|
+
return 'पहिलो पृष्ठमा जानुहोस्';
|
|
20
|
+
}
|
|
21
|
+
if (type === 'last') {
|
|
22
|
+
return 'अन्तिम पृष्ठमा जानुहोस्';
|
|
23
|
+
}
|
|
24
|
+
if (type === 'next') {
|
|
25
|
+
return 'अर्को पृष्ठमा जानुहोस्';
|
|
26
|
+
}
|
|
27
|
+
// if (type === 'previous') {
|
|
28
|
+
return 'अघिल्लो पृष्ठमा जानुहोस्';
|
|
29
|
+
},
|
|
30
|
+
labelRowsPerPage: 'प्रति पृष्ठ पङ्क्तिहरू:',
|
|
31
|
+
labelDisplayedRows: ({
|
|
32
|
+
from,
|
|
33
|
+
to,
|
|
34
|
+
count
|
|
35
|
+
}) => `${from}–${to} को ${count !== -1 ? count : `धेरै ${to}`}`
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
MuiRating: {
|
|
39
|
+
defaultProps: {
|
|
40
|
+
getLabelText: value => {
|
|
41
|
+
const lastDigit = value % 10;
|
|
42
|
+
return `${value} तारा${lastDigit === 1 ? 'स' : ''}`;
|
|
43
|
+
},
|
|
44
|
+
emptyLabelText: 'खाली'
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
MuiAutocomplete: {
|
|
48
|
+
defaultProps: {
|
|
49
|
+
clearText: 'खाली गर्नुहोस्',
|
|
50
|
+
closeText: 'बन्द गर्नुहोस्',
|
|
51
|
+
loadingText: 'लोड हुँदै...',
|
|
52
|
+
noOptionsText: 'कुनै विकल्प छैन',
|
|
53
|
+
openText: 'खोल्नुहोस्'
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
MuiAlert: {
|
|
57
|
+
defaultProps: {
|
|
58
|
+
closeText: 'बन्द गर्नुहोस्'
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
MuiPagination: {
|
|
62
|
+
defaultProps: {
|
|
63
|
+
'aria-label': 'पृष्ठांकन नेभिगेसन',
|
|
64
|
+
getItemAriaLabel: (type, page, selected) => {
|
|
65
|
+
if (type === 'page') {
|
|
66
|
+
return `${selected ? '' : 'जाऊ त्यहाँ '}पृष्ठ ${page}`;
|
|
67
|
+
}
|
|
68
|
+
if (type === 'first') {
|
|
69
|
+
return 'पहिलो पृष्ठमा जानुहोस्';
|
|
70
|
+
}
|
|
71
|
+
if (type === 'last') {
|
|
72
|
+
return 'अन्तिम पृष्ठमा जानुहोस्';
|
|
73
|
+
}
|
|
74
|
+
if (type === 'next') {
|
|
75
|
+
return 'अर्को पृष्ठमा जानुहोस्';
|
|
76
|
+
}
|
|
77
|
+
// if (type === 'previous') {
|
|
78
|
+
return 'अघिल्लो पृष्ठमा जानुहोस्';
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
};
|
package/locale/nlNL.d.ts
ADDED
package/locale/nlNL.js
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.nlNL = void 0;
|
|
7
|
+
const nlNL = exports.nlNL = {
|
|
8
|
+
components: {
|
|
9
|
+
MuiBreadcrumbs: {
|
|
10
|
+
defaultProps: {
|
|
11
|
+
expandText: 'Pad tonen'
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
MuiTablePagination: {
|
|
15
|
+
defaultProps: {
|
|
16
|
+
getItemAriaLabel: type => {
|
|
17
|
+
if (type === 'first') {
|
|
18
|
+
return 'Ga naar eerste pagina';
|
|
19
|
+
}
|
|
20
|
+
if (type === 'last') {
|
|
21
|
+
return 'Ga naar laatste pagina';
|
|
22
|
+
}
|
|
23
|
+
if (type === 'next') {
|
|
24
|
+
return 'Ga naar volgende pagina';
|
|
25
|
+
}
|
|
26
|
+
// if (type === 'previous') {
|
|
27
|
+
return 'Ga naar vorige pagina';
|
|
28
|
+
},
|
|
29
|
+
labelRowsPerPage: 'Regels per pagina:',
|
|
30
|
+
labelDisplayedRows: ({
|
|
31
|
+
from,
|
|
32
|
+
to,
|
|
33
|
+
count
|
|
34
|
+
}) => `${from}–${to} van ${count !== -1 ? count : `meer dan ${to}`}`
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
MuiRating: {
|
|
38
|
+
defaultProps: {
|
|
39
|
+
getLabelText: value => `${value} Ster${value !== 1 ? 'ren' : ''}`,
|
|
40
|
+
emptyLabelText: 'Leeg'
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
MuiAutocomplete: {
|
|
44
|
+
defaultProps: {
|
|
45
|
+
clearText: 'Wissen',
|
|
46
|
+
closeText: 'Sluiten',
|
|
47
|
+
loadingText: 'Laden…',
|
|
48
|
+
noOptionsText: 'Geen opties',
|
|
49
|
+
openText: 'Openen'
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
MuiAlert: {
|
|
53
|
+
defaultProps: {
|
|
54
|
+
closeText: 'Sluiten'
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
MuiPagination: {
|
|
58
|
+
defaultProps: {
|
|
59
|
+
'aria-label': 'Navigatie via paginering',
|
|
60
|
+
getItemAriaLabel: (type, page, selected) => {
|
|
61
|
+
if (type === 'page') {
|
|
62
|
+
return `${selected ? '' : 'Ga naar '}pagina ${page}`;
|
|
63
|
+
}
|
|
64
|
+
if (type === 'first') {
|
|
65
|
+
return 'Ga naar eerste pagina';
|
|
66
|
+
}
|
|
67
|
+
if (type === 'last') {
|
|
68
|
+
return 'Ga naar laatste pagina';
|
|
69
|
+
}
|
|
70
|
+
if (type === 'next') {
|
|
71
|
+
return 'Ga naar volgende pagina';
|
|
72
|
+
}
|
|
73
|
+
// if (type === 'previous') {
|
|
74
|
+
return 'Ga naar vorige pagina';
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
};
|
package/locale/nnNO.d.ts
ADDED
package/locale/nnNO.js
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.nnNO = void 0;
|
|
7
|
+
const nnNO = exports.nnNO = {
|
|
8
|
+
components: {
|
|
9
|
+
MuiBreadcrumbs: {
|
|
10
|
+
defaultProps: {
|
|
11
|
+
expandText: 'Vis sti'
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
MuiTablePagination: {
|
|
15
|
+
defaultProps: {
|
|
16
|
+
getItemAriaLabel: type => {
|
|
17
|
+
if (type === 'first') {
|
|
18
|
+
return 'Gå til første side';
|
|
19
|
+
}
|
|
20
|
+
if (type === 'last') {
|
|
21
|
+
return 'Gå til siste side';
|
|
22
|
+
}
|
|
23
|
+
if (type === 'next') {
|
|
24
|
+
return 'Gå til neste side';
|
|
25
|
+
}
|
|
26
|
+
// if (type === 'previous') {
|
|
27
|
+
return 'Gå til førre side';
|
|
28
|
+
},
|
|
29
|
+
labelRowsPerPage: 'Rader per side:',
|
|
30
|
+
labelDisplayedRows: ({
|
|
31
|
+
from,
|
|
32
|
+
to,
|
|
33
|
+
count
|
|
34
|
+
}) => `${from}–${to} av ${count !== -1 ? count : `fleire enn ${to}`}`
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
MuiRating: {
|
|
38
|
+
defaultProps: {
|
|
39
|
+
getLabelText: value => `${value} stjerne${value !== 1 ? 'r' : ''}`,
|
|
40
|
+
emptyLabelText: 'Tom'
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
MuiAutocomplete: {
|
|
44
|
+
defaultProps: {
|
|
45
|
+
clearText: 'Tøm',
|
|
46
|
+
closeText: 'Lukk',
|
|
47
|
+
loadingText: 'Lastar inn…',
|
|
48
|
+
noOptionsText: 'Ingen alternativ',
|
|
49
|
+
openText: 'Opna'
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
MuiAlert: {
|
|
53
|
+
defaultProps: {
|
|
54
|
+
closeText: 'Lukk'
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
MuiPagination: {
|
|
58
|
+
defaultProps: {
|
|
59
|
+
'aria-label': 'Navigasjon for paginering',
|
|
60
|
+
getItemAriaLabel: (type, page, selected) => {
|
|
61
|
+
if (type === 'page') {
|
|
62
|
+
return `${selected ? '' : 'Gå til '}side ${page}`;
|
|
63
|
+
}
|
|
64
|
+
if (type === 'first') {
|
|
65
|
+
return 'Gå til første side';
|
|
66
|
+
}
|
|
67
|
+
if (type === 'last') {
|
|
68
|
+
return 'Gå til siste side';
|
|
69
|
+
}
|
|
70
|
+
if (type === 'next') {
|
|
71
|
+
return 'Gå til neste side';
|
|
72
|
+
}
|
|
73
|
+
// if (type === 'previous') {
|
|
74
|
+
return 'Gå til førre side';
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
};
|
package/locale/plPL.d.ts
ADDED
package/locale/plPL.js
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.plPL = void 0;
|
|
7
|
+
const plPL = exports.plPL = {
|
|
8
|
+
components: {
|
|
9
|
+
MuiBreadcrumbs: {
|
|
10
|
+
defaultProps: {
|
|
11
|
+
expandText: 'Pokaż ścieżkę'
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
MuiTablePagination: {
|
|
15
|
+
defaultProps: {
|
|
16
|
+
getItemAriaLabel: type => {
|
|
17
|
+
if (type === 'first') {
|
|
18
|
+
return 'Przejdź do pierwszej strony';
|
|
19
|
+
}
|
|
20
|
+
if (type === 'last') {
|
|
21
|
+
return 'Przejdź do ostatniej strony';
|
|
22
|
+
}
|
|
23
|
+
if (type === 'next') {
|
|
24
|
+
return 'Przejdź do następnej strony';
|
|
25
|
+
}
|
|
26
|
+
// if (type === 'previous') {
|
|
27
|
+
return 'Przejdź do poprzedniej strony';
|
|
28
|
+
},
|
|
29
|
+
labelRowsPerPage: 'Wierszy na stronę:',
|
|
30
|
+
labelDisplayedRows: ({
|
|
31
|
+
from,
|
|
32
|
+
to,
|
|
33
|
+
count
|
|
34
|
+
}) => `${from}–${to} z ${count !== -1 ? count : `ponad ${to}`}`
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
MuiRating: {
|
|
38
|
+
defaultProps: {
|
|
39
|
+
getLabelText: value => {
|
|
40
|
+
let pluralForm = 'gwiazdek';
|
|
41
|
+
const lastDigit = value % 10;
|
|
42
|
+
if ((value < 10 || value > 20) && lastDigit > 1 && lastDigit < 5) {
|
|
43
|
+
pluralForm = 'gwiazdki';
|
|
44
|
+
} else if (value === 1) {
|
|
45
|
+
pluralForm = 'gwiazdka';
|
|
46
|
+
}
|
|
47
|
+
return `${value} ${pluralForm}`;
|
|
48
|
+
},
|
|
49
|
+
emptyLabelText: 'Brak gwiazdek'
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
MuiAutocomplete: {
|
|
53
|
+
defaultProps: {
|
|
54
|
+
clearText: 'Wyczyść',
|
|
55
|
+
closeText: 'Zamknij',
|
|
56
|
+
loadingText: 'Ładowanie…',
|
|
57
|
+
noOptionsText: 'Brak opcji',
|
|
58
|
+
openText: 'Otwórz'
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
MuiAlert: {
|
|
62
|
+
defaultProps: {
|
|
63
|
+
closeText: 'Zamknij'
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
MuiPagination: {
|
|
67
|
+
defaultProps: {
|
|
68
|
+
'aria-label': 'Nawigacja podziału na strony',
|
|
69
|
+
getItemAriaLabel: (type, page, selected) => {
|
|
70
|
+
if (type === 'page') {
|
|
71
|
+
return selected ? `${page}. strona` : `Przejdź do ${page}. strony`;
|
|
72
|
+
}
|
|
73
|
+
if (type === 'first') {
|
|
74
|
+
return 'Przejdź do pierwszej strony';
|
|
75
|
+
}
|
|
76
|
+
if (type === 'last') {
|
|
77
|
+
return 'Przejdź do ostatniej strony';
|
|
78
|
+
}
|
|
79
|
+
if (type === 'next') {
|
|
80
|
+
return 'Przejdź do następnej strony';
|
|
81
|
+
}
|
|
82
|
+
// if (type === 'previous') {
|
|
83
|
+
return 'Przejdź do poprzedniej strony';
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
};
|
package/locale/psAF.d.ts
ADDED