summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2009-04-03 20:41:20 +0000
committeralberth <alberth@openttd.org>2009-04-03 20:41:20 +0000
commitccd2468eb2119bdc915f9a0a559374a299a7ca7f (patch)
treee0a6b59ca8413d35a88b96083362a9775e384fad
parent5b9a3e65fc11354fe3f342f7ca863caac6d3dad8 (diff)
downloadopenttd-ccd2468eb2119bdc915f9a0a559374a299a7ca7f.tar.xz
(svn r15943) -Fix: Tooltip of detailed ratings window button showed wrong tip
-rw-r--r--src/graph_gui.cpp2
-rw-r--r--src/lang/english.txt1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/graph_gui.cpp b/src/graph_gui.cpp
index e0e90b56d..da7ad9c43 100644
--- a/src/graph_gui.cpp
+++ b/src/graph_gui.cpp
@@ -554,7 +554,7 @@ static const Widget _performance_history_widgets[] = {
{ WWT_CLOSEBOX, RESIZE_NONE, COLOUR_GREY, 0, 10, 0, 13, STR_00C5, STR_018B_CLOSE_WINDOW},
{ WWT_CAPTION, RESIZE_NONE, COLOUR_GREY, 11, 475, 0, 13, STR_7051_COMPANY_PERFORMANCE_RATINGS, STR_018C_WINDOW_TITLE_DRAG_THIS},
{ WWT_PUSHTXTBTN, RESIZE_NONE, COLOUR_GREY, 526, 575, 0, 13, STR_704C_KEY, STR_704D_SHOW_KEY_TO_GRAPHS},
-{ WWT_PUSHTXTBTN, RESIZE_NONE, COLOUR_GREY, 476, 525, 0, 13, STR_PERFORMANCE_DETAIL_KEY, STR_704D_SHOW_KEY_TO_GRAPHS},
+{ WWT_PUSHTXTBTN, RESIZE_NONE, COLOUR_GREY, 476, 525, 0, 13, STR_PERFORMANCE_DETAIL_KEY, STR_SHOW_DETAILED_PERFORMANCE_RATINGS},
{ WWT_PANEL, RESIZE_NONE, COLOUR_GREY, 0, 575, 14, 237, 0x0, STR_NULL},
{ WIDGETS_END},
};
diff --git a/src/lang/english.txt b/src/lang/english.txt
index eecf4a5aa..d99ad1170 100644
--- a/src/lang/english.txt
+++ b/src/lang/english.txt
@@ -2239,6 +2239,7 @@ STR_704A_SELECT_FEMALE_FACES :{BLACK}Select f
STR_704B_GENERATE_RANDOM_NEW_FACE :{BLACK}Generate random new face
STR_704C_KEY :{BLACK}Key
STR_704D_SHOW_KEY_TO_GRAPHS :{BLACK}Show key to graphs
+STR_SHOW_DETAILED_PERFORMANCE_RATINGS :{BLACK}Show detailed performance ratings
STR_704E_KEY_TO_COMPANY_GRAPHS :{WHITE}Key to company graphs
STR_704F_CLICK_HERE_TO_TOGGLE_COMPANY :{BLACK}Click here to toggle company's entry on graph on/off
STR_7050_UNITS_OF_CARGO_DELIVERED :{WHITE}Units of cargo delivered