@jjlmoya/utils-motor 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/category/index.ts +2 -1
- package/src/entries.ts +4 -1
- package/src/index.ts +5 -0
- package/src/tests/i18n_coverage.test.ts +5 -3
- package/src/tests/locale_completeness.test.ts +1 -1
- package/src/tests/tool_validation.test.ts +1 -2
- package/src/tool/realFuelConsumptionCalculator/bibliography.astro +6 -0
- package/src/tool/realFuelConsumptionCalculator/bibliography.ts +12 -0
- package/src/tool/realFuelConsumptionCalculator/component.astro +111 -0
- package/src/tool/realFuelConsumptionCalculator/controller.ts +175 -0
- package/src/tool/realFuelConsumptionCalculator/dom-views.ts +132 -0
- package/src/tool/realFuelConsumptionCalculator/entry.ts +30 -0
- package/src/tool/realFuelConsumptionCalculator/evaluator.ts +15 -0
- package/src/tool/realFuelConsumptionCalculator/i18n/de.ts +119 -0
- package/src/tool/realFuelConsumptionCalculator/i18n/en.ts +119 -0
- package/src/tool/realFuelConsumptionCalculator/i18n/es.ts +119 -0
- package/src/tool/realFuelConsumptionCalculator/i18n/factory.ts +110 -0
- package/src/tool/realFuelConsumptionCalculator/i18n/fr.ts +119 -0
- package/src/tool/realFuelConsumptionCalculator/i18n/id.ts +119 -0
- package/src/tool/realFuelConsumptionCalculator/i18n/it.ts +119 -0
- package/src/tool/realFuelConsumptionCalculator/i18n/ja.ts +119 -0
- package/src/tool/realFuelConsumptionCalculator/i18n/ko.ts +119 -0
- package/src/tool/realFuelConsumptionCalculator/i18n/nl.ts +119 -0
- package/src/tool/realFuelConsumptionCalculator/i18n/pl.ts +119 -0
- package/src/tool/realFuelConsumptionCalculator/i18n/pt.ts +119 -0
- package/src/tool/realFuelConsumptionCalculator/i18n/ru.ts +119 -0
- package/src/tool/realFuelConsumptionCalculator/i18n/sv.ts +119 -0
- package/src/tool/realFuelConsumptionCalculator/i18n/tr.ts +119 -0
- package/src/tool/realFuelConsumptionCalculator/i18n/zh.ts +119 -0
- package/src/tool/realFuelConsumptionCalculator/index.ts +10 -0
- package/src/tool/realFuelConsumptionCalculator/logic.test.ts +72 -0
- package/src/tool/realFuelConsumptionCalculator/logic.ts +142 -0
- package/src/tool/realFuelConsumptionCalculator/real-fuel-consumption-calculator.css +692 -0
- package/src/tool/realFuelConsumptionCalculator/seo.astro +15 -0
- package/src/tool/realFuelConsumptionCalculator/storage.ts +54 -0
- package/src/tool/realFuelConsumptionCalculator/ui.ts +72 -0
- package/src/tools.ts +2 -1
- package/src/tests/faq_count.test.ts +0 -19
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { createLocalizedContent } from './factory';
|
|
2
|
+
|
|
3
|
+
export const content = createLocalizedContent({
|
|
4
|
+
locale: 'de',
|
|
5
|
+
slug: 'echter-kraftstoffverbrauch-rechner',
|
|
6
|
+
title: 'Echter Kraftstoffverbrauch Rechner für Autos und Motorräder',
|
|
7
|
+
description: 'Berechne den tatsächlichen Verbrauch von Benzin, Diesel oder Strom aus Fahrstrecke und getankter Menge. Vergleiche die Kosten pro 100 km und prüfe das Ergebnis mit der Werksangabe.',
|
|
8
|
+
faqTitle: 'Häufig gestellte Fragen',
|
|
9
|
+
bibliographyTitle: 'Quellen und Literatur',
|
|
10
|
+
ui: {
|
|
11
|
+
fuelTypeLabel: 'Energieart',
|
|
12
|
+
gasolineLabel: 'Benzin',
|
|
13
|
+
dieselLabel: 'Diesel',
|
|
14
|
+
electricLabel: 'Elektro',
|
|
15
|
+
currencyLabel: 'Währung',
|
|
16
|
+
currencyRateLabel: '1 EUR =',
|
|
17
|
+
resetLabel: 'Zurücksetzen',
|
|
18
|
+
measurementTitle: 'Deine gemessene Fahrt',
|
|
19
|
+
intakeQuestion: 'Was hat die Fahrt tatsächlich verbraucht?',
|
|
20
|
+
distanceLabel: 'Gefahrene Strecke',
|
|
21
|
+
distanceHint: 'In der Messung zurückgelegte Kilometer',
|
|
22
|
+
distanceUnit: 'km',
|
|
23
|
+
usedLabel: 'Verbrauchte Menge',
|
|
24
|
+
gasolineUsedLabel: 'Getanktes Benzin',
|
|
25
|
+
gasolineUsedHint: 'Beim Tanken nachgefüllte Liter',
|
|
26
|
+
dieselUsedLabel: 'Getankter Diesel',
|
|
27
|
+
dieselUsedHint: 'Beim Tanken nachgefüllte Liter',
|
|
28
|
+
electricUsedLabel: 'Geladene Energie',
|
|
29
|
+
electricUsedHint: 'An der Ladesäule geladene kWh',
|
|
30
|
+
fuelUnit: 'L',
|
|
31
|
+
energyUnit: 'kWh',
|
|
32
|
+
fuelConsumptionUnit: 'L/100 km',
|
|
33
|
+
energyConsumptionUnit: 'kWh/100 km',
|
|
34
|
+
priceLabel: 'Preis',
|
|
35
|
+
priceHint: 'Tatsächlich gezahlter Preis pro Einheit',
|
|
36
|
+
gasolinePriceLabel: 'Benzinpreis pro Liter',
|
|
37
|
+
dieselPriceLabel: 'Dieselpreis pro Liter',
|
|
38
|
+
electricPriceLabel: 'Strompreis pro kWh',
|
|
39
|
+
optionalDetails: 'Werksangabe und Vergleichsfahrzeuge hinzufügen',
|
|
40
|
+
ratedLabel: 'Offizieller Verbrauch',
|
|
41
|
+
gasolineRatedLabel: 'Offizieller Benzinverbrauch',
|
|
42
|
+
dieselRatedLabel: 'Offizieller Dieselverbrauch',
|
|
43
|
+
electricRatedLabel: 'Offizieller Stromverbrauch',
|
|
44
|
+
ratedHint: 'Verwende die Homologationsangabe deines Fahrzeugs',
|
|
45
|
+
readingTitle: 'Dein tatsächlicher Verbrauch',
|
|
46
|
+
comparisonTitle: 'Betriebskosten vergleichen',
|
|
47
|
+
comparisonQuestion: 'Welche Option kostet weniger pro 100 km?',
|
|
48
|
+
comparisonHint: 'Ein längerer Balken bedeutet höhere Betriebskosten.',
|
|
49
|
+
comparisonCostLabel: 'Kosten / 100 km',
|
|
50
|
+
comparisonNotSet: 'Daten unten hinzufügen',
|
|
51
|
+
comparisonReady: 'Bereit zum Vergleich',
|
|
52
|
+
comparisonCheapest: 'Günstigste',
|
|
53
|
+
comparisonMostExpensive: 'Teuerste',
|
|
54
|
+
comparisonPunchline: 'Der kürzeste Balken kennzeichnet die günstigste Option im Betrieb.',
|
|
55
|
+
comparisonSettingsTitle: 'Umrechnungsverhältnisse',
|
|
56
|
+
comparisonSettingsHint: 'Jede Zeile ist mit deiner Messung verknüpft. Ändere ein Verhältnis, um ein anderes Fahrzeug zu modellieren, nicht einen isolierten Verbrauch.',
|
|
57
|
+
rememberComparisonsLabel: 'Verhältnisse auf diesem Gerät speichern',
|
|
58
|
+
resetComparisonsLabel: 'Verhältnisse zurücksetzen',
|
|
59
|
+
compareConsumptionLabel: 'Verbrauch',
|
|
60
|
+
compareRatioLabel: 'Verhältnis zu Benzin',
|
|
61
|
+
comparePriceLabel: 'Preis',
|
|
62
|
+
efficiencyLabel: 'Reichweite pro Einheit',
|
|
63
|
+
mpgLabel: 'US-Verbrauch (MPG)',
|
|
64
|
+
tripCostLabel: 'Fahrtkosten',
|
|
65
|
+
costPer100Label: 'Kosten pro 100 km',
|
|
66
|
+
savedLabel: 'Eingespart',
|
|
67
|
+
extraLabel: 'Zusätzlich',
|
|
68
|
+
gasolineStatusBetter: 'Diese Fahrt verbrauchte weniger Benzin als die Werksangabe.',
|
|
69
|
+
gasolineStatusClose: 'Diese Fahrt liegt nahe am offiziellen Benzinverbrauch.',
|
|
70
|
+
gasolineStatusHigher: 'Diese Fahrt verbrauchte mehr Benzin als die Werksangabe.',
|
|
71
|
+
dieselStatusBetter: 'Diese Fahrt verbrauchte weniger Diesel als die Werksangabe.',
|
|
72
|
+
dieselStatusClose: 'Diese Fahrt liegt nahe am offiziellen Dieselverbrauch.',
|
|
73
|
+
dieselStatusHigher: 'Diese Fahrt verbrauchte mehr Diesel als die Werksangabe.',
|
|
74
|
+
electricStatusBetter: 'Diese Ladung verbrauchte weniger Energie als die Werksangabe.',
|
|
75
|
+
electricStatusClose: 'Diese Ladung liegt nahe am offiziellen Stromverbrauch.',
|
|
76
|
+
electricStatusHigher: 'Diese Ladung verbrauchte mehr Energie als die Werksangabe.',
|
|
77
|
+
formulaLabel: 'Formel',
|
|
78
|
+
fuelFormula: 'Liter ÷ Kilometer × 100',
|
|
79
|
+
electricFormula: 'kWh ÷ Kilometer × 100',
|
|
80
|
+
localNotice: 'Die Messungen verbleiben in diesem Browser.',
|
|
81
|
+
},
|
|
82
|
+
faq: [
|
|
83
|
+
{ question: 'Wie berechne ich den tatsächlichen Kraftstoffverbrauch?', answer: 'Teile die getankten Liter oder geladenen kWh durch die gefahrenen Kilometer und multipliziere mit 100. Beispiel: 45 Liter auf 600 km entsprechen 7,5 L/100 km.' },
|
|
84
|
+
{ question: 'Welchen Preis soll ich eingeben?', answer: 'Gib den Preis ein, den du tatsächlich pro Liter Benzin/Diesel oder pro kWh Strom gezahlt hast. Wähle zuerst deine Währung aus, um Fahrtkosten und Kosten pro 100 km zu sehen.' },
|
|
85
|
+
{ question: 'Kann ich Benzin, Diesel und Elektrofahrzeuge vergleichen?', answer: 'Ja. Der Vergleich rechnet den Verbrauch und den örtlichen Preis um, um die vergleichbaren Betriebskosten pro 100 km anzuzeigen.' },
|
|
86
|
+
{ question: 'Warum weicht der reale Verbrauch von der Werksangabe ab?', answer: 'Offizielle Angaben entstehen in Prüfstandszykliken (z. B. WLTP). Verkehr, Tempo, Steigungen, Beladung, Reifendruck, Temperatur und Klimaanlage erhöhen den Alltagsverbrauch.' },
|
|
87
|
+
],
|
|
88
|
+
howTo: [
|
|
89
|
+
{ name: 'Energieart wählen', text: 'Wähle Benzin, Diesel oder Elektro, damit die passenden Einheiten verwendet werden.' },
|
|
90
|
+
{ name: 'Gemessene Fahrt eingeben', text: 'Trage die gefahrenen Kilometer und die nachgefüllte Kraftstoff- oder Energiemenge ein.' },
|
|
91
|
+
{ name: 'Tatsächlichen Preis eingeben', text: 'Gib den gezahlten Preis pro Liter oder kWh an und wähle die passende Währung.' },
|
|
92
|
+
{ name: 'Ergebnis ablesen', text: 'Lies den echten Verbrauch, die Gesamtkosten der Fahrt und die Kosten pro 100 km ab.' },
|
|
93
|
+
{ name: 'Referenzwerte hinzufügen', text: 'Öffne den optionalen Bereich, um das Ergebnis mit der Werksangabe oder anderen Fahrzeugen zu vergleichen.' },
|
|
94
|
+
],
|
|
95
|
+
seo: {
|
|
96
|
+
calcTitle: 'Berechne die tatsächlichen Fahrtkosten deines Fahrzeugs',
|
|
97
|
+
calcText: 'Dieser Rechner beantwortet die praktische Frage nach dem Tanken: <strong>Wie viel hat mein Fahrzeug wirklich verbraucht und was hat die Fahrt gekostet?</strong> Mit Strecke, getankter Menge und Preis erhältst du den echten Durchschnittsverbrauch, die Fahrtkosten und die Kosten pro 100 km.',
|
|
98
|
+
stat1Value: '3 Werte',
|
|
99
|
+
stat1Label: 'Strecke, Menge und Preis',
|
|
100
|
+
stat2Value: 'L/100 km',
|
|
101
|
+
stat2Label: 'Benzin und Diesel',
|
|
102
|
+
stat3Value: 'kWh/100 km',
|
|
103
|
+
stat3Label: 'Elektrofahrzeuge',
|
|
104
|
+
measureTitle: 'So misst du den Verbrauchs-Realwert beim Tanken',
|
|
105
|
+
measureText: 'Tanke volles Rohr oder lade den Akku voll, setze den Tageskilometerzähler auf Null und fahre bis zum nächsten Tanken. Gib die gefahrenen Kilometer und die nachgefüllte Menge ein. Die Formel lautet <strong>Menge ÷ Kilometer × 100</strong>.',
|
|
106
|
+
tableHeaders: ['Bekannter Wert', 'Berechnung', 'Ergebnis'],
|
|
107
|
+
tableRows: [
|
|
108
|
+
['Liter und Kilometer', 'Liter ÷ Kilometer × 100', 'L/100 km'],
|
|
109
|
+
['Kilowattstunden und Kilometer', 'kWh ÷ Kilometer × 100', 'kWh/100 km'],
|
|
110
|
+
['Menge und Einzelpreis', 'Menge × Preis', 'Fahrtkosten'],
|
|
111
|
+
['Verbrauch und Preis', 'Verbrauch × Preis', 'Kosten pro 100 km'],
|
|
112
|
+
],
|
|
113
|
+
compareTitle: 'Vergleiche die Kosten von Benzin, Diesel und Elektro',
|
|
114
|
+
compareText: 'Die Vergleichskarten zeigen die Betriebskosten auf einen Blick. Der Vergleich der Kosten pro 100 km ist aussagekräftiger als der reine Vergleich von Litern oder Kilowattstunden, da unterschiedliche Energieträger auf dieselbe Distanz bezogen werden.',
|
|
115
|
+
versusTitle: 'Realer versus offizieller Verbrauch',
|
|
116
|
+
tipTitle: 'Nutze die Werksangabe deines Modells',
|
|
117
|
+
tipText: 'Trage den offiziellen Homologationswert deines Autos oder Motorrads im optionalen Bereich ein. Die Realfahrt liegt wegen Verkehr, Wetter, Topografie und Fahrstil meist über dem Laborwert.',
|
|
118
|
+
},
|
|
119
|
+
});
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { createLocalizedContent } from './factory';
|
|
2
|
+
|
|
3
|
+
export const content = createLocalizedContent({
|
|
4
|
+
locale: 'en',
|
|
5
|
+
slug: 'real-fuel-consumption-calculator',
|
|
6
|
+
title: 'Real Fuel Consumption Calculator for Cars and Motorcycles',
|
|
7
|
+
description: 'Calculate real gasoline, diesel, or electric consumption from distance and fuel added. Compare cost per 100 km and check the result against the official figure.',
|
|
8
|
+
faqTitle: 'Frequently asked questions',
|
|
9
|
+
bibliographyTitle: 'Bibliographic references',
|
|
10
|
+
ui: {
|
|
11
|
+
fuelTypeLabel: 'Energy type',
|
|
12
|
+
gasolineLabel: 'Gasoline',
|
|
13
|
+
dieselLabel: 'Diesel',
|
|
14
|
+
electricLabel: 'Electric',
|
|
15
|
+
currencyLabel: 'Currency',
|
|
16
|
+
currencyRateLabel: '1 EUR =',
|
|
17
|
+
resetLabel: 'Reset',
|
|
18
|
+
measurementTitle: 'Your measured trip',
|
|
19
|
+
intakeQuestion: 'What did the trip actually use?',
|
|
20
|
+
distanceLabel: 'Distance driven',
|
|
21
|
+
distanceHint: 'Kilometres covered in the measurement',
|
|
22
|
+
distanceUnit: 'km',
|
|
23
|
+
usedLabel: 'Amount used',
|
|
24
|
+
gasolineUsedLabel: 'Gasoline added',
|
|
25
|
+
gasolineUsedHint: 'Litres added at refill',
|
|
26
|
+
dieselUsedLabel: 'Diesel added',
|
|
27
|
+
dieselUsedHint: 'Litres added at refill',
|
|
28
|
+
electricUsedLabel: 'Energy added',
|
|
29
|
+
electricUsedHint: 'kWh added at the charger',
|
|
30
|
+
fuelUnit: 'L',
|
|
31
|
+
energyUnit: 'kWh',
|
|
32
|
+
fuelConsumptionUnit: 'L/100 km',
|
|
33
|
+
energyConsumptionUnit: 'kWh/100 km',
|
|
34
|
+
priceLabel: 'Price',
|
|
35
|
+
priceHint: 'What you paid per unit',
|
|
36
|
+
gasolinePriceLabel: 'Gasoline price per litre',
|
|
37
|
+
dieselPriceLabel: 'Diesel price per litre',
|
|
38
|
+
electricPriceLabel: 'Electricity price per kWh',
|
|
39
|
+
optionalDetails: 'Add official figure and comparison vehicles',
|
|
40
|
+
ratedLabel: 'Official consumption',
|
|
41
|
+
gasolineRatedLabel: 'Official gasoline consumption',
|
|
42
|
+
dieselRatedLabel: 'Official diesel consumption',
|
|
43
|
+
electricRatedLabel: 'Official electric consumption',
|
|
44
|
+
ratedHint: 'Use the figure shown for your vehicle',
|
|
45
|
+
readingTitle: 'Your real consumption',
|
|
46
|
+
comparisonTitle: 'Compare running cost',
|
|
47
|
+
comparisonQuestion: 'Which option costs less per 100 km?',
|
|
48
|
+
comparisonHint: 'Longer bar means a higher running cost.',
|
|
49
|
+
comparisonCostLabel: 'Cost / 100 km',
|
|
50
|
+
comparisonNotSet: 'Add figures below',
|
|
51
|
+
comparisonReady: 'Ready to compare',
|
|
52
|
+
comparisonCheapest: 'Cheapest',
|
|
53
|
+
comparisonMostExpensive: 'Most expensive',
|
|
54
|
+
comparisonPunchline: 'The shortest bar is the one that costs less to run.',
|
|
55
|
+
comparisonSettingsTitle: 'Conversion ratios',
|
|
56
|
+
comparisonSettingsHint: 'Every row is linked to your real reading. Change a ratio to model a different vehicle, not a disconnected consumption.',
|
|
57
|
+
rememberComparisonsLabel: 'Remember ratios on this device',
|
|
58
|
+
resetComparisonsLabel: 'Reset ratios',
|
|
59
|
+
compareConsumptionLabel: 'Consumption',
|
|
60
|
+
compareRatioLabel: 'Ratio vs gasoline',
|
|
61
|
+
comparePriceLabel: 'Price',
|
|
62
|
+
efficiencyLabel: 'Distance per unit',
|
|
63
|
+
mpgLabel: 'US fuel MPG',
|
|
64
|
+
tripCostLabel: 'Trip cost',
|
|
65
|
+
costPer100Label: 'Cost per 100 km',
|
|
66
|
+
savedLabel: 'Saved',
|
|
67
|
+
extraLabel: 'Extra',
|
|
68
|
+
gasolineStatusBetter: 'This trip used less gasoline than the official figure.',
|
|
69
|
+
gasolineStatusClose: 'This trip is close to the official gasoline figure.',
|
|
70
|
+
gasolineStatusHigher: 'This trip used more gasoline than the official figure.',
|
|
71
|
+
dieselStatusBetter: 'This trip used less diesel than the official figure.',
|
|
72
|
+
dieselStatusClose: 'This trip is close to the official diesel figure.',
|
|
73
|
+
dieselStatusHigher: 'This trip used more diesel than the official figure.',
|
|
74
|
+
electricStatusBetter: 'This charge used less energy than the official figure.',
|
|
75
|
+
electricStatusClose: 'This charge is close to the official electric figure.',
|
|
76
|
+
electricStatusHigher: 'This charge used more energy than the official electric figure.',
|
|
77
|
+
formulaLabel: 'Formula',
|
|
78
|
+
fuelFormula: 'litres ÷ kilometres × 100',
|
|
79
|
+
electricFormula: 'kWh ÷ kilometres × 100',
|
|
80
|
+
localNotice: 'Measurements stay in this browser.',
|
|
81
|
+
},
|
|
82
|
+
faq: [
|
|
83
|
+
{ question: 'How do I calculate real fuel consumption?', answer: 'Enter the kilometres driven and the litres added at the next refill. Divide litres by kilometres and multiply by 100 to get L/100 km. For an electric vehicle, use kWh instead of litres to get kWh/100 km.' },
|
|
84
|
+
{ question: 'What should I enter for price?', answer: 'Enter the price you actually paid per litre for gasoline or diesel, or per kWh for electricity. Select your currency first. The calculator then shows trip cost and cost per 100 km.' },
|
|
85
|
+
{ question: 'Can I compare gasoline, diesel, and electric cars?', answer: 'Yes. The comparison shows the consumption and cost per 100 km for all three energy types. Enter the consumption and local price for the vehicles you want to compare.' },
|
|
86
|
+
{ question: 'Why is real consumption different from the official figure?', answer: 'Official figures come from controlled tests. Traffic, speed, hills, payload, tire pressure, temperature, air conditioning, and driving style can make a real trip higher or lower.' },
|
|
87
|
+
],
|
|
88
|
+
howTo: [
|
|
89
|
+
{ name: 'Choose the energy type', text: 'Select Gasoline, Diesel, or Electric so the calculator uses the correct unit.' },
|
|
90
|
+
{ name: 'Enter the measured trip', text: 'Add the kilometres driven and the litres or kilowatt-hours used.' },
|
|
91
|
+
{ name: 'Enter the real price', text: 'Add what you paid per litre or per kWh. Select one of the available currencies.' },
|
|
92
|
+
{ name: 'Read the result', text: 'The calculator shows real consumption, trip cost, cost per 100 km, and a visual comparison.' },
|
|
93
|
+
{ name: 'Add reference figures', text: 'Open the optional section to compare the official figure or another vehicle.' },
|
|
94
|
+
],
|
|
95
|
+
seo: {
|
|
96
|
+
calcTitle: 'Calculate What Your Car Really Costs to Run',
|
|
97
|
+
calcText: 'This calculator answers the practical question behind a fuel log: <strong>how much did my car really use and what did the trip cost?</strong> Enter distance, fuel or energy added, and the price you paid. You get real consumption, trip cost, and cost per 100 km.',
|
|
98
|
+
stat1Value: '3 readings',
|
|
99
|
+
stat1Label: 'Distance, amount, and price',
|
|
100
|
+
stat2Value: 'L/100 km',
|
|
101
|
+
stat2Label: 'Gasoline and diesel',
|
|
102
|
+
stat3Value: 'kWh/100 km',
|
|
103
|
+
stat3Label: 'Electric vehicles',
|
|
104
|
+
measureTitle: 'How to Measure Real Consumption',
|
|
105
|
+
measureText: 'Fill the tank or charge the vehicle, reset the trip, and measure until the next refill or charge. Enter the distance and amount added. The formula is <strong>amount ÷ kilometres × 100</strong>. For example, 45 litres over 600 km is 7.5 L/100 km.',
|
|
106
|
+
tableHeaders: ['What you know', 'Calculation', 'Result'],
|
|
107
|
+
tableRows: [
|
|
108
|
+
['Litres and kilometres', 'Litres ÷ kilometres × 100', 'L/100 km'],
|
|
109
|
+
['Kilowatt-hours and kilometres', 'kWh ÷ kilometres × 100', 'kWh/100 km'],
|
|
110
|
+
['Amount and price per unit', 'Amount × price', 'Trip cost'],
|
|
111
|
+
['Consumption and price', 'Consumption × price', 'Cost per 100 km'],
|
|
112
|
+
],
|
|
113
|
+
compareTitle: 'Compare Gasoline, Diesel, and Electric Cost',
|
|
114
|
+
compareText: 'Use the three comparison cards to see the running cost in one view. Enter each vehicle\'s consumption and the price you pay locally. Comparing cost per 100 km is more useful than comparing litres, kWh, or MPG alone because it puts different energy types on the same distance.',
|
|
115
|
+
versusTitle: 'Real Versus Official Consumption',
|
|
116
|
+
tipTitle: 'Use the same vehicle reference',
|
|
117
|
+
tipText: 'Add the official figure shown for your car or motorcycle in the optional section. Real driving can use more or less energy because of traffic, speed, hills, payload, tire pressure, temperature, air conditioning, and driving style.',
|
|
118
|
+
},
|
|
119
|
+
});
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { createLocalizedContent } from './factory';
|
|
2
|
+
|
|
3
|
+
export const content = createLocalizedContent({
|
|
4
|
+
locale: 'es',
|
|
5
|
+
slug: 'calculadora-consumo-real-combustible',
|
|
6
|
+
title: 'Calculadora de consumo real de combustible para coches y motos',
|
|
7
|
+
description: 'Calcula el consumo real de gasolina, diésel o electricidad a partir de la distancia y el repostaje. Compara el coste por 100 km y contrástalo con la cifra oficial.',
|
|
8
|
+
faqTitle: 'Preguntas frecuentes',
|
|
9
|
+
bibliographyTitle: 'Referencias bibliográficas',
|
|
10
|
+
ui: {
|
|
11
|
+
fuelTypeLabel: 'Tipo de energía',
|
|
12
|
+
gasolineLabel: 'Gasolina',
|
|
13
|
+
dieselLabel: 'Diésel',
|
|
14
|
+
electricLabel: 'Eléctrico',
|
|
15
|
+
currencyLabel: 'Moneda',
|
|
16
|
+
currencyRateLabel: '1 EUR =',
|
|
17
|
+
resetLabel: 'Restablecer',
|
|
18
|
+
measurementTitle: 'Tu trayecto medido',
|
|
19
|
+
intakeQuestion: '¿Cuánto ha consumido realmente el viaje?',
|
|
20
|
+
distanceLabel: 'Distancia recorrida',
|
|
21
|
+
distanceHint: 'Kilómetros realizados en la medición',
|
|
22
|
+
distanceUnit: 'km',
|
|
23
|
+
usedLabel: 'Cantidad consumida',
|
|
24
|
+
gasolineUsedLabel: 'Gasolina repostada',
|
|
25
|
+
gasolineUsedHint: 'Litros añadidos en el repostaje',
|
|
26
|
+
dieselUsedLabel: 'Diésel repostado',
|
|
27
|
+
dieselUsedHint: 'Litros añadidos en el repostaje',
|
|
28
|
+
electricUsedLabel: 'Energía cargada',
|
|
29
|
+
electricUsedHint: 'kWh añadidos en la recarga',
|
|
30
|
+
fuelUnit: 'L',
|
|
31
|
+
energyUnit: 'kWh',
|
|
32
|
+
fuelConsumptionUnit: 'L/100 km',
|
|
33
|
+
energyConsumptionUnit: 'kWh/100 km',
|
|
34
|
+
priceLabel: 'Precio',
|
|
35
|
+
priceHint: 'Lo que pagaste por unidad',
|
|
36
|
+
gasolinePriceLabel: 'Precio de gasolina por litro',
|
|
37
|
+
dieselPriceLabel: 'Precio de diésel por litro',
|
|
38
|
+
electricPriceLabel: 'Precio de electricidad por kWh',
|
|
39
|
+
optionalDetails: 'Añadir cifra oficial y vehículos de comparación',
|
|
40
|
+
ratedLabel: 'Consumo oficial',
|
|
41
|
+
gasolineRatedLabel: 'Consumo oficial de gasolina',
|
|
42
|
+
dieselRatedLabel: 'Consumo oficial de diésel',
|
|
43
|
+
electricRatedLabel: 'Consumo oficial eléctrico',
|
|
44
|
+
ratedHint: 'Usa la cifra homologada de tu vehículo',
|
|
45
|
+
readingTitle: 'Tu consumo real',
|
|
46
|
+
comparisonTitle: 'Comparar coste de uso',
|
|
47
|
+
comparisonQuestion: '¿Qué opción cuesta menos por 100 km?',
|
|
48
|
+
comparisonHint: 'Una barra más larga indica un mayor coste de uso.',
|
|
49
|
+
comparisonCostLabel: 'Coste / 100 km',
|
|
50
|
+
comparisonNotSet: 'Añade datos abajo',
|
|
51
|
+
comparisonReady: 'Listo para comparar',
|
|
52
|
+
comparisonCheapest: 'Más económico',
|
|
53
|
+
comparisonMostExpensive: 'Más costoso',
|
|
54
|
+
comparisonPunchline: 'La barra más corta corresponde a la opción más económica de mantener.',
|
|
55
|
+
comparisonSettingsTitle: 'Ratios de conversión',
|
|
56
|
+
comparisonSettingsHint: 'Cada fila está vinculada a tu medición real. Modifica el ratio para modelar otro vehículo, no un consumo desconectado.',
|
|
57
|
+
rememberComparisonsLabel: 'Recordar ratios en este dispositivo',
|
|
58
|
+
resetComparisonsLabel: 'Restablecer ratios',
|
|
59
|
+
compareConsumptionLabel: 'Consumo',
|
|
60
|
+
compareRatioLabel: 'Ratio vs gasolina',
|
|
61
|
+
comparePriceLabel: 'Precio',
|
|
62
|
+
efficiencyLabel: 'Distancia por unidad',
|
|
63
|
+
mpgLabel: 'MPG (EE. UU.)',
|
|
64
|
+
tripCostLabel: 'Coste del viaje',
|
|
65
|
+
costPer100Label: 'Coste por 100 km',
|
|
66
|
+
savedLabel: 'Ahorrado',
|
|
67
|
+
extraLabel: 'Extra',
|
|
68
|
+
gasolineStatusBetter: 'Este trayecto ha consumido menos gasolina que la cifra oficial.',
|
|
69
|
+
gasolineStatusClose: 'Este trayecto está muy cerca del consumo oficial de gasolina.',
|
|
70
|
+
gasolineStatusHigher: 'Este trayecto ha consumido más gasolina que la cifra oficial.',
|
|
71
|
+
dieselStatusBetter: 'Este trayecto ha consumido menos diésel que la cifra oficial.',
|
|
72
|
+
dieselStatusClose: 'Este trayecto está muy cerca del consumo oficial de diésel.',
|
|
73
|
+
dieselStatusHigher: 'Este trayecto ha consumido más diésel que la cifra oficial.',
|
|
74
|
+
electricStatusBetter: 'Esta recarga ha consumido menos energía que la cifra oficial.',
|
|
75
|
+
electricStatusClose: 'Esta recarga está muy cerca del consumo oficial eléctrico.',
|
|
76
|
+
electricStatusHigher: 'Esta recarga ha consumido más energía que la cifra oficial.',
|
|
77
|
+
formulaLabel: 'Fórmula',
|
|
78
|
+
fuelFormula: 'litros ÷ kilómetros × 100',
|
|
79
|
+
electricFormula: 'kWh ÷ kilómetros × 100',
|
|
80
|
+
localNotice: 'Las mediciones se conservan en este navegador.',
|
|
81
|
+
},
|
|
82
|
+
faq: [
|
|
83
|
+
{ question: '¿Cómo se calcula el consumo real de combustible?', answer: 'Divide los litros o kilovatios-hora consumidos entre los kilómetros recorridos y multiplica por 100. Por ejemplo, 45 litros en 600 km equivalen a 7,5 L/100 km.' },
|
|
84
|
+
{ question: '¿Qué precio debo introducir?', answer: 'Introduce el precio real que pagaste por litro de gasolina o diésel, o por kWh de electricidad. Selecciona tu moneda para obtener el coste exacto del trayecto y por cada 100 km.' },
|
|
85
|
+
{ question: '¿Puedo comparar coches de gasolina, diésel y eléctricos?', answer: 'Sí. La herramienta convierte el consumo y el precio local de cada energía para mostrar el coste comparable por cada 100 km recorridos.' },
|
|
86
|
+
{ question: '¿Por qué mi consumo real difiere del homologado u oficial?', answer: 'Las cifras oficiales se obtienen en ensayos de laboratorio (como WLTP). El tráfico, la velocidad, la orografía, la carga, la presión de neumáticos, la temperatura y el uso de aire acondicionado aumentan el consumo real.' },
|
|
87
|
+
],
|
|
88
|
+
howTo: [
|
|
89
|
+
{ name: 'Elige el tipo de energía', text: 'Selecciona Gasolina, Diésel o Eléctrico para adaptar las unidades de medida.' },
|
|
90
|
+
{ name: 'Introduce el trayecto medido', text: 'Indica los kilómetros recorridos y la cantidad de combustible o energía repostada.' },
|
|
91
|
+
{ name: 'Indica el precio real', text: 'Introduce el coste por litro o por kWh y selecciona la divisa que utilizas.' },
|
|
92
|
+
{ name: 'Consulta el resultado', text: 'Obtén el consumo real en L/100 km o kWh/100 km, el coste total del viaje y la comparativa por cada 100 km.' },
|
|
93
|
+
{ name: 'Añade datos de referencia', text: 'Despliega la sección opcional para comparar tu resultado con la cifra homologada o con otros vehículos.' },
|
|
94
|
+
],
|
|
95
|
+
seo: {
|
|
96
|
+
calcTitle: 'Calcula cuánto cuesta realmente mover tu vehículo',
|
|
97
|
+
calcText: 'Esta calculadora responde a la duda práctica tras llenar el depósito: <strong>¿cuánto ha gastado realmente mi vehículo y cuánto ha costado el viaje?</strong> Con solo la distancia, el combustible repostado y el precio, obtienes el consumo medio real, el gasto del viaje y el coste por cada 100 km.',
|
|
98
|
+
stat1Value: '3 datos',
|
|
99
|
+
stat1Label: 'Distancia, cantidad y precio',
|
|
100
|
+
stat2Value: 'L/100 km',
|
|
101
|
+
stat2Label: 'Gasolina y diésel',
|
|
102
|
+
stat3Value: 'kWh/100 km',
|
|
103
|
+
stat3Label: 'Vehículos eléctricos',
|
|
104
|
+
measureTitle: 'Cómo medir el consumo real en un repostaje',
|
|
105
|
+
measureText: 'Llena el depósito o carga la batería, pon a cero el cuentakilómetros parcial y circula con normalidad hasta el siguiente repostaje. Introduce los kilómetros realizados y los litros o kWh cargados. La fórmula aplicada es <strong>cantidad ÷ kilómetros × 100</strong>.',
|
|
106
|
+
tableHeaders: ['Dato conocido', 'Cálculo', 'Resultado'],
|
|
107
|
+
tableRows: [
|
|
108
|
+
['Litros y kilómetros', 'Litros ÷ kilómetros × 100', 'L/100 km'],
|
|
109
|
+
['Kilovatios-hora y kilómetros', 'kWh ÷ kilómetros × 100', 'kWh/100 km'],
|
|
110
|
+
['Cantidad y precio unitario', 'Cantidad × precio', 'Coste del viaje'],
|
|
111
|
+
['Consumo y precio', 'Consumo × precio', 'Coste por 100 km'],
|
|
112
|
+
],
|
|
113
|
+
compareTitle: 'Compara el gasto entre gasolina, diésel y eléctrico',
|
|
114
|
+
compareText: 'Las tarjetas de comparación permiten analizar de un vistazo el coste de uso. Comparar el coste económico por cada 100 km es mucho más preciso que comparar litros con kilovatios-hora, ya que iguala las distintas energías sobre una misma distancia de referencia.',
|
|
115
|
+
versusTitle: 'Consumo real frente a consumo homologado',
|
|
116
|
+
tipTitle: 'Utiliza la referencia oficial de tu modelo',
|
|
117
|
+
tipText: 'Añade la cifra homologada de tu coche o moto en la sección desplegable. La conducción real en carretera suele superar el dato homologado debido al tráfico, las pendientes, la climatología y el estilo de conducción.',
|
|
118
|
+
},
|
|
119
|
+
});
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import type { FAQPage, HowTo, SoftwareApplication, WithContext } from 'schema-dts';
|
|
2
|
+
import type { FAQItem, HowToStep, ToolLocaleContent } from '../../../types';
|
|
3
|
+
import { bibliographyEntries } from '../bibliography';
|
|
4
|
+
import type { FuelLogUI } from '../ui';
|
|
5
|
+
|
|
6
|
+
export interface LocalizedSEO {
|
|
7
|
+
calcTitle: string;
|
|
8
|
+
calcText: string;
|
|
9
|
+
stat1Value: string;
|
|
10
|
+
stat1Label: string;
|
|
11
|
+
stat2Value: string;
|
|
12
|
+
stat2Label: string;
|
|
13
|
+
stat3Value: string;
|
|
14
|
+
stat3Label: string;
|
|
15
|
+
measureTitle: string;
|
|
16
|
+
measureText: string;
|
|
17
|
+
tableHeaders: [string, string, string];
|
|
18
|
+
tableRows: [string, string, string][];
|
|
19
|
+
compareTitle: string;
|
|
20
|
+
compareText: string;
|
|
21
|
+
versusTitle: string;
|
|
22
|
+
tipTitle: string;
|
|
23
|
+
tipText: string;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export interface LocalizedContent {
|
|
27
|
+
locale: string;
|
|
28
|
+
slug: string;
|
|
29
|
+
title: string;
|
|
30
|
+
description: string;
|
|
31
|
+
faqTitle: string;
|
|
32
|
+
bibliographyTitle: string;
|
|
33
|
+
ui: FuelLogUI;
|
|
34
|
+
faq: FAQItem[];
|
|
35
|
+
howTo: HowToStep[];
|
|
36
|
+
seo: LocalizedSEO;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
function createSchemas(data: LocalizedContent): ToolLocaleContent<FuelLogUI>['schemas'] {
|
|
40
|
+
const faqSchema: WithContext<FAQPage> = {
|
|
41
|
+
'@context': 'https://schema.org',
|
|
42
|
+
'@type': 'FAQPage',
|
|
43
|
+
mainEntity: data.faq.map((item) => ({
|
|
44
|
+
'@type': 'Question',
|
|
45
|
+
name: item.question,
|
|
46
|
+
acceptedAnswer: { '@type': 'Answer', text: item.answer },
|
|
47
|
+
})),
|
|
48
|
+
};
|
|
49
|
+
const howToSchema: WithContext<HowTo> = {
|
|
50
|
+
'@context': 'https://schema.org',
|
|
51
|
+
'@type': 'HowTo',
|
|
52
|
+
name: data.title,
|
|
53
|
+
description: data.description,
|
|
54
|
+
step: data.howTo.map((step, index) => ({
|
|
55
|
+
'@type': 'HowToStep',
|
|
56
|
+
position: index + 1,
|
|
57
|
+
name: step.name,
|
|
58
|
+
text: step.text,
|
|
59
|
+
})),
|
|
60
|
+
};
|
|
61
|
+
const appSchema: WithContext<SoftwareApplication> = {
|
|
62
|
+
'@context': 'https://schema.org',
|
|
63
|
+
'@type': 'SoftwareApplication',
|
|
64
|
+
name: data.title,
|
|
65
|
+
description: data.description,
|
|
66
|
+
applicationCategory: 'UtilitiesApplication',
|
|
67
|
+
operatingSystem: 'All',
|
|
68
|
+
offers: { '@type': 'Offer', price: '0', priceCurrency: 'USD' },
|
|
69
|
+
inLanguage: data.locale,
|
|
70
|
+
};
|
|
71
|
+
return [faqSchema, howToSchema, appSchema];
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function createLocalizedContent(
|
|
75
|
+
data: LocalizedContent,
|
|
76
|
+
): ToolLocaleContent<FuelLogUI> {
|
|
77
|
+
const seo = data.seo;
|
|
78
|
+
return {
|
|
79
|
+
slug: data.slug,
|
|
80
|
+
title: data.title,
|
|
81
|
+
description: data.description,
|
|
82
|
+
faqTitle: data.faqTitle,
|
|
83
|
+
bibliographyTitle: data.bibliographyTitle,
|
|
84
|
+
ui: data.ui,
|
|
85
|
+
faq: data.faq,
|
|
86
|
+
howTo: data.howTo,
|
|
87
|
+
schemas: createSchemas(data),
|
|
88
|
+
bibliography: bibliographyEntries,
|
|
89
|
+
seo: [
|
|
90
|
+
{ type: 'title', text: seo.calcTitle, level: 2 },
|
|
91
|
+
{ type: 'paragraph', html: seo.calcText },
|
|
92
|
+
{
|
|
93
|
+
type: 'stats',
|
|
94
|
+
columns: 3,
|
|
95
|
+
items: [
|
|
96
|
+
{ value: seo.stat1Value, label: seo.stat1Label },
|
|
97
|
+
{ value: seo.stat2Value, label: seo.stat2Label },
|
|
98
|
+
{ value: seo.stat3Value, label: seo.stat3Label },
|
|
99
|
+
],
|
|
100
|
+
},
|
|
101
|
+
{ type: 'title', text: seo.measureTitle, level: 2 },
|
|
102
|
+
{ type: 'paragraph', html: seo.measureText },
|
|
103
|
+
{ type: 'table', headers: seo.tableHeaders, rows: seo.tableRows },
|
|
104
|
+
{ type: 'title', text: seo.compareTitle, level: 2 },
|
|
105
|
+
{ type: 'paragraph', html: seo.compareText },
|
|
106
|
+
{ type: 'title', text: seo.versusTitle, level: 2 },
|
|
107
|
+
{ type: 'tip', title: seo.tipTitle, html: seo.tipText },
|
|
108
|
+
],
|
|
109
|
+
};
|
|
110
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { createLocalizedContent } from './factory';
|
|
2
|
+
|
|
3
|
+
export const content = createLocalizedContent({
|
|
4
|
+
locale: 'fr',
|
|
5
|
+
slug: 'calculateur-consommation-reelle-carburant',
|
|
6
|
+
title: 'Calculateur de consommation réelle de carburant pour voitures et motos',
|
|
7
|
+
description: 'Calculez la consommation réelle d\'essence, de diesel ou d\'électricité à partir de la distance et du plein. Comparez le coût au 100 km et confrontez-le aux chiffres officiels.',
|
|
8
|
+
faqTitle: 'Foire aux questions',
|
|
9
|
+
bibliographyTitle: 'Références bibliographiques',
|
|
10
|
+
ui: {
|
|
11
|
+
fuelTypeLabel: 'Type d\'énergie',
|
|
12
|
+
gasolineLabel: 'Essence',
|
|
13
|
+
dieselLabel: 'Diesel',
|
|
14
|
+
electricLabel: 'Électrique',
|
|
15
|
+
currencyLabel: 'Devise',
|
|
16
|
+
currencyRateLabel: '1 EUR =',
|
|
17
|
+
resetLabel: 'Réinitialiser',
|
|
18
|
+
measurementTitle: 'Votre trajet mesuré',
|
|
19
|
+
intakeQuestion: 'Quelle a été la consommation réelle du trajet ?',
|
|
20
|
+
distanceLabel: 'Distance parcourue',
|
|
21
|
+
distanceHint: 'Kilomètres réalisés lors de la mesure',
|
|
22
|
+
distanceUnit: 'km',
|
|
23
|
+
usedLabel: 'Quantité consommée',
|
|
24
|
+
gasolineUsedLabel: 'Essence ajoutée',
|
|
25
|
+
gasolineUsedHint: 'Litres ajoutés lors du plein',
|
|
26
|
+
dieselUsedLabel: 'Diesel ajouté',
|
|
27
|
+
dieselUsedHint: 'Litres ajoutés lors du plein',
|
|
28
|
+
electricUsedLabel: 'Énergie rechargée',
|
|
29
|
+
electricUsedHint: 'kWh ajoutés à la borne',
|
|
30
|
+
fuelUnit: 'L',
|
|
31
|
+
energyUnit: 'kWh',
|
|
32
|
+
fuelConsumptionUnit: 'L/100 km',
|
|
33
|
+
energyConsumptionUnit: 'kWh/100 km',
|
|
34
|
+
priceLabel: 'Prix',
|
|
35
|
+
priceHint: 'Prix réellement payé par unité',
|
|
36
|
+
gasolinePriceLabel: 'Prix de l\'essence au litre',
|
|
37
|
+
dieselPriceLabel: 'Prix du diesel au litre',
|
|
38
|
+
electricPriceLabel: 'Prix de l\'électricité au kWh',
|
|
39
|
+
optionalDetails: 'Ajouter les données officielles et véhicules de comparaison',
|
|
40
|
+
ratedLabel: 'Consommation officielle',
|
|
41
|
+
gasolineRatedLabel: 'Consommation officielle d\'essence',
|
|
42
|
+
dieselRatedLabel: 'Consommation officielle de diesel',
|
|
43
|
+
electricRatedLabel: 'Consommation officielle électrique',
|
|
44
|
+
ratedHint: 'Utilisez le chiffre d\'homologation de votre véhicule',
|
|
45
|
+
readingTitle: 'Votre consommation réelle',
|
|
46
|
+
comparisonTitle: 'Comparer le coût d\'usage',
|
|
47
|
+
comparisonQuestion: 'Quelle option coûte le moins cher au 100 km ?',
|
|
48
|
+
comparisonHint: 'Une barre plus longue indique un coût d\'usage plus élevé.',
|
|
49
|
+
comparisonCostLabel: 'Coût / 100 km',
|
|
50
|
+
comparisonNotSet: 'Ajouter des données ci-dessous',
|
|
51
|
+
comparisonReady: 'Prêt à comparer',
|
|
52
|
+
comparisonCheapest: 'Plus économique',
|
|
53
|
+
comparisonMostExpensive: 'Plus coûteux',
|
|
54
|
+
comparisonPunchline: 'La barre la plus courte correspond à l\'option la moins chère à l\'usage.',
|
|
55
|
+
comparisonSettingsTitle: 'Ratios de conversion',
|
|
56
|
+
comparisonSettingsHint: 'Chaque ligne est liée à votre mesure réelle. Modifiez un ratio pour modéliser un autre véhicule, non une consommation isolée.',
|
|
57
|
+
rememberComparisonsLabel: 'Mémoriser les ratios sur cet appareil',
|
|
58
|
+
resetComparisonsLabel: 'Réinitialiser les ratios',
|
|
59
|
+
compareConsumptionLabel: 'Consommation',
|
|
60
|
+
compareRatioLabel: 'Ratio vs essence',
|
|
61
|
+
comparePriceLabel: 'Prix',
|
|
62
|
+
efficiencyLabel: 'Distance par unité',
|
|
63
|
+
mpgLabel: 'MPG (É.-U.)',
|
|
64
|
+
tripCostLabel: 'Coût du trajet',
|
|
65
|
+
costPer100Label: 'Coût au 100 km',
|
|
66
|
+
savedLabel: 'Économisé',
|
|
67
|
+
extraLabel: 'En sus',
|
|
68
|
+
gasolineStatusBetter: 'Ce trajet a consommé moins d\'essence que le chiffre officiel.',
|
|
69
|
+
gasolineStatusClose: 'Ce trajet est très proche de la consommation officielle d\'essence.',
|
|
70
|
+
gasolineStatusHigher: 'Ce trajet a consommé plus d\'essence que le chiffre officiel.',
|
|
71
|
+
dieselStatusBetter: 'Ce trajet a consommé moins de diesel que le chiffre officiel.',
|
|
72
|
+
dieselStatusClose: 'Ce trajet est très proche de la consommation officielle de diesel.',
|
|
73
|
+
dieselStatusHigher: 'Ce trajet a consommé plus de diesel que le chiffre officiel.',
|
|
74
|
+
electricStatusBetter: 'Cette recharge a consommé moins d\'énergie que le chiffre officiel.',
|
|
75
|
+
electricStatusClose: 'Cette recharge est très proche de la consommation officielle électrique.',
|
|
76
|
+
electricStatusHigher: 'Cette recharge a consommé plus d\'énergie que le chiffre officiel.',
|
|
77
|
+
formulaLabel: 'Formule',
|
|
78
|
+
fuelFormula: 'litres ÷ kilomètres × 100',
|
|
79
|
+
electricFormula: 'kWh ÷ kilomètres × 100',
|
|
80
|
+
localNotice: 'Les mesures restent conservées dans ce navigateur.',
|
|
81
|
+
},
|
|
82
|
+
faq: [
|
|
83
|
+
{ question: 'Comment calculer la consommation réelle de carburant ?', answer: 'Divisez les litres ou kilowatts-heures consommés par la distance en kilomètres et multipliez par 100. Par exemple, 45 litres pour 600 km équivalent à 7,5 L/100 km.' },
|
|
84
|
+
{ question: 'Quel prix dois-je indiquer ?', answer: 'Indiquez le prix réel payé par litre d\'essence ou de diesel, ou par kWh d\'électricité. Sélectionnez votre devise pour obtenir le coût exact du trajet et au 100 km.' },
|
|
85
|
+
{ question: 'Puis-je comparer essence, diesel et voiture électrique ?', answer: 'Oui. Le calculateur convertit la consommation et le prix local pour afficher le coût d\'usage comparable aux 100 km.' },
|
|
86
|
+
{ question: 'Pourquoi la consommation réelle diffère-t-elle du chiffre homologué ?', answer: 'Les chiffres officiels sont établis lors d\'essais en laboratoire (WLTP). La circulation, la vitesse, le relief, la charge, la pression des pneus et la climatisation augmentent la consommation réelle.' },
|
|
87
|
+
],
|
|
88
|
+
howTo: [
|
|
89
|
+
{ name: 'Choisir le type d\'énergie', text: 'Sélectionnez Essence, Diesel ou Électrique pour adapter les unités de mesure.' },
|
|
90
|
+
{ name: 'Saisir le trajet mesuré', text: 'Indiquez les kilomètres parcourus et la quantité de carburant ou d\'énergie ajoutée.' },
|
|
91
|
+
{ name: 'Indiquer le prix réel', text: 'Saisissez le coût au litre ou au kWh et choisissez la devise utilisée.' },
|
|
92
|
+
{ name: 'Consulter le résultat', text: 'Obtenez la consommation réelle en L/100 km ou kWh/100 km, le coût du trajet et la comparaison aux 100 km.' },
|
|
93
|
+
{ name: 'Ajouter les repères officiels', text: 'Ouvrez la section optionnelle pour comparer avec la donnée d\'homologation ou d\'autres véhicules.' },
|
|
94
|
+
],
|
|
95
|
+
seo: {
|
|
96
|
+
calcTitle: 'Calculez le coût réel d\'utilisation de votre véhicule',
|
|
97
|
+
calcText: 'Ce calculateur répond à la question pratique après le plein: <strong>combien mon véhicule a-t-il vraiment consommé et quel est le coût du trajet ?</strong> Avec la distance, l\'énergie ajoutée et le prix, vous obtenez la consommation moyenne réelle, le coût du trajet et le coût aux 100 km.',
|
|
98
|
+
stat1Value: '3 données',
|
|
99
|
+
stat1Label: 'Distance, quantité et prix',
|
|
100
|
+
stat2Value: 'L/100 km',
|
|
101
|
+
stat2Label: 'Essence et diesel',
|
|
102
|
+
stat3Value: 'kWh/100 km',
|
|
103
|
+
stat3Label: 'Véhicules électriques',
|
|
104
|
+
measureTitle: 'Comment mesurer la consommation réelle lors d\'un plein',
|
|
105
|
+
measureText: 'Faites le plein ou chargez la batterie au maximum, remettez le compteur journalier à zéro et roulez jusqu\'au prochain plein. Saisissez la distance et les litres ou kWh ajoutés. La formule appliquée est <strong>quantité ÷ kilomètres × 100</strong>.',
|
|
106
|
+
tableHeaders: ['Donnée connue', 'Calcul', 'Résultat'],
|
|
107
|
+
tableRows: [
|
|
108
|
+
['Litres et kilomètres', 'Litres ÷ kilomètres × 100', 'L/100 km'],
|
|
109
|
+
['Kilowatts-heures et kilomètres', 'kWh ÷ kilomètres × 100', 'kWh/100 km'],
|
|
110
|
+
['Quantité et prix unitaire', 'Quantité × prix', 'Coût du trajet'],
|
|
111
|
+
['Consommation et prix', 'Consommation × prix', 'Coût au 100 km'],
|
|
112
|
+
],
|
|
113
|
+
compareTitle: 'Comparez le coût entre essence, diesel et électrique',
|
|
114
|
+
compareText: 'Les cartes de comparaison permettent d\'analyser le coût d\'utilisation en un coup d\'œil. Comparer le coût financier aux 100 km est bien plus pertinent que comparer des litres et des kilowatts-heures, car cela ramène des énergies différentes à la même distance.',
|
|
115
|
+
versusTitle: 'Consommation réelle vs consommation homologuée',
|
|
116
|
+
tipTitle: 'Utilisez la référence officielle de votre modèle',
|
|
117
|
+
tipText: 'Ajoutez la valeur d\'homologation de votre voiture ou moto dans la section dépliante. La conduite réelle sur route dépasse généralement cette valeur en raison du trafic, du relief et des conditions météo.',
|
|
118
|
+
},
|
|
119
|
+
});
|