fix: Wrong localization for Add button in hashes view

This commit is contained in:
WerWolv
2025-08-30 10:30:07 +02:00
parent ab1e5eb359
commit cde9dc37e5
5 changed files with 6 additions and 2 deletions

View File

@@ -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",

View File

@@ -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",

View File

@@ -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",

View File

@@ -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": "​​哈希名称​"
}

View File

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