001/*
002 * This library is part of OpenCms -
003 * the Open Source Content Management System
004 *
005 * Copyright (c) Alkacon Software GmbH & Co. KG (http://www.alkacon.com)
006 *
007 * This library is free software; you can redistribute it and/or
008 * modify it under the terms of the GNU Lesser General Public
009 * License as published by the Free Software Foundation; either
010 * version 2.1 of the License, or (at your option) any later version.
011 *
012 * This library is distributed in the hope that it will be useful,
013 * but WITHOUT ANY WARRANTY; without even the implied warranty of
014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
015 * Lesser General Public License for more details.
016 *
017 * For further information about Alkacon Software, please see the
018 * company website: http://www.alkacon.com
019 *
020 * For further information about OpenCms, please see the
021 * project website: http://www.opencms.org
022 *
023 * You should have received a copy of the GNU Lesser General Public
024 * License along with this library; if not, write to the Free Software
025 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
026 */
027
028package org.opencms.ugc;
029
030import org.opencms.i18n.A_CmsMessageBundle;
031import org.opencms.i18n.I_CmsMessageBundle;
032
033/**
034 * Messages for the package org.opencms.editors.usergenerated.<p>
035 */
036public class Messages extends A_CmsMessageBundle {
037
038    /** Message constant for key in the resource bundle. */
039    public static final String ERR_TOO_MANY_CONTENTS_1 = "ERR_TOO_MANY_CONTENTS_1";
040
041    /** Message constant for key in the resource bundle. */
042    public static final String ERR_UPLOAD_TOO_BIG_1 = "ERR_UPLOAD_TOO_BIG_1";
043
044    /** Message constant for key in the resource bundle. */
045    public static final String ERR_UPLOAD_FILE_EXTENSION_NOT_ALLOWED_1 = "ERR_UPLOAD_FILE_EXTENSION_NOT_ALLOWED_1";
046
047    /** Message constant for key in the resource bundle. */
048    public static final String ERR_NO_UPLOADS_ALLOWED_0 = "ERR_NO_UPLOADS_ALLOWED_0";
049
050    /** Message constant for key in the resource bundle. */
051    public static final String ERR_CANT_EDIT_MULTIPLE_CONTENTS_IN_SESSION_0 = "ERR_CANT_EDIT_MULTIPLE_CONTENTS_IN_SESSION_0";
052
053    /** Message constant for key in the resource bundle. */
054    public static final String ERR_INVALID_FILE_NAME_TO_LOAD_1 = "ERR_INVALID_FILE_NAME_TO_LOAD_1";
055
056    /** Message constant for key in the resource bundle. */
057    public static final String ERR_FORM_SESSION_ALREADY_FINISHED_0 = "ERR_FORM_SESSION_ALREADY_FINISHED_0";
058
059    /** Message constant for key in the resource bundle. */
060    public static final String ERR_WAIT_QUEUE_EXCEEDED_0 = "ERR_WAIT_QUEUE_EXCEEDED_0";
061
062    /** Name of the used resource bundle. */
063    private static final String BUNDLE_NAME = "org.opencms.ugc.messages";
064
065    /** Static instance member. */
066    private static final I_CmsMessageBundle INSTANCE = new Messages();
067
068    /**
069     * Hides the public constructor for this utility class.<p>
070     */
071    private Messages() {
072
073        // hide the constructor
074    }
075
076    /**
077     * Returns an instance of this localized message accessor.<p>
078     *
079     * @return an instance of this localized message accessor
080     */
081    public static I_CmsMessageBundle get() {
082
083        return INSTANCE;
084    }
085
086    /**
087     * Returns the bundle name for this OpenCms package.<p>
088     *
089     * @return the bundle name for this OpenCms package
090     */
091    public String getBundleName() {
092
093        return BUNDLE_NAME;
094    }
095}