From 5b5238610e6ca57ee779d04aa19db9e8df568241 Mon Sep 17 00:00:00 2001 From: Don Ho Date: Mon, 19 Jun 2023 18:29:13 +0200 Subject: [PATCH] Fix menu Tools contains 2 SHA-256 item while using localization Fix #13797 --- PowerEditor/installer/nativeLang/english.xml | 1 + PowerEditor/installer/nativeLang/english_customizable.xml | 1 + PowerEditor/installer/nativeLang/french.xml | 1 + PowerEditor/installer/nativeLang/taiwaneseMandarin.xml | 1 + PowerEditor/src/localization.cpp | 3 ++- 5 files changed, 6 insertions(+), 1 deletion(-) diff --git a/PowerEditor/installer/nativeLang/english.xml b/PowerEditor/installer/nativeLang/english.xml index ea42b527c..28205f001 100644 --- a/PowerEditor/installer/nativeLang/english.xml +++ b/PowerEditor/installer/nativeLang/english.xml @@ -74,6 +74,7 @@ Translation note: + diff --git a/PowerEditor/installer/nativeLang/english_customizable.xml b/PowerEditor/installer/nativeLang/english_customizable.xml index e1da036ed..6b69b3c28 100644 --- a/PowerEditor/installer/nativeLang/english_customizable.xml +++ b/PowerEditor/installer/nativeLang/english_customizable.xml @@ -74,6 +74,7 @@ Translation note: + diff --git a/PowerEditor/installer/nativeLang/french.xml b/PowerEditor/installer/nativeLang/french.xml index be8f9b1e9..8e73923b8 100644 --- a/PowerEditor/installer/nativeLang/french.xml +++ b/PowerEditor/installer/nativeLang/french.xml @@ -72,6 +72,7 @@ The comments are here for explanation, it's not necessary to translate them. + diff --git a/PowerEditor/installer/nativeLang/taiwaneseMandarin.xml b/PowerEditor/installer/nativeLang/taiwaneseMandarin.xml index 2b080fe2d..5aa78ca9b 100644 --- a/PowerEditor/installer/nativeLang/taiwaneseMandarin.xml +++ b/PowerEditor/installer/nativeLang/taiwaneseMandarin.xml @@ -69,6 +69,7 @@ + diff --git a/PowerEditor/src/localization.cpp b/PowerEditor/src/localization.cpp index 6cb7bee49..080bb34ea 100644 --- a/PowerEditor/src/localization.cpp +++ b/PowerEditor/src/localization.cpp @@ -98,7 +98,8 @@ MenuPosition menuPos[] = { { 6, 4, -1, "settings-import" }, { 7, 0, -1, "tools-md5" }, - { 7, 1, -1, "tools-sha256" }, + { 7, 1, -1, "tools-sha1" }, + { 7, 2, -1, "tools-sha256" }, { 11, 0, -1, "window-sortby"},