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:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user