315 lines
13 KiB
JavaScript
315 lines
13 KiB
JavaScript
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.heIL = void 0;
|
|
var _getGridLocalization = require("../utils/getGridLocalization");
|
|
const formatNumber = (0, _getGridLocalization.buildLocaleFormat)('he-IL');
|
|
const heILGrid = {
|
|
// Root
|
|
noRowsLabel: 'אין שורות',
|
|
noResultsOverlayLabel: 'לא נמצאו תוצאות.',
|
|
// 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: 'צפיפות',
|
|
toolbarDensityLabel: 'צפיפות',
|
|
toolbarDensityCompact: 'דחוסה',
|
|
toolbarDensityStandard: 'רגילה',
|
|
toolbarDensityComfortable: 'אוורירית',
|
|
// Undo/redo toolbar button text
|
|
toolbarUndo: 'בטל',
|
|
toolbarRedo: 'בצע שוב',
|
|
// Columns selector toolbar button text
|
|
toolbarColumns: 'עמודות',
|
|
toolbarColumnsLabel: 'בחר עמודות',
|
|
// Filters toolbar button text
|
|
toolbarFilters: 'סינון',
|
|
toolbarFiltersLabel: 'הצג מסננים',
|
|
toolbarFiltersTooltipHide: 'הסתר מסננים',
|
|
toolbarFiltersTooltipShow: 'הצג מסננים',
|
|
toolbarFiltersTooltipActive: count => count !== 1 ? `${count} מסננים פעילים` : `מסנן אחד פעיל`,
|
|
// Quick filter toolbar field
|
|
toolbarQuickFilterPlaceholder: 'חיפוש…',
|
|
toolbarQuickFilterLabel: 'חיפוש',
|
|
toolbarQuickFilterDeleteIconLabel: 'ניקוי',
|
|
// Export selector toolbar button text
|
|
toolbarExport: 'ייצוא',
|
|
toolbarExportLabel: 'ייצוא',
|
|
toolbarExportCSV: 'ייצוא ל- CSV',
|
|
toolbarExportPrint: 'הדפסה',
|
|
toolbarExportExcel: 'ייצוא ל- Excel',
|
|
// Toolbar pivot button
|
|
// toolbarPivot: 'Pivot',
|
|
|
|
// Toolbar charts button
|
|
// toolbarCharts: 'Charts',
|
|
|
|
// Toolbar AI Assistant button
|
|
// toolbarAssistant: 'AI Assistant',
|
|
|
|
// Columns management text
|
|
columnsManagementSearchTitle: 'חיפוש',
|
|
columnsManagementNoColumns: 'אין עמודות',
|
|
columnsManagementShowHideAllText: 'הצג/הסתר הכל',
|
|
columnsManagementReset: 'אתחול',
|
|
columnsManagementDeleteIconLabel: 'נקה',
|
|
// Filter panel text
|
|
filterPanelAddFilter: 'הוסף מסנן',
|
|
filterPanelRemoveAll: 'מחק הכל',
|
|
filterPanelDeleteIconLabel: 'מחק',
|
|
filterPanelLogicOperator: 'אופרטור לוגי',
|
|
filterPanelOperator: 'אופרטור',
|
|
filterPanelOperatorAnd: 'וגם',
|
|
filterPanelOperatorOr: 'או',
|
|
filterPanelColumn: 'עמודות',
|
|
filterPanelInputLabel: 'ערך',
|
|
filterPanelInputPlaceholder: 'ערך מסנן',
|
|
// Filter operators text
|
|
filterOperatorContains: 'מכיל',
|
|
filterOperatorDoesNotContain: 'לא מכיל',
|
|
filterOperatorEquals: 'שווה',
|
|
filterOperatorDoesNotEqual: 'לא שווה',
|
|
filterOperatorStartsWith: 'מתחיל ב-',
|
|
filterOperatorEndsWith: 'נגמר ב-',
|
|
filterOperatorIs: 'הינו',
|
|
filterOperatorNot: 'אינו',
|
|
filterOperatorAfter: 'אחרי',
|
|
filterOperatorOnOrAfter: 'ב- או אחרי',
|
|
filterOperatorBefore: 'לפני',
|
|
filterOperatorOnOrBefore: 'ב- או לפני',
|
|
filterOperatorIsEmpty: 'ריק',
|
|
filterOperatorIsNotEmpty: 'אינו ריק',
|
|
filterOperatorIsAnyOf: 'הוא אחד מ-',
|
|
'filterOperator=': '=',
|
|
'filterOperator!=': '!=',
|
|
'filterOperator>': '>',
|
|
'filterOperator>=': '>=',
|
|
'filterOperator<': '<',
|
|
'filterOperator<=': '<=',
|
|
// Header filter operators text
|
|
headerFilterOperatorContains: 'מכיל',
|
|
headerFilterOperatorDoesNotContain: 'לא מכיל',
|
|
headerFilterOperatorEquals: 'שווה',
|
|
headerFilterOperatorDoesNotEqual: 'לא שווה',
|
|
headerFilterOperatorStartsWith: 'מתחיל ב-',
|
|
headerFilterOperatorEndsWith: 'נגמר ב-',
|
|
headerFilterOperatorIs: 'הינו',
|
|
headerFilterOperatorNot: 'אינו',
|
|
headerFilterOperatorAfter: 'אחרי',
|
|
headerFilterOperatorOnOrAfter: 'ב- או אחרי',
|
|
headerFilterOperatorBefore: 'לפני',
|
|
headerFilterOperatorOnOrBefore: 'ב- או לפני',
|
|
headerFilterOperatorIsEmpty: 'ריק',
|
|
headerFilterOperatorIsNotEmpty: 'אינו ריק',
|
|
headerFilterOperatorIsAnyOf: 'הוא אחד מ-',
|
|
'headerFilterOperator=': 'שווה',
|
|
'headerFilterOperator!=': 'אינו שווה',
|
|
'headerFilterOperator>': 'גדול מ-',
|
|
'headerFilterOperator>=': 'גדול שווה ל-',
|
|
'headerFilterOperator<': 'קטן מ-',
|
|
'headerFilterOperator<=': 'קטן שווה ל-',
|
|
// headerFilterClear: 'Clear filter',
|
|
|
|
// Filter values text
|
|
filterValueAny: 'כל ערך',
|
|
filterValueTrue: 'כן',
|
|
filterValueFalse: 'לא',
|
|
// Column menu text
|
|
columnMenuLabel: 'תפריט',
|
|
// columnMenuAriaLabel: (columnName: string) => `${columnName} column menu`,
|
|
columnMenuShowColumns: 'הצג עמודות',
|
|
columnMenuManageColumns: 'נהל עמודות',
|
|
columnMenuFilter: 'סנן',
|
|
columnMenuHideColumn: 'הסתר',
|
|
columnMenuUnsort: 'בטל מיון',
|
|
columnMenuSortAsc: 'מיין בסדר עולה',
|
|
columnMenuSortDesc: 'מיין בסדר יורד',
|
|
// columnMenuManagePivot: 'Manage pivot',
|
|
// columnMenuManageCharts: 'Manage charts',
|
|
|
|
// Column header text
|
|
columnHeaderFiltersTooltipActive: count => count !== 1 ? `${count} מסננים פעילים` : `מסנן אחד פעיל`,
|
|
columnHeaderFiltersLabel: 'הצג מסננים',
|
|
columnHeaderSortIconLabel: 'מיין',
|
|
// Rows selected footer text
|
|
footerRowSelected: count => count !== 1 ? `${count.toLocaleString()} שורות נבחרו` : `שורה אחת נבחרה`,
|
|
// Total row amount footer text
|
|
footerTotalRows: 'סך הכל:',
|
|
// Total visible row amount footer text
|
|
footerTotalVisibleRows: (visibleCount, totalCount) => `${visibleCount.toLocaleString()} מתוך ${totalCount.toLocaleString()}`,
|
|
// Checkbox selection text
|
|
checkboxSelectionHeaderName: 'בחירה',
|
|
checkboxSelectionSelectAllRows: 'בחר הכל',
|
|
checkboxSelectionUnselectAllRows: 'בטל הכל',
|
|
checkboxSelectionSelectRow: 'בחר שורה',
|
|
checkboxSelectionUnselectRow: 'בטל בחירת שורה',
|
|
// Boolean cell text
|
|
booleanCellTrueLabel: 'כן',
|
|
booleanCellFalseLabel: 'לא',
|
|
// Long text cell
|
|
longTextCellExpandLabel: 'הרחב',
|
|
longTextCellCollapseLabel: 'כווץ',
|
|
// Actions cell more text
|
|
actionsCellMore: 'עוד',
|
|
// Column pinning text
|
|
pinToLeft: 'נעץ משמאל',
|
|
pinToRight: 'נעץ מימין',
|
|
unpin: 'הסר נעיצה',
|
|
// Tree Data
|
|
treeDataGroupingHeaderName: 'קבוצה',
|
|
treeDataExpand: 'הרחב',
|
|
treeDataCollapse: 'כווץ',
|
|
// Grouping columns
|
|
groupingColumnHeaderName: 'קבוצה',
|
|
groupColumn: name => `קבץ לפי ${name}`,
|
|
unGroupColumn: name => `הפסק לקבץ לפי ${name}`,
|
|
// Master/detail
|
|
detailPanelToggle: 'הצג/הסתר פרטים',
|
|
expandDetailPanel: 'הרחב',
|
|
collapseDetailPanel: 'כווץ',
|
|
// Pagination
|
|
paginationRowsPerPage: 'שורות בעמוד:',
|
|
paginationDisplayedRows: ({
|
|
from,
|
|
to,
|
|
count,
|
|
estimated
|
|
}) => {
|
|
if (!estimated) {
|
|
return `${formatNumber(from)}-${formatNumber(to)} מתוך ${count !== -1 ? formatNumber(count) : `יותר מ־${formatNumber(to)}`}`;
|
|
}
|
|
const estimatedLabel = estimated && estimated > to ? `כ־${formatNumber(estimated)}` : `יותר מ־${formatNumber(to)}`;
|
|
return `${formatNumber(from)}-${formatNumber(to)} מתוך ${count !== -1 ? formatNumber(count) : estimatedLabel}`;
|
|
},
|
|
paginationItemAriaLabel: type => {
|
|
if (type === 'first') {
|
|
return 'לעמוד הראשון';
|
|
}
|
|
if (type === 'last') {
|
|
return 'לעמוד האחרון';
|
|
}
|
|
if (type === 'next') {
|
|
return 'לעמוד הבא';
|
|
}
|
|
// if (type === 'previous') {
|
|
return 'לעמוד הקודם';
|
|
},
|
|
// Row reordering text
|
|
rowReorderingHeaderName: 'סידור שורות',
|
|
// Aggregation
|
|
aggregationMenuItemHeader: 'צבירה',
|
|
// aggregationFunctionLabelNone: 'none',
|
|
aggregationFunctionLabelSum: 'סכום',
|
|
aggregationFunctionLabelAvg: 'ממוצע',
|
|
aggregationFunctionLabelMin: 'מינימום',
|
|
aggregationFunctionLabelMax: 'מקסימום',
|
|
aggregationFunctionLabelSize: 'גודל',
|
|
// 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: 'הזן ערך',
|
|
promptFieldPlaceholder: 'הקלד ערך…',
|
|
promptFieldPlaceholderWithRecording: 'הקלד או הקלט ערך…',
|
|
promptFieldPlaceholderListening: 'ממתין להנחיה…',
|
|
// promptFieldSpeechRecognitionNotSupported: 'Speech recognition is not supported in this browser',
|
|
promptFieldSend: 'שלח',
|
|
promptFieldRecord: 'הקלטה',
|
|
promptFieldStopRecording: 'הפסק הקלטה'
|
|
|
|
// 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 heIL = exports.heIL = (0, _getGridLocalization.getGridLocalization)(heILGrid); |