Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Keppler2019-11-10 17:45:02 +0000
committerMichael Keppler2019-11-10 17:45:02 +0000
commit3568f7207d32d5170ac4ac805d6cdb8ab6ffc83d (patch)
tree41359d0a3c9508a5e039418f9ce91a4474271312
parentd929e361396ca5bddddf1aedf4fdabc179082fce (diff)
downloadeclipse.platform.text-3568f7207d32d5170ac4ac805d6cdb8ab6ffc83d.tar.gz
eclipse.platform.text-3568f7207d32d5170ac4ac805d6cdb8ab6ffc83d.tar.xz
eclipse.platform.text-3568f7207d32d5170ac4ac805d6cdb8ab6ffc83d.zip
Bug 552886 - Improve wording of new code mining for annotationsY20191112-0030
Also fix a typo in one of the related localization string keys. Change-Id: I3954dc9f20ba425f319e92e4b6333d32f97da971 Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
-rw-r--r--org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/TextEditorDefaultsPreferencePage.java2
-rw-r--r--org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/TextEditorMessages.java2
-rw-r--r--org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/TextEditorMessages.properties6
3 files changed, 5 insertions, 5 deletions
diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/TextEditorDefaultsPreferencePage.java b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/TextEditorDefaultsPreferencePage.java
index 49be4ce042b..426e158375a 100644
--- a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/TextEditorDefaultsPreferencePage.java
+++ b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/TextEditorDefaultsPreferencePage.java
@@ -954,7 +954,7 @@ public class TextEditorDefaultsPreferencePage extends PreferencePage implements
codeMiningsDomain.addValue(new EnumValue(AnnotationCodeMiningPreferenceConstants.SHOW_ANNOTATION_CODE_MINING_LEVEL__ERROR_WARNING,
TextEditorMessages.TextEditorDefaultsPreferencePage_codeMinings_ErrorWarnings));
codeMiningsDomain.addValue(new EnumValue(AnnotationCodeMiningPreferenceConstants.SHOW_ANNOTATION_CODE_MINING_LEVEL__ERROR_WARNING_INFO,
- TextEditorMessages.TextEditorDefaultsPreferencePage_codeMinings_ErrowWarningsInfo));
+ TextEditorMessages.TextEditorDefaultsPreferencePage_codeMinings_ErrorWarningsInfo));
final Control[] showCodeMiningsControls= addCombo(appearanceComposite, showCodeMinings, codeMiningsDomain, 0);
label= TextEditorMessages.TextEditorDefaultsPreferencePage_codeMinings_max;
diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/TextEditorMessages.java b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/TextEditorMessages.java
index 2ff3e9ed0be..ad822068855 100644
--- a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/TextEditorMessages.java
+++ b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/TextEditorMessages.java
@@ -140,7 +140,7 @@ final class TextEditorMessages extends NLS {
public static String TextEditorDefaultsPreferencePage_codeMinings_description;
public static String TextEditorDefaultsPreferencePage_codeMinings_error;
public static String TextEditorDefaultsPreferencePage_codeMinings_ErrorWarnings;
- public static String TextEditorDefaultsPreferencePage_codeMinings_ErrowWarningsInfo;
+ public static String TextEditorDefaultsPreferencePage_codeMinings_ErrorWarningsInfo;
public static String TextEditorDefaultsPreferencePage_codeMinings_max;
public static String TextEditorDefaultsPreferencePage_codeMinings_max_description;
public static String TextEditorDefaultsPreferencePage_codeMinings_none;
diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/TextEditorMessages.properties b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/TextEditorMessages.properties
index c41c9eb9b14..9d012b9fcc2 100644
--- a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/TextEditorMessages.properties
+++ b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/TextEditorMessages.properties
@@ -40,9 +40,9 @@ TextEditorPreferencePage_accessibility_useSaturatedColorsInOverviewRuler=U&se sa
TextEditorDefaultsPreferencePage_carriageReturn=Carriage Return ( \u00a4 )
TextEditorDefaultsPreferencePage_transparencyLevel=&Transparency level (0 is transparent and 255 is opaque):
TextEditorDefaultsPreferencePage_codeMinings_description=How annotations should be shown in-line in text editors which support Code Minings
-TextEditorDefaultsPreferencePage_codeMinings_error=Error
-TextEditorDefaultsPreferencePage_codeMinings_ErrorWarnings=Error / Warnings
-TextEditorDefaultsPreferencePage_codeMinings_ErrowWarningsInfo=Error / Warnings / Info
+TextEditorDefaultsPreferencePage_codeMinings_error=Errors only
+TextEditorDefaultsPreferencePage_codeMinings_ErrorWarnings=Errors and Warnings
+TextEditorDefaultsPreferencePage_codeMinings_ErrorWarningsInfo=Errors, Warnings and Infos
TextEditorDefaultsPreferencePage_codeMinings_max=Maximum annotations shown:
TextEditorDefaultsPreferencePage_codeMinings_max_description=Limits the number of shown annotations to prevent performance issues
TextEditorDefaultsPreferencePage_codeMinings_none=None

Back to the top