UNPKG

@mui/x-data-grid

Version:

The Community plan edition of the MUI X Data Grid components.

276 lines (266 loc) 11.1 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.esES = void 0; var _getGridLocalization = require("../utils/getGridLocalization"); const esESGrid = { // Root noRowsLabel: 'Sin filas', noResultsOverlayLabel: 'Resultados no encontrados', // noColumnsOverlayLabel: 'No columns', // noColumnsOverlayManageColumns: 'Manage columns', // emptyPivotOverlayLabel: 'Add fields to rows, columns, and values to create a pivot table', // Density selector toolbar button text toolbarDensity: 'Densidad', toolbarDensityLabel: 'Densidad', toolbarDensityCompact: 'Compacta', toolbarDensityStandard: 'Estándar', toolbarDensityComfortable: 'Cómoda', // Columns selector toolbar button text toolbarColumns: 'Columnas', toolbarColumnsLabel: 'Seleccionar columnas', // Filters toolbar button text toolbarFilters: 'Filtros', toolbarFiltersLabel: 'Mostrar filtros', toolbarFiltersTooltipHide: 'Ocultar filtros', toolbarFiltersTooltipShow: 'Mostrar filtros', toolbarFiltersTooltipActive: count => count > 1 ? `${count} filtros activos` : `${count} filtro activo`, // Quick filter toolbar field toolbarQuickFilterPlaceholder: 'Buscar…', toolbarQuickFilterLabel: 'Buscar', toolbarQuickFilterDeleteIconLabel: 'Limpiar', // Export selector toolbar button text toolbarExport: 'Exportar', toolbarExportLabel: 'Exportar', toolbarExportCSV: 'Descargar como CSV', toolbarExportPrint: 'Imprimir', toolbarExportExcel: 'Descargar como Excel', // Toolbar pivot button // toolbarPivot: 'Pivot', // Toolbar AI Assistant button // toolbarAssistant: 'AI Assistant', // Columns management text columnsManagementSearchTitle: 'Buscar', columnsManagementNoColumns: 'Sin columnas', columnsManagementShowHideAllText: 'Mostrar/Ocultar todas', columnsManagementReset: 'Restablecer', columnsManagementDeleteIconLabel: 'Limpiar', // Filter panel text filterPanelAddFilter: 'Agregar filtro', filterPanelRemoveAll: 'Remover todos', filterPanelDeleteIconLabel: 'Borrar', filterPanelLogicOperator: 'Operador lógico', filterPanelOperator: 'Operadores', filterPanelOperatorAnd: 'Y', filterPanelOperatorOr: 'O', filterPanelColumns: 'Columnas', filterPanelInputLabel: 'Valor', filterPanelInputPlaceholder: 'Valor de filtro', // Filter operators text filterOperatorContains: 'contiene', filterOperatorDoesNotContain: 'no contiene', filterOperatorEquals: 'es igual', filterOperatorDoesNotEqual: 'es diferente a', filterOperatorStartsWith: 'comienza con', filterOperatorEndsWith: 'termina con', filterOperatorIs: 'es', filterOperatorNot: 'no es', filterOperatorAfter: 'es posterior', filterOperatorOnOrAfter: 'es en o posterior', filterOperatorBefore: 'es anterior', filterOperatorOnOrBefore: 'es en o anterior', filterOperatorIsEmpty: 'esta vacío', filterOperatorIsNotEmpty: 'no esta vacío', filterOperatorIsAnyOf: 'es cualquiera de', 'filterOperator=': '=', 'filterOperator!=': '!=', 'filterOperator>': '>', 'filterOperator>=': '>=', 'filterOperator<': '<', 'filterOperator<=': '<=', // Header filter operators text headerFilterOperatorContains: 'Contiene', headerFilterOperatorDoesNotContain: 'No contiene', headerFilterOperatorEquals: 'Es igual a', headerFilterOperatorDoesNotEqual: 'Es diferente a', headerFilterOperatorStartsWith: 'Comienza con', headerFilterOperatorEndsWith: 'Termina con', headerFilterOperatorIs: 'Es', headerFilterOperatorNot: 'No es', headerFilterOperatorAfter: 'Esta después de', headerFilterOperatorOnOrAfter: 'Esta en o después de', headerFilterOperatorBefore: 'Esta antes de', headerFilterOperatorOnOrBefore: 'Esta en o antes de', headerFilterOperatorIsEmpty: 'Esta vacío', headerFilterOperatorIsNotEmpty: 'No esta vacío', headerFilterOperatorIsAnyOf: 'Es cualquiera de', 'headerFilterOperator=': 'Es igual a', 'headerFilterOperator!=': 'Es diferente a', 'headerFilterOperator>': 'Es mayor que', 'headerFilterOperator>=': 'Es mayor o igual que', 'headerFilterOperator<': 'Es menor que', 'headerFilterOperator<=': 'Es menor o igual que', // headerFilterClear: 'Clear filter', // Filter values text filterValueAny: 'cualquiera', filterValueTrue: 'verdadero', filterValueFalse: 'falso', // Column menu text columnMenuLabel: 'Menú', // columnMenuAriaLabel: (columnName: string) => `${columnName} column menu`, columnMenuShowColumns: 'Mostrar columnas', columnMenuManageColumns: 'Administrar columnas', columnMenuFilter: 'Filtro', columnMenuHideColumn: 'Ocultar', columnMenuUnsort: 'Desordenar', columnMenuSortAsc: 'Ordenar ASC', columnMenuSortDesc: 'Ordenar DESC', // columnMenuManagePivot: 'Manage pivot', // Column header text columnHeaderFiltersTooltipActive: count => count > 1 ? `${count} filtros activos` : `${count} filtro activo`, columnHeaderFiltersLabel: 'Mostrar filtros', columnHeaderSortIconLabel: 'Ordenar', // Rows selected footer text footerRowSelected: count => count > 1 ? `${count.toLocaleString()} filas seleccionadas` : `${count.toLocaleString()} fila seleccionada`, // Total row amount footer text footerTotalRows: 'Filas Totales:', // Total visible row amount footer text footerTotalVisibleRows: (visibleCount, totalCount) => `${visibleCount.toLocaleString()} de ${totalCount.toLocaleString()}`, // Checkbox selection text checkboxSelectionHeaderName: 'Seleccionar casilla', checkboxSelectionSelectAllRows: 'Seleccionar todas las filas', checkboxSelectionUnselectAllRows: 'Deseleccionar todas las filas', checkboxSelectionSelectRow: 'Seleccionar fila', checkboxSelectionUnselectRow: 'Deseleccionar fila', // Boolean cell text booleanCellTrueLabel: 'si', booleanCellFalseLabel: 'no', // Actions cell more text actionsCellMore: 'más', // Column pinning text pinToLeft: 'Anclar a la izquierda', pinToRight: 'Anclar a la derecha', unpin: 'Desanclar', // Tree Data treeDataGroupingHeaderName: 'Grupo', treeDataExpand: 'mostrar hijos', treeDataCollapse: 'ocultar hijos', // Grouping columns groupingColumnHeaderName: 'Grupo', groupColumn: name => `Agrupar por ${name}`, unGroupColumn: name => `No agrupar por ${name}`, // Master/detail detailPanelToggle: 'Alternar detalle', expandDetailPanel: 'Expandir', collapseDetailPanel: 'Contraer', // Pagination paginationRowsPerPage: 'Filas por página:', // paginationDisplayedRows: ({ // from, // to, // count, // estimated // }) => { // if (!estimated) { // return `${from}–${to} of ${count !== -1 ? count : `more than ${to}`}`; // } // const estimatedLabel = estimated && estimated > to ? `around ${estimated}` : `more than ${to}`; // return `${from}–${to} of ${count !== -1 ? count : estimatedLabel}`; // }, paginationItemAriaLabel: type => { if (type === 'first') { return 'Ir a la primera página'; } if (type === 'last') { return 'Ir a la última página'; } if (type === 'next') { return 'Ir a la página siguiente'; } // if (type === 'previous') { return 'Ir a la página anterior'; }, // Row reordering text rowReorderingHeaderName: 'Reordenar filas', // Aggregation aggregationMenuItemHeader: 'Agregación', aggregationFunctionLabelSum: 'suma', aggregationFunctionLabelAvg: 'promedio', aggregationFunctionLabelMin: 'mínimo', aggregationFunctionLabelMax: 'máximo', aggregationFunctionLabelSize: 'tamaño', // Pivot panel // pivotToggleLabel: 'Pivot', // pivotRows: 'Rows', // pivotColumns: 'Columns', // pivotValues: 'Values', // pivotCloseButton: 'Close pivot settings', // pivotSearchButton: 'Search fields', // pivotSearchControlPlaceholder: 'Search fields', // pivotSearchControlLabel: 'Search fields', // pivotSearchControlClear: 'Clear search', // pivotNoFields: 'No fields', // pivotMenuMoveUp: 'Move up', // pivotMenuMoveDown: 'Move down', // pivotMenuMoveToTop: 'Move to top', // pivotMenuMoveToBottom: 'Move to bottom', // pivotMenuRows: 'Rows', // pivotMenuColumns: 'Columns', // pivotMenuValues: 'Values', // pivotMenuOptions: 'Field options', // pivotMenuAddToRows: 'Add to Rows', // pivotMenuAddToColumns: 'Add to Columns', // pivotMenuAddToValues: 'Add to Values', // pivotMenuRemove: 'Remove', // pivotDragToRows: 'Drag here to create rows', // pivotDragToColumns: 'Drag here to create columns', // pivotDragToValues: 'Drag here to create values', // pivotYearColumnHeaderName: '(Year)', // pivotQuarterColumnHeaderName: '(Quarter)', // AI Assistant panel // aiAssistantPanelTitle: 'AI Assistant', // aiAssistantPanelClose: 'Close AI Assistant', // aiAssistantPanelNewConversation: 'New conversation', // aiAssistantPanelConversationHistory: 'Conversation history', // aiAssistantPanelEmptyConversation: 'No prompt history', // aiAssistantSuggestions: 'Suggestions', // Prompt field promptFieldLabel: 'Prompt', promptFieldPlaceholder: 'Escribe un prompt…', promptFieldPlaceholderWithRecording: 'Escriba o grabe un prompt…', promptFieldPlaceholderListening: 'Esperando por un prompt…', // promptFieldSpeechRecognitionNotSupported: 'Speech recognition is not supported in this browser', promptFieldSend: 'Enviar', promptFieldRecord: 'Grabar', promptFieldStopRecording: 'Parar de grabar' // Prompt // promptRerun: 'Run again', // promptProcessing: 'Processing…', // promptAppliedChanges: 'Applied changes', // Prompt changes // promptChangeGroupDescription: (column: string) => `Group by ${column}`, // promptChangeAggregationLabel: (column: string, aggregation: string) => `${column} (${aggregation})`, // promptChangeAggregationDescription: (column: string, aggregation: string) => `Aggregate ${column} (${aggregation})`, // promptChangeFilterLabel: (column: string, operator: string, value: string) => { // if (operator === 'is any of') { // return `${column} is any of: ${value}`; // } // return `${column} ${operator} ${value}`; // }, // promptChangeFilterDescription: (column: string, operator: string, value: string) => { // if (operator === 'is any of') { // return `Filter where ${column} is any of: ${value}`; // } // return `Filter where ${column} ${operator} ${value}`; // }, // promptChangeSortDescription: (column: string, direction: string) => `Sort by ${column} (${direction})`, // promptChangePivotEnableLabel: 'Pivot', // promptChangePivotEnableDescription: 'Enable pivot', // promptChangePivotColumnsLabel: (count: number) => `Columns (${count})`, // promptChangePivotColumnsDescription: (column: string, direction: string) => `${column}${direction ? ` (${direction})` : ''}`, // promptChangePivotRowsLabel: (count: number) => `Rows (${count})`, // promptChangePivotValuesLabel: (count: number) => `Values (${count})`, // promptChangePivotValuesDescription: (column: string, aggregation: string) => `${column} (${aggregation})`, }; const esES = exports.esES = (0, _getGridLocalization.getGridLocalization)(esESGrid);