Improve translation of power/silo usage tooltip
- Fix an instance where "silo-usage" translation was used without arguments - Use the same translation reference for the "Power usage" - Make the ResourceBarWidget accept a cached transform with the tooltip text so it won't have to build the string itself - Display an infinity symbol when the infinite power cheat is used - Removes a magic number that is no longer used (>1000000 to check for unlimited power)
This commit is contained in:
committed by
Matthias Mailänder
parent
ba763ac0f0
commit
e7dcbb3c2d
@@ -202,11 +202,12 @@ exit-map-editor-confirm = Exit
|
||||
|
||||
## IngamePowerBarLogic
|
||||
## IngamePowerCounterLogic
|
||||
power-usage = Power Usage
|
||||
power-usage = Power Usage: { $usage }/{ $capacity }
|
||||
infinite-power = Infinite
|
||||
|
||||
## IngameSiloBarLogic
|
||||
## IngameCashCounterLogic
|
||||
silo-usage = Silo Usage: { $resources }/{ $capacity }
|
||||
silo-usage = Silo Usage: { $usage }/{ $capacity }
|
||||
|
||||
## ObserverShroudSelectorLogic
|
||||
camera-option-all-players = All Players
|
||||
|
||||
Reference in New Issue
Block a user