summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-08-01 23:08:11 +0000
committerrubidium <rubidium@openttd.org>2008-08-01 23:08:11 +0000
commitd67ef3573c4d126ff660c1141d3d12fff5001c84 (patch)
tree4a6e3f628564d60428188f203538c77e5247c923
parent862ba192791c732a24652c3fcc68a539da435690 (diff)
downloadopenttd-d67ef3573c4d126ff660c1141d3d12fff5001c84.tar.xz
(svn r13917) -Fix [FS#2178]: wrong tooltip for the industry directory's list.
-rw-r--r--src/industry_gui.cpp2
-rw-r--r--src/lang/english.txt3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp
index 44f0093e9..1dacf0043 100644
--- a/src/industry_gui.cpp
+++ b/src/industry_gui.cpp
@@ -711,7 +711,7 @@ static const Widget _industry_directory_widgets[] = {
{ WWT_DROPDOWN, RESIZE_NONE, COLOUR_BROWN, 81, 243, 14, 25, 0x0, STR_SORT_CRITERIA_TIP}, // IDW_DROPDOWN_CRITERIA
{ WWT_PANEL, RESIZE_RIGHT, COLOUR_BROWN, 244, 415, 14, 25, 0x0, STR_NULL}, // IDW_SPACER
-{ WWT_PANEL, RESIZE_RB, COLOUR_BROWN, 0, 415, 26, 189, 0x0, STR_200A_TOWN_NAMES_CLICK_ON_NAME}, // IDW_INDUSRTY_LIST
+{ WWT_PANEL, RESIZE_RB, COLOUR_BROWN, 0, 415, 26, 189, 0x0, STR_INDUSTRYDIR_LIST_CAPTION}, // IDW_INDUSRTY_LIST
{ WWT_SCROLLBAR, RESIZE_LRB, COLOUR_BROWN, 416, 427, 14, 177, 0x0, STR_0190_SCROLL_BAR_SCROLLS_LIST}, // IDW_SCROLLBAR
{ WWT_RESIZEBOX, RESIZE_LRTB, COLOUR_BROWN, 416, 427, 178, 189, 0x0, STR_RESIZE_BUTTON}, // IDW_RESIZE
{ WIDGETS_END},
diff --git a/src/lang/english.txt b/src/lang/english.txt
index aa26e4c57..0f7a97327 100644
--- a/src/lang/english.txt
+++ b/src/lang/english.txt
@@ -1341,6 +1341,7 @@ STR_INDUSTRYDIR_CAPTION :{WHITE}Industri
STR_INDUSTRYDIR_ITEM :{ORANGE}{INDUSTRY}{BLACK} ({CARGO}{STRING}){YELLOW} ({COMMA}% transported)
STR_INDUSTRYDIR_ITEM_TWO :{ORANGE}{INDUSTRY}{BLACK} ({CARGO}{STRING}/{CARGO}{STRING}){YELLOW} ({COMMA}%/{COMMA}% transported)
STR_INDUSTRYDIR_ITEM_NOPROD :{ORANGE}{INDUSTRY}
+STR_INDUSTRYDIR_LIST_CAPTION :{BLACK}Industry names - click on name to centre view on industry
STR_INDUSTRY_TOO_CLOSE :{WHITE}...too close to another industry
@@ -1926,7 +1927,7 @@ STR_3053_CENTER_MAIN_VIEW_ON_STATION :{BLACK}Centre m
STR_3054_SHOW_STATION_RATINGS :{BLACK}Show station ratings
STR_3055_CHANGE_NAME_OF_STATION :{BLACK}Change name of station
STR_3056_SHOW_LIST_OF_ACCEPTED_CARGO :{BLACK}Show list of accepted cargo
-STR_3057_STATION_NAMES_CLICK_ON :{BLACK}Station names - click on name to centre main view on station
+STR_3057_STATION_NAMES_CLICK_ON :{BLACK}Station names - click on name to centre view on station
STR_3058_SELECT_SIZE_TYPE_OF_AIRPORT :{BLACK}Select size/type of airport
STR_305C_0 :{STATION} {STATIONFEATURES}
STR_STATION_SIGN_TINY :{TINYFONT}{STATION}