From ad67b571b2a45aeafc7d4460053364fced551671 Mon Sep 17 00:00:00 2001 From: meiskam Date: Fri, 3 May 2013 10:27:52 -0400 Subject: [PATCH] Fixed updated localization --- src/lang.properties | 2 +- src/org/shininet/bukkit/playerheads/Lang.java | 2 +- src/org/shininet/bukkit/playerheads/PlayerHeadsListener.java | 2 +- src/plugin.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lang.properties b/src/lang.properties index 7cf3e69e..2ad6ecc6 100644 --- a/src/lang.properties +++ b/src/lang.properties @@ -77,4 +77,4 @@ SUBCOMMANDS=Subcommands SYNTAX=Syntax UPDATE_STARTED=Update started, check console for info UPDATE1=[PlayerHeads] An update is available: %1% (%2% bytes) -UPDATE2=[PlayerHeads] %1% \ No newline at end of file +UPDATE3=[PlayerHeads] %1% \ No newline at end of file diff --git a/src/org/shininet/bukkit/playerheads/Lang.java b/src/org/shininet/bukkit/playerheads/Lang.java index 59606c26..8109f3c7 100644 --- a/src/org/shininet/bukkit/playerheads/Lang.java +++ b/src/org/shininet/bukkit/playerheads/Lang.java @@ -96,7 +96,7 @@ public class Lang { public static String SYNTAX; public static String UPDATE_STARTED; public static String UPDATE1; - public static String UPDATE2; + public static String UPDATE3; private Lang() {} diff --git a/src/org/shininet/bukkit/playerheads/PlayerHeadsListener.java b/src/org/shininet/bukkit/playerheads/PlayerHeadsListener.java index f41b61bf..56d7acb1 100644 --- a/src/org/shininet/bukkit/playerheads/PlayerHeadsListener.java +++ b/src/org/shininet/bukkit/playerheads/PlayerHeadsListener.java @@ -245,7 +245,7 @@ public void onPlayerJoin(PlayerJoinEvent event) if(player.hasPermission("playerheads.update") && plugin.getUpdateReady()) { PlayerHeads.formatMsg(player, Lang.UPDATE1, plugin.getUpdateName(), String.valueOf(plugin.getUpdateSize())); - PlayerHeads.formatMsg(player, Lang.UPDATE2, "http://curse.com/server-mods/minecraft/" + PlayerHeads.updateSlug); + PlayerHeads.formatMsg(player, Lang.UPDATE3, "http://curse.com/server-mods/minecraft/" + PlayerHeads.updateSlug); } } } diff --git a/src/plugin.yml b/src/plugin.yml index e2c2721c..982864d9 100644 --- a/src/plugin.yml +++ b/src/plugin.yml @@ -1,5 +1,5 @@ name: PlayerHeads -version: 3.1.0092 +version: 3.1.0093 description: Drops a player's head when s/he dies, also mob heads authors: [meiskam, zand]