-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
/
Copy pathhrHR.ts
219 lines (192 loc) · 7.33 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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
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.',
noColumnsOverlayLabel: 'Nema stupaca',
noColumnsOverlayManageColumns: 'Upravljaj stupcima',
// Density selector toolbar button text
toolbarDensity: 'Gustoća',
toolbarDensityLabel: 'Gustoća',
toolbarDensityCompact: 'Kompaktno',
toolbarDensityStandard: 'Standardno',
toolbarDensityComfortable: 'Udobno',
// Columns selector toolbar button text
toolbarColumns: 'Stupci',
toolbarColumnsLabel: 'Odaberite stupce',
// Filters toolbar button text
toolbarFilters: 'Filteri',
toolbarFiltersLabel: 'Prikaži filtere',
toolbarFiltersTooltipHide: 'Sakrij filtere',
toolbarFiltersTooltipShow: 'Prikaži filtere',
toolbarFiltersTooltipActive: (count) => {
if (count === 1) {
return `${count} aktivan filter`;
}
if (count < 5) {
return `${count} aktivna filtera`;
}
return `${count} aktivnih filtera`;
},
// Quick filter toolbar field
toolbarQuickFilterPlaceholder: 'Traži…',
toolbarQuickFilterLabel: 'traži',
toolbarQuickFilterDeleteIconLabel: 'Obriši',
// Prompt toolbar field
// toolbarPromptControlPlaceholder: 'Type a prompt…',
// toolbarPromptControlWithRecordingPlaceholder: 'Type or record a prompt…',
// toolbarPromptControlRecordingPlaceholder: 'Listening for prompt…',
// toolbarPromptControlLabel: 'Prompt input',
// toolbarPromptControlRecordButtonDefaultLabel: 'Record',
// toolbarPromptControlRecordButtonActiveLabel: 'Stop recording',
// toolbarPromptControlSendActionLabel: 'Send',
// toolbarPromptControlSendActionAriaLabel: 'Send prompt',
// toolbarPromptControlErrorMessage: 'An error occurred while processing the request. Please try again with a different prompt.',
// Export selector toolbar button text
toolbarExport: 'Izvoz',
toolbarExportLabel: 'Izvoz',
toolbarExportCSV: 'Preuzmi kao CSV',
toolbarExportPrint: 'Štampaj',
toolbarExportExcel: 'Preuzmi kao Excel',
// Columns management text
columnsManagementSearchTitle: 'Traži',
columnsManagementNoColumns: 'Nema stupaca',
columnsManagementShowHideAllText: 'Prikaži/Sakrij sve',
columnsManagementReset: 'Ponovno namjesti',
// columnsManagementDeleteIconLabel: 'Clear',
// Filter panel text
filterPanelAddFilter: 'Dodaj filter',
filterPanelRemoveAll: 'Ukloni sve',
filterPanelDeleteIconLabel: 'Obriši',
filterPanelLogicOperator: 'Logički operator',
filterPanelOperator: 'Operator',
filterPanelOperatorAnd: 'I',
filterPanelOperatorOr: 'Ili',
filterPanelColumns: 'Stupac',
filterPanelInputLabel: 'Vrijednost',
filterPanelInputPlaceholder: 'Vrijednost filtera',
// Filter operators text
filterOperatorContains: 'sadrži',
filterOperatorDoesNotContain: 'ne sadrži',
filterOperatorEquals: 'je jednak',
filterOperatorDoesNotEqual: 'nije jednak',
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: 'je prazno',
filterOperatorIsNotEmpty: 'nije prazno',
filterOperatorIsAnyOf: 'je bilo koji od',
'filterOperator=': '=',
'filterOperator!=': '!=',
'filterOperator>': '>',
'filterOperator>=': '>=',
'filterOperator<': '<',
'filterOperator<=': '<=',
// Header filter operators text
headerFilterOperatorContains: 'Sadrži',
headerFilterOperatorDoesNotContain: 'Ne sadrži',
headerFilterOperatorEquals: 'Jednako',
headerFilterOperatorDoesNotEqual: 'Nije jednako',
headerFilterOperatorStartsWith: 'Počinje sa',
headerFilterOperatorEndsWith: 'Završava sa',
headerFilterOperatorIs: 'Je',
headerFilterOperatorNot: 'Nije',
headerFilterOperatorAfter: 'Je poslije',
headerFilterOperatorOnOrAfter: 'Je uključeno ili poslije',
headerFilterOperatorBefore: 'Je prije',
headerFilterOperatorOnOrBefore: 'Je uključeno ili prije',
headerFilterOperatorIsEmpty: 'Je prazno',
headerFilterOperatorIsNotEmpty: 'Nije prazno',
headerFilterOperatorIsAnyOf: 'Je 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',
// headerFilterClear: 'Clear filter',
// Filter values text
filterValueAny: 'bilo koji',
filterValueTrue: 'tačno',
filterValueFalse: 'netačno',
// Column menu text
columnMenuLabel: 'Izbornik',
columnMenuShowColumns: 'Prikaži stupce',
columnMenuManageColumns: 'Upravljanje stupcima',
columnMenuFilter: 'Filter',
columnMenuHideColumn: 'Sakrij stupac',
columnMenuUnsort: 'Poništi sortiranje',
columnMenuSortAsc: 'Poredaj uzlazno',
columnMenuSortDesc: 'Poredaj silazno',
// Column header text
columnHeaderFiltersTooltipActive: (count) => {
if (count === 1) {
return `${count} aktivan filter`;
}
if (count < 5) {
return `${count} aktivna filtera`;
}
return `${count} aktivnih filtera`;
},
columnHeaderFiltersLabel: 'Prikaži filtere',
columnHeaderSortIconLabel: 'Poredaj',
// Rows selected footer text
footerRowSelected: (count) => {
if (count === 1) {
return `Odabran je ${count.toLocaleString()} redak`;
}
if (count < 5) {
return `Odabrana su ${count.toLocaleString()} retka`;
}
return `Odabrano je ${count.toLocaleString()} redaka`;
},
// 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 redaka',
checkboxSelectionSelectAllRows: 'Odaberite sve retke',
checkboxSelectionUnselectAllRows: 'Poništi odabir svih redaka',
checkboxSelectionSelectRow: 'Odaberite redak',
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: 'Skupina',
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: 'Skupiti',
// 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);