-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
fiFI.ts
181 lines (155 loc) · 6.16 KB
/
fiFI.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 { fiFI as fiFICore } from '@mui/material/locale';
import { GridLocaleText } from '../models/api/gridLocaleTextApi';
import { getGridLocalization, Localization } from '../utils/getGridLocalization';
const fiFIGrid: Partial<GridLocaleText> = {
// Root
noRowsLabel: 'Ei rivejä',
noResultsOverlayLabel: 'Ei tuloksia.',
// Density selector toolbar button text
toolbarDensity: 'Tiiveys',
toolbarDensityLabel: 'Tiiveys',
toolbarDensityCompact: 'Kompakti',
toolbarDensityStandard: 'Vakio',
toolbarDensityComfortable: 'Mukava',
// Columns selector toolbar button text
toolbarColumns: 'Sarakkeet',
toolbarColumnsLabel: 'Valitse sarakkeet',
// Filters toolbar button text
toolbarFilters: 'Suodattimet',
toolbarFiltersLabel: 'Näytä suodattimet',
toolbarFiltersTooltipHide: 'Piilota suodattimet',
toolbarFiltersTooltipShow: 'Näytä suodattimet',
toolbarFiltersTooltipActive: (count) =>
count !== 1 ? `${count} aktiivista suodatinta` : `${count} aktiivinen suodatin`,
// Quick filter toolbar field
toolbarQuickFilterPlaceholder: 'Hae…',
toolbarQuickFilterLabel: 'Hae',
toolbarQuickFilterDeleteIconLabel: 'Tyhjennä',
// Export selector toolbar button text
toolbarExport: 'Vie',
toolbarExportLabel: 'Vie',
toolbarExportCSV: 'Lataa CSV-muodossa',
toolbarExportPrint: 'Tulosta',
toolbarExportExcel: 'Lataa Excel-muodossa',
// Columns management text
// columnsManagementSearchTitle: 'Search',
// columnsManagementNoColumns: 'No columns',
// columnsManagementShowHideAllText: 'Show/Hide All',
// columnsManagementReset: 'Reset',
// Filter panel text
filterPanelAddFilter: 'Lisää suodatin',
filterPanelRemoveAll: 'Poista kaikki',
filterPanelDeleteIconLabel: 'Poista',
filterPanelLogicOperator: 'Logiikkaoperaattori',
filterPanelOperator: 'Operaattorit',
filterPanelOperatorAnd: 'Ja',
filterPanelOperatorOr: 'Tai',
filterPanelColumns: 'Sarakkeet',
filterPanelInputLabel: 'Arvo',
filterPanelInputPlaceholder: 'Suodattimen arvo',
// Filter operators text
filterOperatorContains: 'sisältää',
filterOperatorEquals: 'on yhtä suuri kuin',
filterOperatorStartsWith: 'alkaa',
filterOperatorEndsWith: 'päättyy',
filterOperatorIs: 'on',
filterOperatorNot: 'ei ole',
filterOperatorAfter: 'on jälkeen',
filterOperatorOnOrAfter: 'on sama tai jälkeen',
filterOperatorBefore: 'on ennen',
filterOperatorOnOrBefore: 'on sama tai ennen',
filterOperatorIsEmpty: 'on tyhjä',
filterOperatorIsNotEmpty: 'ei ole tyhjä',
filterOperatorIsAnyOf: 'on mikä tahansa seuraavista',
'filterOperator=': '=',
'filterOperator!=': '!=',
'filterOperator>': '>',
'filterOperator>=': '>=',
'filterOperator<': '<',
'filterOperator<=': '<=',
// Header filter operators text
headerFilterOperatorContains: 'Sisältää',
headerFilterOperatorEquals: 'On yhtä suuri kuin',
headerFilterOperatorStartsWith: 'Alkaa',
headerFilterOperatorEndsWith: 'Päättyy',
headerFilterOperatorIs: 'On',
headerFilterOperatorNot: 'Ei ole',
headerFilterOperatorAfter: 'On jälkeen',
headerFilterOperatorOnOrAfter: 'On sama tai jälkeen',
headerFilterOperatorBefore: 'On ennen',
headerFilterOperatorOnOrBefore: 'On sama tai ennen',
headerFilterOperatorIsEmpty: 'On tyhjä',
headerFilterOperatorIsNotEmpty: 'Ei ole tyhjä',
headerFilterOperatorIsAnyOf: 'On mikä tahansa seuraavista',
'headerFilterOperator=': 'On yhtä suuri kuin',
'headerFilterOperator!=': 'Ei ole yhtä suuri kuin',
'headerFilterOperator>': 'Enemmän kuin',
'headerFilterOperator>=': 'Enemmän tai yhtä paljon kuin',
'headerFilterOperator<': 'Vähemmän kuin',
'headerFilterOperator<=': 'Vähemmän tai yhtä paljon kuin',
// Filter values text
filterValueAny: 'mikä tahansa',
filterValueTrue: 'tosi',
filterValueFalse: 'epätosi',
// Column menu text
columnMenuLabel: 'Valikko',
columnMenuShowColumns: 'Näytä sarakkeet',
columnMenuManageColumns: 'Hallitse sarakkeita',
columnMenuFilter: 'Suodata',
columnMenuHideColumn: 'Piilota',
columnMenuUnsort: 'Poista järjestys',
columnMenuSortAsc: 'Järjestä nousevasti',
columnMenuSortDesc: 'Järjestä laskevasti',
// Column header text
columnHeaderFiltersTooltipActive: (count) =>
count !== 1 ? `${count} aktiivista suodatinta` : `${count} aktiivinen suodatin`,
columnHeaderFiltersLabel: 'Näytä suodattimet',
columnHeaderSortIconLabel: 'Järjestä',
// Rows selected footer text
footerRowSelected: (count) =>
count !== 1
? `${count.toLocaleString()} riviä valittu`
: `${count.toLocaleString()} rivi valittu`,
// Total row amount footer text
footerTotalRows: 'Rivejä yhteensä:',
// Total visible row amount footer text
footerTotalVisibleRows: (visibleCount, totalCount) =>
`${visibleCount.toLocaleString()} / ${totalCount.toLocaleString()}`,
// Checkbox selection text
checkboxSelectionHeaderName: 'Valintaruutu',
checkboxSelectionSelectAllRows: 'Valitse kaikki rivit',
checkboxSelectionUnselectAllRows: 'Poista kaikkien rivien valinta',
checkboxSelectionSelectRow: 'Valitse rivi',
checkboxSelectionUnselectRow: 'Poista rivin valinta',
// Boolean cell text
booleanCellTrueLabel: 'tosi',
booleanCellFalseLabel: 'epätosi',
// Actions cell more text
actionsCellMore: 'lisää',
// Column pinning text
pinToLeft: 'Kiinnitä vasemmalle',
pinToRight: 'Kiinnitä oikealle',
unpin: 'Irrota kiinnitys',
// Tree Data
treeDataGroupingHeaderName: 'Ryhmä',
treeDataExpand: 'Laajenna',
treeDataCollapse: 'Supista',
// Grouping columns
groupingColumnHeaderName: 'Ryhmä',
groupColumn: (name) => `Ryhmittelyperuste ${name}`,
unGroupColumn: (name) => `Poista ryhmittelyperuste ${name}`,
// Master/detail
detailPanelToggle: 'Yksityiskohtapaneelin vaihto',
expandDetailPanel: 'Laajenna',
collapseDetailPanel: 'Tiivistä',
// Row reordering text
rowReorderingHeaderName: 'Rivien uudelleenjärjestely',
// Aggregation
aggregationMenuItemHeader: 'Koostaminen',
aggregationFunctionLabelSum: 'summa',
aggregationFunctionLabelAvg: 'ka.',
aggregationFunctionLabelMin: 'min.',
aggregationFunctionLabelMax: 'maks.',
aggregationFunctionLabelSize: 'koko',
};
export const fiFI: Localization = getGridLocalization(fiFIGrid, fiFICore);