UNPKG

@mui/material

Version:

Material UI is an open-source React component library that implements Google's Material Design. It's comprehensive and can be used in production out of the box.

79 lines (78 loc) 2.01 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.svSE = void 0; const svSE = exports.svSE = { components: { MuiBreadcrumbs: { defaultProps: { expandText: 'Visa sökväg' } }, MuiTablePagination: { defaultProps: { getItemAriaLabel: type => { if (type === 'first') { return 'Gå till första sidan'; } if (type === 'last') { return 'Gå till sista sidan'; } if (type === 'next') { return 'Gå till nästa sida'; } // if (type === 'previous') { return 'Gå till föregående sida'; }, labelRowsPerPage: 'Rader per sida:', labelDisplayedRows: ({ from, to, count }) => `${from}${to} av ${count !== -1 ? count : `fler än ${to}`}` } }, MuiRating: { defaultProps: { getLabelText: value => `${value} ${value !== 1 ? 'Stjärnor' : 'Stjärna'}`, emptyLabelText: 'Tom' } }, MuiAutocomplete: { defaultProps: { clearText: 'Rensa', closeText: 'Stäng', loadingText: 'Laddar…', noOptionsText: 'Inga alternativ', openText: 'Öppna' } }, MuiAlert: { defaultProps: { closeText: 'Stäng' } }, MuiPagination: { defaultProps: { 'aria-label': 'Sidnavigering', getItemAriaLabel: (type, page, selected) => { if (type === 'page') { return `${selected ? '' : 'Gå till '}sida ${page}`; } if (type === 'first') { return 'Gå till första sidan'; } if (type === 'last') { return 'Gå till sista sidan'; } if (type === 'next') { return 'Gå till nästa sida'; } // if (type === 'previous') { return 'Gå till föregående sida'; } } } } };