Skip to content

Commit

Permalink
Revert "add norwegian locale (#29010)" (#29647)
Browse files Browse the repository at this point in the history
This reverts commit 6ef2304.
  • Loading branch information
mbrookes committed Nov 13, 2021
1 parent 6ef2304 commit b3e7947
Showing 1 changed file with 0 additions and 50 deletions.
50 changes: 0 additions & 50 deletions packages/material-ui/src/locale/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1080,56 +1080,6 @@ export const nlNL: Localization = {
},
};

export const nbNO: Localization = {
props: {
MuiBreadcrumbs: {
expandText: 'Vis sti',
},
MuiTablePagination: {
backIconButtonText: 'Forrige side',
labelRowsPerPage: 'Rader pr side:',
labelDisplayedRows: ({ from, to, count }) =>
`${from}-${to} av ${count !== -1 ? count : `flere enn ${to}`}`,
nextIconButtonText: 'Neste side',
},
MuiRating: {
getLabelText: (value) => `${value} Stjerne${value !== 1 ? 'r' : ''}`,
emptyLabelText: 'Tom',
},
MuiAutocomplete: {
clearText: 'Tøm',
closeText: 'Lukk',
loadingText: 'Laster…',
noOptionsText: 'Ingen valgalternativer',
openText: 'Åpen',
},
MuiAlert: {
closeText: 'Lukk',
},
MuiPagination: {
'aria-label': 'Sidenavigasjon',
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';
}
return undefined;
},
},
},
};

export const plPL: Localization = {
props: {
MuiBreadcrumbs: {
Expand Down

0 comments on commit b3e7947

Please sign in to comment.