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 Polish (pl-PL) locale #4153

Merged
merged 1 commit into from
Mar 11, 2022
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
48 changes: 24 additions & 24 deletions packages/grid/x-data-grid/src/locales/plPL.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const plPLGrid: Partial<GridLocaleText> = {
toolbarExport: 'Eksportuj',
toolbarExportLabel: 'Eksportuj',
toolbarExportCSV: 'Pobierz jako plik CSV',
// toolbarExportPrint: 'Print',
toolbarExportPrint: 'Drukuj',

// Columns panel text
columnsPanelTextFieldLabel: 'Znajdź kolumnę',
Expand All @@ -42,7 +42,7 @@ const plPLGrid: Partial<GridLocaleText> = {
// Filter panel text
filterPanelAddFilter: 'Dodaj filtr',
filterPanelDeleteIconLabel: 'Usuń',
// filterPanelLinkOperator: 'Logic operator',
filterPanelLinkOperator: 'Operator logiczny',
filterPanelOperators: 'Operator',

// TODO v6: rename to filterPanelOperator
Expand All @@ -65,12 +65,12 @@ const plPLGrid: Partial<GridLocaleText> = {
filterOperatorOnOrBefore: 'mniejsze lub równe',
filterOperatorIsEmpty: 'jest pusty',
filterOperatorIsNotEmpty: 'nie jest pusty',
// filterOperatorIsAnyOf: 'is any of',
filterOperatorIsAnyOf: 'jest jednym z',

// Filter values text
// filterValueAny: 'any',
// filterValueTrue: 'true',
// filterValueFalse: 'false',
filterValueAny: 'dowolny',
filterValueTrue: 'prawda',
filterValueFalse: 'fałsz',

// Column menu text
columnMenuLabel: 'Menu',
Expand All @@ -97,37 +97,37 @@ const plPLGrid: Partial<GridLocaleText> = {
`${visibleCount.toLocaleString()} z ${totalCount.toLocaleString()}`,

// Checkbox selection text
// checkboxSelectionHeaderName: 'Checkbox selection',
// checkboxSelectionSelectAllRows: 'Select all rows',
// checkboxSelectionUnselectAllRows: 'Unselect all rows',
// checkboxSelectionSelectRow: 'Select row',
// checkboxSelectionUnselectRow: 'Unselect row',
checkboxSelectionHeaderName: 'Pole wyboru',
checkboxSelectionSelectAllRows: 'Zaznacz wszystkie wiersze',
checkboxSelectionUnselectAllRows: 'Odznacz wszystkie wiersze',
checkboxSelectionSelectRow: 'Zaznacz wiersz',
checkboxSelectionUnselectRow: 'Odznacz wiersz',

// Boolean cell text
// booleanCellTrueLabel: 'yes',
// booleanCellFalseLabel: 'no',
booleanCellTrueLabel: 'tak',
booleanCellFalseLabel: 'nie',

// Actions cell more text
actionsCellMore: 'więcej',

// Column pinning text
// pinToLeft: 'Pin to left',
// pinToRight: 'Pin to right',
// unpin: 'Unpin',
pinToLeft: 'Przypnij do lewej',
pinToRight: 'Przypnij do prawej',
unpin: 'Odepnij',

// Tree Data
// treeDataGroupingHeaderName: 'Group',
// treeDataExpand: 'see children',
// treeDataCollapse: 'hide children',
treeDataGroupingHeaderName: 'Grupa',
treeDataExpand: 'pokaż elementy potomne',
treeDataCollapse: 'ukryj elementy potomne',

// Grouping columns
// groupingColumnHeaderName: 'Group',
// groupColumn: name => `Group by ${name}`,
// unGroupColumn: name => `Stop grouping by ${name}`,
groupingColumnHeaderName: 'Grupa',
groupColumn: (name) => `Grupuj według ${name}`,
unGroupColumn: (name) => `Rozgrupuj ${name}`,

// Master/detail
// expandDetailPanel: 'Expand',
// collapseDetailPanel: 'Collapse',
expandDetailPanel: 'Rozwiń',
collapseDetailPanel: 'Zwiń',
};

export const plPL: Localization = getGridLocalization(plPLGrid, plPLCore);