mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 05:27:41 -05:00
impr: Rewrite Localization Manager to use more standard format and load localizations on the fly
This commit is contained in:
@@ -318,7 +318,7 @@ namespace hex::plugin::builtin {
|
||||
EventImHexStartupFinished::subscribe([] {
|
||||
const auto &initArgs = ImHexApi::System::getInitArguments();
|
||||
if (auto it = initArgs.find("language"); it != initArgs.end())
|
||||
LocalizationManager::loadLanguage(it->second);
|
||||
LocalizationManager::setLanguage(it->second);
|
||||
});
|
||||
|
||||
EventWindowFocused::subscribe([](bool focused) {
|
||||
|
||||
Reference in New Issue
Block a user