summaryrefslogtreecommitdiff
path: root/src/gui/widgets/guildchattab.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-03 12:35:22 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-03 12:51:43 +0300
commita7c723b681ddefdcaa84cb9b16681c65818d7110 (patch)
tree3c7100a90db00c3eacc41977cdb5bbae99e6ca40 /src/gui/widgets/guildchattab.cpp
parent04fbf07c41bf78dea11aa9b7098c80f0da3801e3 (diff)
downloadmanaplus-a7c723b681ddefdcaa84cb9b16681c65818d7110.tar.gz
manaplus-a7c723b681ddefdcaa84cb9b16681c65818d7110.tar.bz2
manaplus-a7c723b681ddefdcaa84cb9b16681c65818d7110.tar.xz
manaplus-a7c723b681ddefdcaa84cb9b16681c65818d7110.zip
add comments for translators
Diffstat (limited to 'src/gui/widgets/guildchattab.cpp')
-rw-r--r--src/gui/widgets/guildchattab.cpp12
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"));
}