summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lang/english.txt1
-rw-r--r--src/waypoint_gui.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/lang/english.txt b/src/lang/english.txt
index 8695acdd1..81c80027a 100644
--- a/src/lang/english.txt
+++ b/src/lang/english.txt
@@ -2479,6 +2479,7 @@ STR_STATION_VIEW_SCHEDULED_SHIPS_TOOLTIP :{BLACK}Show all
STR_STATION_VIEW_RENAME_STATION_CAPTION :Rename station/loading area
# Waypoint/buoy view window
+STR_WAYPOINT_VIEW_CAPTION :{WHITE}{WAYPOINT}
STR_WAYPOINT_VIEW_CENTER_TOOLTIP :{BLACK}Centre main view on waypoint location. Ctrl+Click opens a new viewport on waypoint location
STR_WAYPOINT_VIEW_CHANGE_WAYPOINT_NAME :{BLACK}Change waypoint name
STR_BUOY_VIEW_CENTER_TOOLTIP :{BLACK}Centre main view on buoy location. Ctrl+Click opens a new viewport on buoy location
diff --git a/src/waypoint_gui.cpp b/src/waypoint_gui.cpp
index 6a30251d5..9bcb68696 100644
--- a/src/waypoint_gui.cpp
+++ b/src/waypoint_gui.cpp
@@ -126,7 +126,7 @@ public:
static const NWidgetPart _nested_waypoint_view_widgets[] = {
NWidget(NWID_HORIZONTAL),
NWidget(WWT_CLOSEBOX, COLOUR_GREY, WAYPVW_CLOSEBOX),
- NWidget(WWT_CAPTION, COLOUR_GREY, WAYPVW_CAPTION), SetDataTip(STR_VIEWPORT_WAYPOINT, STR_TOOLTIP_WINDOW_TITLE_DRAG_THIS),
+ NWidget(WWT_CAPTION, COLOUR_GREY, WAYPVW_CAPTION), SetDataTip(STR_WAYPOINT_VIEW_CAPTION, STR_TOOLTIP_WINDOW_TITLE_DRAG_THIS),
NWidget(WWT_STICKYBOX, COLOUR_GREY, WAYPVW_STICKY),
EndContainer(),
NWidget(WWT_PANEL, COLOUR_GREY, WAYPVW_VIEWPORTPANEL),