summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-12-08 18:56:39 +0000
committerDarkvater <darkvater@openttd.org>2006-12-08 18:56:39 +0000
commit88f8d5d84d7e8641788494f549eee0a37418a734 (patch)
tree6179a136a591baf5ba2410ceb3992c632b9f6513
parent659125832cff43a104c7f8afaa8be1600fce30e6 (diff)
downloadopenttd-88f8d5d84d7e8641788494f549eee0a37418a734.tar.xz
(svn r7435) -Fix (r7418): Add proper tooltips to the manage list button instead of the sort tip
-rw-r--r--lang/english.txt1
-rw-r--r--vehicle_gui.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/lang/english.txt b/lang/english.txt
index 4e874129c..11512303e 100644
--- a/lang/english.txt
+++ b/lang/english.txt
@@ -395,6 +395,7 @@ STR_SELECT_ALL_FACILITIES :{BLACK}Select a
STR_SELECT_ALL_TYPES :{BLACK}Select all cargo types (including no waiting cargo)
STR_AVAILABLE_ENGINES_TIP :{BLACK}See a list of available engine designs for this vehicle type.
STR_MANAGE_LIST :{BLACK}Manage list
+STR_MANAGE_LIST_TIP :{BLACK}Send instructions to all vehicles in this list
STR_REPLACE_VEHICLES :Replace vehicles
STR_SEND_TRAIN_TO_DEPOT :Send to Depot
STR_SEND_ROAD_VEHICLE_TO_DEPOT :Send to Depot
diff --git a/vehicle_gui.c b/vehicle_gui.c
index c10712979..560262ece 100644
--- a/vehicle_gui.c
+++ b/vehicle_gui.c
@@ -1423,8 +1423,8 @@ static const Widget _vehicle_list_widgets[] = {
{ WWT_PANEL, RESIZE_RTB, 14, 0, 247, 170, 181, 0x0, STR_NULL},
{ WWT_PUSHTXTBTN, RESIZE_TB, 14, 0, 105, 170, 181, 0x0, STR_AVAILABLE_ENGINES_TIP},
- { WWT_TEXTBTN, RESIZE_TB, 14, 106, 211, 170, 181, STR_MANAGE_LIST, STR_SORT_CRITERIA_TIP},
- { WWT_TEXTBTN, RESIZE_TB, 14, 212, 223, 170, 181, STR_0225, STR_SORT_CRITERIA_TIP},
+ { WWT_TEXTBTN, RESIZE_TB, 14, 106, 211, 170, 181, STR_MANAGE_LIST, STR_MANAGE_LIST_TIP},
+ { WWT_TEXTBTN, RESIZE_TB, 14, 212, 223, 170, 181, STR_0225, STR_MANAGE_LIST_TIP},
{ WWT_PUSHIMGBTN, RESIZE_TB, 14, 224, 235, 170, 181, SPR_FLAG_VEH_STOPPED, STR_MASS_STOP_LIST_TIP},
{ WWT_PUSHIMGBTN, RESIZE_TB, 14, 236, 247, 170, 181, SPR_FLAG_VEH_RUNNING, STR_MASS_START_LIST_TIP},