From 31806825d62e62b3097833610c56bec3327a5120 Mon Sep 17 00:00:00 2001 From: tosmers Date: Sun, 15 Feb 2015 13:07:24 +0000 Subject: [PATCH] =?UTF-8?q?[UPDATE]=20In=20der=20Klasse=20ccm-cms/src/com/?= =?UTF-8?q?arsdigita/cms/ui/authoring/TextAssetBody.java=20die=20FormProce?= =?UTF-8?q?ssException=20in=20der=20Zeile=20334=20umgebaut=20und=20cms.ui.?= =?UTF-8?q?authoring.invalid=5Ffile=5Ftype=20den=20Properties=20hinzugef?= =?UTF-8?q?=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@3173 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 + ccm-cms/src/com/arsdigita/cms/ui/authoring/TextAssetBody.java | 3 +-- 5 files changed, 5 insertions(+), 2 deletions(-) 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().