summaryrefslogtreecommitdiff
path: root/src/gui/minimap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/minimap.cpp')
-rw-r--r--src/gui/minimap.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/minimap.cpp b/src/gui/minimap.cpp
index 6c7a32a71..80611f25b 100644
--- a/src/gui/minimap.cpp
+++ b/src/gui/minimap.cpp
@@ -44,7 +44,8 @@
bool Minimap::mShow = true;
-Minimap::Minimap():
+Minimap::Minimap() :
+ // TRANSLATORS: mini map window name
Window(_("Map"), false, nullptr, "map.xml"),
mMapImage(nullptr),
mWidthProportion(0.5),
@@ -103,7 +104,10 @@ void Minimap::setMap(const Map *const map)
caption = map->getName();
if (caption.empty())
+ {
+ // TRANSLATORS: mini map window name
caption = _("Map");
+ }
setCaption(caption);