mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 15:57:03 -05:00
fix: Diffing plugin not registering localization strings correctly
This commit is contained in:
@@ -20,6 +20,9 @@ using namespace hex::plugin::diffing;
|
||||
IMHEX_PLUGIN_SETUP("Diffing", "WerWolv", "Support for diffing data") {
|
||||
hex::log::debug("Using romfs: '{}'", romfs::name());
|
||||
|
||||
for (auto &path : romfs::list("lang"))
|
||||
hex::ContentRegistry::Language::addLocalization(nlohmann::json::parse(romfs::get(path).string()));
|
||||
|
||||
registerDiffingAlgorithms();
|
||||
|
||||
ContentRegistry::Views::add<ViewDiff>();
|
||||
|
||||
Reference in New Issue
Block a user