Skip to content

Commit

Permalink
Improves nnNO and nbNO
Browse files Browse the repository at this point in the history
  • Loading branch information
AnderzL7 committed Jun 22, 2024
1 parent 3f021c7 commit 27a895b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/x-data-grid/src/locales/nbNO.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ const nbNOGrid: Partial<GridLocaleText> = {
`${visibleCount.toLocaleString()} av ${totalCount.toLocaleString()}`,

// Checkbox selection text
checkboxSelectionHeaderName: 'Avmerkingsboks valgt',
checkboxSelectionHeaderName: 'Avmerkingsboks',
checkboxSelectionSelectAllRows: 'Velg alle rader',
checkboxSelectionUnselectAllRows: 'Velg bort alle rader',
checkboxSelectionSelectRow: 'Velg rad',
Expand Down
6 changes: 3 additions & 3 deletions packages/x-data-grid/src/locales/nnNO.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,17 +121,17 @@ const nnNOGrid: Partial<GridLocaleText> = {

// Rows selected footer text
footerRowSelected: (count) =>
count !== 1 ? `${count.toLocaleString()} rader valgt` : `${count.toLocaleString()} rad valgt`,
count !== 1 ? `${count.toLocaleString()} rader valt` : `${count.toLocaleString()} rad valt`,

// Total row amount footer text
footerTotalRows: 'Totalt antall rader:',
footerTotalRows: 'Totalt tal rader:',

// Total visible row amount footer text
footerTotalVisibleRows: (visibleCount, totalCount) =>
`${visibleCount.toLocaleString()} av ${totalCount.toLocaleString()}`,

// Checkbox selection text
checkboxSelectionHeaderName: 'Avmerkingsboks valgt',
checkboxSelectionHeaderName: 'Avmerkingsboks',
checkboxSelectionSelectAllRows: 'Vel alle rader',
checkboxSelectionUnselectAllRows: 'Vel vekk alle rader',
checkboxSelectionSelectRow: 'Vel rad',
Expand Down

0 comments on commit 27a895b

Please sign in to comment.