mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Marked remaining strings untranslatable as they belong to the extensibility schema.
This commit is contained in:
parent
4b5850c062
commit
fe16438a4d
7 changed files with 525 additions and 522 deletions
File diff suppressed because it is too large
Load diff
|
@ -12,8 +12,8 @@ package org.eclipse.cdt.managedbuilder.core;
|
||||||
|
|
||||||
public interface IBuildObject {
|
public interface IBuildObject {
|
||||||
// Schema element names
|
// Schema element names
|
||||||
public static final String ID = "id";
|
public static final String ID = "id"; //$NON-NLS-1$
|
||||||
public static final String NAME = "name";
|
public static final String NAME = "name"; //$NON-NLS-1$
|
||||||
|
|
||||||
public String getId();
|
public String getId();
|
||||||
public String getName();
|
public String getName();
|
||||||
|
|
|
@ -25,24 +25,24 @@ public interface IOption extends IBuildObject {
|
||||||
public static final int OBJECTS = 7;
|
public static final int OBJECTS = 7;
|
||||||
|
|
||||||
// Schema attribute names for option elements
|
// Schema attribute names for option elements
|
||||||
public static final String CATEGORY = "category";
|
public static final String CATEGORY = "category"; //$NON-NLS-1$
|
||||||
public static final String COMMAND = "command";
|
public static final String COMMAND = "command"; //$NON-NLS-1$
|
||||||
public static final String DEFAULT_VALUE = "defaultValue";
|
public static final String DEFAULT_VALUE = "defaultValue"; //$NON-NLS-1$
|
||||||
public static final String ENUM_VALUE = "enumeratedOptionValue";
|
public static final String ENUM_VALUE = "enumeratedOptionValue"; //$NON-NLS-1$
|
||||||
public static final String IS_DEFAULT = "isDefault";
|
public static final String IS_DEFAULT = "isDefault"; //$NON-NLS-1$
|
||||||
public static final String LIST_VALUE = "listOptionValue";
|
public static final String LIST_VALUE = "listOptionValue"; //$NON-NLS-1$
|
||||||
public static final String TYPE_BOOL = "boolean";
|
public static final String TYPE_BOOL = "boolean"; //$NON-NLS-1$
|
||||||
public static final String TYPE_ENUM = "enumerated";
|
public static final String TYPE_ENUM = "enumerated"; //$NON-NLS-1$
|
||||||
public static final String TYPE_INC_PATH = "includePath";
|
public static final String TYPE_INC_PATH = "includePath"; //$NON-NLS-1$
|
||||||
public static final String TYPE_LIB = "libs";
|
public static final String TYPE_LIB = "libs"; //$NON-NLS-1$
|
||||||
public static final String TYPE_STRING = "string";
|
public static final String TYPE_STRING = "string"; //$NON-NLS-1$
|
||||||
public static final String TYPE_STR_LIST = "stringList";
|
public static final String TYPE_STR_LIST = "stringList"; //$NON-NLS-1$
|
||||||
public static final String TYPE_USER_OBJS = "userObjs";
|
public static final String TYPE_USER_OBJS = "userObjs"; //$NON-NLS-1$
|
||||||
public static final String VALUE_TYPE = "valueType";
|
public static final String VALUE_TYPE = "valueType"; //$NON-NLS-1$
|
||||||
|
|
||||||
// Schema attribute names for listOptionValue elements
|
// Schema attribute names for listOptionValue elements
|
||||||
public static final String LIST_ITEM_VALUE = "value";
|
public static final String LIST_ITEM_VALUE = "value"; //$NON-NLS-1$
|
||||||
public static final String LIST_ITEM_BUILTIN = "builtIn";
|
public static final String LIST_ITEM_BUILTIN = "builtIn"; //$NON-NLS-1$
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -16,7 +16,7 @@ package org.eclipse.cdt.managedbuilder.core;
|
||||||
public interface IOptionCategory extends IBuildObject {
|
public interface IOptionCategory extends IBuildObject {
|
||||||
|
|
||||||
// Schema element names
|
// Schema element names
|
||||||
public static final String OWNER = "owner";
|
public static final String OWNER = "owner"; //$NON-NLS-1$
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the list of children of this node in the option category tree
|
* Returns the list of children of this node in the option category tree
|
||||||
|
|
|
@ -62,7 +62,7 @@ public class ManagedBuildManager extends AbstractCExtension implements IScannerI
|
||||||
private static final String ROOT_ELEM_NAME = "ManagedProjectBuildInfo"; //$NON-NLS-1$
|
private static final String ROOT_ELEM_NAME = "ManagedProjectBuildInfo"; //$NON-NLS-1$
|
||||||
private static final String FILE_NAME = ".cdtbuild"; //$NON-NLS-1$
|
private static final String FILE_NAME = ".cdtbuild"; //$NON-NLS-1$
|
||||||
private static final ITarget[] emptyTargets = new ITarget[0];
|
private static final ITarget[] emptyTargets = new ITarget[0];
|
||||||
public static final String INTERFACE_IDENTITY = ManagedBuilderCorePlugin.getUniqueIdentifier() + "." + "ManagedBuildManager"; //$NON-NLS-1$
|
public static final String INTERFACE_IDENTITY = ManagedBuilderCorePlugin.getUniqueIdentifier() + "." + "ManagedBuildManager"; //$NON-NLS-1$ //$NON-NLS-2$
|
||||||
public static final String EXTENSION_POINT_ID = "ManagedBuildInfo"; //$NON-NLS-1$
|
public static final String EXTENSION_POINT_ID = "ManagedBuildInfo"; //$NON-NLS-1$
|
||||||
|
|
||||||
// This is the version of the manifest and project files that
|
// This is the version of the manifest and project files that
|
||||||
|
|
|
@ -26,9 +26,9 @@ import org.eclipse.core.runtime.IProgressMonitor;
|
||||||
import org.eclipse.core.runtime.Plugin;
|
import org.eclipse.core.runtime.Plugin;
|
||||||
|
|
||||||
public class ManagedCProjectNature implements IProjectNature {
|
public class ManagedCProjectNature implements IProjectNature {
|
||||||
public static final String BUILDER_NAME = "genmakebuilder";
|
public static final String BUILDER_NAME = "genmakebuilder"; //$NON-NLS-1$
|
||||||
public static final String BUILDER_ID = ManagedBuilderCorePlugin.getUniqueIdentifier() + "." + BUILDER_NAME; //$NON-NLS-1$
|
public static final String BUILDER_ID = ManagedBuilderCorePlugin.getUniqueIdentifier() + "." + BUILDER_NAME; //$NON-NLS-1$
|
||||||
private static final String MNG_NATURE_ID = ManagedBuilderCorePlugin.getUniqueIdentifier() + ".managedBuildNature";
|
private static final String MNG_NATURE_ID = ManagedBuilderCorePlugin.getUniqueIdentifier() + ".managedBuildNature"; //$NON-NLS-1$
|
||||||
private IProject project;
|
private IProject project;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -406,13 +406,13 @@ public class GeneratedMakefileBuilder extends ACBuilder {
|
||||||
if (errMsg != null && errMsg.length() > 0) {
|
if (errMsg != null && errMsg.length() > 0) {
|
||||||
String errorDesc = ManagedBuilderCorePlugin.getResourceString(BUILD_ERROR);
|
String errorDesc = ManagedBuilderCorePlugin.getResourceString(BUILD_ERROR);
|
||||||
buf.append(errorDesc);
|
buf.append(errorDesc);
|
||||||
buf.append(System.getProperty("line.separator", "\n")); //$NON-NLS-2$
|
buf.append(System.getProperty("line.separator", "\n")); //$NON-NLS-1$//$NON-NLS-2$
|
||||||
buf.append("(").append(errMsg).append(")"); //$NON-NLS-1$ //$NON-NLS-2$
|
buf.append("(").append(errMsg).append(")"); //$NON-NLS-1$ //$NON-NLS-2$
|
||||||
} else {
|
} else {
|
||||||
// Report a successful build
|
// Report a successful build
|
||||||
String successMsg = ManagedBuilderCorePlugin.getFormattedString(BUILD_FINISHED, currentProject.getName());
|
String successMsg = ManagedBuilderCorePlugin.getFormattedString(BUILD_FINISHED, currentProject.getName());
|
||||||
buf.append(successMsg);
|
buf.append(successMsg);
|
||||||
buf.append(System.getProperty("line.separator", "\n")); //$NON-NLS-2$
|
buf.append(System.getProperty("line.separator", "\n")); //$NON-NLS-1$//$NON-NLS-2$
|
||||||
}
|
}
|
||||||
|
|
||||||
// Write message on the console
|
// Write message on the console
|
||||||
|
|
Loading…
Add table
Reference in a new issue