diff --git a/frontend/packages/volto-form-block/locales/de/LC_MESSAGES/volto.po b/frontend/packages/volto-form-block/locales/de/LC_MESSAGES/volto.po index 3d994b8..dc51ecf 100644 --- a/frontend/packages/volto-form-block/locales/de/LC_MESSAGES/volto.po +++ b/frontend/packages/volto-form-block/locales/de/LC_MESSAGES/volto.po @@ -359,6 +359,11 @@ msgstr "Drücken Sie die linke Pfeiltaste, um die ausgewählten Werte hervorzuhe msgid "captcha" msgstr "Captcha-Anbieter" +#. Default: "Checkbox Group" +#: index +msgid "checkbox_group" +msgstr "Auswahlfeldgruppe" + #. Default: "Recipients" #: schemaFormBlock/schema msgid "confirmation_recipients" @@ -702,6 +707,11 @@ msgstr "Fehlerhafte E-Mail-Adresse" msgid "formblock_requiredFieldMessage" msgstr "Bitte füllen Sie dieses Feld aus" +#. Default: "Hidden" +#: index +msgid "hidden" +msgstr "Versteckt" + #. Default: "Text at the end of the email" #: formSchema msgid "mail_footer_label" @@ -717,6 +727,16 @@ msgstr "" msgid "mail_header_label" msgstr "" +#. Default: "Number" +#: index +msgid "number" +msgstr "Nummer" + +#. Default: "Radio Group" +#: index +msgid "radio_group" +msgstr "Radiogruppe" + #. Default: "remove expired data" #: components/Sidebar msgid "remove_data_button" @@ -752,6 +772,21 @@ msgstr "Ergebnis" msgid "send_confirmation" msgstr "" +#. Default: "Static Text" +#: index +msgid "static_text" +msgstr "Statischer Text" + +#. Default: "Textarea" +#: index +msgid "textarea" +msgstr "Textfeld" + +#. Default: "Time" +#: index +msgid "time" +msgstr "Zeit" + #. Default: "Title" #: formSchema msgid "title" diff --git a/frontend/packages/volto-form-block/locales/en/LC_MESSAGES/volto.po b/frontend/packages/volto-form-block/locales/en/LC_MESSAGES/volto.po index 627a645..38a9699 100644 --- a/frontend/packages/volto-form-block/locales/en/LC_MESSAGES/volto.po +++ b/frontend/packages/volto-form-block/locales/en/LC_MESSAGES/volto.po @@ -359,6 +359,11 @@ msgstr "" msgid "captcha" msgstr "" +#. Default: "Checkbox Group" +#: index +msgid "checkbox_group" +msgstr "" + #. Default: "Recipients" #: schemaFormBlock/schema msgid "confirmation_recipients" @@ -702,6 +707,11 @@ msgstr "" msgid "formblock_requiredFieldMessage" msgstr "" +#. Default: "Hidden" +#: index +msgid "hidden" +msgstr "" + #. Default: "Text at the end of the email" #: formSchema msgid "mail_footer_label" @@ -717,6 +727,16 @@ msgstr "" msgid "mail_header_label" msgstr "" +#. Default: "Number" +#: index +msgid "number" +msgstr "" + +#. Default: "Radio Group" +#: index +msgid "radio_group" +msgstr "" + #. Default: "remove expired data" #: components/Sidebar msgid "remove_data_button" @@ -752,6 +772,21 @@ msgstr "" msgid "send_confirmation" msgstr "" +#. Default: "Static Text" +#: index +msgid "static_text" +msgstr "" + +#. Default: "Textarea" +#: index +msgid "textarea" +msgstr "" + +#. Default: "Time" +#: index +msgid "time" +msgstr "" + #. Default: "Title" #: formSchema msgid "title" diff --git a/frontend/packages/volto-form-block/locales/es/LC_MESSAGES/volto.po b/frontend/packages/volto-form-block/locales/es/LC_MESSAGES/volto.po index 42e9fc7..aa650dd 100644 --- a/frontend/packages/volto-form-block/locales/es/LC_MESSAGES/volto.po +++ b/frontend/packages/volto-form-block/locales/es/LC_MESSAGES/volto.po @@ -365,6 +365,11 @@ msgstr "Pulse la flecha hacia la izquierda para enfocar los valores seleccionado msgid "captcha" msgstr "Proveedor de captchas" +#. Default: "Checkbox Group" +#: index +msgid "checkbox_group" +msgstr "" + #. Default: "Recipients" #: schemaFormBlock/schema msgid "confirmation_recipients" @@ -708,6 +713,11 @@ msgstr "El correo electrónico es incorrecto." msgid "formblock_requiredFieldMessage" msgstr "Rellena este campo" +#. Default: "Hidden" +#: index +msgid "hidden" +msgstr "" + #. Default: "Text at the end of the email" #: formSchema msgid "mail_footer_label" @@ -723,6 +733,16 @@ msgstr "" msgid "mail_header_label" msgstr "" +#. Default: "Number" +#: index +msgid "number" +msgstr "" + +#. Default: "Radio Group" +#: index +msgid "radio_group" +msgstr "" + #. Default: "remove expired data" #: components/Sidebar msgid "remove_data_button" @@ -758,6 +778,21 @@ msgstr "Resultado" msgid "send_confirmation" msgstr "" +#. Default: "Static Text" +#: index +msgid "static_text" +msgstr "" + +#. Default: "Textarea" +#: index +msgid "textarea" +msgstr "" + +#. Default: "Time" +#: index +msgid "time" +msgstr "" + #. Default: "Title" #: formSchema msgid "title" diff --git a/frontend/packages/volto-form-block/locales/eu/LC_MESSAGES/volto.po b/frontend/packages/volto-form-block/locales/eu/LC_MESSAGES/volto.po index e53df66..26d1f95 100644 --- a/frontend/packages/volto-form-block/locales/eu/LC_MESSAGES/volto.po +++ b/frontend/packages/volto-form-block/locales/eu/LC_MESSAGES/volto.po @@ -361,6 +361,11 @@ msgstr "sakatu ezkerrera aukeratutako balioetan fokua jartzeko" msgid "captcha" msgstr "" +#. Default: "Checkbox Group" +#: index +msgid "checkbox_group" +msgstr "" + #. Default: "Recipients" #: schemaFormBlock/schema msgid "confirmation_recipients" @@ -704,6 +709,11 @@ msgstr "Posta elektronikoa okerra da" msgid "formblock_requiredFieldMessage" msgstr "Bete eremua" +#. Default: "Hidden" +#: index +msgid "hidden" +msgstr "" + #. Default: "Text at the end of the email" #: formSchema msgid "mail_footer_label" @@ -719,6 +729,16 @@ msgstr "" msgid "mail_header_label" msgstr "" +#. Default: "Number" +#: index +msgid "number" +msgstr "" + +#. Default: "Radio Group" +#: index +msgid "radio_group" +msgstr "" + #. Default: "remove expired data" #: components/Sidebar msgid "remove_data_button" @@ -754,6 +774,21 @@ msgstr "emaitza" msgid "send_confirmation" msgstr "" +#. Default: "Static Text" +#: index +msgid "static_text" +msgstr "" + +#. Default: "Textarea" +#: index +msgid "textarea" +msgstr "" + +#. Default: "Time" +#: index +msgid "time" +msgstr "" + #. Default: "Title" #: formSchema msgid "title" diff --git a/frontend/packages/volto-form-block/locales/fr/LC_MESSAGES/volto.po b/frontend/packages/volto-form-block/locales/fr/LC_MESSAGES/volto.po index 5d18ed8..3e5075d 100644 --- a/frontend/packages/volto-form-block/locales/fr/LC_MESSAGES/volto.po +++ b/frontend/packages/volto-form-block/locales/fr/LC_MESSAGES/volto.po @@ -359,6 +359,11 @@ msgstr "" msgid "captcha" msgstr "" +#. Default: "Checkbox Group" +#: index +msgid "checkbox_group" +msgstr "" + #. Default: "Recipients" #: schemaFormBlock/schema msgid "confirmation_recipients" @@ -702,6 +707,11 @@ msgstr "" msgid "formblock_requiredFieldMessage" msgstr "" +#. Default: "Hidden" +#: index +msgid "hidden" +msgstr "" + #. Default: "Text at the end of the email" #: formSchema msgid "mail_footer_label" @@ -717,6 +727,16 @@ msgstr "" msgid "mail_header_label" msgstr "" +#. Default: "Number" +#: index +msgid "number" +msgstr "" + +#. Default: "Radio Group" +#: index +msgid "radio_group" +msgstr "" + #. Default: "remove expired data" #: components/Sidebar msgid "remove_data_button" @@ -752,6 +772,21 @@ msgstr "" msgid "send_confirmation" msgstr "" +#. Default: "Static Text" +#: index +msgid "static_text" +msgstr "" + +#. Default: "Textarea" +#: index +msgid "textarea" +msgstr "" + +#. Default: "Time" +#: index +msgid "time" +msgstr "" + #. Default: "Title" #: formSchema msgid "title" diff --git a/frontend/packages/volto-form-block/locales/it/LC_MESSAGES/volto.po b/frontend/packages/volto-form-block/locales/it/LC_MESSAGES/volto.po index 4098488..1f396e3 100644 --- a/frontend/packages/volto-form-block/locales/it/LC_MESSAGES/volto.po +++ b/frontend/packages/volto-form-block/locales/it/LC_MESSAGES/volto.po @@ -359,6 +359,11 @@ msgstr "premi la freccia a sinistra per evidenziare i valori selezionati" msgid "captcha" msgstr "" +#. Default: "Checkbox Group" +#: index +msgid "checkbox_group" +msgstr "" + #. Default: "Recipients" #: schemaFormBlock/schema msgid "confirmation_recipients" @@ -702,6 +707,11 @@ msgstr "L'email inserita non è corretta" msgid "formblock_requiredFieldMessage" msgstr "Compila questo campo" +#. Default: "Hidden" +#: index +msgid "hidden" +msgstr "" + #. Default: "Text at the end of the email" #: formSchema msgid "mail_footer_label" @@ -717,6 +727,16 @@ msgstr "Se il campo non viene compilato verrà utilizzato un testo di default" msgid "mail_header_label" msgstr "Testo all'inizio dell'email" +#. Default: "Number" +#: index +msgid "number" +msgstr "" + +#. Default: "Radio Group" +#: index +msgid "radio_group" +msgstr "" + #. Default: "remove expired data" #: components/Sidebar msgid "remove_data_button" @@ -752,6 +772,21 @@ msgstr "risultato" msgid "send_confirmation" msgstr "" +#. Default: "Static Text" +#: index +msgid "static_text" +msgstr "" + +#. Default: "Textarea" +#: index +msgid "textarea" +msgstr "" + +#. Default: "Time" +#: index +msgid "time" +msgstr "" + #. Default: "Title" #: formSchema msgid "title" diff --git a/frontend/packages/volto-form-block/locales/ja/LC_MESSAGES/volto.po b/frontend/packages/volto-form-block/locales/ja/LC_MESSAGES/volto.po index 1753fcb..8a7aa34 100644 --- a/frontend/packages/volto-form-block/locales/ja/LC_MESSAGES/volto.po +++ b/frontend/packages/volto-form-block/locales/ja/LC_MESSAGES/volto.po @@ -359,6 +359,11 @@ msgstr "" msgid "captcha" msgstr "" +#. Default: "Checkbox Group" +#: index +msgid "checkbox_group" +msgstr "" + #. Default: "Recipients" #: schemaFormBlock/schema msgid "confirmation_recipients" @@ -702,6 +707,11 @@ msgstr "" msgid "formblock_requiredFieldMessage" msgstr "" +#. Default: "Hidden" +#: index +msgid "hidden" +msgstr "" + #. Default: "Text at the end of the email" #: formSchema msgid "mail_footer_label" @@ -717,6 +727,16 @@ msgstr "" msgid "mail_header_label" msgstr "" +#. Default: "Number" +#: index +msgid "number" +msgstr "" + +#. Default: "Radio Group" +#: index +msgid "radio_group" +msgstr "" + #. Default: "remove expired data" #: components/Sidebar msgid "remove_data_button" @@ -752,6 +772,21 @@ msgstr "" msgid "send_confirmation" msgstr "" +#. Default: "Static Text" +#: index +msgid "static_text" +msgstr "" + +#. Default: "Textarea" +#: index +msgid "textarea" +msgstr "" + +#. Default: "Time" +#: index +msgid "time" +msgstr "" + #. Default: "Title" #: formSchema msgid "title" diff --git a/frontend/packages/volto-form-block/locales/nl/LC_MESSAGES/volto.po b/frontend/packages/volto-form-block/locales/nl/LC_MESSAGES/volto.po index d0318b6..4e74fbc 100644 --- a/frontend/packages/volto-form-block/locales/nl/LC_MESSAGES/volto.po +++ b/frontend/packages/volto-form-block/locales/nl/LC_MESSAGES/volto.po @@ -359,6 +359,11 @@ msgstr "" msgid "captcha" msgstr "" +#. Default: "Checkbox Group" +#: index +msgid "checkbox_group" +msgstr "" + #. Default: "Recipients" #: schemaFormBlock/schema msgid "confirmation_recipients" @@ -702,6 +707,11 @@ msgstr "" msgid "formblock_requiredFieldMessage" msgstr "" +#. Default: "Hidden" +#: index +msgid "hidden" +msgstr "" + #. Default: "Text at the end of the email" #: formSchema msgid "mail_footer_label" @@ -717,6 +727,16 @@ msgstr "" msgid "mail_header_label" msgstr "" +#. Default: "Number" +#: index +msgid "number" +msgstr "" + +#. Default: "Radio Group" +#: index +msgid "radio_group" +msgstr "" + #. Default: "remove expired data" #: components/Sidebar msgid "remove_data_button" @@ -752,6 +772,21 @@ msgstr "" msgid "send_confirmation" msgstr "" +#. Default: "Static Text" +#: index +msgid "static_text" +msgstr "" + +#. Default: "Textarea" +#: index +msgid "textarea" +msgstr "" + +#. Default: "Time" +#: index +msgid "time" +msgstr "" + #. Default: "Title" #: formSchema msgid "title" diff --git a/frontend/packages/volto-form-block/locales/pt/LC_MESSAGES/volto.po b/frontend/packages/volto-form-block/locales/pt/LC_MESSAGES/volto.po index 1753fcb..8a7aa34 100644 --- a/frontend/packages/volto-form-block/locales/pt/LC_MESSAGES/volto.po +++ b/frontend/packages/volto-form-block/locales/pt/LC_MESSAGES/volto.po @@ -359,6 +359,11 @@ msgstr "" msgid "captcha" msgstr "" +#. Default: "Checkbox Group" +#: index +msgid "checkbox_group" +msgstr "" + #. Default: "Recipients" #: schemaFormBlock/schema msgid "confirmation_recipients" @@ -702,6 +707,11 @@ msgstr "" msgid "formblock_requiredFieldMessage" msgstr "" +#. Default: "Hidden" +#: index +msgid "hidden" +msgstr "" + #. Default: "Text at the end of the email" #: formSchema msgid "mail_footer_label" @@ -717,6 +727,16 @@ msgstr "" msgid "mail_header_label" msgstr "" +#. Default: "Number" +#: index +msgid "number" +msgstr "" + +#. Default: "Radio Group" +#: index +msgid "radio_group" +msgstr "" + #. Default: "remove expired data" #: components/Sidebar msgid "remove_data_button" @@ -752,6 +772,21 @@ msgstr "" msgid "send_confirmation" msgstr "" +#. Default: "Static Text" +#: index +msgid "static_text" +msgstr "" + +#. Default: "Textarea" +#: index +msgid "textarea" +msgstr "" + +#. Default: "Time" +#: index +msgid "time" +msgstr "" + #. Default: "Title" #: formSchema msgid "title" diff --git a/frontend/packages/volto-form-block/locales/pt_BR/LC_MESSAGES/volto.po b/frontend/packages/volto-form-block/locales/pt_BR/LC_MESSAGES/volto.po index 4d1a6a2..fcb7846 100644 --- a/frontend/packages/volto-form-block/locales/pt_BR/LC_MESSAGES/volto.po +++ b/frontend/packages/volto-form-block/locales/pt_BR/LC_MESSAGES/volto.po @@ -365,6 +365,11 @@ msgstr "" msgid "captcha" msgstr "" +#. Default: "Checkbox Group" +#: index +msgid "checkbox_group" +msgstr "" + #. Default: "Recipients" #: schemaFormBlock/schema msgid "confirmation_recipients" @@ -708,6 +713,11 @@ msgstr "" msgid "formblock_requiredFieldMessage" msgstr "" +#. Default: "Hidden" +#: index +msgid "hidden" +msgstr "" + #. Default: "Text at the end of the email" #: formSchema msgid "mail_footer_label" @@ -723,6 +733,16 @@ msgstr "" msgid "mail_header_label" msgstr "" +#. Default: "Number" +#: index +msgid "number" +msgstr "" + +#. Default: "Radio Group" +#: index +msgid "radio_group" +msgstr "" + #. Default: "remove expired data" #: components/Sidebar msgid "remove_data_button" @@ -758,6 +778,21 @@ msgstr "" msgid "send_confirmation" msgstr "" +#. Default: "Static Text" +#: index +msgid "static_text" +msgstr "" + +#. Default: "Textarea" +#: index +msgid "textarea" +msgstr "" + +#. Default: "Time" +#: index +msgid "time" +msgstr "" + #. Default: "Title" #: formSchema msgid "title" diff --git a/frontend/packages/volto-form-block/locales/ro/LC_MESSAGES/volto.po b/frontend/packages/volto-form-block/locales/ro/LC_MESSAGES/volto.po index 1753fcb..8a7aa34 100644 --- a/frontend/packages/volto-form-block/locales/ro/LC_MESSAGES/volto.po +++ b/frontend/packages/volto-form-block/locales/ro/LC_MESSAGES/volto.po @@ -359,6 +359,11 @@ msgstr "" msgid "captcha" msgstr "" +#. Default: "Checkbox Group" +#: index +msgid "checkbox_group" +msgstr "" + #. Default: "Recipients" #: schemaFormBlock/schema msgid "confirmation_recipients" @@ -702,6 +707,11 @@ msgstr "" msgid "formblock_requiredFieldMessage" msgstr "" +#. Default: "Hidden" +#: index +msgid "hidden" +msgstr "" + #. Default: "Text at the end of the email" #: formSchema msgid "mail_footer_label" @@ -717,6 +727,16 @@ msgstr "" msgid "mail_header_label" msgstr "" +#. Default: "Number" +#: index +msgid "number" +msgstr "" + +#. Default: "Radio Group" +#: index +msgid "radio_group" +msgstr "" + #. Default: "remove expired data" #: components/Sidebar msgid "remove_data_button" @@ -752,6 +772,21 @@ msgstr "" msgid "send_confirmation" msgstr "" +#. Default: "Static Text" +#: index +msgid "static_text" +msgstr "" + +#. Default: "Textarea" +#: index +msgid "textarea" +msgstr "" + +#. Default: "Time" +#: index +msgid "time" +msgstr "" + #. Default: "Title" #: formSchema msgid "title" diff --git a/frontend/packages/volto-form-block/locales/volto.pot b/frontend/packages/volto-form-block/locales/volto.pot index 9021dc8..3a0ee9d 100644 --- a/frontend/packages/volto-form-block/locales/volto.pot +++ b/frontend/packages/volto-form-block/locales/volto.pot @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: Plone\n" -"POT-Creation-Date: 2024-09-24T21:03:44.005Z\n" +"POT-Creation-Date: 2024-10-05T13:25:45.385Z\n" "Last-Translator: Plone i18n \n" "Language-Team: Plone i18n \n" "Content-Type: text/plain; charset=utf-8\n" @@ -361,6 +361,11 @@ msgstr "" msgid "captcha" msgstr "" +#. Default: "Checkbox Group" +#: index +msgid "checkbox_group" +msgstr "" + #. Default: "Recipients" #: schemaFormBlock/schema msgid "confirmation_recipients" @@ -704,6 +709,11 @@ msgstr "" msgid "formblock_requiredFieldMessage" msgstr "" +#. Default: "Hidden" +#: index +msgid "hidden" +msgstr "" + #. Default: "Text at the end of the email" #: formSchema msgid "mail_footer_label" @@ -719,6 +729,16 @@ msgstr "" msgid "mail_header_label" msgstr "" +#. Default: "Number" +#: index +msgid "number" +msgstr "" + +#. Default: "Radio Group" +#: index +msgid "radio_group" +msgstr "" + #. Default: "remove expired data" #: components/Sidebar msgid "remove_data_button" @@ -754,6 +774,21 @@ msgstr "" msgid "send_confirmation" msgstr "" +#. Default: "Static Text" +#: index +msgid "static_text" +msgstr "" + +#. Default: "Textarea" +#: index +msgid "textarea" +msgstr "" + +#. Default: "Time" +#: index +msgid "time" +msgstr "" + #. Default: "Title" #: formSchema msgid "title" diff --git a/frontend/packages/volto-form-block/src/index.js b/frontend/packages/volto-form-block/src/index.js index c415b68..2be02ff 100644 --- a/frontend/packages/volto-form-block/src/index.js +++ b/frontend/packages/volto-form-block/src/index.js @@ -1,3 +1,4 @@ +import { defineMessages } from 'react-intl'; import loadable from '@loadable/component'; import formSVG from '@plone/volto/icons/form.svg'; @@ -44,6 +45,37 @@ export { } from 'volto-form-block/actions'; export { isValidEmail }; +defineMessages({ + textarea: { + id: 'textarea', + defaultMessage: 'Textarea', + }, + radio_group: { + id: 'radio_group', + defaultMessage: 'Radio Group', + }, + checkbox_group: { + id: 'checkbox_group', + defaultMessage: 'Checkbox Group', + }, + hidden: { + id: 'hidden', + defaultMessage: 'Hidden', + }, + static_text: { + id: 'static_text', + defaultMessage: 'Static Text', + }, + number: { + id: 'number', + defaultMessage: 'Number', + }, + time: { + id: 'time', + defaultMessage: 'Time', + }, +}); + const applyConfig = (config) => { config.widgets.widget.honeypot = HoneypotCaptchaWidget;