diff --git a/ccm-core/src/com/arsdigita/formbuilder/FormbuilderResources.properties b/ccm-core/src/com/arsdigita/formbuilder/FormbuilderResources.properties index 3f91f1917..df2ba551f 100755 --- a/ccm-core/src/com/arsdigita/formbuilder/FormbuilderResources.properties +++ b/ccm-core/src/com/arsdigita/formbuilder/FormbuilderResources.properties @@ -67,3 +67,5 @@ formbuilder.ui.delete_confirm=Are you sure you wish to delete this widget? formbuilder.ui.cancel=Cancel formbuilder.ui.cancel_msg=Submission Cancelled 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} diff --git a/ccm-core/src/com/arsdigita/formbuilder/FormbuilderResources_de.properties b/ccm-core/src/com/arsdigita/formbuilder/FormbuilderResources_de.properties index 57b992ea4..d8286af41 100644 --- a/ccm-core/src/com/arsdigita/formbuilder/FormbuilderResources_de.properties +++ b/ccm-core/src/com/arsdigita/formbuilder/FormbuilderResources_de.properties @@ -67,3 +67,5 @@ formbuilder.ui.delete_confirm=Sind Sie sicher, dieses Element zu l\u00f6schen? formbuilder.ui.cancel=Abbrechen formbuilder.ui.cancel_msg=Bearbeitung abgebrochen 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 diff --git a/ccm-core/src/com/arsdigita/formbuilder/FormbuilderResources_fr.properties b/ccm-core/src/com/arsdigita/formbuilder/FormbuilderResources_fr.properties index e84fee1de..48a0cf36a 100755 --- a/ccm-core/src/com/arsdigita/formbuilder/FormbuilderResources_fr.properties +++ b/ccm-core/src/com/arsdigita/formbuilder/FormbuilderResources_fr.properties @@ -59,3 +59,5 @@ formbuilder.ui.delete_confirm=Are you sure you wish to delete this widget? formbuilder.ui.cancel=Cancel formbuilder.ui.cancel_msg=Submission Cancelled 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} diff --git a/ccm-core/src/com/arsdigita/formbuilder/ui/editors/WidgetForm.java b/ccm-core/src/com/arsdigita/formbuilder/ui/editors/WidgetForm.java index 893ecfc82..65ddb52e3 100755 --- a/ccm-core/src/com/arsdigita/formbuilder/ui/editors/WidgetForm.java +++ b/ccm-core/src/com/arsdigita/formbuilder/ui/editors/WidgetForm.java @@ -336,7 +336,8 @@ public abstract class WidgetForm extends PropertiesForm { try { form = new PersistentFormSection(form_id); } catch (DataObjectNotFoundException ex) { - throw new FormProcessException("cannot find form", ex); + throw new FormProcessException(GlobalizationUtil.globalize( + "formbuilder.ui.editors.cannot_find_form")); } form.addComponent(widget); @@ -359,8 +360,8 @@ public abstract class WidgetForm extends PropertiesForm { try { widget = getWidget(action); } catch (DataObjectNotFoundException ex) { - throw new FormProcessException("cannot find persistent widget " - + action, ex); + throw new FormProcessException(GlobalizationUtil.globalize( + "formbuilder.ui.editors.cannot_find_persistent_widget", new Object[]{action})); } initWidgets(e, widget); }