1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-14 02:24:16 +02:00

Adding translation keys for [L] and [Spy]

This commit is contained in:
KHobbits
2012-01-20 22:57:35 +00:00
parent 42ab423479
commit 7e5687b5cc
8 changed files with 16 additions and 2 deletions

View File

@@ -117,7 +117,7 @@ public abstract class EssentialsChatPlayer implements Listener
for (Player onlinePlayer : server.getOnlinePlayers())
{
String type = "[L]";
String type = _("chatTypeLocal");
final User onlineUser = ess.getUser(onlinePlayer);
//TODO: remove reference to op
if (onlineUser.isIgnoredPlayer(sender.getName()) && !sender.isOp())
@@ -137,7 +137,7 @@ public abstract class EssentialsChatPlayer implements Listener
{
if (onlineUser.isAuthorized("essentials.chat.spy"))
{
type = type.concat("[Spy]");
type = type.concat(_("chatTypeSpy"));
}
else
{