Add bulk vehicle repair functionality in Falukant module
- Implemented a new repairAllVehicles method in FalukantService to handle the repair of multiple vehicles at once, including cost calculation and precondition checks. - Updated FalukantController to expose the repairAllVehicles endpoint, allowing users to initiate bulk repairs via the API. - Enhanced FalukantRouter to include a new route for bulk vehicle repairs. - Modified BranchView component to add UI elements for repairing all vehicles, including a dialog for confirmation and displaying repair details. - Updated German localization files to include translations related to bulk vehicle repair actions, improving user experience for German-speaking users.
This commit is contained in:
@@ -28,6 +28,9 @@
|
||||
"notify_election_created": "Es wurde eine neue Wahl ausgeschrieben.",
|
||||
"production": {
|
||||
"overproduction": "Überproduktion: Deine Produktion liegt {value}% über dem Bedarf."
|
||||
},
|
||||
"transport": {
|
||||
"waiting": "Transport wartet"
|
||||
}
|
||||
},
|
||||
"health": {
|
||||
@@ -319,8 +322,16 @@
|
||||
"cancel": "Abbrechen",
|
||||
"close": "Schließen",
|
||||
"repair": "Reparieren",
|
||||
"repairWithCost": "Reparieren (Kosten: {cost})",
|
||||
"repairTooltip": "Fahrzeug reparieren",
|
||||
"repairVehicleTitle": "Fahrzeug reparieren",
|
||||
"repairAll": "Alle reparieren ({count} Fahrzeuge, Kosten: {cost})",
|
||||
"repairAllTitle": "Alle Fahrzeuge reparieren",
|
||||
"repairAllDescription": "Möchtest du alle {count} Fahrzeuge reparieren? Gesamtkosten: {cost}",
|
||||
"repairAllDiscount": "Hinweis: Bei Reparatur aller Fahrzeuge erhältst du 10% Rabatt.",
|
||||
"repairAllConfirm": "Alle reparieren",
|
||||
"repairAllSuccess": "Alle Fahrzeuge werden repariert!",
|
||||
"repairAllError": "Fehler beim Reparieren der Fahrzeuge.",
|
||||
"repairVehicleType": "Fahrzeugtyp",
|
||||
"repairCurrentCondition": "Aktueller Zustand",
|
||||
"repairCost": "Reparaturkosten",
|
||||
|
||||
Reference in New Issue
Block a user