diff --git a/ccm-core/src/com/arsdigita/formbuilder/FormbuilderResources.properties b/ccm-core/src/com/arsdigita/formbuilder/FormbuilderResources.properties index 86458d0c5..914f53e84 100755 --- a/ccm-core/src/com/arsdigita/formbuilder/FormbuilderResources.properties +++ b/ccm-core/src/com/arsdigita/formbuilder/FormbuilderResources.properties @@ -70,3 +70,4 @@ formbuilder.ui.no_widgetLabel_found=Cannot find WidgetLabel for formbuilder.ui.editors.cannot_find_form=Cannot find form formbuilder.ui.editors.cannot_find_persistent_widget=Cannot find persistent widget {0} formbuilder.ui.editors.cannot_find_persistent_process_listener=Cannot find persistent process listener {0} +formbuilder.actions.cannot_sent_message=cannot send message diff --git a/ccm-core/src/com/arsdigita/formbuilder/FormbuilderResources_de.properties b/ccm-core/src/com/arsdigita/formbuilder/FormbuilderResources_de.properties index a85fec0f5..ac60caaa5 100644 --- a/ccm-core/src/com/arsdigita/formbuilder/FormbuilderResources_de.properties +++ b/ccm-core/src/com/arsdigita/formbuilder/FormbuilderResources_de.properties @@ -70,3 +70,4 @@ formbuilder.ui.no_widgetLabel_found=Finde kein Label f\u00fcr Widget formbuilder.ui.editors.cannot_find_form=Kann die Form nicht finden formbuilder.ui.editors.cannot_find_persistent_widget=Kann nicht das persistente Widget {0} finden formbuilder.ui.editors.cannot_find_persistent_process_listener=Kann nicht den persistenten Prozess Listener {0} finden +formbuilder.actions.cannot_sent_message=Kann die Nachricht nicht senden diff --git a/ccm-core/src/com/arsdigita/formbuilder/FormbuilderResources_fr.properties b/ccm-core/src/com/arsdigita/formbuilder/FormbuilderResources_fr.properties index 317e96072..f2bcdb912 100755 --- a/ccm-core/src/com/arsdigita/formbuilder/FormbuilderResources_fr.properties +++ b/ccm-core/src/com/arsdigita/formbuilder/FormbuilderResources_fr.properties @@ -62,3 +62,4 @@ formbuilder.ui.no_widgetLabel_found=Cannot find WidgetLabel for formbuilder.ui.editors.cannot_find_form=Ne peut pas trouver la forme formbuilder.ui.editors.cannot_find_persistent_widget=Ne peut pas trouver le widget persistente {0} formbuilder.ui.editors.cannot_find_persistent_process_listener=Ne peut pas trouver processus persistant auditeur {0} +formbuilder.actions.cannot_sent_message=Ne peut pas envoyer le message diff --git a/ccm-core/src/com/arsdigita/formbuilder/actions/TemplateEmailListener.java b/ccm-core/src/com/arsdigita/formbuilder/actions/TemplateEmailListener.java index 7b5a20644..f37b6d34d 100755 --- a/ccm-core/src/com/arsdigita/formbuilder/actions/TemplateEmailListener.java +++ b/ccm-core/src/com/arsdigita/formbuilder/actions/TemplateEmailListener.java @@ -29,6 +29,7 @@ import com.arsdigita.persistence.DataObject; import com.arsdigita.persistence.OID; import com.arsdigita.persistence.metadata.ObjectType; import com.arsdigita.domain.DataObjectNotFoundException; +import com.arsdigita.formbuilder.util.GlobalizationUtil; import com.arsdigita.kernel.Kernel; import com.arsdigita.kernel.User; import com.arsdigita.mail.Mail; @@ -177,7 +178,8 @@ public class TemplateEmailListener extends PersistentProcessListener { Mail message = new Mail(to, from, subject, body); message.send(); } catch (MessagingException ex) { - throw new FormProcessException( "cannot send message", ex ); + throw new FormProcessException(GlobalizationUtil.globalize( + "formbuilder.actions.cannot_sent_message")); } } }