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);