@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) • 1.98 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.nbNO = void 0;
const nbNO = exports.nbNO = {
components: {
MuiBreadcrumbs: {
defaultProps: {
expandText: 'Vis sti'
}
},
MuiTablePagination: {
defaultProps: {
getItemAriaLabel: type => {
if (type === 'first') {
return 'Gå til første side';
}
if (type === 'last') {
return 'Gå til siste side';
}
if (type === 'next') {
return 'Gå til neste side';
}
// if (type === 'previous') {
return 'Gå til forrige side';
},
labelRowsPerPage: 'Rader per side:',
labelDisplayedRows: ({
from,
to,
count
}) => `${from}–${to} av ${count !== -1 ? count : `mer enn ${to}`}`
}
},
MuiRating: {
defaultProps: {
getLabelText: value => `${value} Stjerne${value !== 1 ? 'r' : ''}`,
emptyLabelText: 'Tom'
}
},
MuiAutocomplete: {
defaultProps: {
clearText: 'Tøm',
closeText: 'Lukk',
loadingText: 'Laster inn…',
noOptionsText: 'Ingen alternativer',
openText: 'Åpne'
}
},
MuiAlert: {
defaultProps: {
closeText: 'Lukk'
}
},
MuiPagination: {
defaultProps: {
'aria-label': 'Paginering navigasjon',
getItemAriaLabel: (type, page, selected) => {
if (type === 'page') {
return `${selected ? '' : 'Gå til '}side ${page}`;
}
if (type === 'first') {
return 'Gå til første side';
}
if (type === 'last') {
return 'Gå til siste side';
}
if (type === 'next') {
return 'Gå til neste side';
}
// if (type === 'previous') {
return 'Gå til forrige side';
}
}
}
}
};