summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-04 15:44:31 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-04 16:24:42 +0300
commitbc2c095db69be01837d07af1151b0f0a3061713f (patch)
tree98009b4483d873f45f7b4f2897a4a7ba5118d39e /src/resources
parent9b5b48739b62fca4bb30cd04be1031ac3f80095d (diff)
downloadplus-bc2c095db69be01837d07af1151b0f0a3061713f.tar.gz
plus-bc2c095db69be01837d07af1151b0f0a3061713f.tar.bz2
plus-bc2c095db69be01837d07af1151b0f0a3061713f.tar.xz
plus-bc2c095db69be01837d07af1151b0f0a3061713f.zip
Add missing TRANSLATORS comments to translation strings.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/db/npcdb.cpp3
-rw-r--r--src/resources/mapreader.cpp1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/db/npcdb.cpp b/src/resources/db/npcdb.cpp
index 80828ae37..3362c02c9 100644
--- a/src/resources/db/npcdb.cpp
+++ b/src/resources/db/npcdb.cpp
@@ -148,8 +148,11 @@ void NPCDB::loadXmlFile(const std::string &fileName)
currentInfo->setDisplay(display);
if (currentInfo->getMenu().empty())
{
+ // TRANSLATORS: npc context menu item
currentInfo->addMenu(_("Talk"), "talk 'NAME'");
+ // TRANSLATORS: npc context menu item
currentInfo->addMenu(_("Buy"), "buy 'NAME'");
+ // TRANSLATORS: npc context menu item
currentInfo->addMenu(_("Sell"), "sell 'NAME'");
}
mNPCInfos[id] = currentInfo;
diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp
index c0855fe5c..1c9e5af9f 100644
--- a/src/resources/mapreader.cpp
+++ b/src/resources/mapreader.cpp
@@ -440,6 +440,7 @@ Map *MapReader::readMap(XmlNodePtrConst node, const std::string &path)
}
else if (objType == "SPAWN")
{
+ // TRANSLATORS: spawn name
// map->addPortal(_("Spawn: ") + objName,
// MapItemType::PORTAL,
// objX, objY, objW, objH);