From 8dabe6b04309f4459f5702f845f413ce4faa0a45 Mon Sep 17 00:00:00 2001 From: tosmers Date: Sun, 15 Feb 2015 16:05:08 +0000 Subject: [PATCH] =?UTF-8?q?[UPDATE]=20In=20der=20Klasse=20ccm-cms/src/com/?= =?UTF-8?q?arsdigita/cms/contenttypes/ui/AbstractTextUploadForm.java=20die?= =?UTF-8?q?=20FormProcessException=20in=20der=20Zeile=20236=20umgebaut=20u?= =?UTF-8?q?nd=20den=20key=20connot=5Fload=5Ffiles=5Finto=5Farticle=5Fbody?= =?UTF-8?q?=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@3185 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 + .../cms/contenttypes/ui/AbstractTextUploadForm.java | 5 +++-- 5 files changed, 7 insertions(+), 2 deletions(-) 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;