diff --git a/ccm-cms/src/com/arsdigita/cms/CMSResources.properties b/ccm-cms/src/com/arsdigita/cms/CMSResources.properties index 33a5814bd..2ff239159 100755 --- a/ccm-cms/src/com/arsdigita/cms/CMSResources.properties +++ b/ccm-cms/src/com/arsdigita/cms/CMSResources.properties @@ -1107,3 +1107,4 @@ cms.ui.authoring.couldnt_convert_missing_inso=Could not convert to html format b cms.ui.authoring.couldnt_convert_inso_failed=Could not convert to html format because interMedia INSO filter conversion failed 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 diff --git a/ccm-cms/src/com/arsdigita/cms/CMSResources_de.properties b/ccm-cms/src/com/arsdigita/cms/CMSResources_de.properties index 32008db32..10bade9c0 100755 --- a/ccm-cms/src/com/arsdigita/cms/CMSResources_de.properties +++ b/ccm-cms/src/com/arsdigita/cms/CMSResources_de.properties @@ -1101,3 +1101,4 @@ cms.ui.authoring.couldnt_convert_missing_inso=Konnte nicht ins html Format umgew cms.ui.authoring.couldnt_convert_inso_failed=Konnte nicht ins html Format umgewandelt werden, da die interMedia INSO Umwandlung fehlschlug 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 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 18d923a43..6d7f795d4 100755 --- a/ccm-cms/src/com/arsdigita/cms/CMSResources_en_GB.properties +++ b/ccm-cms/src/com/arsdigita/cms/CMSResources_en_GB.properties @@ -145,3 +145,4 @@ cms.ui.authoring.couldnt_convert_missing_inso= 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= diff --git a/ccm-cms/src/com/arsdigita/cms/CMSResources_fr.properties b/ccm-cms/src/com/arsdigita/cms/CMSResources_fr.properties index 52e900951..59a7f1cc2 100755 --- a/ccm-cms/src/com/arsdigita/cms/CMSResources_fr.properties +++ b/ccm-cms/src/com/arsdigita/cms/CMSResources_fr.properties @@ -617,3 +617,4 @@ cms.ui.authoring.couldnt_convert_missing_inso=Impossible de convertir au format cms.ui.authoring.couldnt_convert_inso_failed=Impossible de convertir au format HTML car la conversion de filtre interMedia INSO a \u00e9chou\u00e9 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 diff --git a/ccm-cms/src/com/arsdigita/cms/ui/authoring/PageCreateDynamic.java b/ccm-cms/src/com/arsdigita/cms/ui/authoring/PageCreateDynamic.java index 358b1e7af..fbb55205b 100755 --- a/ccm-cms/src/com/arsdigita/cms/ui/authoring/PageCreateDynamic.java +++ b/ccm-cms/src/com/arsdigita/cms/ui/authoring/PageCreateDynamic.java @@ -643,23 +643,29 @@ public class PageCreateDynamic extends FormSection } } catch (ServletException ex) { s_log.error("error creating new item", ex); - throw new FormProcessException("couldn't create item", ex); + throw new FormProcessException(GlobalizationUtil.globalize( + "cms.ui.authoring.couldnt_create_item")); } catch ( ClassNotFoundException ex) { s_log.error("error creating new item", ex); - throw new FormProcessException("couldn't create item", ex); + throw new FormProcessException(GlobalizationUtil.globalize( + "cms.ui.authoring.couldnt_create_item")); } catch (NoSuchMethodException ex) { s_log.error("error creating new item", ex); - throw new FormProcessException("couldn't create item", ex); + throw new FormProcessException(GlobalizationUtil.globalize( + "cms.ui.authoring.couldnt_create_item")); } catch (InstantiationException ex) { s_log.error("error creating new item", ex); - throw new FormProcessException("couldn't create item", ex); + throw new FormProcessException(GlobalizationUtil.globalize( + "cms.ui.authoring.couldnt_create_item")); } catch (IllegalAccessException ex) { s_log.error("programmer's error: cnstr should've been made public", ex); - throw new FormProcessException("couldn't create item", ex); + throw new FormProcessException(GlobalizationUtil.globalize( + "cms.ui.authoring.couldnt_create_item")); } catch (InvocationTargetException ex) { s_log.error("error creating new item", ex); - throw new FormProcessException("couldn't create item", ex); + throw new FormProcessException(GlobalizationUtil.globalize( + "cms.ui.authoring.couldnt_create_item")); } // Make sure the item will be remembered across requests