From fd0be3abb4272adc79cfd162410f1fbd50984b9e Mon Sep 17 00:00:00 2001 From: tosmers Date: Wed, 18 Feb 2015 20:33:47 +0000 Subject: [PATCH] =?UTF-8?q?[UPDATE]=20In=20der=20Klasse=20ccm-cms/src/com/?= =?UTF-8?q?arsdigita/cms/ui/type/EditType.java=20die=20FormProcessExceptio?= =?UTF-8?q?n=20in=20der=20Zeile=20237=20umgebaut=20und=20den=20key=20conte?= =?UTF-8?q?nt=5Fediting=5Ffailed=20den=20Properties=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@3236 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/EditType.java | 4 ++-- 5 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ccm-cms/src/com/arsdigita/cms/CMSResources.properties b/ccm-cms/src/com/arsdigita/cms/CMSResources.properties index 2ff239159..641ba18ba 100755 --- a/ccm-cms/src/com/arsdigita/cms/CMSResources.properties +++ b/ccm-cms/src/com/arsdigita/cms/CMSResources.properties @@ -1108,3 +1108,4 @@ cms.ui.authoring.couldnt_convert_inso_failed=Could not convert to html format be cms.ui.authoring.html_file_missing_body_tags=The file (which should be type HTML) is missing the or tag. cms.ui.lifecycle.publish.not_possible_abstract_category\ = cms.ui.authoring.couldnt_create_item=Couldn't create new Item +cms.ui.type.content_editing_failed=Failed to edit the content type: {0} diff --git a/ccm-cms/src/com/arsdigita/cms/CMSResources_de.properties b/ccm-cms/src/com/arsdigita/cms/CMSResources_de.properties index 10bade9c0..13f97038a 100755 --- a/ccm-cms/src/com/arsdigita/cms/CMSResources_de.properties +++ b/ccm-cms/src/com/arsdigita/cms/CMSResources_de.properties @@ -1102,3 +1102,4 @@ cms.ui.authoring.couldnt_convert_inso_failed=Konnte nicht ins html Format umgewa cms.ui.authoring.html_file_missing_body_tags=Der Datei (vom Type HTML) fehlt der oder Tag cms.ui.lifecycle.publish.not_possible_abstract_category\ = cms.ui.authoring.couldnt_create_item=Konnte ein neues Element nicht erstellen +cms.ui.type.content_editing_failed=Bearbeitung des Dokumenttyps: {0} ist fehlgeschlagen 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 6d7f795d4..c4fdd63d7 100755 --- a/ccm-cms/src/com/arsdigita/cms/CMSResources_en_GB.properties +++ b/ccm-cms/src/com/arsdigita/cms/CMSResources_en_GB.properties @@ -146,3 +146,4 @@ cms.ui.authoring.couldnt_convert_inso_failed= cms.ui.authoring.html_file_missing_body_tags= cms.ui.lifecycle.publish.not_possible_abstract_category\ = cms.ui.authoring.couldnt_create_item= +cms.ui.type.content_editing_failed= diff --git a/ccm-cms/src/com/arsdigita/cms/CMSResources_fr.properties b/ccm-cms/src/com/arsdigita/cms/CMSResources_fr.properties index 59a7f1cc2..b1d85ef78 100755 --- a/ccm-cms/src/com/arsdigita/cms/CMSResources_fr.properties +++ b/ccm-cms/src/com/arsdigita/cms/CMSResources_fr.properties @@ -618,3 +618,4 @@ cms.ui.authoring.couldnt_convert_inso_failed=Impossible de convertir au format H cms.ui.authoring.html_file_missing_body_tags=Le fichier (qui devrait \u00eatre de type HTML) est absent de la ou cms.ui.lifecycle.publish.not_possible_abstract_category\ = cms.ui.authoring.couldnt_create_item=Impossible de cr\u00e9er un nouveau \u00e9l\u00e9ment +cms.ui.type.content_editing_failed=Impossible de modifier le type de contenu: {0} diff --git a/ccm-cms/src/com/arsdigita/cms/ui/type/EditType.java b/ccm-cms/src/com/arsdigita/cms/ui/type/EditType.java index eeb3b3b09..2369b78ce 100755 --- a/ccm-cms/src/com/arsdigita/cms/ui/type/EditType.java +++ b/ccm-cms/src/com/arsdigita/cms/ui/type/EditType.java @@ -234,8 +234,8 @@ public class EditType extends CMSForm } catch (DataObjectNotFoundException e) { s_log.error("Can't find ContentType with key " + key, e); - throw new FormProcessException( - "Failed to edit the content type: " + key + " " + e.getMessage(), e); + throw new FormProcessException(GlobalizationUtil.globalize( + "cms.ui.type.content_editing_failed", new Object[]{key})); } type.setName(label);