Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Prigogin2011-05-27 03:49:20 +0000
committerSergey Prigogin2011-05-27 03:49:20 +0000
commit3b36b2bd9279c10ebd4c4b30af1cec40a1a7000a (patch)
treee541f9c1af50a7ed01b1cddd68410a8c2e10508a /codan/org.eclipse.cdt.codan.ui
parent2641a7712639b9cb72104815fb66ee475f5b5977 (diff)
downloadorg.eclipse.cdt-3b36b2bd9279c10ebd4c4b30af1cec40a1a7000a.tar.gz
org.eclipse.cdt-3b36b2bd9279c10ebd4c4b30af1cec40a1a7000a.tar.xz
org.eclipse.cdt-3b36b2bd9279c10ebd4c4b30af1cec40a1a7000a.zip
Bug 347392 - Non externalized string in org.eclipse.cdt.codan.internal.ui.preferences.BuildPropertyPage.
Diffstat (limited to 'codan/org.eclipse.cdt.codan.ui')
-rw-r--r--codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/CodanUIMessages.java2
-rw-r--r--codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/CodanUIMessages.properties2
-rw-r--r--codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/BuildPropertyPage.java2
3 files changed, 5 insertions, 1 deletions
diff --git a/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/CodanUIMessages.java b/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/CodanUIMessages.java
index 2e2c7655977..0ed0f2917ce 100644
--- a/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/CodanUIMessages.java
+++ b/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/CodanUIMessages.java
@@ -8,6 +8,7 @@
* Contributors:
* Alena Laskavaia - initial API and implementation
* IBM Corporation
+ * Sergey Prigogin (Google)
*******************************************************************************/
package org.eclipse.cdt.codan.internal.ui;
@@ -17,6 +18,7 @@ import org.eclipse.osgi.util.NLS;
* Externalized messages
*/
public class CodanUIMessages extends NLS {
+ public static String BuildPropertyPage_Description;
public static String BuildPropertyPage_RunAsYouType;
public static String BuildPropertyPage_RunWithBuild;
public static String CheckedTreeEditor_SelectionCannotBeEmpty;
diff --git a/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/CodanUIMessages.properties b/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/CodanUIMessages.properties
index 50306301edc..2c02d8329c7 100644
--- a/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/CodanUIMessages.properties
+++ b/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/CodanUIMessages.properties
@@ -8,7 +8,9 @@
# Contributors:
# Alena Laskavaia - initial API and implementation
# IBM Corporation
+# Sergey Prigogin (Google)
###############################################################################
+BuildPropertyPage_Description=Set launch method for checkers, you can override this by editing individual problem settings
BuildPropertyPage_RunAsYouType=Run as you &type (selected checkers)
BuildPropertyPage_RunWithBuild=&Run with build
CheckedTreeEditor_SelectionCannotBeEmpty=Selection cannot be empty
diff --git a/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/BuildPropertyPage.java b/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/BuildPropertyPage.java
index e14efffe2d7..7c11bd79cf4 100644
--- a/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/BuildPropertyPage.java
+++ b/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/BuildPropertyPage.java
@@ -32,7 +32,7 @@ public class BuildPropertyPage extends FieldEditorPreferencePage implements IWor
@Override
protected void createFieldEditors() {
- addField(new LabelFieldEditor("Set launch method for checkers, you can override this by editing individual problem settings",
+ addField(new LabelFieldEditor(CodanUIMessages.BuildPropertyPage_Description,
getFieldEditorParent()));
addField(new BooleanFieldEditor(PreferenceConstants.P_RUN_ON_BUILD, CodanUIMessages.BuildPropertyPage_RunWithBuild,
getFieldEditorParent()));

Back to the top