sys: Register languages before registering any other things
This commit is contained in:
parent
90753f4d42
commit
716d52f3e3
@ -32,6 +32,12 @@ IMHEX_PLUGIN_SETUP("Built-in", "WerWolv", "Default ImHex functionality") {
|
||||
|
||||
using namespace hex::plugin::builtin;
|
||||
|
||||
registerLanguageEnUS();
|
||||
registerLanguageDeDE();
|
||||
registerLanguageItIT();
|
||||
registerLanguageJaJP();
|
||||
registerLanguageZhCN();
|
||||
|
||||
registerViews();
|
||||
registerDataInspectorEntries();
|
||||
registerToolEntries();
|
||||
@ -47,12 +53,6 @@ IMHEX_PLUGIN_SETUP("Built-in", "WerWolv", "Default ImHex functionality") {
|
||||
addToolbarItems();
|
||||
registerLayouts();
|
||||
registerMainMenuEntries();
|
||||
|
||||
registerLanguageEnUS();
|
||||
registerLanguageDeDE();
|
||||
registerLanguageItIT();
|
||||
registerLanguageJaJP();
|
||||
registerLanguageZhCN();
|
||||
}
|
||||
|
||||
// This is the default plugin
|
||||
|
@ -53,12 +53,12 @@ static void checkBorderlessWindowOverride() {
|
||||
IMHEX_PLUGIN_SETUP("Windows", "WerWolv", "Windows-only features") {
|
||||
using namespace hex::plugin::windows;
|
||||
|
||||
hex::ContentRegistry::Views::add<ViewTTYConsole>();
|
||||
|
||||
registerLanguageEnUS();
|
||||
registerLanguageDeDE();
|
||||
registerLanguageZhCN();
|
||||
|
||||
hex::ContentRegistry::Views::add<ViewTTYConsole>();
|
||||
|
||||
addFooterItems();
|
||||
addTitleBarButtons();
|
||||
registerSettings();
|
||||
|
Loading…
Reference in New Issue
Block a user