@mui/x-data-grid 8.13.1 → 8.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +204 -1
- package/components/cell/GridCell.js +1 -0
- package/esm/components/cell/GridCell.js +1 -0
- package/esm/hooks/core/useGridProps.d.ts +3 -5
- package/esm/hooks/core/useGridProps.js +5 -3
- package/esm/hooks/core/useGridVirtualizer.js +11 -9
- package/esm/hooks/features/columnGrouping/gridColumnGroupsUtils.d.ts +3 -2
- package/esm/hooks/features/columnGrouping/gridColumnGroupsUtils.js +34 -0
- package/esm/hooks/features/columnGrouping/useGridColumnGrouping.js +1 -34
- package/esm/hooks/features/dataSource/useGridDataSourceBase.js +8 -6
- package/esm/hooks/features/dataSource/utils.js +2 -4
- package/esm/hooks/features/rowSelection/useGridRowSelection.js +1 -1
- package/esm/hooks/features/rows/gridRowsInterfaces.d.ts +1 -11
- package/esm/hooks/features/rows/useGridRows.js +4 -4
- package/esm/index.js +1 -1
- package/esm/internals/index.d.ts +1 -1
- package/esm/locales/itIT.js +103 -115
- package/esm/locales/ptBR.js +117 -128
- package/esm/models/gridStateCommunity.d.ts +2 -3
- package/hooks/core/useGridProps.d.ts +3 -5
- package/hooks/core/useGridProps.js +5 -3
- package/hooks/core/useGridVirtualizer.js +11 -9
- package/hooks/features/columnGrouping/gridColumnGroupsUtils.d.ts +3 -2
- package/hooks/features/columnGrouping/gridColumnGroupsUtils.js +37 -1
- package/hooks/features/columnGrouping/useGridColumnGrouping.js +3 -36
- package/hooks/features/dataSource/useGridDataSourceBase.js +8 -6
- package/hooks/features/dataSource/utils.js +2 -4
- package/hooks/features/rowSelection/useGridRowSelection.js +1 -1
- package/hooks/features/rows/gridRowsInterfaces.d.ts +1 -11
- package/hooks/features/rows/useGridRows.js +4 -4
- package/index.js +1 -1
- package/internals/index.d.ts +1 -1
- package/locales/itIT.js +103 -115
- package/locales/ptBR.js +117 -128
- package/models/gridStateCommunity.d.ts +2 -3
- package/package.json +5 -5
package/esm/locales/itIT.js
CHANGED
|
@@ -3,10 +3,9 @@ const itITGrid = {
|
|
|
3
3
|
// Root
|
|
4
4
|
noRowsLabel: 'Nessun record',
|
|
5
5
|
noResultsOverlayLabel: 'Nessun record trovato.',
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
noColumnsOverlayLabel: 'Nessuna colonna',
|
|
7
|
+
noColumnsOverlayManageColumns: 'Gestisci colonne',
|
|
8
|
+
emptyPivotOverlayLabel: 'Aggiungi campi a righe, colonne e valori per creare una tabella pivot',
|
|
10
9
|
// Density selector toolbar button text
|
|
11
10
|
toolbarDensity: 'Densità',
|
|
12
11
|
toolbarDensityLabel: 'Densità',
|
|
@@ -33,14 +32,11 @@ const itITGrid = {
|
|
|
33
32
|
toolbarExportPrint: 'Stampa',
|
|
34
33
|
toolbarExportExcel: 'Scarica come Excel',
|
|
35
34
|
// Toolbar pivot button
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
toolbarPivot: 'Pivota',
|
|
38
36
|
// Toolbar charts button
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
toolbarCharts: 'Grafici',
|
|
41
38
|
// Toolbar AI Assistant button
|
|
42
|
-
|
|
43
|
-
|
|
39
|
+
toolbarAssistant: 'Assistente AI',
|
|
44
40
|
// Columns management text
|
|
45
41
|
columnsManagementSearchTitle: 'Cerca',
|
|
46
42
|
columnsManagementNoColumns: 'Nessuna colonna',
|
|
@@ -103,15 +99,14 @@ const itITGrid = {
|
|
|
103
99
|
'headerFilterOperator>=': 'Maggiore o uguale a',
|
|
104
100
|
'headerFilterOperator<': 'Minore di',
|
|
105
101
|
'headerFilterOperator<=': 'Minore o uguale a',
|
|
106
|
-
|
|
107
|
-
|
|
102
|
+
headerFilterClear: 'Rimuovi filtri',
|
|
108
103
|
// Filter values text
|
|
109
104
|
filterValueAny: 'qualunque',
|
|
110
105
|
filterValueTrue: 'vero',
|
|
111
106
|
filterValueFalse: 'falso',
|
|
112
107
|
// Column menu text
|
|
113
108
|
columnMenuLabel: 'Menu',
|
|
114
|
-
|
|
109
|
+
columnMenuAriaLabel: columnName => `Menù della colonna ${columnName}`,
|
|
115
110
|
columnMenuShowColumns: 'Mostra le colonne',
|
|
116
111
|
columnMenuManageColumns: 'Gestisci colonne',
|
|
117
112
|
columnMenuFilter: 'Filtra',
|
|
@@ -119,9 +114,8 @@ const itITGrid = {
|
|
|
119
114
|
columnMenuUnsort: "Annulla l'ordinamento",
|
|
120
115
|
columnMenuSortAsc: 'Ordinamento crescente',
|
|
121
116
|
columnMenuSortDesc: 'Ordinamento decrescente',
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
117
|
+
columnMenuManagePivot: 'Gestisci pivoting',
|
|
118
|
+
columnMenuManageCharts: 'Gestisci grafici',
|
|
125
119
|
// Column header text
|
|
126
120
|
columnHeaderFiltersTooltipActive: count => count > 1 ? `${count} filtri attivi` : `${count} filtro attivo`,
|
|
127
121
|
columnHeaderFiltersLabel: 'Mostra i filtri',
|
|
@@ -161,18 +155,18 @@ const itITGrid = {
|
|
|
161
155
|
collapseDetailPanel: 'Comprimi',
|
|
162
156
|
// Pagination
|
|
163
157
|
paginationRowsPerPage: 'Righe per pagina:',
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
158
|
+
paginationDisplayedRows: ({
|
|
159
|
+
from,
|
|
160
|
+
to,
|
|
161
|
+
count,
|
|
162
|
+
estimated
|
|
163
|
+
}) => {
|
|
164
|
+
if (!estimated) {
|
|
165
|
+
return `${from}–${to} di ${count !== -1 ? count : `più di ${to}`}`;
|
|
166
|
+
}
|
|
167
|
+
const estimatedLabel = estimated && estimated > to ? `circa ${estimated}` : `più di ${to}`;
|
|
168
|
+
return `${from}–${to} di ${count !== -1 ? count : estimatedLabel}`;
|
|
169
|
+
},
|
|
176
170
|
paginationItemAriaLabel: type => {
|
|
177
171
|
if (type === 'first') {
|
|
178
172
|
return 'Vai alla prima pagina';
|
|
@@ -190,95 +184,89 @@ const itITGrid = {
|
|
|
190
184
|
rowReorderingHeaderName: 'Riordinamento righe',
|
|
191
185
|
// Aggregation
|
|
192
186
|
aggregationMenuItemHeader: 'aggregazione',
|
|
193
|
-
|
|
187
|
+
aggregationFunctionLabelNone: 'nessuna',
|
|
194
188
|
aggregationFunctionLabelSum: 'somma',
|
|
195
189
|
aggregationFunctionLabelAvg: 'media',
|
|
196
190
|
aggregationFunctionLabelMin: 'minimo',
|
|
197
191
|
aggregationFunctionLabelMax: 'massimo',
|
|
198
|
-
aggregationFunctionLabelSize: 'numero di elementi'
|
|
199
|
-
|
|
192
|
+
aggregationFunctionLabelSize: 'numero di elementi',
|
|
200
193
|
// Pivot panel
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
194
|
+
pivotToggleLabel: 'Pivota la tabella',
|
|
195
|
+
pivotRows: 'Righe',
|
|
196
|
+
pivotColumns: 'Colonne',
|
|
197
|
+
pivotValues: 'Valori',
|
|
198
|
+
pivotCloseButton: 'Chiudi impostazioni di trasposizione',
|
|
199
|
+
pivotSearchButton: 'Cerca attrubuti',
|
|
200
|
+
pivotSearchControlPlaceholder: 'Cerca attrubuti',
|
|
201
|
+
pivotSearchControlLabel: 'Cerca attrubuti',
|
|
202
|
+
pivotSearchControlClear: 'Annulla ricerca',
|
|
203
|
+
pivotNoFields: 'Nessun attributo',
|
|
204
|
+
pivotMenuMoveUp: 'Sposta in alto',
|
|
205
|
+
pivotMenuMoveDown: 'Sposta in basso',
|
|
206
|
+
pivotMenuMoveToTop: 'Sposta in cima',
|
|
207
|
+
pivotMenuMoveToBottom: 'Sposta in fondo',
|
|
208
|
+
pivotMenuRows: 'Righe',
|
|
209
|
+
pivotMenuColumns: 'Colonne',
|
|
210
|
+
pivotMenuValues: 'Valori',
|
|
211
|
+
pivotMenuOptions: 'Opzioni',
|
|
212
|
+
pivotMenuAddToRows: 'Aggiungi alle Righe',
|
|
213
|
+
pivotMenuAddToColumns: 'Aggiungi alle Colonne',
|
|
214
|
+
pivotMenuAddToValues: 'Aggiungi ai Valori',
|
|
215
|
+
pivotMenuRemove: 'Rimuovi',
|
|
216
|
+
pivotDragToRows: 'Trascina qui per creare le righe',
|
|
217
|
+
pivotDragToColumns: 'Trascina qui per creare le colonne',
|
|
218
|
+
pivotDragToValues: 'Trascina qui per creare valori',
|
|
219
|
+
pivotYearColumnHeaderName: '(Anno)',
|
|
220
|
+
pivotQuarterColumnHeaderName: '(Quarto)',
|
|
229
221
|
// Charts configuration panel
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
222
|
+
chartsNoCharts: 'Non ci sono grafici disponibili',
|
|
223
|
+
chartsChartNotSelected: 'Seleziona un tipo di grafico per configurarne le opzioni',
|
|
224
|
+
chartsTabChart: 'Grafico',
|
|
225
|
+
chartsTabFields: 'Attributi',
|
|
226
|
+
chartsTabCustomize: 'Personalizza',
|
|
227
|
+
chartsCloseButton: 'Chiudi la configurazione dei grafici',
|
|
228
|
+
chartsSyncButtonLabel: 'Sincronizza grafico',
|
|
229
|
+
chartsSearchPlaceholder: 'Cerca attributi',
|
|
230
|
+
chartsSearchLabel: 'Cerca attributi',
|
|
231
|
+
chartsSearchClear: 'Annulla ricerca',
|
|
232
|
+
chartsNoFields: 'Nessun attributo',
|
|
233
|
+
chartsFieldBlocked: 'Questo attributo non può essere aggiunto ad alcuna sezione',
|
|
234
|
+
chartsCategories: 'Categorie',
|
|
235
|
+
chartsSeries: 'Serie',
|
|
236
|
+
chartsMenuAddToDimensions: dimensionLabel => `Aggiungi a ${dimensionLabel}`,
|
|
237
|
+
chartsMenuAddToValues: valuesLabel => `Aggiungi a ${valuesLabel}`,
|
|
238
|
+
chartsMenuMoveUp: 'Sposta in alto',
|
|
239
|
+
chartsMenuMoveDown: 'Sposta in basso',
|
|
240
|
+
chartsMenuMoveToTop: 'Sposta in cima',
|
|
241
|
+
chartsMenuMoveToBottom: 'Sposta in fondo',
|
|
242
|
+
chartsMenuOptions: "Opzioni per l'attributo",
|
|
243
|
+
chartsMenuRemove: 'Rimuovi',
|
|
244
|
+
chartsDragToDimensions: dimensionLabel => `Trascina qui per usare la colonna come ${dimensionLabel}`,
|
|
245
|
+
chartsDragToValues: valuesLabel => `Trascina qui per usare la colonna come ${valuesLabel}`,
|
|
255
246
|
// AI Assistant panel
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
247
|
+
aiAssistantPanelTitle: 'Assistente AI',
|
|
248
|
+
aiAssistantPanelClose: 'Chiudi Assistente AI',
|
|
249
|
+
aiAssistantPanelNewConversation: 'Nuova Conversazione',
|
|
250
|
+
aiAssistantPanelConversationHistory: 'Conversazioni precedenti',
|
|
251
|
+
aiAssistantPanelEmptyConversation: 'Nessuna conversazione precedente',
|
|
252
|
+
aiAssistantSuggestions: 'Suggerimenti:',
|
|
263
253
|
// Prompt field
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
254
|
+
promptFieldLabel: 'Prompt',
|
|
255
|
+
promptFieldPlaceholder: 'Scrivi un prompt…',
|
|
256
|
+
promptFieldPlaceholderWithRecording: 'Scrivi o registra un prompt…',
|
|
257
|
+
promptFieldPlaceholderListening: 'In attesa di un prompt…',
|
|
258
|
+
promptFieldSpeechRecognitionNotSupported: 'Il riconoscimento vocale non è supportato dal tuo browser.',
|
|
259
|
+
promptFieldSend: 'Invia',
|
|
260
|
+
promptFieldRecord: 'Registra',
|
|
261
|
+
promptFieldStopRecording: 'Interrompi registrazione',
|
|
273
262
|
// Prompt
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
263
|
+
promptRerun: 'Esegui nuovamente',
|
|
264
|
+
promptProcessing: 'In elaborazione…',
|
|
265
|
+
promptAppliedChanges: 'Cambiamenti applicati',
|
|
278
266
|
// Prompt changes
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
267
|
+
promptChangeGroupDescription: column => `Raggruppa per ${column}`,
|
|
268
|
+
promptChangeAggregationLabel: (column, aggregation) => `${column} (${aggregation})`,
|
|
269
|
+
promptChangeAggregationDescription: (column, aggregation) => `Aggrega ${column} (${aggregation})`,
|
|
282
270
|
// promptChangeFilterLabel: (column: string, operator: string, value: string) => {
|
|
283
271
|
// if (operator === 'is any of') {
|
|
284
272
|
// return `${column} is any of: ${value}`;
|
|
@@ -291,13 +279,13 @@ const itITGrid = {
|
|
|
291
279
|
// }
|
|
292
280
|
// return `Filter where ${column} ${operator} ${value}`;
|
|
293
281
|
// },
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
282
|
+
promptChangeSortDescription: (column, direction) => `Ordina per ${column} (${direction})`,
|
|
283
|
+
promptChangePivotEnableLabel: 'Pivota',
|
|
284
|
+
promptChangePivotEnableDescription: 'Abilita pivoting',
|
|
285
|
+
promptChangePivotColumnsLabel: count => `Colonne (${count})`,
|
|
286
|
+
promptChangePivotColumnsDescription: (column, direction) => `${column}${direction ? ` (${direction})` : ''}`,
|
|
287
|
+
promptChangePivotRowsLabel: count => `Righe (${count})`,
|
|
288
|
+
promptChangePivotValuesLabel: count => `Valori (${count})`,
|
|
289
|
+
promptChangePivotValuesDescription: (column, aggregation) => `${column} (${aggregation})`
|
|
302
290
|
};
|
|
303
291
|
export const itIT = getGridLocalization(itITGrid);
|
package/esm/locales/ptBR.js
CHANGED
|
@@ -3,10 +3,9 @@ const ptBRGrid = {
|
|
|
3
3
|
// Root
|
|
4
4
|
noRowsLabel: 'Nenhuma linha',
|
|
5
5
|
noResultsOverlayLabel: 'Nenhum resultado encontrado.',
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
noColumnsOverlayLabel: 'Nenhuma coluna',
|
|
7
|
+
noColumnsOverlayManageColumns: 'Gerenciar colunas',
|
|
8
|
+
emptyPivotOverlayLabel: 'Adicionar campos às linhas, colunas e valores para criar uma tabela dinâmica',
|
|
10
9
|
// Density selector toolbar button text
|
|
11
10
|
toolbarDensity: 'Densidade',
|
|
12
11
|
toolbarDensityLabel: 'Densidade',
|
|
@@ -21,7 +20,7 @@ const ptBRGrid = {
|
|
|
21
20
|
toolbarFiltersLabel: 'Exibir filtros',
|
|
22
21
|
toolbarFiltersTooltipHide: 'Ocultar filtros',
|
|
23
22
|
toolbarFiltersTooltipShow: 'Exibir filtros',
|
|
24
|
-
toolbarFiltersTooltipActive: count =>
|
|
23
|
+
toolbarFiltersTooltipActive: count => count !== 1 ? `${count} filtros ativos` : `${count} filtro ativo`,
|
|
25
24
|
// Quick filter toolbar field
|
|
26
25
|
toolbarQuickFilterPlaceholder: 'Procurar…',
|
|
27
26
|
toolbarQuickFilterLabel: 'Procurar',
|
|
@@ -33,14 +32,11 @@ const ptBRGrid = {
|
|
|
33
32
|
toolbarExportPrint: 'Imprimir',
|
|
34
33
|
toolbarExportExcel: 'Baixar como Excel',
|
|
35
34
|
// Toolbar pivot button
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
toolbarPivot: 'Pivotar',
|
|
38
36
|
// Toolbar charts button
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
toolbarCharts: 'Gráficos',
|
|
41
38
|
// Toolbar AI Assistant button
|
|
42
|
-
|
|
43
|
-
|
|
39
|
+
toolbarAssistant: 'Assistente de IA',
|
|
44
40
|
// Columns management text
|
|
45
41
|
columnsManagementSearchTitle: 'Buscar',
|
|
46
42
|
columnsManagementNoColumns: 'Nenhuma coluna',
|
|
@@ -102,28 +98,26 @@ const ptBRGrid = {
|
|
|
102
98
|
'headerFilterOperator>=': 'Maior que ou igual a',
|
|
103
99
|
'headerFilterOperator<': 'Menor que',
|
|
104
100
|
'headerFilterOperator<=': 'Menor que ou igual a',
|
|
105
|
-
|
|
106
|
-
|
|
101
|
+
headerFilterClear: 'Limpar filtro',
|
|
107
102
|
// Filter values text
|
|
108
103
|
filterValueAny: 'qualquer',
|
|
109
104
|
filterValueTrue: 'verdadeiro',
|
|
110
105
|
filterValueFalse: 'falso',
|
|
111
106
|
// Column menu text
|
|
112
107
|
columnMenuLabel: 'Menu',
|
|
113
|
-
|
|
108
|
+
columnMenuAriaLabel: columnName => `menu da coluna ${columnName}`,
|
|
114
109
|
columnMenuShowColumns: 'Exibir colunas',
|
|
115
110
|
columnMenuManageColumns: 'Gerir colunas',
|
|
116
111
|
columnMenuFilter: 'Filtrar',
|
|
117
|
-
columnMenuHideColumn: 'Ocultar',
|
|
112
|
+
columnMenuHideColumn: 'Ocultar coluna',
|
|
118
113
|
columnMenuUnsort: 'Desfazer ordenação',
|
|
119
114
|
columnMenuSortAsc: 'Ordenar do menor para o maior',
|
|
120
115
|
columnMenuSortDesc: 'Ordenar do maior para o menor',
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
116
|
+
columnMenuManagePivot: 'Gerenciar pivot',
|
|
117
|
+
columnMenuManageCharts: 'Gerenciar gráficos',
|
|
124
118
|
// Column header text
|
|
125
|
-
columnHeaderFiltersTooltipActive: count =>
|
|
126
|
-
columnHeaderFiltersLabel: 'Exibir
|
|
119
|
+
columnHeaderFiltersTooltipActive: count => count !== 1 ? `${count} filtros ativos` : `${count} filtro ativo`,
|
|
120
|
+
columnHeaderFiltersLabel: 'Exibir filtros',
|
|
127
121
|
columnHeaderSortIconLabel: 'Ordenar',
|
|
128
122
|
// Rows selected footer text
|
|
129
123
|
footerRowSelected: count => count !== 1 ? `${count.toLocaleString()} linhas selecionadas` : `${count.toLocaleString()} linha selecionada`,
|
|
@@ -132,9 +126,9 @@ const ptBRGrid = {
|
|
|
132
126
|
// Total visible row amount footer text
|
|
133
127
|
footerTotalVisibleRows: (visibleCount, totalCount) => `${visibleCount.toLocaleString()} de ${totalCount.toLocaleString()}`,
|
|
134
128
|
// Checkbox selection text
|
|
135
|
-
checkboxSelectionHeaderName: '
|
|
136
|
-
checkboxSelectionSelectAllRows: 'Selecionar todas linhas',
|
|
137
|
-
checkboxSelectionUnselectAllRows: 'Deselecionar todas linhas',
|
|
129
|
+
checkboxSelectionHeaderName: 'Caixa de seleção',
|
|
130
|
+
checkboxSelectionSelectAllRows: 'Selecionar todas as linhas',
|
|
131
|
+
checkboxSelectionUnselectAllRows: 'Deselecionar todas as linhas',
|
|
138
132
|
checkboxSelectionSelectRow: 'Selecionar linha',
|
|
139
133
|
checkboxSelectionUnselectRow: 'Deselecionar linha',
|
|
140
134
|
// Boolean cell text
|
|
@@ -149,7 +143,7 @@ const ptBRGrid = {
|
|
|
149
143
|
// Tree Data
|
|
150
144
|
treeDataGroupingHeaderName: 'Grupo',
|
|
151
145
|
treeDataExpand: 'mostrar filhos',
|
|
152
|
-
treeDataCollapse: '
|
|
146
|
+
treeDataCollapse: 'ocultar filhos',
|
|
153
147
|
// Grouping columns
|
|
154
148
|
groupingColumnHeaderName: 'Grupo',
|
|
155
149
|
groupColumn: name => `Agrupar por ${name}`,
|
|
@@ -157,21 +151,21 @@ const ptBRGrid = {
|
|
|
157
151
|
// Master/detail
|
|
158
152
|
detailPanelToggle: 'Painel de detalhes',
|
|
159
153
|
expandDetailPanel: 'Expandir',
|
|
160
|
-
collapseDetailPanel: '
|
|
154
|
+
collapseDetailPanel: 'Recolher',
|
|
161
155
|
// Pagination
|
|
162
156
|
paginationRowsPerPage: 'Linhas por página:',
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
157
|
+
paginationDisplayedRows: ({
|
|
158
|
+
from,
|
|
159
|
+
to,
|
|
160
|
+
count,
|
|
161
|
+
estimated
|
|
162
|
+
}) => {
|
|
163
|
+
if (!estimated) {
|
|
164
|
+
return `${from}–${to} de ${count !== -1 ? count : `mais de ${to}`}`;
|
|
165
|
+
}
|
|
166
|
+
const estimatedLabel = estimated && estimated > to ? `cerca de ${estimated}` : `mais de ${to}`;
|
|
167
|
+
return `${from}–${to} de ${count !== -1 ? count : estimatedLabel}`;
|
|
168
|
+
},
|
|
175
169
|
paginationItemAriaLabel: type => {
|
|
176
170
|
if (type === 'first') {
|
|
177
171
|
return 'Ir para a primeira página';
|
|
@@ -189,113 +183,108 @@ const ptBRGrid = {
|
|
|
189
183
|
rowReorderingHeaderName: 'Reorganizar linhas',
|
|
190
184
|
// Aggregation
|
|
191
185
|
aggregationMenuItemHeader: 'Agrupar',
|
|
192
|
-
|
|
186
|
+
aggregationFunctionLabelNone: 'nenhum',
|
|
193
187
|
aggregationFunctionLabelSum: 'soma',
|
|
194
188
|
aggregationFunctionLabelAvg: 'média',
|
|
195
189
|
aggregationFunctionLabelMin: 'mín',
|
|
196
190
|
aggregationFunctionLabelMax: 'máx',
|
|
197
191
|
aggregationFunctionLabelSize: 'tamanho',
|
|
198
192
|
// Pivot panel
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
193
|
+
pivotToggleLabel: 'Pivot',
|
|
194
|
+
pivotRows: 'Linhas',
|
|
195
|
+
pivotColumns: 'Colunas',
|
|
196
|
+
pivotValues: 'Valores',
|
|
197
|
+
pivotCloseButton: 'Fechar configurações de pivot',
|
|
198
|
+
pivotSearchButton: 'Pesquisar campos',
|
|
199
|
+
pivotSearchControlPlaceholder: 'Pesquisar campos',
|
|
200
|
+
pivotSearchControlLabel: 'Pesquisar campos',
|
|
201
|
+
pivotSearchControlClear: 'Limpar pesquisa',
|
|
202
|
+
pivotNoFields: 'Nenhum campo',
|
|
203
|
+
pivotMenuMoveUp: 'Mover para cima',
|
|
204
|
+
pivotMenuMoveDown: 'Mover para baixo',
|
|
205
|
+
pivotMenuMoveToTop: 'Mover para o topo',
|
|
206
|
+
pivotMenuMoveToBottom: 'Mover para a parte inferior',
|
|
207
|
+
pivotMenuRows: 'Linhas',
|
|
208
|
+
pivotMenuColumns: 'Colunas',
|
|
209
|
+
pivotMenuValues: 'Valores',
|
|
210
|
+
pivotMenuOptions: 'Opções de campo',
|
|
211
|
+
pivotMenuAddToRows: 'Adicionar às Linhas',
|
|
212
|
+
pivotMenuAddToColumns: 'Adicionar às Colunas',
|
|
213
|
+
pivotMenuAddToValues: 'Adicionar aos Valores',
|
|
214
|
+
pivotMenuRemove: 'Remover',
|
|
215
|
+
pivotDragToRows: 'Arraste aqui para criar linhas',
|
|
216
|
+
pivotDragToColumns: 'Arraste aqui para criar colunas',
|
|
217
|
+
pivotDragToValues: 'Arraste aqui para criar valores',
|
|
218
|
+
pivotYearColumnHeaderName: '(Ano)',
|
|
219
|
+
pivotQuarterColumnHeaderName: '(Trimestre)',
|
|
227
220
|
// Charts configuration panel
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
221
|
+
chartsNoCharts: 'Não há gráficos disponíveis',
|
|
222
|
+
chartsChartNotSelected: 'Selecione um tipo de gráfico para configurar suas opções',
|
|
223
|
+
chartsTabChart: 'Gráfico',
|
|
224
|
+
chartsTabFields: 'Campos',
|
|
225
|
+
chartsTabCustomize: 'Personalizar',
|
|
226
|
+
chartsCloseButton: 'Fechar configuração de gráficos',
|
|
227
|
+
chartsSyncButtonLabel: 'Sincronizar gráfico',
|
|
228
|
+
chartsSearchPlaceholder: 'Pesquisar campos',
|
|
229
|
+
chartsSearchLabel: 'Pesquisar campos',
|
|
230
|
+
chartsSearchClear: 'Limpar pesquisa',
|
|
231
|
+
chartsNoFields: 'Nenhum campo',
|
|
232
|
+
chartsFieldBlocked: 'Este campo não pode ser adicionado a nenhuma seção',
|
|
233
|
+
chartsCategories: 'Categorias',
|
|
234
|
+
chartsSeries: 'Séries',
|
|
235
|
+
chartsMenuAddToDimensions: dimensionLabel => `Adicionar a ${dimensionLabel}`,
|
|
236
|
+
chartsMenuAddToValues: valuesLabel => `Adicionar a ${valuesLabel}`,
|
|
237
|
+
chartsMenuMoveUp: 'Mover para cima',
|
|
238
|
+
chartsMenuMoveDown: 'Mover para baixo',
|
|
239
|
+
chartsMenuMoveToTop: 'Mover para o topo',
|
|
240
|
+
chartsMenuMoveToBottom: 'Mover para a parte inferior',
|
|
241
|
+
chartsMenuOptions: 'Opções de campo',
|
|
242
|
+
chartsMenuRemove: 'Remover',
|
|
243
|
+
chartsDragToDimensions: dimensionLabel => `Arraste aqui para usar a coluna como ${dimensionLabel}`,
|
|
244
|
+
chartsDragToValues: valuesLabel => `Arraste aqui para usar a coluna como ${valuesLabel}`,
|
|
253
245
|
// AI Assistant panel
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
246
|
+
aiAssistantPanelTitle: 'Assistente de IA',
|
|
247
|
+
aiAssistantPanelClose: 'Fechar Assistente de IA',
|
|
248
|
+
aiAssistantPanelNewConversation: 'Nova conversa',
|
|
249
|
+
aiAssistantPanelConversationHistory: 'Histórico de conversas',
|
|
250
|
+
aiAssistantPanelEmptyConversation: 'Sem histórico de prompts',
|
|
251
|
+
aiAssistantSuggestions: 'Sugestões',
|
|
261
252
|
// Prompt field
|
|
262
253
|
promptFieldLabel: 'Prompt',
|
|
263
254
|
promptFieldPlaceholder: 'Digite um prompt…',
|
|
264
255
|
promptFieldPlaceholderWithRecording: 'Digite ou grave um prompt…',
|
|
265
256
|
promptFieldPlaceholderListening: 'Ouvindo o prompt…',
|
|
266
|
-
|
|
257
|
+
promptFieldSpeechRecognitionNotSupported: 'O reconhecimento de fala não é suportado neste navegador',
|
|
267
258
|
promptFieldSend: 'Enviar',
|
|
268
259
|
promptFieldRecord: 'Gravar',
|
|
269
|
-
promptFieldStopRecording: 'Parar gravação'
|
|
270
|
-
|
|
260
|
+
promptFieldStopRecording: 'Parar gravação',
|
|
271
261
|
// Prompt
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
262
|
+
promptRerun: 'Executar novamente',
|
|
263
|
+
promptProcessing: 'Processando…',
|
|
264
|
+
promptAppliedChanges: 'Alterações aplicadas',
|
|
276
265
|
// Prompt changes
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
266
|
+
promptChangeGroupDescription: column => `Agrupar por ${column}`,
|
|
267
|
+
promptChangeAggregationLabel: (column, aggregation) => `${column} (${aggregation})`,
|
|
268
|
+
promptChangeAggregationDescription: (column, aggregation) => `Agregar ${column} (${aggregation})`,
|
|
269
|
+
promptChangeFilterLabel: (column, operator, value) => {
|
|
270
|
+
if (operator === 'is any of') {
|
|
271
|
+
return `${column} é um destes: ${value}`;
|
|
272
|
+
}
|
|
273
|
+
return `${column} ${operator} ${value}`;
|
|
274
|
+
},
|
|
275
|
+
promptChangeFilterDescription: (column, operator, value) => {
|
|
276
|
+
if (operator === 'is any of') {
|
|
277
|
+
return `Filtrar onde ${column} é um destes: ${value}`;
|
|
278
|
+
}
|
|
279
|
+
return `Filtrar onde ${column} ${operator} ${value}`;
|
|
280
|
+
},
|
|
281
|
+
promptChangeSortDescription: (column, direction) => `Classificar por ${column} (${direction})`,
|
|
282
|
+
promptChangePivotEnableLabel: 'Pivotar',
|
|
283
|
+
promptChangePivotEnableDescription: 'Ativar pivotar',
|
|
284
|
+
promptChangePivotColumnsLabel: count => `Colunas (${count})`,
|
|
285
|
+
promptChangePivotColumnsDescription: (column, direction) => `${column}${direction ? ` (${direction})` : ''}`,
|
|
286
|
+
promptChangePivotRowsLabel: count => `Linhas (${count})`,
|
|
287
|
+
promptChangePivotValuesLabel: count => `Valores (${count})`,
|
|
288
|
+
promptChangePivotValuesDescription: (column, aggregation) => `${column} (${aggregation})`
|
|
300
289
|
};
|
|
301
290
|
export const ptBR = getGridLocalization(ptBRGrid);
|