Add differentiator for Fuels vs Fuel
This commit is contained in:
parent
b2e3a74dbe
commit
0b5637ca38
2 changed files with 5 additions and 1 deletions
|
@ -181,6 +181,10 @@ const localization = new Map([
|
||||||
["en-GB", "Fuels"],
|
["en-GB", "Fuels"],
|
||||||
["de-DE", "Treibstoffe"],
|
["de-DE", "Treibstoffe"],
|
||||||
])],
|
])],
|
||||||
|
["fuel", new Map([
|
||||||
|
["en-GB", "Fuel"],
|
||||||
|
["de-DE", "Treibstoff"],
|
||||||
|
])],
|
||||||
["electric", new Map([
|
["electric", new Map([
|
||||||
["en-GB", "Electricity"],
|
["en-GB", "Electricity"],
|
||||||
["de-DE", "Elektrizität"],
|
["de-DE", "Elektrizität"],
|
||||||
|
|
|
@ -195,7 +195,7 @@
|
||||||
<Separator />
|
<Separator />
|
||||||
<WeightOutputSegment {i18n} maxWeight={maxWeight} maxVehicleWeight="{maxVehicleWeight}" />
|
<WeightOutputSegment {i18n} maxWeight={maxWeight} maxVehicleWeight="{maxVehicleWeight}" />
|
||||||
<Separator />
|
<Separator />
|
||||||
<p>{i18n.localize("fuels")}:
|
<p>{i18n.localize(ship.getFuelTypes().length > 1 ? "fuels" : "fuel")}:
|
||||||
{ship.getFuelTypes().map((fuel) => i18n.localize(fuel.name)).join(", ") }
|
{ship.getFuelTypes().map((fuel) => i18n.localize(fuel.name)).join(", ") }
|
||||||
</p>
|
</p>
|
||||||
</Card.Content>
|
</Card.Content>
|
||||||
|
|
Loading…
Reference in a new issue