diff --git a/ccm-cms/src/com/arsdigita/cms/CMSResources.properties b/ccm-cms/src/com/arsdigita/cms/CMSResources.properties index 8fc7747a3..f417b9a6d 100755 --- a/ccm-cms/src/com/arsdigita/cms/CMSResources.properties +++ b/ccm-cms/src/com/arsdigita/cms/CMSResources.properties @@ -1105,3 +1105,4 @@ cms.dataqueryexistslistener.error=Error on validating the data query cms.ui.authoring.invalid_file_type=Files with invalide type connot be loaded into the article body 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. diff --git a/ccm-cms/src/com/arsdigita/cms/CMSResources_de.properties b/ccm-cms/src/com/arsdigita/cms/CMSResources_de.properties index ec42e1557..aaee842dd 100755 --- a/ccm-cms/src/com/arsdigita/cms/CMSResources_de.properties +++ b/ccm-cms/src/com/arsdigita/cms/CMSResources_de.properties @@ -1099,3 +1099,4 @@ cms.dataqueryexistslistener.error=Fehler beim Best\u00e4tigen der Datenabfrage cms.ui.authoring.invalid_file_type=Dateien mit ung\u00fcltigem Typ k\u00f6nnen nicht in den Artikel geladen werden 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 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 13639d1bc..a66dd1f36 100755 --- a/ccm-cms/src/com/arsdigita/cms/CMSResources_en_GB.properties +++ b/ccm-cms/src/com/arsdigita/cms/CMSResources_en_GB.properties @@ -143,3 +143,4 @@ cms.dataqueryexistslistener.error= 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= diff --git a/ccm-cms/src/com/arsdigita/cms/CMSResources_fr.properties b/ccm-cms/src/com/arsdigita/cms/CMSResources_fr.properties index 325e84a7b..844c117f3 100755 --- a/ccm-cms/src/com/arsdigita/cms/CMSResources_fr.properties +++ b/ccm-cms/src/com/arsdigita/cms/CMSResources_fr.properties @@ -615,3 +615,4 @@ cms.dataqueryexistslistener.error=Erreur sur la validation de la requ\u00eate de cms.ui.authoring.invalid_file_type=Fichiers de type invalide connot \u00eatre charg\u00e9s dans le corps de l'article 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 diff --git a/ccm-cms/src/com/arsdigita/cms/ui/authoring/TextAssetBody.java b/ccm-cms/src/com/arsdigita/cms/ui/authoring/TextAssetBody.java index 9af5207fc..12548e791 100755 --- a/ccm-cms/src/com/arsdigita/cms/ui/authoring/TextAssetBody.java +++ b/ccm-cms/src/com/arsdigita/cms/ui/authoring/TextAssetBody.java @@ -405,10 +405,7 @@ public abstract class TextAssetBody extends SecurityPropertyEditor int bodyStart_v = lc.indexOf(">", bodyStart); int bodyEnd = lc.indexOf("", bodyStart_v); if (bodyStart == -1 || bodyEnd == -1) { - final String errMsg = - "The file (which should be type " - + "HTML) is missing the or tag."; - throw new FormProcessException(errMsg); + throw new FormProcessException(GlobalizationUtil.globalize("cms.ui.authoring.html_file_missing_body_tags")); } return htmlText.substring(bodyStart_v + 1, bodyEnd); }