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.publish.client; 029 030import org.opencms.gwt.client.util.CmsMessages; 031 032/** 033 * This class contains the message keys for the client side of the publish module.<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 ERR_CANT_PUBLISH_RESOURCE_TITLE_0 = "ERR_CANT_PUBLISH_RESOURCE_TITLE_0"; 041 042 /** Message constant for key in the resource bundle. */ 043 public static final String GUI_BROKEN_LINK_SHOW_IN_EXPLORER_0 = "GUI_BROKEN_LINK_SHOW_IN_EXPLORER_0"; 044 045 /** Message constant for key in the resource bundle. */ 046 public static final String ERR_PUBLISH_CANT_PUBLISH_DELETED_RESOURCE_2 = "ERR_PUBLISH_CANT_PUBLISH_DELETED_RESOURCE_2"; 047 048 /** Message constant for key in the resource bundle. */ 049 public static final String ERR_PUBLISH_CANT_PUBLISH_NEW_RESOURCE_2 = "ERR_PUBLISH_CANT_PUBLISH_NEW_RESOURCE_2"; 050 051 /** Message constant for key in the resource bundle. */ 052 public static final String GUI_CHANGED_BY_USER_1 = "GUI_CHANGED_BY_USER_1"; 053 054 /** Message constant for key in the resource bundle. */ 055 public static final String GUI_CHECKBOX_ADD_CONTENT_0 = "GUI_CHECKBOX_ADD_CONTENT_0"; 056 057 /** Message constant for key in the resource bundle. */ 058 public static final String GUI_CHECKBOX_ADD_CONTENT_SINGULAR_0 = "GUI_CHECKBOX_ADD_CONTENT_SINGULAR_0"; 059 /** Message constant for key in the resource bundle. */ 060 public static final String GUI_CHECKBOX_ALL_0 = "GUI_CHECKBOX_ALL_0"; 061 /** Message constant for key in the resource bundle. */ 062 public static final String GUI_CHECKBOX_DESELECT_ALL_0 = "GUI_CHECKBOX_DESELECT_ALL_0"; 063 064 /** Message constant for key in the resource bundle. */ 065 public static final String GUI_CHECKBOX_NONE_0 = "GUI_CHECKBOX_NONE_0"; 066 067 /** Message constant for key in the resource bundle. */ 068 public static final String GUI_CHECKBOX_SELECT_ALL_0 = "GUI_CHECKBOX_SELECT_ALL_0"; 069 070 /** Message constant for key in the resource bundle. */ 071 public static final String GUI_CHECKBOX_SOME_2 = "GUI_CHECKBOX_SOME_2"; 072 073 /** Message constant for key in the resource bundle. */ 074 public static final String GUI_CONFIRMATION_CAPTION_0 = "GUI_CONFIRMATION_CAPTION_0"; 075 076 /** Message constant for key in the resource bundle. */ 077 public static final String GUI_CONFIRMATION_PUBLISH_0 = "GUI_CONFIRMATION_PUBLISH_0"; 078 079 /** Message constant for key in the resource bundle. */ 080 public static final String GUI_CONFIRMATION_PUBLISH_NOWP_0 = "GUI_CONFIRMATION_PUBLISH_NOWP_0"; 081 082 /** Message constant for key in the resource bundle. */ 083 public static final String GUI_CONFIRMATION_WORKFLOW_1 = "GUI_CONFIRMATION_WORKFLOW_1"; 084 085 /** Message constant for key in the resource bundle. */ 086 public static final String GUI_CONFIRMATION_WORKFLOW_NOWP_1 = "GUI_CONFIRMATION_WORKFLOW_NOWP_1"; 087 088 /** Message constant for key in the resource bundle. */ 089 public static final String GUI_CONFIRMATION_WORKPLACE_BUTTON_0 = "GUI_CONFIRMATION_WORKPLACE_BUTTON_0"; 090 091 /** Message constant for key in the resource bundle. */ 092 public static final String GUI_LABEL_DATE_LAST_MODIFIED_0 = "GUI_LABEL_DATE_LAST_MODIFIED_0"; 093 094 /** Message constant for key in the resource bundle. */ 095 public static final String GUI_LABEL_USER_LAST_MODIFIED_0 = "GUI_LABEL_USER_LAST_MODIFIED_0"; 096 097 /** Message constant for key in the resource bundle. */ 098 public static final String GUI_NO_TITLE_0 = "GUI_NO_TITLE_0"; 099 100 /** Message constant for key in the resource bundle. */ 101 public static final String GUI_PUBLISH_CHECKBOXES_PROBLEMS_0 = "GUI_PUBLISH_CHECKBOXES_PROBLEMS_0"; 102 103 /** Message constant for key in the resource bundle. */ 104 public static final String GUI_PUBLISH_CHECKBOXES_REL_RES_0 = "GUI_PUBLISH_CHECKBOXES_REL_RES_0"; 105 106 /** Message constant for key in the resource bundle. */ 107 public static final String GUI_PUBLISH_CHECKBOXES_SIBLINGS_0 = "GUI_PUBLISH_CHECKBOXES_SIBLINGS_0"; 108 109 /** Message constant for key in the resource bundle. */ 110 public static final String GUI_PUBLISH_DIALOG_BACK_0 = "GUI_PUBLISH_DIALOG_BACK_0"; 111 112 /** Message constant for key in the resource bundle. */ 113 public static final String GUI_PUBLISH_DIALOG_BROKEN_LINKS_0 = "GUI_PUBLISH_DIALOG_BROKEN_LINKS_0"; 114 115 /** Message constant for key in the resource bundle. */ 116 public static final String GUI_PUBLISH_DIALOG_CANCEL_BUTTON_0 = "GUI_PUBLISH_DIALOG_CANCEL_BUTTON_0"; 117 118 /** Message constant for key in the resource bundle. */ 119 public static final String GUI_PUBLISH_DIALOG_MY_CHANGES_0 = "GUI_PUBLISH_DIALOG_MY_CHANGES_0"; 120 121 /** Message constant for key in the resource bundle. */ 122 public static final String GUI_PUBLISH_DIALOG_NO_RES_0 = "GUI_PUBLISH_DIALOG_NO_RES_0"; 123 124 /** Message constant for key in the resource bundle. */ 125 public static final String GUI_PUBLISH_DIALOG_OK_BUTTON_0 = "GUI_PUBLISH_DIALOG_OK_BUTTON_0"; 126 127 /** Message constant for key in the resource bundle. */ 128 public static final String GUI_PUBLISH_DIALOG_PROBLEM_1 = "GUI_PUBLISH_DIALOG_PROBLEM_1"; 129 130 /** Message constant for key in the resource bundle. */ 131 public static final String GUI_PUBLISH_DIALOG_PROBLEMS_2 = "GUI_PUBLISH_DIALOG_PROBLEMS_2"; 132 133 /** Message constant for key in the resource bundle. */ 134 public static final String GUI_PUBLISH_DIALOG_PUBLISH_0 = "GUI_PUBLISH_DIALOG_PUBLISH_0"; 135 136 /** Message constant for key in the resource bundle. */ 137 public static final String GUI_PUBLISH_DIALOG_TITLE_3 = "GUI_PUBLISH_DIALOG_TITLE_3"; 138 139 /** Message constant for key in the resource bundle. */ 140 public static final String GUI_PUBLISH_REMOVE_BUTTON_0 = "GUI_PUBLISH_REMOVE_BUTTON_0"; 141 142 /** Message constant for key in the resource bundle. */ 143 public static final String GUI_PUBLISH_TOP_PANEL_ALL_BUTTON_0 = "GUI_PUBLISH_TOP_PANEL_ALL_BUTTON_0"; 144 145 /** Message constant for key in the resource bundle. */ 146 public static final String GUI_PUBLISH_TOP_PANEL_LEFT_LABEL_0 = "GUI_PUBLISH_TOP_PANEL_LEFT_LABEL_0"; 147 148 /** Message constant for key in the resource bundle. */ 149 public static final String GUI_PUBLISH_TOP_PANEL_NONE_BUTTON_0 = "GUI_PUBLISH_TOP_PANEL_NONE_BUTTON_0"; 150 151 /** Message constant for key in the resource bundle. */ 152 public static final String GUI_PUBLISH_TOP_PANEL_RIGHT_LABEL_0 = "GUI_PUBLISH_TOP_PANEL_RIGHT_LABEL_0"; 153 154 /** Message constant for key in the resource bundle. */ 155 public static final String GUI_PUBLISH_UNREMOVE_BUTTON_0 = "GUI_PUBLISH_UNREMOVE_BUTTON_0"; 156 157 /** Message constant for key in the resource bundle. */ 158 public static final String GUI_PUBLISH_WORKFLOW_SELECT_0 = "GUI_PUBLISH_WORKFLOW_SELECT_0"; 159 160 /** Message constant for key in the resource bundle. */ 161 public static final String GUI_PUBLISHING_0 = "GUI_PUBLISHING_0"; 162 163 /** Message constant for key in the resource bundle. */ 164 public static final String GUI_RESOURCE_COUNT_1 = "GUI_RESOURCE_COUNT_1"; 165 166 /** Name of the used resource bundle. */ 167 private static final String BUNDLE_NAME = "org.opencms.ade.publish.clientmessages"; 168 169 /** Static instance member. */ 170 private static CmsMessages INSTANCE; 171 172 /** 173 * Hides the public constructor for this utility class.<p> 174 */ 175 private Messages() { 176 177 // hide the constructor 178 } 179 180 /** 181 * Returns an instance of this localized message accessor.<p> 182 * 183 * @return an instance of this localized message accessor 184 */ 185 public static CmsMessages get() { 186 187 if (INSTANCE == null) { 188 INSTANCE = new CmsMessages(BUNDLE_NAME); 189 } 190 return INSTANCE; 191 } 192 193 /** 194 * Returns the bundle name for this OpenCms package.<p> 195 * 196 * @return the bundle name for this OpenCms package 197 */ 198 public String getBundleName() { 199 200 return BUNDLE_NAME; 201 } 202}