add interaction menu tooltip and description for disengaging a cable car

master
Maikel de Vries 2018-01-25 19:09:44 +01:00
parent 2a344b4543
commit e603bce240
3 changed files with 8 additions and 1 deletions

View File

@ -217,7 +217,8 @@ public func OnCableCarHover(symbol, extra_data, desc_menu_target, menu_id)
text = Format("$DescEngage$", GetName(), symbol->GetName());
if (extra_data == "Go")
text = "$DescGo$";
if (extra_data == "Disengage")
text = Format("$DescDisengage$", GetName(), symbol->GetName());
GuiUpdate({ Text = text }, menu_id, 1, desc_menu_target);
}

View File

@ -6,4 +6,7 @@ DescEngage=%s bei %s auf das Seil aufsetzen.
TooltipGo=Wähle ein Ziel für das Fahrzeug.
DescGo=Öffnet das Zielwahl-Menü für dieses Fahrzeug. Das Fahrzeug fährt los, sobald ein Ziel ausgewählt wurde.
TooltipDisengage=Das Fahrzeug vom Seil abnehmen.
DescDisengage=%s bei %s vom Seil abnehmen.
NoStation=Schiebe das Fahrzeug vor eine Station, um es auf ein Seil zu setzen.

View File

@ -6,4 +6,7 @@ DescEngage=Put %s on the rail at %s.
TooltipGo=Select a destination for the car.
DescGo=Opens the destination selection menu for this cable car. When you select a destination, the car will start going there.
TooltipDisengage=Remove the car from the rail
DescDisengage=Remove %s from the rail at %s.
NoStation=Push the cable car in front of a station to set it up.