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.ade.upload.client; 029 030import org.opencms.gwt.client.util.CmsMessages; 031 032/** 033 * Convenience class to access the localized messages of this OpenCms package.<p> 034 * 035 * @since 8.0.0 036 */ 037public final class Messages { 038 039 /** Message constant for key in the resource bundle. */ 040 public static final String GUI_UNZIP_BUTTON_TEXT_0 = "GUI_UNZIP_BUTTON_TEXT_0"; 041 042 /** Message constant for key in the resource bundle. */ 043 public static final String GUI_UPLOAD_BUTTON_ADD_FILES_0 = "GUI_UPLOAD_BUTTON_ADD_FILES_0"; 044 045 /** Message constant for key in the resource bundle. */ 046 public static final String GUI_UPLOAD_BUTTON_NO_TARGET_0 = "GUI_UPLOAD_BUTTON_NO_TARGET_0"; 047 048 /** Message constant for key in the resource bundle. */ 049 public static final String GUI_UPLOAD_BUTTON_OK_DISABLE_CHECKING_0 = "GUI_UPLOAD_BUTTON_OK_DISABLE_CHECKING_0"; 050 051 /** Message constant for key in the resource bundle. */ 052 public static final String GUI_UPLOAD_BUTTON_OK_DISABLE_UPLOADING_0 = "GUI_UPLOAD_BUTTON_OK_DISABLE_UPLOADING_0"; 053 054 /** Message constant for key in the resource bundle. */ 055 public static final String GUI_UPLOAD_CLIENT_LOADING_0 = "GUI_UPLOAD_CLIENT_LOADING_0"; 056 057 /** Message constant for key in the resource bundle. */ 058 public static final String GUI_UPLOAD_DIALOG_TITLE_1 = "GUI_UPLOAD_DIALOG_TITLE_1"; 059 060 /** Message constant for key in the resource bundle. */ 061 public static final String GUI_UPLOAD_DRAG_AND_DROP_DISABLED_0 = "GUI_UPLOAD_DRAG_AND_DROP_DISABLED_0"; 062 063 /** Message constant for key in the resource bundle. */ 064 public static final String GUI_UPLOAD_DRAG_AND_DROP_ENABLED_0 = "GUI_UPLOAD_DRAG_AND_DROP_ENABLED_0"; 065 066 /** Message constant for key in the resource bundle. */ 067 public static final String GUI_UPLOAD_FILE_EXISTING_DELETED_1 = "GUI_UPLOAD_FILE_EXISTING_DELETED_1"; 068 069 /** Message constant for key in the resource bundle. */ 070 public static final String GUI_UPLOAD_FILE_INVALID_NAME_2 = "GUI_UPLOAD_FILE_INVALID_NAME_2"; 071 072 /** Message constant for key in the resource bundle. */ 073 public static final String GUI_UPLOAD_FILE_MAX_SIZE_REACHED_2 = "GUI_UPLOAD_FILE_MAX_SIZE_REACHED_2"; 074 075 /** Message constant for key in the resource bundle. */ 076 public static final String GUI_UPLOAD_FILE_NOT_SELECTED_0 = "GUI_UPLOAD_FILE_NOT_SELECTED_0"; 077 078 /** Message constant for key in the resource bundle. */ 079 public static final String GUI_UPLOAD_FILE_TOO_LARGE_2 = "GUI_UPLOAD_FILE_TOO_LARGE_2"; 080 081 /** Message constant for key in the resource bundle. */ 082 public static final String GUI_UPLOAD_FOLDER_0 = "GUI_UPLOAD_FOLDER_0"; 083 084 /** Message constant for key in the resource bundle. */ 085 public static final String GUI_UPLOAD_HOOK_DIALOG_TITLE_0 = "GUI_UPLOAD_HOOK_DIALOG_TITLE_0"; 086 087 /** Message constant for key in the resource bundle. */ 088 public static final String GUI_UPLOAD_INFO_INVALID_0 = "GUI_UPLOAD_INFO_INVALID_0"; 089 090 /** Message constant for key in the resource bundle. */ 091 public static final String GUI_UPLOAD_INFO_OVERWRITE_0 = "GUI_UPLOAD_INFO_OVERWRITE_0"; 092 093 /** Message constant for key in the resource bundle. */ 094 public static final String GUI_UPLOAD_INFO_SELECTION_0 = "GUI_UPLOAD_INFO_SELECTION_0"; 095 096 /** Message constant for key in the resource bundle. */ 097 public static final String GUI_UPLOAD_MAX_SIZE_REACHED_2 = "GUI_UPLOAD_MAX_SIZE_REACHED_2"; 098 099 /** Message constant for key in the resource bundle. */ 100 public static final String GUI_UPLOAD_NOTIFICATION_NO_FILES_0 = "GUI_UPLOAD_NOTIFICATION_NO_FILES_0"; 101 102 /** Message constant for key in the resource bundle. */ 103 public static final String GUI_UPLOAD_NOTIFICATION_RUNNING_0 = "GUI_UPLOAD_NOTIFICATION_RUNNING_0"; 104 105 /** Message constant for key in the resource bundle. */ 106 public static final String GUI_UPLOAD_RESTRICTED_0 = "GUI_UPLOAD_RESTRICTED_0"; 107 108 /** Message constant for key in the resource bundle. */ 109 public static final String GUI_UPLOAD_SUMMARY_FILES_0 = "GUI_UPLOAD_SUMMARY_FILES_0"; 110 111 /** Message constant for key in the resource bundle. */ 112 public static final String GUI_UPLOAD_SUMMARY_FILES_VALUE_2 = "GUI_UPLOAD_SUMMARY_FILES_VALUE_2"; 113 114 /** Message constant for key in the resource bundle. */ 115 public static final String GUI_UPLOAD_SUMMARY_FILES_VALUE_3 = "GUI_UPLOAD_SUMMARY_FILES_VALUE_3"; 116 117 /** Message constant for key in the resource bundle. */ 118 public static final String GUI_UPLOAD_UNZIP_FILE_0 = "GUI_UPLOAD_UNZIP_FILE_0"; 119 120 /** Name of the used resource bundle. */ 121 private static final String BUNDLE_NAME = "org.opencms.ade.upload.clientmessages"; 122 123 /** Static instance member. */ 124 private static CmsMessages INSTANCE; 125 126 /** 127 * Hides the public constructor for this utility class.<p> 128 */ 129 private Messages() { 130 131 // hide the constructor 132 } 133 134 /** 135 * Returns an instance of this localized message accessor.<p> 136 * 137 * @return an instance of this localized message accessor 138 */ 139 public static CmsMessages get() { 140 141 if (INSTANCE == null) { 142 INSTANCE = new CmsMessages(BUNDLE_NAME); 143 } 144 return INSTANCE; 145 } 146 147 /** 148 * Returns the bundle name for this OpenCms package.<p> 149 * 150 * @return the bundle name for this OpenCms package 151 */ 152 public String getBundleName() { 153 154 return BUNDLE_NAME; 155 } 156 157}