diff options
[115727] externalize strings that need them or mark them as non-nls
Diffstat (limited to 'bundles/org.eclipse.wst.xml.core/src-validation/org/eclipse/wst/xml/core/internal/validation/XMLValidationMessages.java')
-rw-r--r-- | bundles/org.eclipse.wst.xml.core/src-validation/org/eclipse/wst/xml/core/internal/validation/XMLValidationMessages.java | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/bundles/org.eclipse.wst.xml.core/src-validation/org/eclipse/wst/xml/core/internal/validation/XMLValidationMessages.java b/bundles/org.eclipse.wst.xml.core/src-validation/org/eclipse/wst/xml/core/internal/validation/XMLValidationMessages.java new file mode 100644 index 0000000000..77c6683aa4 --- /dev/null +++ b/bundles/org.eclipse.wst.xml.core/src-validation/org/eclipse/wst/xml/core/internal/validation/XMLValidationMessages.java @@ -0,0 +1,35 @@ +/* + * Copyright (c) 2005 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/cpl-v10.html + * + * Contributors: + * IBM - Initial API and implementation + * + */ +package org.eclipse.wst.xml.core.internal.validation; + +import org.eclipse.osgi.util.NLS; + +/** + * Strings used by XML Validation + */ +public class XMLValidationMessages extends NLS { + private static final String BUNDLE_NAME = "org.eclipse.wst.xml.core.internal.validation.xmlvalidation";//$NON-NLS-1$ + + public static String _UI_PROBLEMS_VALIDATING_UNKNOWN_HOST; + public static String _UI_PROBLEMS_VALIDATING_FILE_NOT_FOUND; + public static String _UI_PROBLEMS_CONNECTION_REFUSED; + public static String _UI_REF_FILE_ERROR_MESSAGE; + + static { + // load message values from bundle file + NLS.initializeMessages(BUNDLE_NAME, XMLValidationMessages.class); + } + + private XMLValidationMessages() { + // cannot create new instance + } +} |