diff --git a/Essentials/src/messages.properties b/Essentials/src/messages.properties index b39cfce0e..2768df0bd 100644 --- a/Essentials/src/messages.properties +++ b/Essentials/src/messages.properties @@ -403,3 +403,5 @@ youAreHealed=\u00a77You have been healed. youHaveNewMail=\u00a7cYou have {0} messages!\u00a7f Type \u00a77/mail read\u00a7f to view your mail. requestTimedOut=\u00a7cTeleport request has timed out teleportRequestTimeoutInfo=\u00a77This request will timeout after {0} seconds. +chatTypeLocal=[L] +chatTypeSpy=[Spy] diff --git a/Essentials/src/messages_da.properties b/Essentials/src/messages_da.properties index 1b0aa75c6..6ec1556be 100644 --- a/Essentials/src/messages_da.properties +++ b/Essentials/src/messages_da.properties @@ -403,3 +403,5 @@ youAreHealed=\u00a77Du er blevet healed. Halleluja! youHaveNewMail=\u00a7cDu har {0} flaskeposter!\u00a7f Type \u00a77/mail read for at se din flaskepost. requestTimedOut=\u00a7cTeleport request has timed out teleportRequestTimeoutInfo=\u00a77This request will timeout after {0} seconds. +chatTypeLocal=[L] +chatTypeSpy=[Spy] diff --git a/Essentials/src/messages_de.properties b/Essentials/src/messages_de.properties index ac75b24cb..b011a7e24 100644 --- a/Essentials/src/messages_de.properties +++ b/Essentials/src/messages_de.properties @@ -403,3 +403,5 @@ youAreHealed=\u00a77Du wurdest geheilt. youHaveNewMail=\u00a7cDu hast {0} Nachrichten!\u00a7f Schreibe \u00a77/mail read\u00a7f um deine Nachrichten anzuzeigen. requestTimedOut=\u00a7cTeleport request has timed out teleportRequestTimeoutInfo=\u00a77This request will timeout after {0} seconds. +chatTypeLocal=[L] +chatTypeSpy=[Spy] diff --git a/Essentials/src/messages_en.properties b/Essentials/src/messages_en.properties index d9cc9a658..93425fdf7 100644 --- a/Essentials/src/messages_en.properties +++ b/Essentials/src/messages_en.properties @@ -403,3 +403,5 @@ youAreHealed=\u00a77You have been healed. youHaveNewMail=\u00a7cYou have {0} messages!\u00a7f Type \u00a77/mail read\u00a7f to view your mail. requestTimedOut=\u00a7cTeleport request has timed out teleportRequestTimeoutInfo=\u00a77This request will timeout after {0} seconds. +chatTypeLocal=[L] +chatTypeSpy=[Spy] diff --git a/Essentials/src/messages_es.properties b/Essentials/src/messages_es.properties index 222adc2a0..2d6133002 100644 --- a/Essentials/src/messages_es.properties +++ b/Essentials/src/messages_es.properties @@ -403,3 +403,5 @@ youAreHealed=\u00a77Has sido curado. youHaveNewMail=\u00a7cTienes {0} mensajes!\u00a7f Pon \u00a77/mail read\u00a7f para ver tus emails no leidos!. requestTimedOut=\u00a7cTeleport request has timed out teleportRequestTimeoutInfo=\u00a77This request will timeout after {0} seconds. +chatTypeLocal=[L] +chatTypeSpy=[Spy] diff --git a/Essentials/src/messages_fr.properties b/Essentials/src/messages_fr.properties index a3695080e..08d19f6ea 100644 --- a/Essentials/src/messages_fr.properties +++ b/Essentials/src/messages_fr.properties @@ -403,3 +403,5 @@ youAreHealed=\u00a77Vous avez \u00e9t\u00e9 soign\u00e9. youHaveNewMail=\u00a7cVous avez {0} messages ! \u00a7fEntrez \u00a77/mail read\u00a7f pour voir votre courrier. requestTimedOut=\u00a7cTeleport request has timed out teleportRequestTimeoutInfo=\u00a77This request will timeout after {0} seconds. +chatTypeLocal=[L] +chatTypeSpy=[Spy] diff --git a/Essentials/src/messages_nl.properties b/Essentials/src/messages_nl.properties index f7253fd3e..65b25cd6e 100644 --- a/Essentials/src/messages_nl.properties +++ b/Essentials/src/messages_nl.properties @@ -403,3 +403,5 @@ youAreHealed=\u00a77Je bent genezen. youHaveNewMail=\u00a7cJe hebt {0} berichten!\u00a7f Type \u00a77/mail read\u00a7f om je berichten te bekijken. requestTimedOut=\u00a7cTeleport request has timed out teleportRequestTimeoutInfo=\u00a77This request will timeout after {0} seconds. +chatTypeLocal=[L] +chatTypeSpy=[Spy] diff --git a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayer.java b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayer.java index e19f0122f..ddf928725 100644 --- a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayer.java +++ b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayer.java @@ -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 {