diff --git a/ccm-cms/src/com/arsdigita/cms/CMSResources.properties b/ccm-cms/src/com/arsdigita/cms/CMSResources.properties index 4dd020c36..5f6d89821 100755 --- a/ccm-cms/src/com/arsdigita/cms/CMSResources.properties +++ b/ccm-cms/src/com/arsdigita/cms/CMSResources.properties @@ -1102,3 +1102,4 @@ cms.contenttypes.ui.internal_link_requires_item_selection=Item selection is requ cms.contenttypes.ui.false_link_target=Link target is the same as this object cms.ui.live_item_not_editable=Live items cannot be edited 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 diff --git a/ccm-cms/src/com/arsdigita/cms/CMSResources_de.properties b/ccm-cms/src/com/arsdigita/cms/CMSResources_de.properties index e9e87bcb5..447082292 100755 --- a/ccm-cms/src/com/arsdigita/cms/CMSResources_de.properties +++ b/ccm-cms/src/com/arsdigita/cms/CMSResources_de.properties @@ -1096,3 +1096,4 @@ cms.contenttypes.ui.internal_link_requires_item_selection=Item-Wahl f\u00fcr den cms.contenttypes.ui.false_link_target=Das Ziel des Links ist das Selbe, wie dieses Objekt cms.ui.live_item_not_editable=Live-Items k\u00f6nnen nicht editiert/bearbeitet werden 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 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 44d1b9341..738cd5e93 100755 --- a/ccm-cms/src/com/arsdigita/cms/CMSResources_en_GB.properties +++ b/ccm-cms/src/com/arsdigita/cms/CMSResources_en_GB.properties @@ -140,3 +140,4 @@ cms.contenttypes.ui.internal_link_requires_item_selection= cms.contenttypes.ui.false_link_target= cms.ui.live_item_not_editable= cms.dataqueryexistslistener.error= +cms.ui.authoring.invalid_file_type= diff --git a/ccm-cms/src/com/arsdigita/cms/CMSResources_fr.properties b/ccm-cms/src/com/arsdigita/cms/CMSResources_fr.properties index 31ea974d1..daf6518b2 100755 --- a/ccm-cms/src/com/arsdigita/cms/CMSResources_fr.properties +++ b/ccm-cms/src/com/arsdigita/cms/CMSResources_fr.properties @@ -612,3 +612,4 @@ cms.contenttypes.ui.internal_link_requires_item_selection=Choix d'article pour l cms.contenttypes.ui.false_link_target=La cible de lien est la m\u00eame que cet objet cms.ui.live_item_not_editable=articles en direct peuvent pas \u00eatre modifi\u00e9s cms.dataqueryexistslistener.error=Erreur sur la validation de la requ\u00eate de donn\u00e9es +cms.ui.authoring.invalid_file_type=Fichiers de type invalide connot \u00eatre charg\u00e9s dans le corps de l'article 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 b6d898281..064fe1f60 100755 --- a/ccm-cms/src/com/arsdigita/cms/ui/authoring/TextAssetBody.java +++ b/ccm-cms/src/com/arsdigita/cms/ui/authoring/TextAssetBody.java @@ -331,8 +331,7 @@ public abstract class TextAssetBody extends SecurityPropertyEditor allowINSOConvert().booleanValue()); if (!validType) { - throw new FormProcessException("Cannot load " + "files of type " + mime. - getMimeType() + " into the article body."); + throw new FormProcessException(GlobalizationUtil.globalize("cms.ui.authoring.invalid_file_type")); } boolean insoWorks = MimeTypeStatus.getMimeTypeStatus().