Compare commits
1 Commits
main
...
c6ee8cd927
| Author | SHA1 | Date | |
|---|---|---|---|
| c6ee8cd927 |
@@ -123,6 +123,8 @@ 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';
|
||||||
|
applyI18n();
|
||||||
|
|
||||||
const brands = [...new Set(state.vehicles.map(v => v.brand))].sort();
|
const brands = [...new Set(state.vehicles.map(v => v.brand))].sort();
|
||||||
brandFilter.innerHTML = `<option value="all">${t("all")}</option>` +
|
brandFilter.innerHTML = `<option value="all">${t("all")}</option>` +
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ export const translations = {
|
|||||||
statDeposit: "Faire Kaution",
|
statDeposit: "Faire Kaution",
|
||||||
statSupport: "Support",
|
statSupport: "Support",
|
||||||
statCars: "Fahrzeuge",
|
statCars: "Fahrzeuge",
|
||||||
|
statCar: "Fahrzeug",
|
||||||
|
|
||||||
fleetEyebrow: "Unsere Flotte",
|
fleetEyebrow: "Unsere Flotte",
|
||||||
fleetTitle: "Handverlesen. Gepflegt. Startklar.",
|
fleetTitle: "Handverlesen. Gepflegt. Startklar.",
|
||||||
@@ -264,6 +265,7 @@ export const translations = {
|
|||||||
statDeposit: "Fair Deposit",
|
statDeposit: "Fair Deposit",
|
||||||
statSupport: "Support",
|
statSupport: "Support",
|
||||||
statCars: "Vehicles",
|
statCars: "Vehicles",
|
||||||
|
statCar: "Vehicle",
|
||||||
|
|
||||||
fleetEyebrow: "Our Fleet",
|
fleetEyebrow: "Our Fleet",
|
||||||
fleetTitle: "Hand-picked. Maintained. Ready.",
|
fleetTitle: "Hand-picked. Maintained. Ready.",
|
||||||
|
|||||||
+1
-1
@@ -136,7 +136,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 data-i18n="statCars">Fahrzeuge</span></div>
|
<div><strong id="statCarsCount">–</strong><span id="statCarsLabel" data-i18n="statCars">Fahrzeuge</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>
|
||||||
|
|||||||
Reference in New Issue
Block a user