From 6ee8c37cf590ce83d818e90522b7c57825ec2034 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Thu, 9 Sep 2021 02:03:39 +0200 Subject: [PATCH] ui: Fixed duplicate store localization ids --- plugins/builtin/source/lang/de_DE.cpp | 4 ++-- plugins/builtin/source/lang/en_US.cpp | 4 ++-- plugins/builtin/source/lang/it_IT.cpp | 4 ++-- source/views/view_store.cpp | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/plugins/builtin/source/lang/de_DE.cpp b/plugins/builtin/source/lang/de_DE.cpp index a164e55fd..5a76b1c07 100644 --- a/plugins/builtin/source/lang/de_DE.cpp +++ b/plugins/builtin/source/lang/de_DE.cpp @@ -300,8 +300,8 @@ namespace hex::plugin::builtin { { "hex.view.store.name", "Content Store" }, { "hex.view.store.desc", "Downloade extra Content von ImHex' online Datenbank" }, { "hex.view.store.reload", "Neu laden" }, - { "hex.view.store.name", "Name" }, - { "hex.view.store.description", "Beschreibung" }, + { "hex.view.store.table.name", "Name" }, + { "hex.view.store.table.description", "Beschreibung" }, { "hex.view.store.download", "Download" }, { "hex.view.store.update", "Update" }, { "hex.view.store.remove", "Entfernen" }, diff --git a/plugins/builtin/source/lang/en_US.cpp b/plugins/builtin/source/lang/en_US.cpp index 5fe7c5759..39041c37a 100644 --- a/plugins/builtin/source/lang/en_US.cpp +++ b/plugins/builtin/source/lang/en_US.cpp @@ -300,8 +300,8 @@ namespace hex::plugin::builtin { { "hex.view.store.name", "Content Store" }, { "hex.view.store.desc", "Download new content from ImHex' online database" }, { "hex.view.store.reload", "Reload" }, - { "hex.view.store.name", "Name" }, - { "hex.view.store.description", "Description" }, + { "hex.view.store.table.name", "Name" }, + { "hex.view.store.table.description", "Description" }, { "hex.view.store.download", "Download" }, { "hex.view.store.update", "Update" }, { "hex.view.store.remove", "Remove" }, diff --git a/plugins/builtin/source/lang/it_IT.cpp b/plugins/builtin/source/lang/it_IT.cpp index 67ae77a98..8fc10b9de 100644 --- a/plugins/builtin/source/lang/it_IT.cpp +++ b/plugins/builtin/source/lang/it_IT.cpp @@ -299,8 +299,8 @@ namespace hex::plugin::builtin { //{ "hex.view.store.name", "Content Store" }, // { "hex.view.store.desc", "Download new content from ImHex' online database" }, // { "hex.view.store.reload", "Reload" }, - // { "hex.view.store.name", "Name" }, - // { "hex.view.store.description", "Description" }, + // { "hex.view.store.table.name", "Name" }, + // { "hex.view.store.table.description", "Description" }, // { "hex.view.store.download", "Download" }, // { "hex.view.store.update", "Update" }, // { "hex.view.store.remove", "Remove" }, diff --git a/source/views/view_store.cpp b/source/views/view_store.cpp index b8443ea83..a85edcf61 100644 --- a/source/views/view_store.cpp +++ b/source/views/view_store.cpp @@ -38,8 +38,8 @@ namespace hex { if (ImGui::BeginTabItem(title)) { if (ImGui::BeginTable("##pattern_language", 3, ImGuiTableFlags_ScrollY | ImGuiTableFlags_Borders | ImGuiTableFlags_SizingStretchSame | ImGuiTableFlags_RowBg)) { ImGui::TableSetupScrollFreeze(0, 1); - ImGui::TableSetupColumn("hex.view.store.name"_lang, ImGuiTableColumnFlags_WidthFixed); - ImGui::TableSetupColumn("hex.view.store.description"_lang, ImGuiTableColumnFlags_None); + ImGui::TableSetupColumn("hex.view.store.table.name"_lang, ImGuiTableColumnFlags_WidthFixed); + ImGui::TableSetupColumn("hex.view.store.table.description"_lang, ImGuiTableColumnFlags_None); ImGui::TableSetupColumn("", ImGuiTableColumnFlags_WidthFixed); ImGui::TableHeadersRow();