1
0
mirror of synced 2024-11-28 09:30:51 +01:00

sys: Register languages before registering any other things

This commit is contained in:
WerWolv 2022-02-16 21:32:33 +01:00
parent 90753f4d42
commit 716d52f3e3
2 changed files with 8 additions and 8 deletions

View File

@ -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

View File

@ -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();