summaryrefslogtreecommitdiff
path: root/src/gui/minimap.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-03 12:35:22 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-03 12:51:43 +0300
commita7c723b681ddefdcaa84cb9b16681c65818d7110 (patch)
tree3c7100a90db00c3eacc41977cdb5bbae99e6ca40 /src/gui/minimap.cpp
parent04fbf07c41bf78dea11aa9b7098c80f0da3801e3 (diff)
downloadplus-a7c723b681ddefdcaa84cb9b16681c65818d7110.tar.gz
plus-a7c723b681ddefdcaa84cb9b16681c65818d7110.tar.bz2
plus-a7c723b681ddefdcaa84cb9b16681c65818d7110.tar.xz
plus-a7c723b681ddefdcaa84cb9b16681c65818d7110.zip
add comments for translators
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);