summaryrefslogtreecommitdiff
path: root/src/net/ea/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea/gui')
-rw-r--r--src/net/ea/gui/guildtab.cpp2
-rw-r--r--src/net/ea/gui/partytab.cpp26
2 files changed, 18 insertions, 10 deletions
diff --git a/src/net/ea/gui/guildtab.cpp b/src/net/ea/gui/guildtab.cpp
index af8c3b8df..fbd3f0add 100644
--- a/src/net/ea/gui/guildtab.cpp
+++ b/src/net/ea/gui/guildtab.cpp
@@ -66,7 +66,7 @@ bool GuildTab::handleCommand(const std::string &restrict type,
else if (type == "create" || type == "new")
{
if (args.empty())
- chatLog(_("Guild name is missing."), BY_SERVER);
+ chatLog(_("Guild name is missing."), ChatMsgType::BY_SERVER);
else
Net::getGuildHandler()->create(args);
}
diff --git a/src/net/ea/gui/partytab.cpp b/src/net/ea/gui/partytab.cpp
index 79a9a8897..0395b3a94 100644
--- a/src/net/ea/gui/partytab.cpp
+++ b/src/net/ea/gui/partytab.cpp
@@ -75,7 +75,7 @@ bool PartyTab::handleCommand(const std::string &restrict type,
if (args.empty())
{
// TRANSLATORS: chat error message
- chatLog(_("Party name is missing."), BY_SERVER);
+ chatLog(_("Party name is missing."), ChatMsgType::BY_SERVER);
}
else
{
@@ -102,19 +102,23 @@ bool PartyTab::handleCommand(const std::string &restrict type,
{
case PARTY_SHARE:
// TRANSLATORS: chat message
- chatLog(_("Item sharing enabled."), BY_SERVER);
+ chatLog(_("Item sharing enabled."),
+ ChatMsgType::BY_SERVER);
return true;
case PARTY_SHARE_NO:
// TRANSLATORS: chat message
- chatLog(_("Item sharing disabled."), BY_SERVER);
+ chatLog(_("Item sharing disabled."),
+ ChatMsgType::BY_SERVER);
return true;
case PARTY_SHARE_NOT_POSSIBLE:
// TRANSLATORS: chat message
- chatLog(_("Item sharing not possible."), BY_SERVER);
+ chatLog(_("Item sharing not possible."),
+ ChatMsgType::BY_SERVER);
return true;
case PARTY_SHARE_UNKNOWN:
// TRANSLATORS: chat message
- chatLog(_("Item sharing unknown."), BY_SERVER);
+ chatLog(_("Item sharing unknown."),
+ ChatMsgType::BY_SERVER);
return true;
default:
break;
@@ -146,19 +150,23 @@ bool PartyTab::handleCommand(const std::string &restrict type,
{
case PARTY_SHARE:
// TRANSLATORS: chat message
- chatLog(_("Experience sharing enabled."), BY_SERVER);
+ chatLog(_("Experience sharing enabled."),
+ ChatMsgType::BY_SERVER);
return true;
case PARTY_SHARE_NO:
// TRANSLATORS: chat message
- chatLog(_("Experience sharing disabled."), BY_SERVER);
+ chatLog(_("Experience sharing disabled."),
+ ChatMsgType::BY_SERVER);
return true;
case PARTY_SHARE_NOT_POSSIBLE:
// TRANSLATORS: chat message
- chatLog(_("Experience sharing not possible."), BY_SERVER);
+ chatLog(_("Experience sharing not possible."),
+ ChatMsgType::BY_SERVER);
return true;
case PARTY_SHARE_UNKNOWN:
// TRANSLATORS: chat message
- chatLog(_("Experience sharing unknown."), BY_SERVER);
+ chatLog(_("Experience sharing unknown."),
+ ChatMsgType::BY_SERVER);
return true;
default:
break;