summaryrefslogtreecommitdiff
path: root/src/actions/chat.cpp
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/actions/chat.cpp
parent9b5b48739b62fca4bb30cd04be1031ac3f80095d (diff)
downloadmv-bc2c095db69be01837d07af1151b0f0a3061713f.tar.gz
mv-bc2c095db69be01837d07af1151b0f0a3061713f.tar.bz2
mv-bc2c095db69be01837d07af1151b0f0a3061713f.tar.xz
mv-bc2c095db69be01837d07af1151b0f0a3061713f.zip
Add missing TRANSLATORS comments to translation strings.
Diffstat (limited to 'src/actions/chat.cpp')
-rw-r--r--src/actions/chat.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/actions/chat.cpp b/src/actions/chat.cpp
index e44b3a259..9d9be4279 100644
--- a/src/actions/chat.cpp
+++ b/src/actions/chat.cpp
@@ -423,8 +423,8 @@ impHandler(toggle)
{
if (chatWindow && event.tab)
{
- // TRANSLATORS: message from toggle chat command
event.tab->chatLog(chatWindow->getReturnTogglesChat() ?
+ // TRANSLATORS: message from toggle chat command
_("Return toggles chat.") : _("Message closes chat."),
ChatMsgType::BY_SERVER);
}
@@ -597,6 +597,7 @@ impHandler(hat)
const int sprite = localPlayer->getSpriteID(
charServerHandler->hatSprite());
const ItemInfo &info = ItemDB::get(sprite);
+ // TRANSLATORS: equipped hat chat message
const std::string str = strprintf(_("equipped hat %s."),
info.getName().c_str());
outString(event.tab, str, str);