Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKalyan Prasad Tatavarthi2020-02-18 14:20:40 +0000
committerKalyan Prasad Tatavarthi2020-02-18 16:16:44 +0000
commit277d42d49a84a8e75a3e7b20a97367e79656b5be (patch)
tree93879aaeb00c4ec9db2c1f8d565a577452f48455
parent8994bae2444db3e4711f0bf2a07519b65e63d79b (diff)
downloadeclipse.platform.text-R4_15_maintenance.tar.gz
eclipse.platform.text-R4_15_maintenance.tar.xz
eclipse.platform.text-R4_15_maintenance.zip
Changed to separate strings and remove concatenation. Change-Id: Ibf2d3c566434b86c2116299403926a79619c562f Signed-off-by: Kalyan Prasad Tatavarthi <kalyan_prasad@in.ibm.com>
-rw-r--r--org.eclipse.text.quicksearch/src/org/eclipse/text/quicksearch/internal/ui/Messages.java3
-rw-r--r--org.eclipse.text.quicksearch/src/org/eclipse/text/quicksearch/internal/ui/QuickSearchDialog.java4
-rw-r--r--org.eclipse.text.quicksearch/src/org/eclipse/text/quicksearch/internal/ui/messages.properties5
3 files changed, 4 insertions, 8 deletions
diff --git a/org.eclipse.text.quicksearch/src/org/eclipse/text/quicksearch/internal/ui/Messages.java b/org.eclipse.text.quicksearch/src/org/eclipse/text/quicksearch/internal/ui/Messages.java
index 7a22ba63d..ab36b2bc8 100644
--- a/org.eclipse.text.quicksearch/src/org/eclipse/text/quicksearch/internal/ui/Messages.java
+++ b/org.eclipse.text.quicksearch/src/org/eclipse/text/quicksearch/internal/ui/Messages.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2019 Pivotal Software, Inc.
+ * Copyright (c) 2019, 2020 Pivotal Software, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
@@ -38,7 +38,6 @@ public class Messages extends NLS {
public static String QuickSearchDialog_title;
public static String QuickSearchDialog_caseSensitive_label;
public static String QuickSearchDialog_caseInsensitive_label;
- public static String QuickSearchDialog_patternHint;
public static String QuickTextSearch_updateMatchesJob;
public static String quickAccessMatch;
diff --git a/org.eclipse.text.quicksearch/src/org/eclipse/text/quicksearch/internal/ui/QuickSearchDialog.java b/org.eclipse.text.quicksearch/src/org/eclipse/text/quicksearch/internal/ui/QuickSearchDialog.java
index 793f6dade..b5f5ceb51 100644
--- a/org.eclipse.text.quicksearch/src/org/eclipse/text/quicksearch/internal/ui/QuickSearchDialog.java
+++ b/org.eclipse.text.quicksearch/src/org/eclipse/text/quicksearch/internal/ui/QuickSearchDialog.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2019 IBM Corporation and others.
+ * Copyright (c) 2000, 2020 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
@@ -591,8 +591,6 @@ public class QuickSearchDialog extends SelectionStatusDialog {
private void refreshHeaderLabel() {
String msg = toggleCaseSensitiveAction.isChecked() ? Messages.QuickSearchDialog_caseSensitive_label : Messages.QuickSearchDialog_caseInsensitive_label;
- msg += ' ';
- msg += Messages.QuickSearchDialog_patternHint;
headerLabel.setText(msg);
}
diff --git a/org.eclipse.text.quicksearch/src/org/eclipse/text/quicksearch/internal/ui/messages.properties b/org.eclipse.text.quicksearch/src/org/eclipse/text/quicksearch/internal/ui/messages.properties
index 7166b95d7..1d9da3076 100644
--- a/org.eclipse.text.quicksearch/src/org/eclipse/text/quicksearch/internal/ui/messages.properties
+++ b/org.eclipse.text.quicksearch/src/org/eclipse/text/quicksearch/internal/ui/messages.properties
@@ -18,8 +18,7 @@ QuickSearchDialog_searching=Searching {0}
QuickSearchDialog_keepOpen_toggle=Keep Open
QuickSearchDialog_caseSensitive_toggle=Case sensitive
QuickSearchDialog_title=Quick Search
-QuickSearchDialog_caseSensitive_label=Case SENSITIVE
-QuickSearchDialog_caseInsensitive_label=Case INSENSITIVE
-QuickSearchDialog_patternHint=&Pattern (? = any character, * = any string)
+QuickSearchDialog_caseSensitive_label=Case SENSITIVE &Pattern (? = any character, * = any string)
+QuickSearchDialog_caseInsensitive_label=Case INSENSITIVE &Pattern (? = any character, * = any string)
QuickTextSearch_updateMatchesJob=Update matches
quickAccessMatch=`{0}` in {1} \ No newline at end of file

Back to the top