From 1caa5cff83da931607560559458b7d4911302277 Mon Sep 17 00:00:00 2001 From: tosmers Date: Sun, 22 Feb 2015 18:37:39 +0000 Subject: [PATCH] =?UTF-8?q?[UPDATE]=20Durch=20das=20L=C3=B6schen=20einer?= =?UTF-8?q?=20Datei=20hatte=20SVN=20Schwierigkeiten,=20die=20richtigen=20S?= =?UTF-8?q?achen=20zu=20commiten.=20Sollte=20jetzt=20behoben=20sein.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.libreccm.org/ccm/trunk@3263 8810af33-2d31-482b-a856-94f89814c4df --- .../contenttypes/util/EFormGlobalizedMsg.java | 90 ------------------- .../util/ExternalLinkGlobalizedMsg.java | 90 ------------------- 2 files changed, 180 deletions(-) delete mode 100644 ccm-cms-types-externallink/src/com/arsdigita/cms/contenttypes/util/EFormGlobalizedMsg.java delete mode 100644 ccm-cms-types-externallink/src/com/arsdigita/cms/contenttypes/util/ExternalLinkGlobalizedMsg.java diff --git a/ccm-cms-types-externallink/src/com/arsdigita/cms/contenttypes/util/EFormGlobalizedMsg.java b/ccm-cms-types-externallink/src/com/arsdigita/cms/contenttypes/util/EFormGlobalizedMsg.java deleted file mode 100644 index cf876352c..000000000 --- a/ccm-cms-types-externallink/src/com/arsdigita/cms/contenttypes/util/EFormGlobalizedMsg.java +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright (C) 2013 University of Bremen. All Rights Reserved. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License - * as published by the Free Software Foundation; either version 2.1 of - * the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - */ - -package com.arsdigita.camden.cms.contenttypes.util; - -import com.arsdigita.globalization.Globalized; -import com.arsdigita.globalization.GlobalizedMessage; - -/** - * Compilation of methods to simplify the handling of globalizing keys. - * Basically it adds the name of package's resource bundle files to the - * globalize methods and forwards to GlobalizedMessage, shortening the - * method invocation in the various application classes. - * - * @author pb - */ -public class EFormGlobalizedMsg implements Globalized { - - /** Name of Java resource files to handle CMS's globalisation. */ - final public static String BUNDLE_NAME = - "com.arsdigita.camden.cms.contenttypes.EFormResources"; - - /** - * This returns a localized globalized message for the NAME entry field - * using the type specific bundle, BUNDLE_NAME - */ - public static GlobalizedMessage getTitle() { - return new GlobalizedMessage( - "camden.cms.contenttypes.eform.title", - BUNDLE_NAME); - } - - /** - * This returns a localized globalized message for the NAME entry field - * using the type specific bundle, BUNDLE_NAME - */ - public static GlobalizedMessage getLocation() { - return new GlobalizedMessage( - "camden.cms.contenttypes.eform.location", - BUNDLE_NAME); - } - - /** - * This returns a localized globalized message for the NAME entry field - * using the type specific bundle, BUNDLE_NAME - */ - public static GlobalizedMessage getDescription() { - return new GlobalizedMessage( - "camden.cms.contenttypes.eform.description", - BUNDLE_NAME); - } - - /** - * This returns a localized globalized message for the NAME entry field - * using the type specific bundle, BUNDLE_NAME - */ - public static GlobalizedMessage getName() { - return new GlobalizedMessage( - "camden.cms.contenttypes.eform.name", - BUNDLE_NAME); - } - - /** - * This returns a localized globalized message based on its key and using - * the type specific bundle, BUNDLE_NAME - */ - public static GlobalizedMessage get(String key) { - - return new GlobalizedMessage(key, BUNDLE_NAME); - - } - - -} diff --git a/ccm-cms-types-externallink/src/com/arsdigita/cms/contenttypes/util/ExternalLinkGlobalizedMsg.java b/ccm-cms-types-externallink/src/com/arsdigita/cms/contenttypes/util/ExternalLinkGlobalizedMsg.java deleted file mode 100644 index cf876352c..000000000 --- a/ccm-cms-types-externallink/src/com/arsdigita/cms/contenttypes/util/ExternalLinkGlobalizedMsg.java +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright (C) 2013 University of Bremen. All Rights Reserved. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License - * as published by the Free Software Foundation; either version 2.1 of - * the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - */ - -package com.arsdigita.camden.cms.contenttypes.util; - -import com.arsdigita.globalization.Globalized; -import com.arsdigita.globalization.GlobalizedMessage; - -/** - * Compilation of methods to simplify the handling of globalizing keys. - * Basically it adds the name of package's resource bundle files to the - * globalize methods and forwards to GlobalizedMessage, shortening the - * method invocation in the various application classes. - * - * @author pb - */ -public class EFormGlobalizedMsg implements Globalized { - - /** Name of Java resource files to handle CMS's globalisation. */ - final public static String BUNDLE_NAME = - "com.arsdigita.camden.cms.contenttypes.EFormResources"; - - /** - * This returns a localized globalized message for the NAME entry field - * using the type specific bundle, BUNDLE_NAME - */ - public static GlobalizedMessage getTitle() { - return new GlobalizedMessage( - "camden.cms.contenttypes.eform.title", - BUNDLE_NAME); - } - - /** - * This returns a localized globalized message for the NAME entry field - * using the type specific bundle, BUNDLE_NAME - */ - public static GlobalizedMessage getLocation() { - return new GlobalizedMessage( - "camden.cms.contenttypes.eform.location", - BUNDLE_NAME); - } - - /** - * This returns a localized globalized message for the NAME entry field - * using the type specific bundle, BUNDLE_NAME - */ - public static GlobalizedMessage getDescription() { - return new GlobalizedMessage( - "camden.cms.contenttypes.eform.description", - BUNDLE_NAME); - } - - /** - * This returns a localized globalized message for the NAME entry field - * using the type specific bundle, BUNDLE_NAME - */ - public static GlobalizedMessage getName() { - return new GlobalizedMessage( - "camden.cms.contenttypes.eform.name", - BUNDLE_NAME); - } - - /** - * This returns a localized globalized message based on its key and using - * the type specific bundle, BUNDLE_NAME - */ - public static GlobalizedMessage get(String key) { - - return new GlobalizedMessage(key, BUNDLE_NAME); - - } - - -}