add: translation of OlapConstructor.vue

This commit is contained in:
2026-05-09 13:02:40 +03:00
parent 5382488a82
commit f3b407e1ed
4 changed files with 276 additions and 90 deletions

View File

@@ -246,6 +246,97 @@
"deleteSuccess": "Query deleted",
"deleteError": "Delete error"
},
"OlapConstructor": {
"titleNew": "New OLAP Query",
"titleEdit": "Edit Query",
"saveQuery": "Save Query",
"exportJson": "Export JSON",
"importJson": "Import JSON",
"fieldsTitle": "Fields",
"searchPlaceholder": "Search by name or tags",
"foundCount": "Found: {found} / {total}",
"loadingFields": "Loading fields...",
"noFields": "No fields. Initialize the structure in the OLAP Columns section first.",
"numericGroup": "Numeric → VALUES",
"categoryGroup": "Categories → ROW / COLUMN",
"filtersGroup": "Filters",
"resetAll": "Reset All",
"queryNameLabel": "Query name *",
"queryNamePlaceholder": "For example: Sales by day",
"valuePlaceholder": "value",
"IncludeValuesPlaceholder": "value1,value2",
"reportTypeLabel": "Report type",
"sqlTableLabel": "SQL table *",
"dateToLabel": "Date to (end of day)",
"daysBackLabel": "Days back (≥1)",
"summaryCheckbox": "Summary",
"activeCheckbox": "Active",
"restaurantsLabel": "Restaurants (multiple) *",
"selectRestaurants": "Select restaurants",
"selectedCount": "Selected: {count}",
"dbConnectionLabel": "Database connection *",
"selectDbConnection": "Select connection",
"tabTable": "Table",
"tabSql": "SQL script",
"copySql": "Copy SQL",
"defaultSqlPlaceholder": "-- Select a database connection to generate SQL",
"userFiltersTitle": "Custom filters",
"dropFilterHint": "Drop a filter field",
"rowHeader": "ROW",
"columnHeader": "COLUMN",
"valuesHeader": "VALUES",
"dropCategoryHint": "Drop a category",
"dropNumberHint": "Drop a number",
"resetModalTitle": "Reset All Settings",
"resetModalMessage": "Are you sure? All selected fields, filters, and settings will be deleted.",
"restaurantModalTitle": "Select Restaurants",
"restaurantSearchPlaceholder": "Search by name or host",
"noRestaurantsFound": "No restaurants found",
"dbModalTitle": "Database Connection",
"dbSearchPlaceholder": "Search by name",
"noConnectionsFound": "No connections found",
"exitModalTitle": "Unsaved Changes",
"exitModalMessage": "Are you sure you want to exit? All unsaved data will be lost.",
"exitModalStay": "Stay",
"exitModalLeave": "Leave",
"reportTypes": {
"SALES": "SALES",
"DELIVERIES": "DELIVERIES",
"TRANSACTIONS": "TRANSACTIONS"
},
"aggregations": {
"sum": "SUM",
"avg": "AVG",
"count": "COUNT"
},
"filterTypes": {
"IncludeValues": "Include Values",
"ExcludeValues": "Exclude Values",
"EnumValue": "Enum Value",
"StringValue": "String Value"
},
"notifications": {
"errorLoadRestaurants": "Couldn't load restaurant list",
"errorLoadDB": "The list of database connections could not be loaded",
"sqlGenerationError": "-- SQL generation error: {error}",
"exportSuccess": "iiko configuration exported",
"exportError": "Export error: {error}",
"importSuccess": "iiko configuration loaded",
"importError": "Error loading JSON: {error}",
"queryNameRequired": "Enter query name",
"dbConnectionRequired": "Select a database connection",
"restaurantsRequired": "Select at least one restaurant",
"tableNameRequired": "Specify SQL table name",
"saveSuccess": "Query saved",
"saveError": "Save error: {error}",
"loadQueryError": "Error loading query: {error}",
"resetSuccess": "All settings reset",
"sqlCopied": "SQL script copied",
"restaurantsSelected": "Restaurants selected",
"dbConnectionSelected": "Database connection selected",
"loadColumnsError": "Error loading fields: {error}"
}
},
"dbConnections": {
"pageName": "Databases",
"add": "Add Connection",