diff --git a/ccm-cms/src/com/arsdigita/cms/CMSResources.properties b/ccm-cms/src/com/arsdigita/cms/CMSResources.properties index f417b9a6d..e261e08d9 100755 --- a/ccm-cms/src/com/arsdigita/cms/CMSResources.properties +++ b/ccm-cms/src/com/arsdigita/cms/CMSResources.properties @@ -1106,3 +1106,4 @@ cms.ui.authoring.invalid_file_type=Files with invalide type connot be loaded int cms.ui.authoring.couldnt_convert_missing_inso=Could not convert to html format because interMedia INSO filter is not installed 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.contenttypes.ui.cannot_load_files_into_article_body=Cannot load files of type {0} into the article body diff --git a/ccm-cms/src/com/arsdigita/cms/CMSResources_de.properties b/ccm-cms/src/com/arsdigita/cms/CMSResources_de.properties index aaee842dd..8a6220aea 100755 --- a/ccm-cms/src/com/arsdigita/cms/CMSResources_de.properties +++ b/ccm-cms/src/com/arsdigita/cms/CMSResources_de.properties @@ -1100,3 +1100,4 @@ cms.ui.authoring.invalid_file_type=Dateien mit ung\u00fcltigem Typ k\u00f6nnen n cms.ui.authoring.couldnt_convert_missing_inso=Konnte nicht ins html Format umgewandelt werden, da der interMedia INSO Filter nicht installiert ist 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.contenttypes.ui.cannot_load_files_into_article_body=Dateine vom Typ {0} k\u00f6nnen nicht in den Artikel-K\u00f6rper geladen werden 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 a66dd1f36..9733eb18e 100755 --- a/ccm-cms/src/com/arsdigita/cms/CMSResources_en_GB.properties +++ b/ccm-cms/src/com/arsdigita/cms/CMSResources_en_GB.properties @@ -144,3 +144,4 @@ cms.ui.authoring.invalid_file_type= cms.ui.authoring.couldnt_convert_missing_inso= cms.ui.authoring.couldnt_convert_inso_failed= cms.ui.authoring.html_file_missing_body_tags= +cms.contenttypes.ui.cannot_load_files_into_article_body= diff --git a/ccm-cms/src/com/arsdigita/cms/CMSResources_fr.properties b/ccm-cms/src/com/arsdigita/cms/CMSResources_fr.properties index 844c117f3..7fe069697 100755 --- a/ccm-cms/src/com/arsdigita/cms/CMSResources_fr.properties +++ b/ccm-cms/src/com/arsdigita/cms/CMSResources_fr.properties @@ -616,3 +616,4 @@ cms.ui.authoring.invalid_file_type=Fichiers de type invalide connot \u00eatre ch cms.ui.authoring.couldnt_convert_missing_inso=Impossible de convertir au format HTML car le filtre interMedia INSO n'est pas install\u00e9 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.contenttypes.ui.cannot_load_files_into_article_body=Impossible de charger les fichiers de type {0} dans le corps de l'article diff --git a/ccm-cms/src/com/arsdigita/cms/contenttypes/ui/AbstractTextUploadForm.java b/ccm-cms/src/com/arsdigita/cms/contenttypes/ui/AbstractTextUploadForm.java index 40f27a171..f1df1c2be 100644 --- a/ccm-cms/src/com/arsdigita/cms/contenttypes/ui/AbstractTextUploadForm.java +++ b/ccm-cms/src/com/arsdigita/cms/contenttypes/ui/AbstractTextUploadForm.java @@ -233,8 +233,9 @@ public abstract class AbstractTextUploadForm allowINSOConvert().booleanValue()); if (!validType) { - throw new FormProcessException("Cannot load " + "files of type " + mime. - getMimeType() + " into the article body."); + throw new FormProcessException(GlobalizationUtil.globalize( + "cms.contenttypes.ui.cannot_load_files_into_article_body", new Object[]{mime. + getMimeType()})); } else { boolean insoWorks = MimeTypeStatus.getMimeTypeStatus(). getInsoFilterWorks().intValue() == 1;