Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/codan
diff options
context:
space:
mode:
authorSergey Prigogin2011-04-19 17:00:58 +0000
committerSergey Prigogin2011-04-19 17:00:58 +0000
commit30fc84b911da4ee6d1d5a9b0262650d17173697c (patch)
tree9c84e58ee366d10118478f5f26fb80997fa3ae9f /codan
parent49f89720a970b5ae41272abd758c3bb8cb0766ce (diff)
downloadorg.eclipse.cdt-30fc84b911da4ee6d1d5a9b0262650d17173697c.tar.gz
org.eclipse.cdt-30fc84b911da4ee6d1d5a9b0262650d17173697c.tar.xz
org.eclipse.cdt-30fc84b911da4ee6d1d5a9b0262650d17173697c.zip
Rename messages.properties to Messages.properties.
Diffstat (limited to 'codan')
-rw-r--r--codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/core/Messages.java10
-rw-r--r--codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/core/Messages.properties19
2 files changed, 24 insertions, 5 deletions
diff --git a/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/core/Messages.java b/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/core/Messages.java
index 312c5c2050c..1c70c89d409 100644
--- a/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/core/Messages.java
+++ b/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/core/Messages.java
@@ -1,12 +1,12 @@
/*******************************************************************************
- * Copyright (c) 2009,2010 Alena Laskavaia
+ * Copyright (c) 2009,2010 Alena Laskavaia
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
- * Alena Laskavaia - initial API and implementation
+ * Alena Laskavaia - initial API and implementation
*******************************************************************************/
package org.eclipse.cdt.codan.core;
@@ -16,7 +16,6 @@ import org.eclipse.osgi.util.NLS;
* Core Messages
*/
public class Messages extends NLS {
- private static final String BUNDLE_NAME = "org.eclipse.cdt.codan.core.messages"; //$NON-NLS-1$
public static String CodanApplication_all_option;
public static String CodanApplication_Error_ProjectDoesNotExists;
public static String CodanApplication_LogRunProject;
@@ -26,11 +25,12 @@ public class Messages extends NLS {
public static String CodanApplication_verbose_option;
public static String CodanBuilder_Code_Analysis_On;
public static String FileScopeProblemPreference_Label;
+
static {
- // initialize resource bundle
- NLS.initializeMessages(BUNDLE_NAME, Messages.class);
+ NLS.initializeMessages(Messages.class.getName(), Messages.class);
}
+ // Do not instantiate
private Messages() {
}
}
diff --git a/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/core/Messages.properties b/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/core/Messages.properties
new file mode 100644
index 00000000000..d27aa294057
--- /dev/null
+++ b/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/core/Messages.properties
@@ -0,0 +1,19 @@
+###############################################################################
+# Copyright (c) 2010 Alena Laskavaia and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# Alena Laskavaia - initial API and implementation
+###############################################################################
+CodanApplication_Error_ProjectDoesNotExists=Error: project {0} does not exist
+CodanApplication_LogRunProject=Running code analysis on project
+CodanApplication_LogRunWorkspace=Running code analysis on workspace
+CodanApplication_Usage=Usage: [options] <project1> <project2> ...
+CodanApplication_Options=Options:
+CodanApplication_all_option= -all - run on all projects in workspace
+CodanApplication_verbose_option= -verbose - print verbose build information
+CodanBuilder_Code_Analysis_On=Code analysis on
+FileScopeProblemPreference_Label=Exclusion and Inclusion

Back to the top