diff --git a/src/departures_gui.cpp b/src/departures_gui.cpp index 4172eada4c..2e74b38a62 100644 --- a/src/departures_gui.cpp +++ b/src/departures_gui.cpp @@ -307,8 +307,8 @@ public: case WID_DB_SHOW_SHIPS: case WID_DB_SHOW_PLANES: { uint64 params[1]; - params[0] = STR_STATION_VIEW_SCHEDULED_TRAINS_TOOLTIP + (widget - WID_DB_SHOW_TRAINS); - GuiShowTooltips(this, STR_STATION_VIEW_SCHEDULED_TOOLTIP_CTRL_SUFFIX, 1, params, close_cond); + params[0] = STR_DEPARTURES_SHOW_TRAINS_TOOLTIP + (widget - WID_DB_SHOW_TRAINS); + GuiShowTooltips(this, STR_DEPARTURES_SHOW_TYPE_TOOLTIP_CTRL_SUFFIX, 1, params, close_cond); return true; } default: diff --git a/src/lang/english.txt b/src/lang/english.txt index 9ef0918d65..9562f22086 100644 --- a/src/lang/english.txt +++ b/src/lang/english.txt @@ -4662,7 +4662,6 @@ STR_STATION_VIEW_SCHEDULED_TRAINS_TOOLTIP :{BLACK}Show all STR_STATION_VIEW_SCHEDULED_ROAD_VEHICLES_TOOLTIP :{BLACK}Show all road vehicles which have this station on their schedule STR_STATION_VIEW_SCHEDULED_AIRCRAFT_TOOLTIP :{BLACK}Show all aircraft which have this station on their schedule STR_STATION_VIEW_SCHEDULED_SHIPS_TOOLTIP :{BLACK}Show all ships which have this station on their schedule -STR_STATION_VIEW_SCHEDULED_TOOLTIP_CTRL_SUFFIX :{BLACK}{STRING}. Ctrl+Click to show exclusively. STR_STATION_VIEW_RENAME_STATION_CAPTION :Rename station/loading area STR_STATION_VIEW_CLOSE_AIRPORT :{BLACK}Close airport @@ -4681,6 +4680,11 @@ STR_DEPARTURES_FREIGHT_TOOLTIP :{BLACK}Show fre STR_DEPARTURES_DEPARTURES_TOOLTIP :{BLACK}Show timetabled departures STR_DEPARTURES_ARRIVALS_TOOLTIP :{BLACK}Show timetabled arrivals STR_DEPARTURES_VIA_TOOLTIP :{BLACK}Show timetabled vehicles that do not stop here +STR_DEPARTURES_SHOW_TRAINS_TOOLTIP :{BLACK}Show upcoming trains on this station's timetable +STR_DEPARTURES_SHOW_ROAD_VEHICLES_TOOLTIP :{BLACK}Show upcoming road vehicles on this station's timetable +STR_DEPARTURES_SHOW_SHIPS_TOOLTIP :{BLACK}Show upcoming ships on this station's timetable +STR_DEPARTURES_SHOW_AIRCRAFT_TOOLTIP :{BLACK}Show upcoming aircraft on this station's timetable +STR_DEPARTURES_SHOW_TYPE_TOOLTIP_CTRL_SUFFIX :{BLACK}{STRING}. Ctrl+Click to show exclusively. STR_DEPARTURES_EMPTY :{ORANGE}No vehicles are currently timetabled for this station. STR_DEPARTURES_NONE_SELECTED :{ORANGE}No timetable information has been requested. STR_DEPARTURES_TIME :{ORANGE}{DATE_WALLCLOCK_TINY}