forked from Mirrors/openclonk
producer: use infinity symbol instead of text "always"
After some testing, the text turned out to be the worse solution. At least Sven complained that the text was split into two lines on his resolution from 1997.shapetextures
parent
fcba917a04
commit
8d9d3a1ef9
|
@ -91,7 +91,14 @@ public func GetProductionMenuEntries(object clonk)
|
|||
if (info) // Currently in queue?
|
||||
{
|
||||
if (info.Infinite)
|
||||
entry.image.Text = "$infinite$";
|
||||
{
|
||||
entry.image.infinity =
|
||||
{
|
||||
Top = "1em", Left = "1em",
|
||||
Symbol = Icon_Number,
|
||||
GraphicsName = "Inf",
|
||||
};
|
||||
}
|
||||
else // normal amount
|
||||
entry.image.Text = Format("%dx", info.Amount);
|
||||
entry.remove.OnClick = GuiAction_Call(this, "ModifyProduction", {Product = product, Amount = -1});
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
Production=Produktion
|
||||
QueueRemove=Eins weniger produzieren.
|
||||
infinite=immer
|
||||
InfiniteProduction=Endlosproduktion
|
||||
Click=Klick
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
Production=Production
|
||||
QueueRemove=Produce one less.
|
||||
infinite=always
|
||||
InfiniteProduction=Infinite production
|
||||
Click=Click
|
||||
|
|
Loading…
Reference in New Issue