1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 22:52:11 +02:00

Bug 347392 - Non externalized string in org.eclipse.cdt.codan.internal.ui.preferences.BuildPropertyPage.

This commit is contained in:
Sergey Prigogin 2011-05-27 03:49:20 +00:00
parent 2641a77126
commit 3b36b2bd92
3 changed files with 5 additions and 1 deletions

View file

@ -8,6 +8,7 @@
* Contributors: * Contributors:
* Alena Laskavaia - initial API and implementation * Alena Laskavaia - initial API and implementation
* IBM Corporation * IBM Corporation
* Sergey Prigogin (Google)
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.codan.internal.ui; package org.eclipse.cdt.codan.internal.ui;
@ -17,6 +18,7 @@ import org.eclipse.osgi.util.NLS;
* Externalized messages * Externalized messages
*/ */
public class CodanUIMessages extends NLS { public class CodanUIMessages extends NLS {
public static String BuildPropertyPage_Description;
public static String BuildPropertyPage_RunAsYouType; public static String BuildPropertyPage_RunAsYouType;
public static String BuildPropertyPage_RunWithBuild; public static String BuildPropertyPage_RunWithBuild;
public static String CheckedTreeEditor_SelectionCannotBeEmpty; public static String CheckedTreeEditor_SelectionCannotBeEmpty;

View file

@ -8,7 +8,9 @@
# Contributors: # Contributors:
# Alena Laskavaia - initial API and implementation # Alena Laskavaia - initial API and implementation
# IBM Corporation # 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_RunAsYouType=Run as you &type (selected checkers)
BuildPropertyPage_RunWithBuild=&Run with build BuildPropertyPage_RunWithBuild=&Run with build
CheckedTreeEditor_SelectionCannotBeEmpty=Selection cannot be empty CheckedTreeEditor_SelectionCannotBeEmpty=Selection cannot be empty

View file

@ -32,7 +32,7 @@ public class BuildPropertyPage extends FieldEditorPreferencePage implements IWor
@Override @Override
protected void createFieldEditors() { 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())); getFieldEditorParent()));
addField(new BooleanFieldEditor(PreferenceConstants.P_RUN_ON_BUILD, CodanUIMessages.BuildPropertyPage_RunWithBuild, addField(new BooleanFieldEditor(PreferenceConstants.P_RUN_ON_BUILD, CodanUIMessages.BuildPropertyPage_RunWithBuild,
getFieldEditorParent())); getFieldEditorParent()));