From a7c723b681ddefdcaa84cb9b16681c65818d7110 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 3 May 2013 12:35:22 +0300 Subject: add comments for translators --- src/gui/widgets/guildchattab.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/gui/widgets/guildchattab.cpp') 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 ")); + // TRANSLATORS: guild chat tab help chatLog(_("This command invites to the guild you're in.")); + // TRANSLATORS: guild chat tab help chatLog(_("If the 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")); } -- cgit v1.2.3-60-g2f50