Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[l10n] Improve Dutch (nl-NL) locale #3429

Merged
merged 3 commits into from
Dec 15, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 26 additions & 25 deletions packages/grid/_modules_/grid/locales/nlNL.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { getGridLocalization, Localization } from '../utils/getGridLocalization'
const nlNLGrid: Partial<GridLocaleText> = {
// Root
noRowsLabel: 'Geen resultaten.',
// noResultsOverlayLabel: 'No results found.',
noResultsOverlayLabel: 'Geen resultaten gevonden.',
errorOverlayDefaultLabel: 'Er deed zich een fout voor.',

// Density selector toolbar button text
Expand All @@ -28,10 +28,10 @@ const nlNLGrid: Partial<GridLocaleText> = {
count > 1 ? `${count} actieve filters` : `${count} filter actief`,

// Export selector toolbar button text
// toolbarExport: 'Export',
// toolbarExportLabel: 'Export',
// toolbarExportCSV: 'Download as CSV',
// toolbarExportPrint: 'Print',
toolbarExport: 'Exporteren',
toolbarExportLabel: 'Exporteren',
toolbarExportCSV: 'Exporteer naar CSV',
toolbarExportPrint: 'Print',

// Columns panel text
columnsPanelTextFieldLabel: 'Zoek kolom',
Expand All @@ -57,17 +57,17 @@ const nlNLGrid: Partial<GridLocaleText> = {
filterOperatorEndsWith: 'eindigt met',
filterOperatorIs: 'is',
filterOperatorNot: 'is niet',
filterOperatorAfter: 'is voor',
filterOperatorOnOrAfter: 'is gelijk of er voor',
filterOperatorBefore: 'is na',
filterOperatorOnOrBefore: 'is gelijk of er na',
// filterOperatorIsEmpty: 'is empty',
// filterOperatorIsNotEmpty: 'is not empty',
filterOperatorAfter: 'is na',
filterOperatorOnOrAfter: 'is gelijk of er na',
filterOperatorBefore: 'is voor',
filterOperatorOnOrBefore: 'is gelijk of er voor',
filterOperatorIsEmpty: 'is leeg',
filterOperatorIsNotEmpty: 'is niet leeg',

// Filter values text
// filterValueAny: 'any',
// filterValueTrue: 'true',
// filterValueFalse: 'false',
filterValueAny: 'alles',
filterValueTrue: 'waar',
filterValueFalse: 'onwaar',

// Column menu text
columnMenuLabel: 'Menu',
Expand All @@ -94,27 +94,28 @@ const nlNLGrid: Partial<GridLocaleText> = {
footerTotalRows: 'Totaal:',

// Total visible rows footer text
// footerTotalVisibleRows: (visibleCount, totalCount) => `${visibleCount.toLocaleString()} of ${totalCount.toLocaleString()}`,
footerTotalVisibleRows: (visibleCount, totalCount) =>
`${visibleCount.toLocaleString()} van ${totalCount.toLocaleString()}`,

// Checkbox selection text
// checkboxSelectionHeaderName: 'Checkbox selection',
checkboxSelectionHeaderName: 'Checkbox selectie',

// Boolean cell text
// booleanCellTrueLabel: 'true',
// booleanCellFalseLabel: 'false',
booleanCellTrueLabel: 'waar',
booleanCellFalseLabel: 'onwaar',

// Actions cell more text
// actionsCellMore: 'more',
actionsCellMore: 'meer',

// Column pinning text
// pinToLeft: 'Pin to left',
// pinToRight: 'Pin to right',
// unpin: 'Unpin',
pinToLeft: 'Links vastzetten',
pinToRight: 'Rechts vastzetten',
unpin: 'Losmaken',

// Tree Data
// treeDataGroupingHeaderName: 'Group',
// treeDataExpand: 'see children',
// treeDataCollapse: 'hide children',
treeDataGroupingHeaderName: 'Groep',
treeDataExpand: 'Uitvouwen',
treeDataCollapse: 'Inklappen',
};

export const nlNL: Localization = getGridLocalization(nlNLGrid, nlNLCore);