diff --git a/plugins/hashes/romfs/lang/en_US.json b/plugins/hashes/romfs/lang/en_US.json index 41d83141b..16b061716 100644 --- a/plugins/hashes/romfs/lang/en_US.json +++ b/plugins/hashes/romfs/lang/en_US.json @@ -6,7 +6,8 @@ "hex.hashes.view.hashes.hover_info": "Hover over the Hex Editor selection and hold down SHIFT to view the hashes of that region.", "hex.hashes.view.hashes.name": "Hashes", "hex.hashes.view.hashes.no_settings": "No settings available", - "hex.hashes.view.hashes.add": "(Double click to add new Hash...)", + "hex.hashes.view.hashes.add": "Add hash", + "hex.hashes.view.hashes.table_add": "(Double click to add new Hash...)", "hex.hashes.view.hashes.remove": "Remove hash", "hex.hashes.view.hashes.hash_name": "Hash Name", "hex.hashes.view.hashes.table.name": "Name", diff --git a/plugins/hashes/romfs/lang/fr_FR.json b/plugins/hashes/romfs/lang/fr_FR.json index 5e4d34772..57201c816 100644 --- a/plugins/hashes/romfs/lang/fr_FR.json +++ b/plugins/hashes/romfs/lang/fr_FR.json @@ -6,6 +6,7 @@ "hex.hashes.view.hashes.hover_info": "Passez la souris sur la sélection de l'éditeur hexadécimal et maintenez la touche MAJ enfoncée pour voir les hachages de cette région.", "hex.hashes.view.hashes.name": "Hachages", "hex.hashes.view.hashes.no_settings": "Aucun paramètre disponible", + "hex.hashes.view.hashes.add": "Ajouter un hachage", "hex.hashes.view.hashes.remove": "Supprimer un hachage", "hex.hashes.view.hashes.hash_name": "Nom du hachage", "hex.hashes.view.hashes.table.name": "Nom", diff --git a/plugins/hashes/romfs/lang/pl_PL.json b/plugins/hashes/romfs/lang/pl_PL.json index bcfb71b2b..810f1ac39 100644 --- a/plugins/hashes/romfs/lang/pl_PL.json +++ b/plugins/hashes/romfs/lang/pl_PL.json @@ -18,6 +18,7 @@ "hex.hashes.hash.common.xor_out": "XOR wyjścia", "hex.hashes.hash.sum": "Suma", "hex.hashes.hash.sum.fold": "Zwiń wynik", + "hex.hashes.view.hashes.add": "Dodaj hash", "hex.hashes.view.hashes.function": "Funkcja skrótu", "hex.hashes.view.hashes.hash": "Hash", "hex.hashes.view.hashes.hash_name": "Nazwa hash", diff --git a/plugins/hashes/romfs/lang/zh_CN.json b/plugins/hashes/romfs/lang/zh_CN.json index 47d44e1a7..b95ca86ac 100644 --- a/plugins/hashes/romfs/lang/zh_CN.json +++ b/plugins/hashes/romfs/lang/zh_CN.json @@ -27,5 +27,6 @@ "hex.hashes.view.hashes.table.name": "名称", "hex.hashes.view.hashes.table.result": "结果", "hex.hashes.view.hashes.table.type": "类型", + "hex.hashes.view.hashes.add": "添加哈希", "hex.hashes.view.hashes.hash_name": "​​哈希名称​" } \ No newline at end of file diff --git a/plugins/hashes/source/content/views/view_hashes.cpp b/plugins/hashes/source/content/views/view_hashes.cpp index 9e08770ff..7fedcd6ac 100644 --- a/plugins/hashes/source/content/views/view_hashes.cpp +++ b/plugins/hashes/source/content/views/view_hashes.cpp @@ -291,7 +291,7 @@ namespace hex::plugin::hashes { { ImGui::PushClipRect(ImGui::GetWindowPos(), ImGui::GetWindowPos() + ImGui::GetWindowSize(), false); - const auto text = "hex.hashes.view.hashes.add"_lang; + const auto text = "hex.hashes.view.hashes.table_add"_lang; const auto textSize = ImGui::CalcTextSize(text); ImGui::SetCursorPosX((ImGui::GetWindowSize().x - textSize.x) / 2); ImGuiExt::TextFormattedDisabled(text);