diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-03 12:35:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-03 12:51:43 +0300 |
commit | a7c723b681ddefdcaa84cb9b16681c65818d7110 (patch) | |
tree | 3c7100a90db00c3eacc41977cdb5bbae99e6ca40 /src/gui/widgets/whispertab.cpp | |
parent | 04fbf07c41bf78dea11aa9b7098c80f0da3801e3 (diff) | |
download | plus-a7c723b681ddefdcaa84cb9b16681c65818d7110.tar.gz plus-a7c723b681ddefdcaa84cb9b16681c65818d7110.tar.bz2 plus-a7c723b681ddefdcaa84cb9b16681c65818d7110.tar.xz plus-a7c723b681ddefdcaa84cb9b16681c65818d7110.zip |
add comments for translators
Diffstat (limited to 'src/gui/widgets/whispertab.cpp')
-rw-r--r-- | src/gui/widgets/whispertab.cpp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/gui/widgets/whispertab.cpp b/src/gui/widgets/whispertab.cpp index 95c2fa505..6f3ddbcdb 100644 --- a/src/gui/widgets/whispertab.cpp +++ b/src/gui/widgets/whispertab.cpp @@ -48,12 +48,6 @@ WhisperTab::~WhisperTab() void WhisperTab::handleInput(const std::string &msg) { -// if (msg.empty()) -// { -// chatLog(_("Cannot send empty chat!"), BY_SERVER, false); -// return; -// } - if (chatWindow) { Net::getChatHandler()->privateMessage(mNick, @@ -100,8 +94,11 @@ void WhisperTab::handleCommand(const std::string &msg) void WhisperTab::showHelp() { + // TRANSLATORS: whisper tab help chatLog(_("/ignore > Ignore the other player")); + // TRANSLATORS: whisper tab help chatLog(_("/unignore > Stop ignoring the other player")); + // TRANSLATORS: whisper tab help chatLog(_("/close > Close the whisper tab")); } @@ -112,18 +109,24 @@ bool WhisperTab::handleCommand(const std::string &type, { if (args == "close") { + // TRANSLATORS: whisper tab help chatLog(_("Command: /close")); + // TRANSLATORS: whisper tab help chatLog(_("This command closes the current whisper tab.")); } else if (args == "ignore") { + // TRANSLATORS: whisper tab help chatLog(_("Command: /ignore")); + // TRANSLATORS: whisper tab help chatLog(_("This command ignores the other player regardless of " "current relations.")); } else if (args == "unignore") { + // TRANSLATORS: whisper tab help chatLog(_("Command: /unignore <player>")); + // TRANSLATORS: whisper tab help chatLog(_("This command stops ignoring the other player if they " "are being ignored.")); } |