Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 94eac68da4 | |||
| 557528d85a |
@@ -124,6 +124,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();
|
||||||
|
|
||||||
// Load vehicle photos
|
// Load vehicle photos
|
||||||
if (state.vehicles.length > 0) {
|
if (state.vehicles.length > 0) {
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ export const translations = {
|
|||||||
|
|
||||||
statDeposit: "Faire Kaution",
|
statDeposit: "Faire Kaution",
|
||||||
statCars: "Fahrzeuge",
|
statCars: "Fahrzeuge",
|
||||||
|
statCar: "Fahrzeug",
|
||||||
|
|
||||||
fleetTitle: "Handverlesen. Gepflegt. Startklar.",
|
fleetTitle: "Handverlesen. Gepflegt. Startklar.",
|
||||||
fleetSub: "Filtern Sie nach Marke und Preis. Klicken Sie für Details oder buchen Sie direkt.",
|
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",
|
statDeposit: "Fair Deposit",
|
||||||
statCars: "Vehicles",
|
statCars: "Vehicles",
|
||||||
|
statCar: "Vehicle",
|
||||||
|
|
||||||
fleetTitle: "Hand-picked. Maintained. Ready.",
|
fleetTitle: "Hand-picked. Maintained. Ready.",
|
||||||
fleetSub: "Filter by brand or price. Click for details or book directly.",
|
fleetSub: "Filter by brand or price. Click for details or book directly.",
|
||||||
|
|||||||
+2
-1
@@ -135,7 +135,8 @@
|
|||||||
|
|
||||||
<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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
Reference in New Issue
Block a user