001/*
002 * ModeShape (http://www.modeshape.org)
003 *
004 * Licensed under the Apache License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 *       http://www.apache.org/licenses/LICENSE-2.0
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016package org.modeshape.common;
017
018import org.modeshape.common.i18n.I18n;
019
020/**
021 * The internationalized string constants for the <code>org.modeshape.common*</code> packages.
022 */
023public final class CommonI18n {
024
025    // Make sure the following I18n.java-related fields are defined before all other fields to ensure a valid error message is
026    // produced in the event of a missing/duplicate/unused property
027
028    public static I18n i18nClassInterface;
029    public static I18n i18nClassNotPublic;
030    public static I18n i18nFieldFinal;
031    public static I18n i18nFieldInvalidType;
032    public static I18n i18nFieldNotPublic;
033    public static I18n i18nFieldNotStatic;
034    public static I18n i18nLocalizationFileNotFound;
035    public static I18n i18nLocalizationProblems;
036    public static I18n i18nPropertyDuplicate;
037    public static I18n i18nPropertyMissing;
038    public static I18n i18nPropertyUnused;
039    public static I18n i18nRequiredToSuppliedParameterMismatch;
040    public static I18n i18nBundleNotFoundInClasspath;
041
042    // Core-related fields
043    public static I18n argumentDidNotContainKey;
044    public static I18n argumentDidNotContainObject;
045    public static I18n argumentMayNotBeEmpty;
046    public static I18n argumentMayNotBeGreaterThan;
047    public static I18n argumentMayNotBeLessThan;
048    public static I18n argumentMayNotBeNegative;
049    public static I18n argumentMayNotBeNull;
050    public static I18n argumentMayNotBeNullOrZeroLength;
051    public static I18n argumentMayNotBeNullOrZeroLengthOrEmpty;
052    public static I18n argumentMayNotBePositive;
053    public static I18n argumentMayNotContainNullValue;
054    public static I18n argumentMustBeEmpty;
055    public static I18n argumentMustBeEquals;
056    public static I18n argumentMustBeGreaterThan;
057    public static I18n argumentMustBeGreaterThanOrEqualTo;
058    public static I18n argumentMustBeInstanceOf;
059    public static I18n argumentMustBeLessThan;
060    public static I18n argumentMustBeLessThanOrEqualTo;
061    public static I18n argumentMustBeNegative;
062    public static I18n argumentMustBeNull;
063    public static I18n argumentMustBeNumber;
064    public static I18n argumentMustBeOfMaximumSize;
065    public static I18n argumentMustBeOfMinimumSize;
066    public static I18n argumentMustBePositive;
067    public static I18n argumentMustBePowerOfTwo;
068    public static I18n argumentMustBeSameAs;
069    public static I18n argumentMustNotBeEquals;
070    public static I18n argumentMustNotBeSameAs;
071    public static I18n componentClassnameNotValid;
072    public static I18n componentNotConfigured;
073    public static I18n dateParsingFailure;
074    public static I18n initialActivityMonitorTaskName;
075    public static I18n nullActivityMonitorTaskName;
076    public static I18n pathAncestorDegreeIsInvalid;
077    public static I18n pathCannotBeNormalized;
078    public static I18n pathIsAlreadyAbsolute;
079    public static I18n pathIsNotAbsolute;
080    public static I18n pathIsNotRelative;
081    public static I18n requiredToSuppliedParameterMismatch;
082    public static I18n unableToAccessResourceFileFromClassLoader;
083
084    // TokenStream
085    public static I18n noMoreContent;
086    public static I18n noMoreContentButWasExpectingToken;
087    public static I18n unexpectedToken;
088    public static I18n noMoreContentButWasExpectingCharacter;
089    public static I18n unexpectedCharacter;
090    public static I18n noMoreContentButWasExpectingTokenType;
091    public static I18n unexpectedTokenType;
092    public static I18n startMethodMustBeCalledBeforeNext;
093    public static I18n startMethodMustBeCalledBeforeConsumingOrMatching;
094    public static I18n noMatchingDoubleQuoteFound;
095    public static I18n noMatchingSingleQuoteFound;
096    public static I18n expectingValidIntegerAtLineAndColumn;
097    public static I18n expectingValidLongAtLineAndColumn;
098    public static I18n expectingValidBooleanAtLineAndColumn;
099    public static I18n endPositionMustBeGreaterThanStartingPosition;
100
101    // ComponentConfig annotations
102    public static I18n componentConfigNamePropertyDescription;
103    public static I18n componentConfigNamePropertyLabel;
104    public static I18n componentConfigNamePropertyCategory;
105    public static I18n componentConfigDescriptionPropertyDescription;
106    public static I18n componentConfigDescriptionPropertyLabel;
107    public static I18n componentConfigDescriptionPropertyCategory;
108    public static I18n componentConfigClassnamePropertyDescription;
109    public static I18n componentConfigClassnamePropertyLabel;
110    public static I18n componentConfigClassnamePropertyCategory;
111    public static I18n componentConfigClasspathPropertyDescription;
112    public static I18n componentConfigClasspathPropertyLabel;
113    public static I18n componentConfigClasspathPropertyCategory;
114
115    public static I18n errorInitializingCustomLoggerFactory;
116
117    public static I18n customLoggingAvailable;
118    public static I18n slf4jAvailable;
119    public static I18n log4jAvailable;
120    public static I18n jdkFallback;
121
122    public static I18n errorWhileClosingRingBufferConsumer;
123    public static I18n errorClosingWrappedStream;
124    
125    public static I18n incorrectRingBufferSize;
126
127    private CommonI18n() {
128    }
129
130    static {
131        try {
132            I18n.initialize(CommonI18n.class);
133        } catch (final Exception err) {
134            // CHECKSTYLE IGNORE check FOR NEXT 1 LINES
135            System.err.println(err);
136        }
137    }
138}