summaryrefslogtreecommitdiffstats
path: root/tdeutils/kfinddialog.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2018-08-21 00:06:14 +0900
committerMichele Calgaro <[email protected]>2018-08-21 00:07:54 +0900
commit8d7dfc5b0971dcb2d5a1e26b597d7168a90e9201 (patch)
tree897a44891d6d90798cfeecb6979e6d4daad65b30 /tdeutils/kfinddialog.cpp
parentbd4b955ff6cf7f89e67f2d70138fab662f042e91 (diff)
downloadtdelibs-8d7dfc5b0971dcb2d5a1e26b597d7168a90e9201.tar.gz
tdelibs-8d7dfc5b0971dcb2d5a1e26b597d7168a90e9201.zip
Improved description of "what's this" for placeholder in Find and
Replace dialog. This relates to bug 2558. Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 3b2909854ebab9d22efe70eebaee1bca01bc3012)
Diffstat (limited to 'tdeutils/kfinddialog.cpp')
-rw-r--r--tdeutils/kfinddialog.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/tdeutils/kfinddialog.cpp b/tdeutils/kfinddialog.cpp
index 9937cd188..47a876611 100644
--- a/tdeutils/kfinddialog.cpp
+++ b/tdeutils/kfinddialog.cpp
@@ -254,10 +254,13 @@ void KFindDialog::init(bool forReplace, const TQStringList &findStrings, bool ha
TQWhatsThis::add ( m_replace, i18n(
"Enter a replacement string, or select a previous one from the list.") );
TQWhatsThis::add( m_backRef, i18n(
- "<qt>If enabled, any occurrence of <code><b>\\N</b></code>, where "
- "<code><b>N</b></code> is a integer number, will be replaced with "
+ "<qt>When regular expressions are enabled, you can select part of the searched text by "
+ "enclosing it within parenthesis. Placeholders allow you to insert such text in the "
+ "replacement string, similar to how backreferences are used in sed. When enabled, "
+ "any occurrence of <code><b>\\N</b></code> (where <code><b>N</b></code> "
+ "is a integer number, e.g. \\1, \\2, ...), will be replaced with "
"the corresponding capture (\"parenthesized substring\") from the "
- "pattern.<p>To include (a literal <code><b>\\N</b></code> in your "
+ "pattern.<p>To include a literal <code><b>\\N</b></code> in your "
"replacement, put an extra backslash in front of it, like "
"<code><b>\\\\N</b></code>.</qt>") );
TQWhatsThis::add ( m_backRefItem, i18n(