From fc902768a12f8a14400d9f7ed6221994d8016815 Mon Sep 17 00:00:00 2001 From: Jose Lago Date: Sun, 31 May 2026 14:24:59 +0200 Subject: [PATCH] fix: default to singular Fahrzeug, plural only when >1 --- frontend/app.js | 2 +- frontend/index.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/app.js b/frontend/app.js index f9a70da..e4afcbf 100644 --- a/frontend/app.js +++ b/frontend/app.js @@ -124,7 +124,7 @@ async function loadVehicles() { state.vehicles = data || []; statCarsCount.textContent = state.vehicles.length; - statCarsLabel.dataset.i18n = state.vehicles.length === 1 ? 'statCar' : 'statCars'; + statCarsLabel.dataset.i18n = state.vehicles.length > 1 ? 'statCars' : 'statCar'; applyI18n(); // Load vehicle photos diff --git a/frontend/index.html b/frontend/index.html index d5bce46..30f654f 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -135,8 +135,8 @@
Faire KautionFair Deposit
-
Fahrzeuge
-
24/7Support
+
Fahrzeug
+
24/7Support