diff --git a/frontend/app.js b/frontend/app.js index 0714ac0..f9a70da 100644 --- a/frontend/app.js +++ b/frontend/app.js @@ -124,6 +124,8 @@ async function loadVehicles() { state.vehicles = data || []; statCarsCount.textContent = state.vehicles.length; + statCarsLabel.dataset.i18n = state.vehicles.length === 1 ? 'statCar' : 'statCars'; + applyI18n(); // Load vehicle photos if (state.vehicles.length > 0) { diff --git a/frontend/i18n.js b/frontend/i18n.js index af9ca94..74cc38e 100644 --- a/frontend/i18n.js +++ b/frontend/i18n.js @@ -12,6 +12,7 @@ export const translations = { statDeposit: "Faire Kaution", statCars: "Fahrzeuge", + statCar: "Fahrzeug", fleetTitle: "Handverlesen. Gepflegt. Startklar.", fleetSub: "Filtern Sie nach Marke und Preis. Klicken Sie für Details oder buchen Sie direkt.", @@ -248,6 +249,7 @@ export const translations = { statDeposit: "Fair Deposit", statCars: "Vehicles", + statCar: "Vehicle", fleetTitle: "Hand-picked. Maintained. Ready.", fleetSub: "Filter by brand or price. Click for details or book directly.", diff --git a/frontend/index.html b/frontend/index.html index 928df50..d5bce46 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -135,7 +135,8 @@
Faire KautionFair Deposit
-
Fahrzeuge
+
Fahrzeuge
+
24/7Support