-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
plPL.ts
176 lines (150 loc) · 6 KB
/
plPL.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
import { plPL as plPLCore } from '@mui/material/locale';
import { GridLocaleText } from '../models/api/gridLocaleTextApi';
import { getGridLocalization, Localization } from '../utils/getGridLocalization';
const plPLGrid: Partial<GridLocaleText> = {
// 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: (count) => `Liczba aktywnych filtrów: ${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 management text
// columnsManagementSearchTitle: 'Search',
// columnsManagementNoColumns: 'No columns',
// columnsManagementShowHideAllText: 'Show/Hide All',
// columnsManagementReset: 'Reset',
// 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: (count) => `Liczba aktywnych filtrów: ${count}`,
columnHeaderFiltersLabel: 'Pokaż filtry',
columnHeaderSortIconLabel: 'Sortuj',
// Rows selected footer text
footerRowSelected: (count) => `Liczba wybranych wierszy: ${count.toLocaleString()}`,
// Total row amount footer text
footerTotalRows: 'Łączna liczba wierszy:',
// Total visible row amount footer text
footerTotalVisibleRows: (visibleCount, totalCount) =>
`${visibleCount.toLocaleString()} z ${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: (name) => `Grupuj według ${name}`,
unGroupColumn: (name) => `Rozgrupuj ${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 const plPL: Localization = getGridLocalization(plPLGrid, plPLCore);