315 lines
13 KiB
JavaScript
315 lines
13 KiB
JavaScript
"use strict";
|
||
|
||
Object.defineProperty(exports, "__esModule", {
|
||
value: true
|
||
});
|
||
exports.roRO = void 0;
|
||
var _getGridLocalization = require("../utils/getGridLocalization");
|
||
const roROGrid = {
|
||
// Root
|
||
noRowsLabel: 'Lipsă date',
|
||
noResultsOverlayLabel: 'Nu au fost găsite rezultate.',
|
||
// 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: 'Înălțime rând',
|
||
toolbarDensityLabel: 'Înălțime rând',
|
||
toolbarDensityCompact: 'Compact',
|
||
toolbarDensityStandard: 'Standard',
|
||
toolbarDensityComfortable: 'Lat',
|
||
// Undo/redo toolbar button text
|
||
toolbarUndo: 'Anulează',
|
||
toolbarRedo: 'Refă',
|
||
// Columns selector toolbar button text
|
||
toolbarColumns: 'Coloane',
|
||
toolbarColumnsLabel: 'Afișează selecție coloane',
|
||
// Filters toolbar button text
|
||
toolbarFilters: 'Filtru',
|
||
toolbarFiltersLabel: 'Afișează filtru',
|
||
toolbarFiltersTooltipHide: 'Ascunde filtru',
|
||
toolbarFiltersTooltipShow: 'Afișează filtru',
|
||
toolbarFiltersTooltipActive: count => count !== 1 ? `${count} filtru activ` : `${count} filtru activ`,
|
||
// Quick filter toolbar field
|
||
toolbarQuickFilterPlaceholder: 'Căutare…',
|
||
toolbarQuickFilterLabel: 'Căutare',
|
||
toolbarQuickFilterDeleteIconLabel: 'Ștergere',
|
||
// Export selector toolbar button text
|
||
toolbarExport: 'Export',
|
||
toolbarExportLabel: 'Export',
|
||
toolbarExportCSV: 'Download în format CSV',
|
||
toolbarExportPrint: 'Printare',
|
||
toolbarExportExcel: 'Download în format Excel',
|
||
// Toolbar pivot button
|
||
// toolbarPivot: 'Pivot',
|
||
|
||
// Toolbar charts button
|
||
// toolbarCharts: 'Charts',
|
||
|
||
// Toolbar AI Assistant button
|
||
// toolbarAssistant: 'AI Assistant',
|
||
|
||
// Columns management text
|
||
columnsManagementSearchTitle: 'Caută',
|
||
columnsManagementNoColumns: 'Nicio coloană',
|
||
columnsManagementShowHideAllText: 'Arată/Ascunde tot',
|
||
columnsManagementReset: 'Resetează',
|
||
columnsManagementDeleteIconLabel: 'Șterge',
|
||
// Filter panel text
|
||
filterPanelAddFilter: 'Adăugare filtru',
|
||
filterPanelRemoveAll: 'Șterge tot',
|
||
filterPanelDeleteIconLabel: 'Ștergere',
|
||
filterPanelLogicOperator: 'Operatori logici',
|
||
filterPanelOperator: 'Operatori',
|
||
filterPanelOperatorAnd: 'Și',
|
||
filterPanelOperatorOr: 'Sau',
|
||
filterPanelColumn: 'Coloane',
|
||
filterPanelInputLabel: 'Valoare',
|
||
filterPanelInputPlaceholder: 'Filtrare valoare',
|
||
// Filter operators text
|
||
filterOperatorContains: 'conține',
|
||
filterOperatorDoesNotContain: 'nu conține',
|
||
filterOperatorEquals: 'este egal cu',
|
||
filterOperatorDoesNotEqual: 'nu este egal cu',
|
||
filterOperatorStartsWith: 'începe cu',
|
||
filterOperatorEndsWith: 'se termină cu',
|
||
filterOperatorIs: 'este',
|
||
filterOperatorNot: 'nu este',
|
||
filterOperatorAfter: 'este după',
|
||
filterOperatorOnOrAfter: 'este la sau după',
|
||
filterOperatorBefore: 'este înainte de',
|
||
filterOperatorOnOrBefore: 'este la sau înainte de',
|
||
filterOperatorIsEmpty: 'este gol',
|
||
filterOperatorIsNotEmpty: 'nu este gol',
|
||
filterOperatorIsAnyOf: 'este una din valori',
|
||
'filterOperator=': '=',
|
||
'filterOperator!=': '!=',
|
||
'filterOperator>': '>',
|
||
'filterOperator>=': '>=',
|
||
'filterOperator<': '<',
|
||
'filterOperator<=': '<=',
|
||
// Header filter operators text
|
||
headerFilterOperatorContains: 'Conține',
|
||
headerFilterOperatorDoesNotContain: 'Nu conține',
|
||
headerFilterOperatorEquals: 'Egal cu',
|
||
headerFilterOperatorDoesNotEqual: 'Nu este egal cu',
|
||
headerFilterOperatorStartsWith: 'Începe cu',
|
||
headerFilterOperatorEndsWith: 'Se termină cu',
|
||
headerFilterOperatorIs: 'Este',
|
||
headerFilterOperatorNot: 'Nu este',
|
||
headerFilterOperatorAfter: 'Este după',
|
||
headerFilterOperatorOnOrAfter: 'Este la sau după',
|
||
headerFilterOperatorBefore: 'Este înainte de',
|
||
headerFilterOperatorOnOrBefore: 'este la sau înainte de',
|
||
headerFilterOperatorIsEmpty: 'Este gol',
|
||
headerFilterOperatorIsNotEmpty: 'Nu este gol',
|
||
headerFilterOperatorIsAnyOf: 'Este una din valori',
|
||
'headerFilterOperator=': 'Egal cu',
|
||
'headerFilterOperator!=': 'Nu este egal cu',
|
||
'headerFilterOperator>': 'Mai mare decât',
|
||
'headerFilterOperator>=': 'Mai mare sau egal cu',
|
||
'headerFilterOperator<': 'Mai mic decât',
|
||
'headerFilterOperator<=': 'Mai mic sau egal cu',
|
||
// headerFilterClear: 'Clear filter',
|
||
|
||
// Filter values text
|
||
filterValueAny: 'Aleatoriu',
|
||
filterValueTrue: 'Da',
|
||
filterValueFalse: 'Nu',
|
||
// Column menu text
|
||
columnMenuLabel: 'Meniu',
|
||
// columnMenuAriaLabel: (columnName: string) => `${columnName} column menu`,
|
||
columnMenuShowColumns: 'Afișează toate coloanele',
|
||
columnMenuManageColumns: 'Gestionează coloane',
|
||
columnMenuFilter: 'Filtru',
|
||
columnMenuHideColumn: 'Ascunde',
|
||
columnMenuUnsort: 'Dezactivare sortare',
|
||
columnMenuSortAsc: 'Sortează crescător',
|
||
columnMenuSortDesc: 'Sortează descrescător',
|
||
// columnMenuManagePivot: 'Manage pivot',
|
||
// columnMenuManageCharts: 'Manage charts',
|
||
|
||
// Column header text
|
||
columnHeaderFiltersTooltipActive: count => count !== 1 ? `${count} filtru activ` : `${count} filtru activ`,
|
||
columnHeaderFiltersLabel: 'Afișează filtru',
|
||
columnHeaderSortIconLabel: 'Sortare',
|
||
// Rows selected footer text
|
||
footerRowSelected: count => count !== 1 ? `${count.toLocaleString()} Înregistrări selectate` : `${count.toLocaleString()} Înregistrare selectată`,
|
||
// Total row amount footer text
|
||
footerTotalRows: 'Total:',
|
||
// Total visible row amount footer text
|
||
footerTotalVisibleRows: (visibleCount, totalCount) => `${visibleCount.toLocaleString()} din ${totalCount.toLocaleString()}`,
|
||
// Checkbox selection text
|
||
checkboxSelectionHeaderName: 'Checkbox Selecție',
|
||
checkboxSelectionSelectAllRows: 'Selectare toate rândurile',
|
||
checkboxSelectionUnselectAllRows: 'Deselectare toate rândurile',
|
||
checkboxSelectionSelectRow: 'Selectare rând',
|
||
checkboxSelectionUnselectRow: 'Deselectare rând',
|
||
// Boolean cell text
|
||
booleanCellTrueLabel: 'Da',
|
||
booleanCellFalseLabel: 'Nu',
|
||
// Long text cell
|
||
longTextCellExpandLabel: 'Extindere',
|
||
longTextCellCollapseLabel: 'Restrângere',
|
||
// Actions cell more text
|
||
actionsCellMore: 'Mai multe',
|
||
// Column pinning text
|
||
pinToLeft: 'Fixare în stânga',
|
||
pinToRight: 'Fixare în dreapta',
|
||
unpin: 'Anulare fixare',
|
||
// Tree Data
|
||
treeDataGroupingHeaderName: 'Grup',
|
||
treeDataExpand: 'Afișare copii',
|
||
treeDataCollapse: 'Ascundere copii',
|
||
// Grouping columns
|
||
groupingColumnHeaderName: 'Grupare',
|
||
groupColumn: name => `Grupare după ${name}`,
|
||
unGroupColumn: name => `Anulare Grupare după ${name}`,
|
||
// Master/detail
|
||
detailPanelToggle: 'Comutare panou detalii',
|
||
expandDetailPanel: 'Extindere',
|
||
collapseDetailPanel: 'Restrângere',
|
||
// Pagination
|
||
paginationRowsPerPage: 'Rânduri pe pagină:',
|
||
// paginationDisplayedRows: ({
|
||
// from,
|
||
// to,
|
||
// count,
|
||
// estimated
|
||
// }) => {
|
||
// const unknownRowCount = count == null || count === -1;
|
||
// if (!estimated) {
|
||
// return `${formatNumber(from)}–${formatNumber(to)} of ${!unknownRowCount ? formatNumber(count) : `more than ${formatNumber(to)}`}`;
|
||
// }
|
||
// const estimatedLabel = estimated && estimated > to ? `around ${formatNumber(estimated)}` : `more than ${formatNumber(to)}`;
|
||
// return `${formatNumber(from)}–${formatNumber(to)} of ${!unknownRowCount ? formatNumber(count) : estimatedLabel}`;
|
||
// },
|
||
paginationItemAriaLabel: type => {
|
||
if (type === 'first') {
|
||
return 'Mergi la prima pagină';
|
||
}
|
||
if (type === 'last') {
|
||
return 'Mergi la ultima pagină';
|
||
}
|
||
if (type === 'next') {
|
||
return 'Mergi la pagina următoare';
|
||
}
|
||
// if (type === 'previous') {
|
||
return 'Mergi la pagina precedentă';
|
||
},
|
||
// Row reordering text
|
||
rowReorderingHeaderName: 'Reordonare rânduri',
|
||
// Aggregation
|
||
aggregationMenuItemHeader: 'Agregare',
|
||
// aggregationFunctionLabelNone: 'none',
|
||
aggregationFunctionLabelSum: 'Sumă',
|
||
aggregationFunctionLabelAvg: 'Medie',
|
||
aggregationFunctionLabelMin: 'Minim',
|
||
aggregationFunctionLabelMax: 'Maxim',
|
||
aggregationFunctionLabelSize: 'Numărul elementelor',
|
||
// 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)',
|
||
|
||
// Charts configuration panel
|
||
// chartsNoCharts: 'There are no charts available',
|
||
// chartsChartNotSelected: 'Select a chart type to configure its options',
|
||
// chartsTabChart: 'Chart',
|
||
// chartsTabFields: 'Fields',
|
||
// chartsTabCustomize: 'Customize',
|
||
// chartsCloseButton: 'Close charts configuration',
|
||
// chartsSyncButtonLabel: 'Sync chart',
|
||
// chartsSearchPlaceholder: 'Search fields',
|
||
// chartsSearchLabel: 'Search fields',
|
||
// chartsSearchClear: 'Clear search',
|
||
// chartsNoFields: 'No fields',
|
||
// chartsFieldBlocked: 'This field cannot be added to any section',
|
||
// chartsCategories: 'Categories',
|
||
// chartsSeries: 'Series',
|
||
// chartsMenuAddToDimensions: (dimensionLabel: string) => `Add to ${dimensionLabel}`,
|
||
// chartsMenuAddToValues: (valuesLabel: string) => `Add to ${valuesLabel}`,
|
||
// chartsMenuMoveUp: 'Move up',
|
||
// chartsMenuMoveDown: 'Move down',
|
||
// chartsMenuMoveToTop: 'Move to top',
|
||
// chartsMenuMoveToBottom: 'Move to bottom',
|
||
// chartsMenuOptions: 'Field options',
|
||
// chartsMenuRemove: 'Remove',
|
||
// chartsDragToDimensions: (dimensionLabel: string) => `Drag here to use column as ${dimensionLabel}`,
|
||
// chartsDragToValues: (valuesLabel: string) => `Drag here to use column as ${valuesLabel}`,
|
||
|
||
// 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: 'Scrie un prompt…',
|
||
promptFieldPlaceholderWithRecording: 'Scrie sau înregistrează un prompt…',
|
||
promptFieldPlaceholderListening: 'Ascultare prompt…',
|
||
// promptFieldSpeechRecognitionNotSupported: 'Speech recognition is not supported in this browser',
|
||
promptFieldSend: 'Trimite',
|
||
promptFieldRecord: 'Înregistrează',
|
||
promptFieldStopRecording: 'Oprește înregistrare'
|
||
|
||
// 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})`,
|
||
// promptChangeChartsLabel: (dimensionsCount: number, valuesCount: number) => `Dimensions (${dimensionsCount}), Values (${valuesCount})`,
|
||
};
|
||
const roRO = exports.roRO = (0, _getGridLocalization.getGridLocalization)(roROGrid); |