Files
IronSteelNon-ferrousMetallu…/node_modules/@mui/material/locale/svSE.js

79 lines
2.0 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"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';
}
}
}
}
};