Add raid transport feature and related updates: Introduce new raid transport functionality in FalukantService and FalukantController, including methods for retrieving raid transport regions and handling guard counts. Update frontend components to support guard count input and display related costs. Enhance localization files to include new terms for raid transport and associated metrics in English, German, and Spanish.

This commit is contained in:
Torsten Schulz (local)
2026-03-23 18:47:01 +01:00
parent 43dd1a3b7f
commit de52b6f26d
18 changed files with 886 additions and 82 deletions

View File

@@ -334,6 +334,7 @@
"runningEta": "Ankunft",
"runningRemaining": "Restzeit",
"runningVehicleCount": "Fahrzeuge",
"runningGuards": "Wachen",
"runningDirectionOut": "Ausgehend",
"runningDirectionIn": "Eingehend"
},
@@ -408,6 +409,8 @@
"transport": {
"title": "Transportmittel",
"placeholder": "Hier kannst du Transportmittel für deine Region kaufen oder bauen.",
"guardCount": "Wachen",
"guardHint": "Zusatzkosten für Wachen: {cost}",
"vehicleType": "Transportmittel",
"mode": "Art",
"modeBuy": "Kaufen (sofort verfügbar)",
@@ -1335,7 +1338,17 @@
"victimPlaceholder": "Benutzername eingeben",
"sabotageTarget": "Sabotageziel",
"corruptGoal": "Ziel der Korruption",
"affairGoal": "Ziel der Untersuchung"
"affairGoal": "Ziel der Untersuchung",
"raidRegion": "Überfallregion",
"raidRegionPlaceholder": "Region wählen",
"bandSize": "Bandengröße",
"raidSummary": "Bande ({bandSize}) in {region}",
"attempts": "Versuche",
"successes": "Erfolge",
"lastOutcome": "Letztes Ergebnis",
"raidResultTitle": "Letzter Überfall",
"lastTargetTransport": "Letzter Zieltransport",
"loot": "Beute"
},
"attacks": {
"target": "Angreifer",
@@ -1349,7 +1362,8 @@
"sabotage": "Sabotage",
"corrupt_politician": "Korruption",
"rob": "Raub",
"investigate_affair": "Liebschaft untersuchen"
"investigate_affair": "Liebschaft untersuchen",
"raid_transport": "Überfälle auf Transporte"
},
"targets": {
"house": "Wohnhaus",
@@ -1366,6 +1380,11 @@
"pending": "Ausstehend",
"resolved": "Abgeschlossen",
"failed": "Gescheitert"
},
"raidOutcomes": {
"repelled": "Abgewehrt",
"partial_success": "Teilweise erfolgreich",
"major_success": "Großer Erfolg"
}
}
}

View File

@@ -294,7 +294,26 @@
},
"director": {
"income": "Income",
"incomeUpdated": "Salary has been successfully updated."
"incomeUpdated": "Salary has been successfully updated.",
"starttransport": "May start transports",
"emptyTransport": {
"title": "Transport without products",
"description": "Move vehicles from this branch to another to use them better.",
"vehicleType": "Vehicle type",
"selectVehicle": "Select vehicle type",
"targetBranch": "Target branch",
"selectTarget": "Select target branch",
"cost": "Cost: {cost}",
"duration": "Duration: {duration}",
"arrival": "Arrival: {datetime}",
"route": "Route",
"create": "Start transport",
"success": "Transport started successfully.",
"error": "Error starting the transport."
}
},
"sale": {
"runningGuards": "Guards"
},
"production": {
"title": "Production",
@@ -328,6 +347,10 @@
"raft": "Raft",
"sailing_ship": "Sailing ship"
},
"transport": {
"guardCount": "Guards",
"guardHint": "Additional cost for guards: {cost}"
},
"tabs": {
"director": "Director",
"inventory": "Inventory",
@@ -900,7 +923,17 @@
"victimPlaceholder": "Enter username",
"sabotageTarget": "Sabotage target",
"corruptGoal": "Corruption goal",
"affairGoal": "Investigation goal"
"affairGoal": "Investigation goal",
"raidRegion": "Raid region",
"raidRegionPlaceholder": "Select region",
"bandSize": "Band size",
"raidSummary": "Gang ({bandSize}) in {region}",
"attempts": "Attempts",
"successes": "Successes",
"lastOutcome": "Last outcome",
"raidResultTitle": "Latest raid",
"lastTargetTransport": "Latest target transport",
"loot": "Loot"
},
"attacks": {
"target": "Attacker",
@@ -914,7 +947,8 @@
"sabotage": "Sabotage",
"corrupt_politician": "Corruption",
"rob": "Robbery",
"investigate_affair": "Investigate affair"
"investigate_affair": "Investigate affair",
"raid_transport": "Raid transports"
},
"targets": {
"house": "House",
@@ -931,6 +965,11 @@
"pending": "Pending",
"resolved": "Resolved",
"failed": "Failed"
},
"raidOutcomes": {
"repelled": "Repelled",
"partial_success": "Partial success",
"major_success": "Major success"
}
}
}

View File

@@ -322,6 +322,7 @@
"runningEta": "Llegada",
"runningRemaining": "Tiempo restante",
"runningVehicleCount": "Vehículos",
"runningGuards": "Guardias",
"runningDirectionOut": "Salida",
"runningDirectionIn": "Entrada"
},
@@ -393,6 +394,8 @@
"transport": {
"title": "Transporte",
"placeholder": "Aquí puedes comprar o construir medios de transporte para tu región.",
"guardCount": "Guardias",
"guardHint": "Coste adicional por guardias: {cost}",
"vehicleType": "Medio de transporte",
"mode": "Tipo",
"modeBuy": "Comprar (disponible de inmediato)",
@@ -1259,7 +1262,17 @@
"victimPlaceholder": "Introduce el nombre de usuario",
"sabotageTarget": "Objetivo del sabotaje",
"corruptGoal": "Objetivo de la corrupción",
"affairGoal": "Objetivo de la investigación"
"affairGoal": "Objetivo de la investigación",
"raidRegion": "Región de emboscada",
"raidRegionPlaceholder": "Seleccionar región",
"bandSize": "Tamaño de la banda",
"raidSummary": "Banda ({bandSize}) en {region}",
"attempts": "Intentos",
"successes": "Éxitos",
"lastOutcome": "Último resultado",
"raidResultTitle": "Último asalto",
"lastTargetTransport": "Último transporte objetivo",
"loot": "Botín"
},
"attacks": {
"target": "Atacante",
@@ -1273,7 +1286,8 @@
"sabotage": "Sabotaje",
"corrupt_politician": "Corrupción",
"rob": "Robo",
"investigate_affair": "Investigar relación"
"investigate_affair": "Investigar relación",
"raid_transport": "Asaltos a transportes"
},
"targets": {
"house": "Vivienda",
@@ -1290,6 +1304,11 @@
"pending": "Pendiente",
"resolved": "Resuelto",
"failed": "Fallido"
},
"raidOutcomes": {
"repelled": "Rechazado",
"partial_success": "Éxito parcial",
"major_success": "Gran éxito"
}
}
}