summaryrefslogtreecommitdiff
path: root/src/net/ea/gui/guildtab.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-03 12:33:11 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-03 12:51:43 +0300
commit04fbf07c41bf78dea11aa9b7098c80f0da3801e3 (patch)
tree05df787f04d3d59a6d3c0711a895d77018d84b6b /src/net/ea/gui/guildtab.cpp
parenta3855d22fce6a33ace394f50f33571e489bab299 (diff)
downloadplus-04fbf07c41bf78dea11aa9b7098c80f0da3801e3.tar.gz
plus-04fbf07c41bf78dea11aa9b7098c80f0da3801e3.tar.bz2
plus-04fbf07c41bf78dea11aa9b7098c80f0da3801e3.tar.xz
plus-04fbf07c41bf78dea11aa9b7098c80f0da3801e3.zip
add comments for translators.
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"));
}