In der Klasse ccm-cms-types-xmlfeed/src/com/arsdigita/cms/contenttypes/xmlfeed/ui/XSLFileProperties.java die FormProcessException in der Zeile 279 umgebaut und den key cannot_load_xsl_file den Properties hinzugefügt.

git-svn-id: https://svn.libreccm.org/ccm/trunk@3252 8810af33-2d31-482b-a856-94f89814c4df
master
tosmers 2015-02-18 22:01:19 +00:00
parent 63816eaceb
commit b7e7ef551d
3 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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

View File

@ -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);