Output what language we are loading if successful.
This commit is contained in:
parent
c123689e67
commit
1021430b75
@ -50,6 +50,7 @@ public class JailIO {
|
|||||||
if(langFile.exists()) {
|
if(langFile.exists()) {
|
||||||
if(langFile.isFile()) {
|
if(langFile.isFile()) {
|
||||||
lang = YamlConfiguration.loadConfiguration(langFile);
|
lang = YamlConfiguration.loadConfiguration(langFile);
|
||||||
|
pl.getLogger().info("Loaded the language: " + language);
|
||||||
}else {
|
}else {
|
||||||
pl.getLogger().severe("The language file can not be a folder, please");
|
pl.getLogger().severe("The language file can not be a folder, please");
|
||||||
pl.getLogger().info("double check your setup. Because of that, we");
|
pl.getLogger().info("double check your setup. Because of that, we");
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
language:
|
language:
|
||||||
jailed: "&cYou've been jailed!"
|
jailed: "&cYou have been jailed!"
|
||||||
jailedwithreason: "&cYou've been jailed for: %s"
|
jailedwithreason: "&cYou have been jailed for: %0%"
|
||||||
unjailed: "&2You have been released! Please respect the server rules."
|
unjailed: "&2You have been released! Please respect the server rules."
|
Loading…
Reference in New Issue
Block a user