diff options
author | snowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb> | 2011-05-10 19:57:59 +0000 |
---|---|---|
committer | snowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb> | 2011-05-10 19:57:59 +0000 |
commit | bc79d5acfcaf6a112bbc22c9c387999f82d89201 (patch) | |
tree | 36cb2703850d497c459123f9a8fe04d22b0be4d7 /EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChat.java | |
parent | 0671150c4255565eb1168780d84a2ef68a3df023 (diff) | |
download | Essentials-bc79d5acfcaf6a112bbc22c9c387999f82d89201.tar Essentials-bc79d5acfcaf6a112bbc22c9c387999f82d89201.tar.gz Essentials-bc79d5acfcaf6a112bbc22c9c387999f82d89201.tar.lz Essentials-bc79d5acfcaf6a112bbc22c9c387999f82d89201.tar.xz Essentials-bc79d5acfcaf6a112bbc22c9c387999f82d89201.zip |
More translation stuff. Translated Spawn, Chat, Protect, GeoIP
Protect is only partly translated (sql stuff is not translated)
EssentialsSpawn is changed to use the onCommand from Essentials jar, since that is more up to date.
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1408 e251c2fe-e539-e718-e476-b85c1f46cddb
Diffstat (limited to 'EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChat.java')
-rw-r--r-- | EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChat.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChat.java b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChat.java index 266bd104e..2e89e9ee3 100644 --- a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChat.java +++ b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChat.java @@ -1,6 +1,7 @@ package com.earth2me.essentials.chat; import com.earth2me.essentials.Essentials; +import com.earth2me.essentials.Util; import java.util.logging.Level; import java.util.logging.Logger; import org.bukkit.event.Event.Priority; @@ -32,9 +33,9 @@ public class EssentialsChat extends JavaPlugin pm.registerEvent(Type.PLAYER_JOIN, playerListener, Priority.Monitor, this); pm.registerEvent(Type.PLAYER_CHAT, playerListener, Priority.Highest, this); if (!this.getDescription().getVersion().equals(Essentials.getStatic().getDescription().getVersion())) { - logger.log(Level.WARNING, "Version mismatch! Please update all Essentials jars to the same version."); + logger.log(Level.WARNING, Util.i18n("versionMismatchAll")); } - logger.info("Loaded " + this.getDescription().getName() + " build " + this.getDescription().getVersion() + " by " + Essentials.AUTHORS); + logger.info(Util.format("loadinfo", this.getDescription().getName(), this.getDescription().getVersion(), Essentials.AUTHORS)); } public void onDisable() |