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
David Dormagen 2015-12-11 20:41:46 +01:00
parent fcba917a04
commit 8d9d3a1ef9
3 changed files with 8 additions and 3 deletions

View File

@ -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});

View File

@ -1,5 +1,4 @@
Production=Produktion
QueueRemove=Eins weniger produzieren.
infinite=immer
InfiniteProduction=Endlosproduktion
Click=Klick

View File

@ -1,5 +1,4 @@
Production=Production
QueueRemove=Produce one less.
infinite=always
InfiniteProduction=Infinite production
Click=Click