diff options
author | snowleo <schneeleo@gmail.com> | 2013-04-06 04:02:15 +0200 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2013-04-06 04:05:37 +0200 |
commit | fd1c7f4fccad0367e14e591fe13e674da241cc90 (patch) | |
tree | a20690539458d58f44f9e3048774abef0ee73bd0 /EssentialsChat/src/net | |
parent | d17d7153dc50ed856f3f93396928fd188ff95029 (diff) | |
download | Essentials-fd1c7f4fccad0367e14e591fe13e674da241cc90.tar Essentials-fd1c7f4fccad0367e14e591fe13e674da241cc90.tar.gz Essentials-fd1c7f4fccad0367e14e591fe13e674da241cc90.tar.lz Essentials-fd1c7f4fccad0367e14e591fe13e674da241cc90.tar.xz Essentials-fd1c7f4fccad0367e14e591fe13e674da241cc90.zip |
Moving all default messages back to the code, where they should be
Also tweaking I18n class and YamlStorageWriter a bit
Diffstat (limited to 'EssentialsChat/src/net')
3 files changed, 5 insertions, 5 deletions
diff --git a/EssentialsChat/src/net/ess3/chat/EssentialsChat.java b/EssentialsChat/src/net/ess3/chat/EssentialsChat.java index b80d38f6d..1a4e1cc64 100644 --- a/EssentialsChat/src/net/ess3/chat/EssentialsChat.java +++ b/EssentialsChat/src/net/ess3/chat/EssentialsChat.java @@ -28,7 +28,7 @@ public class EssentialsChat extends JavaPlugin final IEssentials ess = (IEssentials)plugin.getEssentials(); if (!this.getDescription().getVersion().equals(plugin.getDescription().getVersion())) { - LOGGER.log(Level.WARNING, _("versionMismatchAll")); + LOGGER.log(Level.WARNING, _("Version mismatch! Please update all Essentials jars to the same version.")); } if (!plugin.isEnabled()) { diff --git a/EssentialsChat/src/net/ess3/chat/EssentialsLocalChatEventListener.java b/EssentialsChat/src/net/ess3/chat/EssentialsLocalChatEventListener.java index 568657907..77b6bab3c 100644 --- a/EssentialsChat/src/net/ess3/chat/EssentialsLocalChatEventListener.java +++ b/EssentialsChat/src/net/ess3/chat/EssentialsLocalChatEventListener.java @@ -32,7 +32,7 @@ public class EssentialsLocalChatEventListener implements Listener for (Player onlinePlayer : server.getOnlinePlayers()) { - String type = _("chatTypeLocal"); + String type = _("[L]"); final IUser user = ess.getUserMap().getUser(onlinePlayer); if (user.isIgnoringPlayer(ess.getUserMap().getUser(sender))) { @@ -57,7 +57,7 @@ public class EssentialsLocalChatEventListener implements Listener { if (ChatPermissions.getPermission("spy").isAuthorized(user)) { - type = type.concat(_("chatTypeSpy")); + type = type.concat(_("[Spy]")); } } } @@ -65,4 +65,4 @@ public class EssentialsLocalChatEventListener implements Listener user.sendMessage(message); } } -}
\ No newline at end of file +} diff --git a/EssentialsChat/src/net/ess3/chat/listenerlevel/EssentialsChatPlayerListenerLowest.java b/EssentialsChat/src/net/ess3/chat/listenerlevel/EssentialsChatPlayerListenerLowest.java index 18754dd7d..2209d4a93 100644 --- a/EssentialsChat/src/net/ess3/chat/listenerlevel/EssentialsChatPlayerListenerLowest.java +++ b/EssentialsChat/src/net/ess3/chat/listenerlevel/EssentialsChatPlayerListenerLowest.java @@ -37,4 +37,4 @@ public class EssentialsChatPlayerListenerLowest extends EssentialsChatPlayer setChatStore(event, chatStore); formatChat(event, chatStore); } -}
\ No newline at end of file +} |