lang: Fixed some localization issues

This commit is contained in:
WerWolv
2022-06-17 14:35:54 +02:00
parent 662d80abea
commit 116aeede2d
7 changed files with 13 additions and 13 deletions

View File

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

View File

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