1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 18:26:01 +02:00

Rename messages.properties to Messages.properties.

This commit is contained in:
Sergey Prigogin 2011-04-19 17:00:58 +00:00
parent 49f89720a9
commit 30fc84b911
2 changed files with 24 additions and 5 deletions

View file

@ -6,7 +6,7 @@
* http://www.eclipse.org/legal/epl-v10.html * http://www.eclipse.org/legal/epl-v10.html
* *
* Contributors: * Contributors:
* Alena Laskavaia - initial API and implementation * Alena Laskavaia - initial API and implementation
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.codan.core; package org.eclipse.cdt.codan.core;
@ -16,7 +16,6 @@ import org.eclipse.osgi.util.NLS;
* Core Messages * Core Messages
*/ */
public class Messages extends NLS { 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_all_option;
public static String CodanApplication_Error_ProjectDoesNotExists; public static String CodanApplication_Error_ProjectDoesNotExists;
public static String CodanApplication_LogRunProject; public static String CodanApplication_LogRunProject;
@ -26,11 +25,12 @@ public class Messages extends NLS {
public static String CodanApplication_verbose_option; public static String CodanApplication_verbose_option;
public static String CodanBuilder_Code_Analysis_On; public static String CodanBuilder_Code_Analysis_On;
public static String FileScopeProblemPreference_Label; public static String FileScopeProblemPreference_Label;
static { static {
// initialize resource bundle NLS.initializeMessages(Messages.class.getName(), Messages.class);
NLS.initializeMessages(BUNDLE_NAME, Messages.class);
} }
// Do not instantiate
private Messages() { private Messages() {
} }
} }

View file

@ -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