mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 13:05:25 -05:00
lang: Fixed some localization issues
This commit is contained in:
@@ -125,7 +125,7 @@ namespace hex::plugin::builtin {
|
||||
|
||||
fs::openFileBrowser(fs::DialogMode::Open, {}, [](const auto &path) {
|
||||
std::thread([path] {
|
||||
auto task = ImHexApi::Tasks::createTask("hex.common.processing", 0);
|
||||
auto task = ImHexApi::Tasks::createTask("hex.builtin.common.processing", 0);
|
||||
|
||||
auto patchData = fs::File(path, fs::File::Mode::Read).readBytes();
|
||||
auto patch = hex::loadIPSPatch(patchData);
|
||||
@@ -149,7 +149,7 @@ namespace hex::plugin::builtin {
|
||||
if (ImGui::MenuItem("hex.builtin.menu.file.import.ips32"_lang, nullptr, false)) {
|
||||
fs::openFileBrowser(fs::DialogMode::Open, {}, [](const auto &path) {
|
||||
std::thread([path] {
|
||||
auto task = ImHexApi::Tasks::createTask("hex.common.processing", 0);
|
||||
auto task = ImHexApi::Tasks::createTask("hex.builtin.common.processing", 0);
|
||||
|
||||
auto patchData = fs::File(path, fs::File::Mode::Read).readBytes();
|
||||
auto patch = hex::loadIPS32Patch(patchData);
|
||||
@@ -185,7 +185,7 @@ namespace hex::plugin::builtin {
|
||||
}
|
||||
|
||||
std::thread([patches] {
|
||||
auto task = ImHexApi::Tasks::createTask("hex.common.processing", 0);
|
||||
auto task = ImHexApi::Tasks::createTask("hex.builtin.common.processing", 0);
|
||||
|
||||
auto data = generateIPSPatch(patches);
|
||||
|
||||
@@ -212,7 +212,7 @@ namespace hex::plugin::builtin {
|
||||
}
|
||||
|
||||
std::thread([patches] {
|
||||
auto task = ImHexApi::Tasks::createTask("hex.common.processing", 0);
|
||||
auto task = ImHexApi::Tasks::createTask("hex.builtin.common.processing", 0);
|
||||
|
||||
auto data = generateIPS32Patch(patches);
|
||||
|
||||
|
||||
@@ -304,8 +304,8 @@ namespace hex::plugin::builtin {
|
||||
void draw(ViewHexEditor *editor) override {
|
||||
ImGui::TextUnformatted("hex.builtin.view.hex_editor.menu.edit.insert"_lang);
|
||||
|
||||
ImGui::InputHexadecimal("hex.common.address"_lang, &this->m_address);
|
||||
ImGui::InputHexadecimal("hex.common.size"_lang, &this->m_size);
|
||||
ImGui::InputHexadecimal("hex.builtin.common.address"_lang, &this->m_address);
|
||||
ImGui::InputHexadecimal("hex.builtin.common.size"_lang, &this->m_size);
|
||||
|
||||
View::confirmButtons("hex.builtin.common.set"_lang, "hex.builtin.common.cancel"_lang,
|
||||
[&, this]{
|
||||
@@ -335,8 +335,8 @@ namespace hex::plugin::builtin {
|
||||
void draw(ViewHexEditor *editor) override {
|
||||
ImGui::TextUnformatted("hex.builtin.view.hex_editor.menu.edit.remove"_lang);
|
||||
|
||||
ImGui::InputHexadecimal("hex.common.address"_lang, &this->m_address);
|
||||
ImGui::InputHexadecimal("hex.common.size"_lang, &this->m_size);
|
||||
ImGui::InputHexadecimal("hex.builtin.common.address"_lang, &this->m_address);
|
||||
ImGui::InputHexadecimal("hex.builtin.common.size"_lang, &this->m_size);
|
||||
|
||||
View::confirmButtons("hex.builtin.common.set"_lang, "hex.builtin.common.cancel"_lang,
|
||||
[&, this]{
|
||||
|
||||
Reference in New Issue
Block a user