add german translations (#65)

This commit is contained in:
MiniDigger
2017-07-25 06:57:04 +02:00
committed by Daniel Ennis
parent 414594d136
commit fefd35804b
4 changed files with 71 additions and 2 deletions
@@ -47,7 +47,8 @@ public abstract class CommandManager <I, FT, F extends MessageFormatter<FT>> {
protected Map<String, RootCommand> rootCommands = new HashMap<>();
protected CommandReplacements replacements = new CommandReplacements(this);
protected ExceptionHandler defaultExceptionHandler = null;
protected Set<Locale> supportedLanguages = Sets.newHashSet(Locale.ENGLISH, new java.util.Locale("es"));
protected Set<Locale> supportedLanguages = Sets.newHashSet(Locale.ENGLISH, Locale.GERMAN, new Locale("es"));
protected Map<MessageType, F> formatters = new IdentityHashMap<>();
protected F defaultFormatter;