From 1021430b75611af3e9e2c0ae6c029a5b22895e12 Mon Sep 17 00:00:00 2001 From: graywolf336 Date: Mon, 23 Dec 2013 14:51:04 -0600 Subject: [PATCH] Output what language we are loading if successful. --- src/main/java/com/graywolf336/jail/JailIO.java | 1 + src/main/resources/en.yml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/graywolf336/jail/JailIO.java b/src/main/java/com/graywolf336/jail/JailIO.java index 841ce2e..1008518 100644 --- a/src/main/java/com/graywolf336/jail/JailIO.java +++ b/src/main/java/com/graywolf336/jail/JailIO.java @@ -50,6 +50,7 @@ public class JailIO { if(langFile.exists()) { if(langFile.isFile()) { lang = YamlConfiguration.loadConfiguration(langFile); + pl.getLogger().info("Loaded the language: " + language); }else { pl.getLogger().severe("The language file can not be a folder, please"); pl.getLogger().info("double check your setup. Because of that, we"); diff --git a/src/main/resources/en.yml b/src/main/resources/en.yml index 880eb34..1ee81a4 100644 --- a/src/main/resources/en.yml +++ b/src/main/resources/en.yml @@ -1,4 +1,4 @@ language: - jailed: "&cYou've been jailed!" - jailedwithreason: "&cYou've been jailed for: %s" + jailed: "&cYou have been jailed!" + jailedwithreason: "&cYou have been jailed for: %0%" unjailed: "&2You have been released! Please respect the server rules." \ No newline at end of file