From eb2d964af3c21efdaefb43340b60967908fceaa7 Mon Sep 17 00:00:00 2001 From: tosmers Date: Sun, 15 Feb 2015 17:09:32 +0000 Subject: [PATCH] =?UTF-8?q?[UPDATE]=20In=20der=20Klasse=20ccm-docmgr/src/c?= =?UTF-8?q?om/arsdigita/cms/docmgr/ui/BrowseFileInfoPropertiesPane.java=20?= =?UTF-8?q?die=20FormProcessException=20in=20den=20Zeilen=20907=20und=2091?= =?UTF-8?q?2=20umgebaut=20und=20den=20key=20ui.error.sending=5Fdocument=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@3193 8810af33-2d31-482b-a856-94f89814c4df --- .../cms/docmgr/ui/BrowseFileInfoPropertiesPane.java | 6 ++++-- .../src/com/arsdigita/cms/docmgr/ui/DMResources.properties | 1 + .../com/arsdigita/cms/docmgr/ui/DMResources_en.properties | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/BrowseFileInfoPropertiesPane.java b/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/BrowseFileInfoPropertiesPane.java index 68580c5b9..2b5c1257f 100755 --- a/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/BrowseFileInfoPropertiesPane.java +++ b/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/BrowseFileInfoPropertiesPane.java @@ -904,11 +904,13 @@ public class BrowseFileInfoPropertiesPane extends ModalContainer implements DMCo } catch (java.io.IOException iox) { s_log.error("SendForm.process", iox); // iox.printStackTrace(); - throw new FormProcessException("An error occurred while trying to send document"); + throw new FormProcessException(GlobalizationUtil.globalize( + "ui.error.sending_document")); } catch (javax.mail.MessagingException mex) { s_log.error("SendForm.process", mex); //mex.printStackTrace(); - throw new FormProcessException("An error occurred while trying to send document"); + throw new FormProcessException(GlobalizationUtil.globalize( + "ui.error.sending_document")); } } } diff --git a/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/DMResources.properties b/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/DMResources.properties index 0c533c21c..855e91c2d 100755 --- a/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/DMResources.properties +++ b/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/DMResources.properties @@ -90,3 +90,4 @@ ui.portlet.action.newresource=New Document ui.folderTableModelBuilder.folderItemCounts=subfolders:{0};subitems:{1} ui.portlet.action.new.doclink=New DocLink ui.intended_audience_cannot_be_null=Intended Audience cannot be null +ui.error.sending_document=An error occurred while trying to send document diff --git a/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/DMResources_en.properties b/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/DMResources_en.properties index 0c533c21c..855e91c2d 100755 --- a/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/DMResources_en.properties +++ b/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/DMResources_en.properties @@ -90,3 +90,4 @@ ui.portlet.action.newresource=New Document ui.folderTableModelBuilder.folderItemCounts=subfolders:{0};subitems:{1} ui.portlet.action.new.doclink=New DocLink ui.intended_audience_cannot_be_null=Intended Audience cannot be null +ui.error.sending_document=An error occurred while trying to send document