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