summaryrefslogtreecommitdiff
path: root/src/commandhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-03 12:35:33 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-03 12:51:43 +0300
commit9510979d65738fb03b2c48425fa59984c2a4b938 (patch)
treed546c5e932da966d4bddcebb5ae9a0f6f4820881 /src/commandhandler.cpp
parenta7c723b681ddefdcaa84cb9b16681c65818d7110 (diff)
downloadmv-9510979d65738fb03b2c48425fa59984c2a4b938.tar.gz
mv-9510979d65738fb03b2c48425fa59984c2a4b938.tar.bz2
mv-9510979d65738fb03b2c48425fa59984c2a4b938.tar.xz
mv-9510979d65738fb03b2c48425fa59984c2a4b938.zip
add comments for translators.
Diffstat (limited to 'src/commandhandler.cpp')
-rw-r--r--src/commandhandler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/commandhandler.cpp b/src/commandhandler.cpp
index 967f6d65d..4675ddd22 100644
--- a/src/commandhandler.cpp
+++ b/src/commandhandler.cpp
@@ -55,7 +55,12 @@ void CommandHandler::handleCommand(const std::string &command,
args = trim(args);
const CommandsMapIter it = mCommands.find(type);
if (it != mCommands.end())
+ {
((*it).second)(args, tab);
+ }
else if (!tab->handleCommand(type, args))
+ {
+ // TRANSLATORS: chat commands handling message
tab->chatLog(_("Unknown command."));
+ }
}