summaryrefslogtreecommitdiff
path: root/src/net/ea/gui/guildtab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea/gui/guildtab.cpp')
-rw-r--r--src/net/ea/gui/guildtab.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/net/ea/gui/guildtab.cpp b/src/net/ea/gui/guildtab.cpp
index 0a1fb7314..aa89309b1 100644
--- a/src/net/ea/gui/guildtab.cpp
+++ b/src/net/ea/gui/guildtab.cpp
@@ -44,6 +44,7 @@ namespace Ea
extern Guild *taGuild;
GuildTab::GuildTab(const Widget2 *const widget) :
+ // TRANSLATORS: guild chat tab name
ChatTab(widget, _("Guild"), "")
{
setTabColor(&getThemeColor(Theme::GUILD_CHAT_TAB),
@@ -67,14 +68,19 @@ bool GuildTab::handleCommand(const std::string &type, const std::string &args)
{
if (args == "invite")
{
+ // TRANSLATORS: guild chat help
chatLog(_("Command: /invite <nick>"));
+ // TRANSLATORS: guild chat help
chatLog(_("This command invites <nick> to the guild you're in."));
+ // TRANSLATORS: guild chat help
chatLog(_("If the <nick> has spaces in it, enclose it in "
"double quotes (\")."));
}
else if (args == "leave")
{
+ // TRANSLATORS: guild chat help
chatLog(_("Command: /leave"));
+ // TRANSLATORS: guild chat help
chatLog(_("This command causes the player to leave the guild."));
}
else
@@ -135,9 +141,13 @@ void GuildTab::handleInput(const std::string &msg)
void GuildTab::showHelp()
{
+ // TRANSLATORS: guild chat help
chatLog(_("/help > Display this help."));
+ // TRANSLATORS: guild chat help
chatLog(_("/invite > Invite a player to your guild"));
+ // TRANSLATORS: guild chat help
chatLog(_("/leave > Leave the guild you are in"));
+ // TRANSLATORS: guild chat help
chatLog(_("/kick > Kick some one from the guild you are in"));
}