Compare commits

...

2 Commits

2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -124,7 +124,7 @@ async function loadVehicles() {
state.vehicles = data || []; state.vehicles = data || [];
statCarsCount.textContent = state.vehicles.length; statCarsCount.textContent = state.vehicles.length;
statCarsLabel.dataset.i18n = state.vehicles.length === 1 ? 'statCar' : 'statCars'; statCarsLabel.dataset.i18n = state.vehicles.length > 1 ? 'statCars' : 'statCar';
applyI18n(); applyI18n();
// Load vehicle photos // Load vehicle photos
+1 -1
View File
@@ -135,7 +135,7 @@
<div class="hero-stats"> <div class="hero-stats">
<div><strong data-i18n="statDeposit">Faire Kaution</strong><span>Fair Deposit</span></div> <div><strong data-i18n="statDeposit">Faire Kaution</strong><span>Fair Deposit</span></div>
<div><strong id="statCarsCount"></strong><span id="statCarsLabel" data-i18n="statCars">Fahrzeuge</span></div> <div><strong id="statCarsCount"></strong><span id="statCarsLabel" data-i18n="statCar">Fahrzeug</span></div>
<div><strong>24/7</strong><span data-i18n="statSupport">Support</span></div> <div><strong>24/7</strong><span data-i18n="statSupport">Support</span></div>
</div> </div>
</div> </div>