From f5dcfc196aff5b41bb6db6e4b3044c26ab57cdf3 Mon Sep 17 00:00:00 2001
From: Scott Sumner <30118311+sasumner@users.noreply.github.com>
Date: Mon, 26 Oct 2020 16:13:07 -0400
Subject: [PATCH] Make UI text consistent regarding search results
Fix #9053, close #9061
---
PowerEditor/installer/nativeLang/english.xml | 18 +++++++++---------
.../nativeLang/english_customizable.xml | 18 +++++++++---------
.../src/ScitillaComponent/FindReplaceDlg.cpp | 4 ++--
.../src/ScitillaComponent/FindReplaceDlg.rc | 4 ++--
4 files changed, 22 insertions(+), 22 deletions(-)
diff --git a/PowerEditor/installer/nativeLang/english.xml b/PowerEditor/installer/nativeLang/english.xml
index a89491a6..ab9af7ad 100644
--- a/PowerEditor/installer/nativeLang/english.xml
+++ b/PowerEditor/installer/nativeLang/english.xml
@@ -534,11 +534,11 @@ The comments are here for explanation, it's not necessary to translate them.
-
-
-
-
-
+
+
+
+
+
@@ -1082,7 +1082,7 @@ You can define several column markers by using white space to separate the diffe
-
+
@@ -1336,8 +1336,8 @@ Find in all files except exe, obj && log:
-
-
+
+
@@ -1373,7 +1373,7 @@ Find in all files except exe, obj && log:
-
+
diff --git a/PowerEditor/installer/nativeLang/english_customizable.xml b/PowerEditor/installer/nativeLang/english_customizable.xml
index 83a86750..5f232458 100644
--- a/PowerEditor/installer/nativeLang/english_customizable.xml
+++ b/PowerEditor/installer/nativeLang/english_customizable.xml
@@ -519,11 +519,11 @@
-
-
-
-
-
+
+
+
+
+
@@ -1057,7 +1057,7 @@ You can define several column markers by using white space to separate the diffe
-
+
@@ -1312,8 +1312,8 @@ Find in all files except exe, obj && log:
-
-
+
+
@@ -1349,7 +1349,7 @@ Find in all files except exe, obj && log:
-
+
diff --git a/PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp b/PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp
index b676cfef..f34cf498 100644
--- a/PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp
+++ b/PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp
@@ -3848,8 +3848,8 @@ INT_PTR CALLBACK Finder::run_dlgProc(UINT message, WPARAM wParam, LPARAM lParam)
NativeLangSpeaker *pNativeSpeaker = (NppParameters::getInstance()).getNativeLangSpeaker();
- generic_string findInFinder = pNativeSpeaker->getLocalizedStrFromID("finder-find-in-finder", TEXT("Find in these found results..."));
- generic_string closeThis = pNativeSpeaker->getLocalizedStrFromID("finder-close-this", TEXT("Close this finder"));
+ generic_string findInFinder = pNativeSpeaker->getLocalizedStrFromID("finder-find-in-finder", TEXT("Find in these search results..."));
+ generic_string closeThis = pNativeSpeaker->getLocalizedStrFromID("finder-close-this", TEXT("Close these search results"));
generic_string collapseAll = pNativeSpeaker->getLocalizedStrFromID("finder-collapse-all", TEXT("Collapse all"));
generic_string uncollapseAll = pNativeSpeaker->getLocalizedStrFromID("finder-uncollapse-all", TEXT("Uncollapse all"));
generic_string copy = pNativeSpeaker->getLocalizedStrFromID("finder-copy", TEXT("Copy"));
diff --git a/PowerEditor/src/ScitillaComponent/FindReplaceDlg.rc b/PowerEditor/src/ScitillaComponent/FindReplaceDlg.rc
index b432b597..c70eac2a 100644
--- a/PowerEditor/src/ScitillaComponent/FindReplaceDlg.rc
+++ b/PowerEditor/src/ScitillaComponent/FindReplaceDlg.rc
@@ -108,7 +108,7 @@ END
IDD_FINDRESULT DIALOGEX 26, 41, 223, 67
STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_TOOLWINDOW | WS_EX_WINDOWEDGE
-CAPTION "Find result"
+CAPTION "Search results"
FONT 8, TEXT("MS Shell Dlg"), 0, 0, 0x0
BEGIN
DEFPUSHBUTTON ">",IDC_INCFINDNXTOK,243,0,16,14, NOT WS_VISIBLE
@@ -117,7 +117,7 @@ END
IDD_FINDINFINDER_DLG DIALOGEX 36, 44, 367, 200
STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_TOOLWINDOW
-CAPTION "Find in found results"
+CAPTION "Find in search results"
FONT 8, "MS Shell Dlg", 0, 0, 0x0
BEGIN
RTEXT "&Find what :",IDFINDWHAT_STATIC_FIFOLDER,6,22,75,8