Adds simplified chinese, courtesy of YKDZ

This commit is contained in:
2022-02-15 18:15:22 +01:00
parent 8a5c094ce1
commit 8c334ff5f0
7 changed files with 50 additions and 5 deletions

View File

@ -23,8 +23,9 @@ public class CommandAbout implements CommandExecutor {
commandSender.sendMessage(textColor + "Go to " + highlightColor +
"https://git.knarcraft.net/EpicKnarvik97/Stargate " + textColor + "for the official repository");
String author = Stargate.getStargateConfig().getLanguageLoader().getString("author");
if (!author.isEmpty())
if (!author.isEmpty()) {
commandSender.sendMessage(textColor + "Language created by " + highlightColor + author);
}
return true;
}

View File

@ -254,6 +254,7 @@ public class ConfigTabCompleter implements TabCompleter {
languages.add("nn-no");
languages.add("pt-br");
languages.add("ru");
languages.add("zh_cn");
//TODO: Generate this list dynamically by listing the language files in the jar and adding the user's custom
// language files
}