Revamped language system right away again to allow plugins to use it

This commit is contained in:
WerWolv
2021-02-11 00:35:30 +01:00
parent 4a8e59a95b
commit 9227fba474
11 changed files with 90 additions and 54 deletions

View File

@@ -0,0 +1,13 @@
#include <hex/plugin.hpp>
namespace hex::plugin::builtin {
void registerLanguageEnUS() {
ContentRegistry::Language::registerLanguage("English (US)", "en-US");
ContentRegistry::Language::addLocalizations("en-US", {
});
}
}