-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
hrHR.ts
181 lines (155 loc) · 5.99 KB
/
hrHR.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
177
178
179
180
181
import { hrHR as hrHRCore } from '@mui/material/locale';
import { GridLocaleText } from '../models/api/gridLocaleTextApi';
import { getGridLocalization } from '../utils/getGridLocalization';
const hrHRGrid: Partial<GridLocaleText> = {
// Root
noRowsLabel: 'Nema redova',
noResultsOverlayLabel: 'Nema rezultata.',
// Density selector toolbar button text
toolbarDensity: 'Gustoća',
toolbarDensityLabel: 'Gustoća',
toolbarDensityCompact: 'Kompaktan',
toolbarDensityStandard: 'Standard',
toolbarDensityComfortable: 'Udobno',
// Columns selector toolbar button text
toolbarColumns: 'Stupci',
toolbarColumnsLabel: 'Odaberite stupce',
// Filters toolbar button text
toolbarFilters: 'Filteri',
toolbarFiltersLabel: 'Prikaži filtre',
toolbarFiltersTooltipHide: 'Sakrij filtre',
toolbarFiltersTooltipShow: 'Prikaži filtre',
toolbarFiltersTooltipActive: (count) =>
count !== 1 ? `${count} aktivnih filtara` : `${count} aktivni filter`,
// Quick filter toolbar field
toolbarQuickFilterPlaceholder: 'Traži…',
toolbarQuickFilterLabel: 'traži',
toolbarQuickFilterDeleteIconLabel: 'Čisto',
// Export selector toolbar button text
toolbarExport: 'Izvoz',
toolbarExportLabel: 'Izvoz',
toolbarExportCSV: 'Preuzmi kao CSV',
toolbarExportPrint: 'Ispis',
toolbarExportExcel: 'Preuzmite kao Excel',
// Columns management text
// columnsManagementSearchTitle: 'Search',
// columnsManagementNoColumns: 'No columns',
// columnsManagementShowHideAllText: 'Show/Hide All',
// columnsManagementReset: 'Reset',
// Filter panel text
filterPanelAddFilter: 'Dodajte filter',
filterPanelRemoveAll: 'Ukloniti sve',
filterPanelDeleteIconLabel: 'Izbrisati',
filterPanelLogicOperator: 'Logički operator',
filterPanelOperator: 'Operater',
filterPanelOperatorAnd: 'I',
filterPanelOperatorOr: 'Ili',
filterPanelColumns: 'Stupci',
filterPanelInputLabel: 'Vrijednost',
filterPanelInputPlaceholder: 'Vrijednost filtra',
// Filter operators text
filterOperatorContains: 'sadrži',
filterOperatorEquals: 'jednaki',
filterOperatorStartsWith: 'počinje sa',
filterOperatorEndsWith: 'završava sa',
filterOperatorIs: 'je',
filterOperatorNot: 'nije',
filterOperatorAfter: 'je poslije',
filterOperatorOnOrAfter: 'je na ili poslije',
filterOperatorBefore: 'je prije',
filterOperatorOnOrBefore: 'je na ili prije',
filterOperatorIsEmpty: 'prazno je',
filterOperatorIsNotEmpty: 'nije prazna',
filterOperatorIsAnyOf: 'je bilo koji od',
'filterOperator=': '=',
'filterOperator!=': '!=',
'filterOperator>': '>',
'filterOperator>=': '>=',
'filterOperator<': '<',
'filterOperator<=': '<=',
// Header filter operators text
headerFilterOperatorContains: 'Sadrži',
headerFilterOperatorEquals: 'Jednako',
headerFilterOperatorStartsWith: 'Počinje sa',
headerFilterOperatorEndsWith: 'Završava s',
headerFilterOperatorIs: 'Je',
headerFilterOperatorNot: 'Nije',
headerFilterOperatorAfter: 'Je poslije',
headerFilterOperatorOnOrAfter: 'Je uključeno ili poslije',
headerFilterOperatorBefore: 'Je li prije',
headerFilterOperatorOnOrBefore: 'Uključeno je ili prije',
headerFilterOperatorIsEmpty: 'Prazno je',
headerFilterOperatorIsNotEmpty: 'Nije prazna',
headerFilterOperatorIsAnyOf: 'Je li bilo koji od',
'headerFilterOperator=': 'Jednako',
'headerFilterOperator!=': 'Nije jednako',
'headerFilterOperator>': 'Veći od',
'headerFilterOperator>=': 'Veće ili jednako',
'headerFilterOperator<': 'Manje od',
'headerFilterOperator<=': 'Manje od ili jednako',
// Filter values text
filterValueAny: 'bilo koji',
filterValueTrue: 'pravi',
filterValueFalse: 'lažno',
// Column menu text
columnMenuLabel: 'Jelovnik ',
columnMenuShowColumns: 'Prikaži stupce',
columnMenuManageColumns: 'Upravljanje stupcima',
columnMenuFilter: 'filtar',
columnMenuHideColumn: 'Sakrij stupac',
columnMenuUnsort: 'Poništi sortiranje',
columnMenuSortAsc: 'Poredaj uzlazno',
columnMenuSortDesc: 'Poredaj silaznim redom',
// Column header text
columnHeaderFiltersTooltipActive: (count) =>
count !== 1 ? `${count} aktivnih filtara` : `${count} aktivni filter`,
columnHeaderFiltersLabel: 'Prikaži filtre',
columnHeaderSortIconLabel: 'Vrsta',
// Rows selected footer text
footerRowSelected: (count) =>
count !== 1
? `Odabrano je ${count.toLocaleString()} redaka`
: `${count.toLocaleString()} redak odabran`,
// Total row amount footer text
footerTotalRows: 'Ukupno redaka:',
// Total visible row amount footer text
footerTotalVisibleRows: (visibleCount, totalCount) =>
`${visibleCount.toLocaleString()} od ${totalCount.toLocaleString()}`,
// Checkbox selection text
checkboxSelectionHeaderName: 'Odabir potvrdnog okvira',
checkboxSelectionSelectAllRows: 'Odaberite sve retke',
checkboxSelectionUnselectAllRows: 'Poništi odabir svih redaka',
checkboxSelectionSelectRow: 'Odaberite red',
checkboxSelectionUnselectRow: 'Poništi odabir retka',
// Boolean cell text
booleanCellTrueLabel: 'Da',
booleanCellFalseLabel: 'Ne',
// Actions cell more text
actionsCellMore: 'više',
// Column pinning text
pinToLeft: 'Prikvači lijevo',
pinToRight: 'Prikvači desno',
unpin: 'Otkvači',
// Tree Data
treeDataGroupingHeaderName: 'Group',
treeDataExpand: 'vidjeti djecu',
treeDataCollapse: 'sakriti djecu',
// Grouping columns
groupingColumnHeaderName: 'Skupina',
groupColumn: (name) => `Grupiraj prema ${name}`,
unGroupColumn: (name) => `Zaustavi grupiranje prema ${name}`,
// Master/detail
detailPanelToggle: 'Prebacivanje ploče s detaljima',
expandDetailPanel: 'Proširiti',
collapseDetailPanel: 'Kolaps',
// Row reordering text
rowReorderingHeaderName: 'Promjena redoslijeda',
// Aggregation
aggregationMenuItemHeader: 'Agregacija',
aggregationFunctionLabelSum: 'iznos',
aggregationFunctionLabelAvg: 'prosj',
aggregationFunctionLabelMin: 'min',
aggregationFunctionLabelMax: 'max',
aggregationFunctionLabelSize: 'veličina',
};
export const hrHR = getGridLocalization(hrHRGrid, hrHRCore);