lang: Don't hardcode fallback language anymore

This commit is contained in:
WerWolv
2022-01-23 22:08:19 +01:00
parent 49610f59ea
commit b3a8d02d19
3 changed files with 28 additions and 13 deletions

View File

@@ -5,6 +5,7 @@ namespace hex::plugin::builtin {
void registerLanguageEnUS() {
ContentRegistry::Language::registerLanguage("English (US)", "en-US");
LangEntry::setFallbackLanguage("en-US");
ContentRegistry::Language::addLocalizations("en-US", {
/* ImHex default functionality */