From b7e7ef551d3be080e03cd2f889a072f61a9dd0c9 Mon Sep 17 00:00:00 2001 From: tosmers Date: Wed, 18 Feb 2015 22:01:19 +0000 Subject: [PATCH] =?UTF-8?q?[UPDATE]=20In=20der=20Klasse=20ccm-cms-types-xm?= =?UTF-8?q?lfeed/src/com/arsdigita/cms/contenttypes/xmlfeed/ui/XSLFileProp?= =?UTF-8?q?erties.java=20die=20FormProcessException=20in=20der=20Zeile=202?= =?UTF-8?q?79=20umgebaut=20und=20den=20key=20cannot=5Fload=5Fxsl=5Ffile=20?= =?UTF-8?q?den=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@3252 8810af33-2d31-482b-a856-94f89814c4df --- .../cms/contenttypes/xmlfeed/XMLFeedResources.properties | 1 + .../cms/contenttypes/xmlfeed/XMLFeedResources_de.properties | 1 + .../cms/contenttypes/xmlfeed/ui/XSLFileProperties.java | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ccm-cms-types-xmlfeed/src/com/arsdigita/cms/contenttypes/xmlfeed/XMLFeedResources.properties b/ccm-cms-types-xmlfeed/src/com/arsdigita/cms/contenttypes/xmlfeed/XMLFeedResources.properties index da6ea7f66..4891f9a86 100755 --- a/ccm-cms-types-xmlfeed/src/com/arsdigita/cms/contenttypes/xmlfeed/XMLFeedResources.properties +++ b/ccm-cms-types-xmlfeed/src/com/arsdigita/cms/contenttypes/xmlfeed/XMLFeedResources.properties @@ -12,3 +12,4 @@ xmlfeed.authoring.query_form.description=The form that supplies the query fields cms.contenttypes.ui.xmlfeed.xsl_file_type_error=File is not the correct type. cms.contenttypes.ui.xmlfeed.xsl_file_validation_error=Cannot verify the file is valid, please try again. cms.contenttypes.xmlfeed.xmlfeed.type_label=XML Feed +cms.contenttypes.xmlfeed.ui.cannot_load_xsl_file=Cannot load XSL file diff --git a/ccm-cms-types-xmlfeed/src/com/arsdigita/cms/contenttypes/xmlfeed/XMLFeedResources_de.properties b/ccm-cms-types-xmlfeed/src/com/arsdigita/cms/contenttypes/xmlfeed/XMLFeedResources_de.properties index 94f71dca1..26ad16d83 100644 --- a/ccm-cms-types-xmlfeed/src/com/arsdigita/cms/contenttypes/xmlfeed/XMLFeedResources_de.properties +++ b/ccm-cms-types-xmlfeed/src/com/arsdigita/cms/contenttypes/xmlfeed/XMLFeedResources_de.properties @@ -12,3 +12,4 @@ xmlfeed.authoring.query_form.description=Das Formular, das die Eingabefelder f\u cms.contenttypes.ui.xmlfeed.xsl_file_type_error=Der Dateityp ist falsch. cms.contenttypes.ui.xmlfeed.xsl_file_validation_error=Dateityp kann nicht best\u00e4tigt werden, bitte erneut probieren. cms.contenttypes.xmlfeed.xmlfeed.type_label=XML Feed +cms.contenttypes.xmlfeed.ui.cannot_load_xsl_file=XSL Datei kann nicht geladen werden diff --git a/ccm-cms-types-xmlfeed/src/com/arsdigita/cms/contenttypes/xmlfeed/ui/XSLFileProperties.java b/ccm-cms-types-xmlfeed/src/com/arsdigita/cms/contenttypes/xmlfeed/ui/XSLFileProperties.java index 4548e6a0c..bd5b945de 100755 --- a/ccm-cms-types-xmlfeed/src/com/arsdigita/cms/contenttypes/xmlfeed/ui/XSLFileProperties.java +++ b/ccm-cms-types-xmlfeed/src/com/arsdigita/cms/contenttypes/xmlfeed/ui/XSLFileProperties.java @@ -276,7 +276,8 @@ public final class XSLFileProperties extends SecurityPropertyEditor try { fileAsset.loadFromFile(fileName, file, MIME_TYPE); } catch (IOException ex) { - throw new FormProcessException("cannot load XSL file", ex); + throw new FormProcessException(XMLFeedGlobalizationUtil.globalize( + "cms.contenttypes.xmlfeed.ui.cannot_load_xsl_file")); } fileAsset.setName(fileName);