Add 'sleep' status to Production model and update related components
- Introduced a new 'sleep' boolean field in the Production model to indicate if production is suspended. - Updated FalukantService to include 'sleep' in the production attributes. - Enhanced MessagesDialog and ProductionSection components to display the production status and handle branch names. - Added corresponding translations for 'status', 'sleep', and 'active' in both German and English locale files.
This commit is contained in:
@@ -320,7 +320,10 @@
|
||||
"current": "Laufende Produktionen",
|
||||
"product": "Produkt",
|
||||
"remainingTime": "Verbleibende Zeit (Sekunden)",
|
||||
"noProductions": "Keine laufenden Produktionen."
|
||||
"noProductions": "Keine laufenden Produktionen.",
|
||||
"status": "Status",
|
||||
"sleep": "Zurückgestellt",
|
||||
"active": "Aktiv"
|
||||
},
|
||||
"columns": {
|
||||
"city": "Stadt",
|
||||
|
||||
@@ -192,8 +192,31 @@
|
||||
"storage": "Storage",
|
||||
"transport": "Transport",
|
||||
"taxes": "Taxes"
|
||||
}
|
||||
,"taxes": {
|
||||
},
|
||||
"production": {
|
||||
"title": "Production",
|
||||
"info": "Details about production in the branch.",
|
||||
"selectProduct": "Select product",
|
||||
"quantity": "Quantity",
|
||||
"storageAvailable": "Free storage",
|
||||
"cost": "Cost",
|
||||
"duration": "Duration",
|
||||
"revenue": "Revenue",
|
||||
"start": "Start production",
|
||||
"success": "Production started successfully!",
|
||||
"error": "Error starting production.",
|
||||
"minutes": "Minutes",
|
||||
"ending": "Completed:",
|
||||
"time": "Time",
|
||||
"current": "Running productions",
|
||||
"product": "Product",
|
||||
"remainingTime": "Remaining time (seconds)",
|
||||
"noProductions": "No running productions.",
|
||||
"status": "Status",
|
||||
"sleep": "Suspended",
|
||||
"active": "Active"
|
||||
},
|
||||
"taxes": {
|
||||
"title": "Taxes",
|
||||
"loading": "Loading tax data...",
|
||||
"loadingError": "Failed to load tax data: {error}",
|
||||
|
||||
Reference in New Issue
Block a user