Skip to content

Commit

Permalink
Add email sender.
Browse files Browse the repository at this point in the history
Add thank you redirect.
  • Loading branch information
robgietema committed Oct 30, 2024
1 parent 6084679 commit 25afd6a
Show file tree
Hide file tree
Showing 14 changed files with 417 additions and 123 deletions.
48 changes: 34 additions & 14 deletions frontend/packages/volto-form-block/locales/de/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ msgstr "Abbrechen"
#. Default: "Cancel button label"
#: schemaFormBlock/schema
msgid "Cancel button label"
msgstr ""
msgstr "Beschriftung des Abbrechen-Buttons"

#. Default: "Choices"
#: components/Widget/SelectWidget
Expand Down Expand Up @@ -142,11 +142,6 @@ msgstr "Notwendig"
msgid "Select…"
msgstr "Wähle…"

#. Default: "Send email"
#: schemaFormBlock/schema
msgid "Send email"
msgstr ""

#. Default: "Send email to admin"
#: schemaFormBlock/schema
msgid "Send email to admin"
Expand All @@ -165,12 +160,12 @@ msgstr ""
#. Default: "Show cancel button"
#: schemaFormBlock/schema
msgid "Show cancel button"
msgstr ""
msgstr "Abbrechen-Button anzeigen"

#. Default: "Store data"
#: schemaFormBlock/schema
msgid "Store data"
msgstr ""
msgstr "Daten speichern"

#. Default: "Subject"
#: schemaFormBlock/schema
Expand All @@ -187,7 +182,7 @@ msgstr "Senden"
#. Default: "Submit button label"
#: schemaFormBlock/schema
msgid "Submit button label"
msgstr ""
msgstr "Beschriftung des Senden-Buttons"

#. Default: "Text at the beginning of the email. Use the ${field_id} syntax to add a form value."
#: schemaFormBlock/schema
Expand Down Expand Up @@ -248,7 +243,7 @@ msgstr ""
#. Default: "When activated, the data will be stored for later use when the form is submitted"
#: schemaFormBlock/schema
msgid "When activated, the data will be stored for later use when the form is submitted"
msgstr ""
msgstr "Bei Aktivierung werden die Daten für eine spätere Verwendung beim Absenden des Formulars gespeichert"

#. Default: "Use Up and Down to choose options"
#: helpers/react-select
Expand Down Expand Up @@ -386,10 +381,10 @@ msgstr "Beschreibung"
msgid "fieldId"
msgstr "Feld-ID"

#. Default: "Confirmation email"
#. Default: "Mailing"
#: schemaFormBlock/schema
msgid "fieldset_send_confirmation"
msgstr ""
msgid "fieldset_mailing"
msgstr "E-Mail senden"

#. Default: "Form"
#: formSchema
Expand Down Expand Up @@ -709,6 +704,16 @@ msgstr "Fehlerhafte E-Mail-Adresse"
msgid "formblock_requiredFieldMessage"
msgstr "Bitte füllen Sie dieses Feld aus"

#. Default: "Forward user to"
#: schemaFormBlock/schema
msgid "forward_user_to"
msgstr "Weiterleiten nach"

#. Default: "If a page is specified, the user will be directed there after submitting the form. The thank you message will not be displayed."
#: schemaFormBlock/schema
msgid "forward_user_to_description"
msgstr "Falls eine Seite angegeben ist, wird der User nach dem Absenden des Formulares dort hin geleitet. Die Dankesnachricht wird nicht angezeigt."

#. Default: "Hidden"
#: index
msgid "hidden"
Expand Down Expand Up @@ -779,6 +784,16 @@ msgstr ""
msgid "static_text"
msgstr "Statischer Text"

#. Default: "Success message"
#: schemaFormBlock/schema
msgid "success"
msgstr "Erfolgsnachricht"

#. Default: "Thank you! You have submitted the following data:"
#: schemaFormBlock/schema
msgid "success_default"
msgstr "Vielen Dank! Sie haben folgende Daten übermittelt:"

#. Default: "Textarea"
#: index
msgid "textarea"
Expand All @@ -787,7 +802,12 @@ msgstr "Textbereichsfeld"
#. Default: "Thank you message"
#: schemaFormBlock/schema
msgid "thankyou"
msgstr ""
msgstr "Dankesnachricht"

#. Default: "A text with simple formatting can be entered. Also it is possible to use variables; ${field_id} can be used to display the value of a field inside the form. The ${formfields} variable lists all form fields in a tabular view."
#: schemaFormBlock/schema
msgid "thankyou_description"
msgstr "Ein Text mit einfacher Formatierung kann eingegeben werden. Außerdem ist es möglich, Variablen zu verwenden; ${field_id} kann verwendet werden, um den Wert eines Feldes im Formular anzuzeigen. Die Variable ${formfields} listet alle Formularfelder in einer tabellarischen Ansicht auf."

#. Default: "Time"
#: index
Expand Down
34 changes: 27 additions & 7 deletions frontend/packages/volto-form-block/locales/en/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,6 @@ msgstr ""
msgid "Select…"
msgstr ""

#. Default: "Send email"
#: schemaFormBlock/schema
msgid "Send email"
msgstr ""

#. Default: "Send email to admin"
#: schemaFormBlock/schema
msgid "Send email to admin"
Expand Down Expand Up @@ -386,9 +381,9 @@ msgstr "Description"
msgid "fieldId"
msgstr "Field ID"

#. Default: "Confirmation email"
#. Default: "Mailing"
#: schemaFormBlock/schema
msgid "fieldset_send_confirmation"
msgid "fieldset_mailing"
msgstr ""

#. Default: "Form"
Expand Down Expand Up @@ -709,6 +704,16 @@ msgstr ""
msgid "formblock_requiredFieldMessage"
msgstr ""

#. Default: "Forward user to"
#: schemaFormBlock/schema
msgid "forward_user_to"
msgstr ""

#. Default: "If a page is specified, the user will be directed there after submitting the form. The thank you message will not be displayed."
#: schemaFormBlock/schema
msgid "forward_user_to_description"
msgstr ""

#. Default: "Hidden"
#: index
msgid "hidden"
Expand Down Expand Up @@ -779,6 +784,16 @@ msgstr ""
msgid "static_text"
msgstr ""

#. Default: "Success message"
#: schemaFormBlock/schema
msgid "success"
msgstr ""

#. Default: "Thank you! You have submitted the following data:"
#: schemaFormBlock/schema
msgid "success_default"
msgstr ""

#. Default: "Textarea"
#: index
msgid "textarea"
Expand All @@ -789,6 +804,11 @@ msgstr ""
msgid "thankyou"
msgstr ""

#. Default: "A text with simple formatting can be entered. Also it is possible to use variables; ${field_id} can be used to display the value of a field inside the form. The ${formfields} variable lists all form fields in a tabular view."
#: schemaFormBlock/schema
msgid "thankyou_description"
msgstr ""

#. Default: "Time"
#: index
msgid "time"
Expand Down
34 changes: 27 additions & 7 deletions frontend/packages/volto-form-block/locales/es/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,6 @@ msgstr "Obligatorio"
msgid "Select…"
msgstr "Seleccionar..."

#. Default: "Send email"
#: schemaFormBlock/schema
msgid "Send email"
msgstr ""

#. Default: "Send email to admin"
#: schemaFormBlock/schema
msgid "Send email to admin"
Expand Down Expand Up @@ -392,9 +387,9 @@ msgstr "Descripción"
msgid "fieldId"
msgstr ""

#. Default: "Confirmation email"
#. Default: "Mailing"
#: schemaFormBlock/schema
msgid "fieldset_send_confirmation"
msgid "fieldset_mailing"
msgstr ""

#. Default: "Form"
Expand Down Expand Up @@ -715,6 +710,16 @@ msgstr "El correo electrónico es incorrecto."
msgid "formblock_requiredFieldMessage"
msgstr "Rellena este campo"

#. Default: "Forward user to"
#: schemaFormBlock/schema
msgid "forward_user_to"
msgstr ""

#. Default: "If a page is specified, the user will be directed there after submitting the form. The thank you message will not be displayed."
#: schemaFormBlock/schema
msgid "forward_user_to_description"
msgstr ""

#. Default: "Hidden"
#: index
msgid "hidden"
Expand Down Expand Up @@ -785,6 +790,16 @@ msgstr ""
msgid "static_text"
msgstr ""

#. Default: "Success message"
#: schemaFormBlock/schema
msgid "success"
msgstr ""

#. Default: "Thank you! You have submitted the following data:"
#: schemaFormBlock/schema
msgid "success_default"
msgstr ""

#. Default: "Textarea"
#: index
msgid "textarea"
Expand All @@ -795,6 +810,11 @@ msgstr ""
msgid "thankyou"
msgstr ""

#. Default: "A text with simple formatting can be entered. Also it is possible to use variables; ${field_id} can be used to display the value of a field inside the form. The ${formfields} variable lists all form fields in a tabular view."
#: schemaFormBlock/schema
msgid "thankyou_description"
msgstr ""

#. Default: "Time"
#: index
msgid "time"
Expand Down
34 changes: 27 additions & 7 deletions frontend/packages/volto-form-block/locales/eu/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,6 @@ msgstr "Beharrezkoa"
msgid "Select…"
msgstr "Aukeratu..."

#. Default: "Send email"
#: schemaFormBlock/schema
msgid "Send email"
msgstr ""

#. Default: "Send email to admin"
#: schemaFormBlock/schema
msgid "Send email to admin"
Expand Down Expand Up @@ -388,9 +383,9 @@ msgstr "Deskribapena"
msgid "fieldId"
msgstr ""

#. Default: "Confirmation email"
#. Default: "Mailing"
#: schemaFormBlock/schema
msgid "fieldset_send_confirmation"
msgid "fieldset_mailing"
msgstr ""

#. Default: "Form"
Expand Down Expand Up @@ -711,6 +706,16 @@ msgstr "Posta elektronikoa okerra da"
msgid "formblock_requiredFieldMessage"
msgstr "Bete eremua"

#. Default: "Forward user to"
#: schemaFormBlock/schema
msgid "forward_user_to"
msgstr ""

#. Default: "If a page is specified, the user will be directed there after submitting the form. The thank you message will not be displayed."
#: schemaFormBlock/schema
msgid "forward_user_to_description"
msgstr ""

#. Default: "Hidden"
#: index
msgid "hidden"
Expand Down Expand Up @@ -781,6 +786,16 @@ msgstr ""
msgid "static_text"
msgstr ""

#. Default: "Success message"
#: schemaFormBlock/schema
msgid "success"
msgstr ""

#. Default: "Thank you! You have submitted the following data:"
#: schemaFormBlock/schema
msgid "success_default"
msgstr ""

#. Default: "Textarea"
#: index
msgid "textarea"
Expand All @@ -791,6 +806,11 @@ msgstr ""
msgid "thankyou"
msgstr ""

#. Default: "A text with simple formatting can be entered. Also it is possible to use variables; ${field_id} can be used to display the value of a field inside the form. The ${formfields} variable lists all form fields in a tabular view."
#: schemaFormBlock/schema
msgid "thankyou_description"
msgstr ""

#. Default: "Time"
#: index
msgid "time"
Expand Down
34 changes: 27 additions & 7 deletions frontend/packages/volto-form-block/locales/fr/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,6 @@ msgstr ""
msgid "Select…"
msgstr ""

#. Default: "Send email"
#: schemaFormBlock/schema
msgid "Send email"
msgstr ""

#. Default: "Send email to admin"
#: schemaFormBlock/schema
msgid "Send email to admin"
Expand Down Expand Up @@ -386,9 +381,9 @@ msgstr ""
msgid "fieldId"
msgstr ""

#. Default: "Confirmation email"
#. Default: "Mailing"
#: schemaFormBlock/schema
msgid "fieldset_send_confirmation"
msgid "fieldset_mailing"
msgstr ""

#. Default: "Form"
Expand Down Expand Up @@ -709,6 +704,16 @@ msgstr ""
msgid "formblock_requiredFieldMessage"
msgstr ""

#. Default: "Forward user to"
#: schemaFormBlock/schema
msgid "forward_user_to"
msgstr ""

#. Default: "If a page is specified, the user will be directed there after submitting the form. The thank you message will not be displayed."
#: schemaFormBlock/schema
msgid "forward_user_to_description"
msgstr ""

#. Default: "Hidden"
#: index
msgid "hidden"
Expand Down Expand Up @@ -779,6 +784,16 @@ msgstr ""
msgid "static_text"
msgstr ""

#. Default: "Success message"
#: schemaFormBlock/schema
msgid "success"
msgstr ""

#. Default: "Thank you! You have submitted the following data:"
#: schemaFormBlock/schema
msgid "success_default"
msgstr ""

#. Default: "Textarea"
#: index
msgid "textarea"
Expand All @@ -789,6 +804,11 @@ msgstr ""
msgid "thankyou"
msgstr ""

#. Default: "A text with simple formatting can be entered. Also it is possible to use variables; ${field_id} can be used to display the value of a field inside the form. The ${formfields} variable lists all form fields in a tabular view."
#: schemaFormBlock/schema
msgid "thankyou_description"
msgstr ""

#. Default: "Time"
#: index
msgid "time"
Expand Down
Loading

0 comments on commit 25afd6a

Please sign in to comment.