From 127a1a124f66bde08ee79d795150eb1eb37e2ae7 Mon Sep 17 00:00:00 2001 From: tosmers Date: Fri, 13 Feb 2015 20:11:46 +0000 Subject: [PATCH] =?UTF-8?q?[UPDATE]=20In=20der=20Klasse=20com.arsdigita.cm?= =?UTF-8?q?s.ui.type.CreateType.java=20die=20FormProcessException=20in=20d?= =?UTF-8?q?er=20Zeile=20369=20umgebaut.=20Und=20den=20Key=20cms.ui.type.ca?= =?UTF-8?q?ncelled=20der=20Property=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.libreccm.org/ccm/trunk@3148 8810af33-2d31-482b-a856-94f89814c4df --- ccm-cms/src/com/arsdigita/cms/CMSResources.properties | 1 + ccm-cms/src/com/arsdigita/cms/CMSResources_de.properties | 1 + ccm-cms/src/com/arsdigita/cms/CMSResources_en_GB.properties | 1 + ccm-cms/src/com/arsdigita/cms/CMSResources_fr.properties | 1 + ccm-cms/src/com/arsdigita/cms/ui/type/CreateType.java | 2 +- 5 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ccm-cms/src/com/arsdigita/cms/CMSResources.properties b/ccm-cms/src/com/arsdigita/cms/CMSResources.properties index 853abf896..d239e4294 100755 --- a/ccm-cms/src/com/arsdigita/cms/CMSResources.properties +++ b/ccm-cms/src/com/arsdigita/cms/CMSResources.properties @@ -1093,3 +1093,4 @@ cms.ui.unique_item_name_violation=An item with this name already exists. = cms.ui.item_searchwidget.submit=item search FormSection submit cms.ui.workflow.task.approval_or_reject_required=Approval or rejection is required. +cms.ui.type.cancelled=Cancelled diff --git a/ccm-cms/src/com/arsdigita/cms/CMSResources_de.properties b/ccm-cms/src/com/arsdigita/cms/CMSResources_de.properties index 4e1ae1c1e..e4eee3d41 100755 --- a/ccm-cms/src/com/arsdigita/cms/CMSResources_de.properties +++ b/ccm-cms/src/com/arsdigita/cms/CMSResources_de.properties @@ -1087,3 +1087,4 @@ cms.ui.unique_item_name_violation=Ein Item mit diesem Namen existiert bereits. = cms.ui.item_searchwidget.submit=item search FormSection submit cms.ui.workflow.task.approval_or_reject_required=Ablehnung oder Zustimmung ist ben\u00f6tigt +cms.ui.type.cancelled=Abgebrochen diff --git a/ccm-cms/src/com/arsdigita/cms/CMSResources_en_GB.properties b/ccm-cms/src/com/arsdigita/cms/CMSResources_en_GB.properties index c6f1b3cb9..e8d3ce8aa 100755 --- a/ccm-cms/src/com/arsdigita/cms/CMSResources_en_GB.properties +++ b/ccm-cms/src/com/arsdigita/cms/CMSResources_en_GB.properties @@ -131,3 +131,4 @@ cms.ui.unique_item_name_violation=An item with this name already exists. cms.ui.item_searchwidget.submit=item search FormSection submit cms.ui.workflow.task.approval_or_reject_required=Approval or rejection is required. cms.ui.type.name_not_unique=Name not unique +cms.ui.type.cancelled=cancelled diff --git a/ccm-cms/src/com/arsdigita/cms/CMSResources_fr.properties b/ccm-cms/src/com/arsdigita/cms/CMSResources_fr.properties index d2b9b08bb..14ced0fc6 100755 --- a/ccm-cms/src/com/arsdigita/cms/CMSResources_fr.properties +++ b/ccm-cms/src/com/arsdigita/cms/CMSResources_fr.properties @@ -600,3 +600,4 @@ cms.ui.unique_item_name_violation= cms.ui.item_searchwidget.submit=item search FormSection submit cms.ui.workflow.task.approval_or_reject_required=Approval or rejection is required. cms.ui.type.name_not_unique=Ce type de contenu a d\u00e9ja un \u00e9l\u00e9ment avec le nom +cms.ui.type.cancelled=Annul\u00e9 diff --git a/ccm-cms/src/com/arsdigita/cms/ui/type/CreateType.java b/ccm-cms/src/com/arsdigita/cms/ui/type/CreateType.java index 75c3d1d10..d476c9b60 100755 --- a/ccm-cms/src/com/arsdigita/cms/ui/type/CreateType.java +++ b/ccm-cms/src/com/arsdigita/cms/ui/type/CreateType.java @@ -367,7 +367,7 @@ public class CreateType extends CMSForm */ public void submitted(FormSectionEvent e) throws FormProcessException { if (m_cancel.isSelected(e.getPageState())) { - throw new FormProcessException("cancelled"); + throw new FormProcessException(GlobalizationUtil.globalize("cms.ui.type.cancelled")); } }