164 lines
6.2 KiB
JavaScript
164 lines
6.2 KiB
JavaScript
import { plPL as plPLCore } from '@mui/material/locale';
|
|
import { getGridLocalization } from '../utils/getGridLocalization';
|
|
var plPLGrid = {
|
|
// Root
|
|
noRowsLabel: 'Brak danych',
|
|
noResultsOverlayLabel: 'Nie znaleziono wyników.',
|
|
// Density selector toolbar button text
|
|
toolbarDensity: 'Wysokość rzędu',
|
|
toolbarDensityLabel: 'Wysokość rzędu',
|
|
toolbarDensityCompact: 'Kompakt',
|
|
toolbarDensityStandard: 'Standard',
|
|
toolbarDensityComfortable: 'Komfort',
|
|
// Columns selector toolbar button text
|
|
toolbarColumns: 'Kolumny',
|
|
toolbarColumnsLabel: 'Zaznacz kolumny',
|
|
// Filters toolbar button text
|
|
toolbarFilters: 'Filtry',
|
|
toolbarFiltersLabel: 'Pokaż filtry',
|
|
toolbarFiltersTooltipHide: 'Ukryj filtry',
|
|
toolbarFiltersTooltipShow: 'Pokaż filtry',
|
|
toolbarFiltersTooltipActive: function toolbarFiltersTooltipActive(count) {
|
|
return "Liczba aktywnych filtr\xF3w: ".concat(count);
|
|
},
|
|
// Quick filter toolbar field
|
|
toolbarQuickFilterPlaceholder: 'Wyszukaj…',
|
|
toolbarQuickFilterLabel: 'Szukaj',
|
|
toolbarQuickFilterDeleteIconLabel: 'Wyczyść',
|
|
// Export selector toolbar button text
|
|
toolbarExport: 'Eksportuj',
|
|
toolbarExportLabel: 'Eksportuj',
|
|
toolbarExportCSV: 'Pobierz jako plik CSV',
|
|
toolbarExportPrint: 'Drukuj',
|
|
toolbarExportExcel: 'Pobierz jako plik Excel',
|
|
// Columns panel text
|
|
columnsPanelTextFieldLabel: 'Znajdź kolumnę',
|
|
columnsPanelTextFieldPlaceholder: 'Tytuł kolumny',
|
|
columnsPanelDragIconLabel: 'Zmień kolejność kolumn',
|
|
columnsPanelShowAllButton: 'Pokaż wszystko',
|
|
columnsPanelHideAllButton: 'Ukryj wszystko',
|
|
// Filter panel text
|
|
filterPanelAddFilter: 'Dodaj filtr',
|
|
filterPanelRemoveAll: 'Usuń wszystkie',
|
|
filterPanelDeleteIconLabel: 'Usuń',
|
|
filterPanelLogicOperator: 'Operator logiczny',
|
|
filterPanelOperator: 'Operator',
|
|
filterPanelOperatorAnd: 'I',
|
|
filterPanelOperatorOr: 'Lub',
|
|
filterPanelColumns: 'Kolumny',
|
|
filterPanelInputLabel: 'Wartość',
|
|
filterPanelInputPlaceholder: 'Filtrowana wartość',
|
|
// Filter operators text
|
|
filterOperatorContains: 'zawiera',
|
|
filterOperatorEquals: 'równa się',
|
|
filterOperatorStartsWith: 'zaczyna się od',
|
|
filterOperatorEndsWith: 'kończy się na',
|
|
filterOperatorIs: 'równa się',
|
|
filterOperatorNot: 'różne',
|
|
filterOperatorAfter: 'większe niż',
|
|
filterOperatorOnOrAfter: 'większe lub równe',
|
|
filterOperatorBefore: 'mniejsze niż',
|
|
filterOperatorOnOrBefore: 'mniejsze lub równe',
|
|
filterOperatorIsEmpty: 'jest pusty',
|
|
filterOperatorIsNotEmpty: 'nie jest pusty',
|
|
filterOperatorIsAnyOf: 'jest jednym z',
|
|
// 'filterOperator=': '=',
|
|
// 'filterOperator!=': '!=',
|
|
// 'filterOperator>': '>',
|
|
// 'filterOperator>=': '>=',
|
|
// 'filterOperator<': '<',
|
|
// 'filterOperator<=': '<=',
|
|
|
|
// Header filter operators text
|
|
headerFilterOperatorContains: 'Zawiera',
|
|
headerFilterOperatorEquals: 'Równa się',
|
|
headerFilterOperatorStartsWith: 'Zaczyna się od',
|
|
headerFilterOperatorEndsWith: 'Kończy się na',
|
|
// headerFilterOperatorIs: 'Is',
|
|
headerFilterOperatorNot: 'Niepuste',
|
|
// headerFilterOperatorAfter: 'Is after',
|
|
// headerFilterOperatorOnOrAfter: 'Is on or after',
|
|
// headerFilterOperatorBefore: 'Is before',
|
|
// headerFilterOperatorOnOrBefore: 'Is on or before',
|
|
// headerFilterOperatorIsEmpty: 'Is empty',
|
|
// headerFilterOperatorIsNotEmpty: 'Is not empty',
|
|
// headerFilterOperatorIsAnyOf: 'Is any of',
|
|
// 'headerFilterOperator=': 'Equals',
|
|
// 'headerFilterOperator!=': 'Not equals',
|
|
// 'headerFilterOperator>': 'Greater than',
|
|
// 'headerFilterOperator>=': 'Greater than or equal to',
|
|
// 'headerFilterOperator<': 'Less than',
|
|
// 'headerFilterOperator<=': 'Less than or equal to',
|
|
|
|
// Filter values text
|
|
filterValueAny: 'dowolny',
|
|
filterValueTrue: 'prawda',
|
|
filterValueFalse: 'fałsz',
|
|
// Column menu text
|
|
columnMenuLabel: 'Menu',
|
|
columnMenuShowColumns: 'Pokaż wszystkie kolumny',
|
|
columnMenuManageColumns: 'Zarządzaj kolumnami',
|
|
columnMenuFilter: 'Filtr',
|
|
columnMenuHideColumn: 'Ukryj',
|
|
columnMenuUnsort: 'Anuluj sortowanie',
|
|
columnMenuSortAsc: 'Sortuj rosnąco',
|
|
columnMenuSortDesc: 'Sortuj malejąco',
|
|
// Column header text
|
|
columnHeaderFiltersTooltipActive: function columnHeaderFiltersTooltipActive(count) {
|
|
return "Liczba aktywnych filtr\xF3w: ".concat(count);
|
|
},
|
|
columnHeaderFiltersLabel: 'Pokaż filtry',
|
|
columnHeaderSortIconLabel: 'Sortuj',
|
|
// Rows selected footer text
|
|
footerRowSelected: function footerRowSelected(count) {
|
|
return "Liczba wybranych wierszy: ".concat(count.toLocaleString());
|
|
},
|
|
// Total row amount footer text
|
|
footerTotalRows: 'Łączna liczba wierszy:',
|
|
// Total visible row amount footer text
|
|
footerTotalVisibleRows: function footerTotalVisibleRows(visibleCount, totalCount) {
|
|
return "".concat(visibleCount.toLocaleString(), " z ").concat(totalCount.toLocaleString());
|
|
},
|
|
// Checkbox selection text
|
|
checkboxSelectionHeaderName: 'Pole wyboru',
|
|
checkboxSelectionSelectAllRows: 'Zaznacz wszystkie wiersze',
|
|
checkboxSelectionUnselectAllRows: 'Odznacz wszystkie wiersze',
|
|
checkboxSelectionSelectRow: 'Zaznacz wiersz',
|
|
checkboxSelectionUnselectRow: 'Odznacz wiersz',
|
|
// Boolean cell text
|
|
booleanCellTrueLabel: 'tak',
|
|
booleanCellFalseLabel: 'nie',
|
|
// Actions cell more text
|
|
actionsCellMore: 'więcej',
|
|
// Column pinning text
|
|
pinToLeft: 'Przypnij do lewej',
|
|
pinToRight: 'Przypnij do prawej',
|
|
unpin: 'Odepnij',
|
|
// Tree Data
|
|
treeDataGroupingHeaderName: 'Grupa',
|
|
treeDataExpand: 'pokaż elementy potomne',
|
|
treeDataCollapse: 'ukryj elementy potomne',
|
|
// Grouping columns
|
|
groupingColumnHeaderName: 'Grupa',
|
|
groupColumn: function groupColumn(name) {
|
|
return "Grupuj wed\u0142ug ".concat(name);
|
|
},
|
|
unGroupColumn: function unGroupColumn(name) {
|
|
return "Rozgrupuj ".concat(name);
|
|
},
|
|
// Master/detail
|
|
// detailPanelToggle: 'Detail panel toggle',
|
|
expandDetailPanel: 'Rozwiń',
|
|
collapseDetailPanel: 'Zwiń',
|
|
// Row reordering text
|
|
rowReorderingHeaderName: 'Porządkowanie wierszy'
|
|
|
|
// Aggregation
|
|
// aggregationMenuItemHeader: 'Aggregation',
|
|
// aggregationFunctionLabelSum: 'sum',
|
|
// aggregationFunctionLabelAvg: 'avg',
|
|
// aggregationFunctionLabelMin: 'min',
|
|
// aggregationFunctionLabelMax: 'max',
|
|
// aggregationFunctionLabelSize: 'size',
|
|
};
|
|
export var plPL = getGridLocalization(plPLGrid, plPLCore); |