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"],
|
||||
["de-DE", "Treibstoffe"],
|
||||
])],
|
||||
["fuel", new Map([
|
||||
["en-GB", "Fuel"],
|
||||
["de-DE", "Treibstoff"],
|
||||
])],
|
||||
["electric", new Map([
|
||||
["en-GB", "Electricity"],
|
||||
["de-DE", "Elektrizität"],
|
||||
|
|
|
@ -195,7 +195,7 @@
|
|||
<Separator />
|
||||
<WeightOutputSegment {i18n} maxWeight={maxWeight} maxVehicleWeight="{maxVehicleWeight}" />
|
||||
<Separator />
|
||||
<p>{i18n.localize("fuels")}:
|
||||
<p>{i18n.localize(ship.getFuelTypes().length > 1 ? "fuels" : "fuel")}:
|
||||
{ship.getFuelTypes().map((fuel) => i18n.localize(fuel.name)).join(", ") }
|
||||
</p>
|
||||
</Card.Content>
|
||||
|
|
Loading…
Reference in a new issue