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/guildchattab.cpp | |
parent | 04fbf07c41bf78dea11aa9b7098c80f0da3801e3 (diff) | |
download | mv-a7c723b681ddefdcaa84cb9b16681c65818d7110.tar.gz mv-a7c723b681ddefdcaa84cb9b16681c65818d7110.tar.bz2 mv-a7c723b681ddefdcaa84cb9b16681c65818d7110.tar.xz mv-a7c723b681ddefdcaa84cb9b16681c65818d7110.zip |
add comments for translators
Diffstat (limited to 'src/gui/widgets/guildchattab.cpp')
-rw-r--r-- | src/gui/widgets/guildchattab.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gui/widgets/guildchattab.cpp b/src/gui/widgets/guildchattab.cpp index bb85e1a5b..0ce3cda1c 100644 --- a/src/gui/widgets/guildchattab.cpp +++ b/src/gui/widgets/guildchattab.cpp @@ -37,6 +37,7 @@ #include "debug.h" GuildChatTab::GuildChatTab(const Widget2 *const widget) : + // TRANSLATORS: guild chat tab name ChatTab(widget, _("Guild"), "") { setTabColor(&getThemeColor(Theme::GUILD_CHAT_TAB), @@ -61,18 +62,25 @@ bool GuildChatTab::handleCommand(const std::string &type, { if (args == "invite") { + // TRANSLATORS: guild chat tab help chatLog(_("Command: /invite <nick>")); + // TRANSLATORS: guild chat tab help chatLog(_("This command invites <nick> to the guild you're in.")); + // TRANSLATORS: guild chat tab help chatLog(_("If the <nick> has spaces in it, enclose it in " "double quotes (\").")); } else if (args == "leave") { + // TRANSLATORS: guild chat tab help chatLog(_("Command: /leave")); + // TRANSLATORS: guild chat tab help chatLog(_("This command causes the player to leave the guild.")); } else + { return false; + } } else if (type == "invite" && guildManager) { @@ -111,9 +119,13 @@ void GuildChatTab::handleInput(const std::string &msg) void GuildChatTab::showHelp() { + // TRANSLATORS: guild chat tab help chatLog(_("/help > Display this help.")); + // TRANSLATORS: guild chat tab help chatLog(_("/invite > Invite a player to your guild")); + // TRANSLATORS: guild chat tab help chatLog(_("/leave > Leave the guild you are in")); + // TRANSLATORS: guild chat tab help chatLog(_("/kick > Kick some one from the guild you are in")); } |