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 | e846093fd0e8ea20c7ab9cec2deda2ae40573295 (patch) | |
tree | f7eee8b35466f3b12fcaea5359a93b05bd577d0d /EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java | |
parent | 8e1f01810469131a18f2ac6898ad793c09b8a460 (diff) | |
download | Essentials-e846093fd0e8ea20c7ab9cec2deda2ae40573295.tar Essentials-e846093fd0e8ea20c7ab9cec2deda2ae40573295.tar.gz Essentials-e846093fd0e8ea20c7ab9cec2deda2ae40573295.tar.lz Essentials-e846093fd0e8ea20c7ab9cec2deda2ae40573295.tar.xz Essentials-e846093fd0e8ea20c7ab9cec2deda2ae40573295.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 'EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java')
-rw-r--r-- | EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java b/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java index 1a01c7132..612fa7030 100644 --- a/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java +++ b/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java @@ -1,6 +1,7 @@ package com.earth2me.essentials.geoip; 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; @@ -38,8 +39,11 @@ public class EssentialsGeoIP extends JavaPlugin EssentialsGeoIPPlayerListener playerListener = new EssentialsGeoIPPlayerListener(getDataFolder()); pm.registerEvent(Type.PLAYER_JOIN, playerListener, Priority.Monitor, this); - logger.info("Loaded " + this.getDescription().getName() + " build " + this.getDescription().getVersion() + " by " + Essentials.AUTHORS); - + if (!this.getDescription().getVersion().equals(Essentials.getStatic().getDescription().getVersion())) { + logger.log(Level.WARNING, Util.i18n("versionMismatchAll")); + } + logger.info(Util.format("loadinfo", this.getDescription().getName(), this.getDescription().getVersion(), Essentials.AUTHORS)); + logger.log(Level.INFO, "This product includes GeoLite data created by MaxMind, available from http://www.maxmind.com/."); } } |