Save all lang files to disk. Allow switching between languages in the config file.

This will break anyone using the current lang.yml. They'll just need to move it to lang/english.yml
This commit is contained in:
Trent Hensler
2018-01-06 19:50:47 -08:00
parent 93739b9814
commit 5f115f631b
19 changed files with 105 additions and 87 deletions
@@ -0,0 +1,17 @@
package com.drtshock.playervaults.translations;
public enum Language {
ENGLISH("english"),
BULGARIAN("bulgarian"),
DUTH("dutch");
private String friendlyName;
Language(String friendlyName) {
this.friendlyName = friendlyName;
}
public String getFriendlyName() {
return this.friendlyName;
}
}