fix: default to singular Fahrzeug, plural only when >1

This commit is contained in:
2026-05-31 14:24:59 +02:00
parent 94eac68da4
commit fc902768a1
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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