Output what language we are loading if successful.

This commit is contained in:
graywolf336 2013-12-23 14:51:04 -06:00
parent c123689e67
commit 1021430b75
2 changed files with 3 additions and 2 deletions

View File

@ -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");

View File

@ -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."