Clarify Wording about liftable weight
This commit is contained in:
parent
3045d9c4f8
commit
cebb36a76f
2 changed files with 5 additions and 5 deletions
|
@ -127,9 +127,9 @@ export const localization = new Map([
|
||||||
["en-GB", "Liftable Weight"],
|
["en-GB", "Liftable Weight"],
|
||||||
["de-DE", "Liftkapazität"]
|
["de-DE", "Liftkapazität"]
|
||||||
])],
|
])],
|
||||||
["liftableCargoWeight", new Map([
|
["liftableVehcileWeight", new Map([
|
||||||
["en-GB", "Liftable Cargo Weight"],
|
["en-GB", "Liftable Vehicle Weight"],
|
||||||
["de-DE", "Fracht Liftkapazität"]
|
["de-DE", "Liftbares Fahrzeuggewicht"]
|
||||||
])],
|
])],
|
||||||
["thrust", new Map([
|
["thrust", new Map([
|
||||||
["en-GB", "Thrust"],
|
["en-GB", "Thrust"],
|
||||||
|
|
|
@ -88,7 +88,7 @@
|
||||||
|
|
||||||
let maxWeight = $derived(totalThrust / (gravity * 9.81))
|
let maxWeight = $derived(totalThrust / (gravity * 9.81))
|
||||||
|
|
||||||
let maxCargoWeight = $derived(maxWeight - totalVolume * weightPerVolume)
|
let maxVehicleWeight = $derived(maxWeight - totalVolume * weightPerVolume)
|
||||||
|
|
||||||
function weightConversion(weight: number): string {
|
function weightConversion(weight: number): string {
|
||||||
if (weight > 1000) {
|
if (weight > 1000) {
|
||||||
|
@ -215,7 +215,7 @@
|
||||||
{/each}
|
{/each}
|
||||||
</div>
|
</div>
|
||||||
<Separator />
|
<Separator />
|
||||||
<p>{localized("liftableCargoWeight")}: {weightConversion(maxCargoWeight)}</p>
|
<p>{localized("liftableVehcileWeight")}: {weightConversion(maxVehicleWeight)}</p>
|
||||||
<p>{localized("liftableWeight")}: {weightConversion(maxWeight)}</p>
|
<p>{localized("liftableWeight")}: {weightConversion(maxWeight)}</p>
|
||||||
</Card.Content>
|
</Card.Content>
|
||||||
</Card.Root>
|
</Card.Root>
|
||||||
|
|
Loading…
Reference in a new issue