Skip to content

Commit

Permalink
chore: updated subject field with description text
Browse files Browse the repository at this point in the history
  • Loading branch information
SaraBianchi committed Jul 1, 2024
1 parent 8332005 commit 3080394
Show file tree
Hide file tree
Showing 13 changed files with 74 additions and 4 deletions.
5 changes: 5 additions & 0 deletions locales/de/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,11 @@ msgstr "Standard Absender"
msgid "form_default_subject"
msgstr "Betreff"

#: formSchema
# defaultMessage: Use the ${field_id} syntax to add a form value to the email subject
msgid "form_default_subject_description"
msgstr ""

#: components/Edit
#: components/FormView
# defaultMessage: Invia
Expand Down
5 changes: 5 additions & 0 deletions locales/en/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,11 @@ msgstr "Default sender"
msgid "form_default_subject"
msgstr "Mail subject"

#: formSchema
# defaultMessage: Use the ${field_id} syntax to add a form value to the email subject
msgid "form_default_subject_description"
msgstr ""

#: components/Edit
#: components/FormView
# defaultMessage: Invia
Expand Down
5 changes: 5 additions & 0 deletions locales/es/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,11 @@ msgstr "Remitente por defecto"
msgid "form_default_subject"
msgstr "Asunto"

#: formSchema
# defaultMessage: Use the ${field_id} syntax to add a form value to the email subject
msgid "form_default_subject_description"
msgstr ""

#: components/Edit
#: components/FormView
# defaultMessage: Invia
Expand Down
5 changes: 5 additions & 0 deletions locales/eu/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,11 @@ msgstr "Defektuzko bidaltzailea"
msgid "form_default_subject"
msgstr "Mezuaren gaia"

#: formSchema
# defaultMessage: Use the ${field_id} syntax to add a form value to the email subject
msgid "form_default_subject_description"
msgstr ""

#: components/Edit
#: components/FormView
# defaultMessage: Invia
Expand Down
5 changes: 5 additions & 0 deletions locales/fr/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,11 @@ msgstr "Expéditeur par défaut"
msgid "form_default_subject"
msgstr "Objet du courrier"

#: formSchema
# defaultMessage: Use the ${field_id} syntax to add a form value to the email subject
msgid "form_default_subject_description"
msgstr ""

#: components/Edit
#: components/FormView
# defaultMessage: Invia
Expand Down
5 changes: 5 additions & 0 deletions locales/it/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,11 @@ msgstr "Mittente di default"
msgid "form_default_subject"
msgstr "Oggetto dell'email"

#: formSchema
# defaultMessage: Use the ${field_id} syntax to add a form value to the email subject
msgid "form_default_subject_description"
msgstr "Utilizza la sintassi ${identificativo} per aggiungere un valore della form dentro all'oggetto dell'email"

#: components/Edit
#: components/FormView
# defaultMessage: Invia
Expand Down
5 changes: 5 additions & 0 deletions locales/ja/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,11 @@ msgstr ""
msgid "form_default_subject"
msgstr ""

#: formSchema
# defaultMessage: Use the ${field_id} syntax to add a form value to the email subject
msgid "form_default_subject_description"
msgstr ""

#: components/Edit
#: components/FormView
# defaultMessage: Invia
Expand Down
5 changes: 5 additions & 0 deletions locales/nl/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,11 @@ msgstr ""
msgid "form_default_subject"
msgstr ""

#: formSchema
# defaultMessage: Use the ${field_id} syntax to add a form value to the email subject
msgid "form_default_subject_description"
msgstr ""

#: components/Edit
#: components/FormView
# defaultMessage: Invia
Expand Down
5 changes: 5 additions & 0 deletions locales/pt/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,11 @@ msgstr ""
msgid "form_default_subject"
msgstr ""

#: formSchema
# defaultMessage: Use the ${field_id} syntax to add a form value to the email subject
msgid "form_default_subject_description"
msgstr ""

#: components/Edit
#: components/FormView
# defaultMessage: Invia
Expand Down
5 changes: 5 additions & 0 deletions locales/pt_BR/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,11 @@ msgstr "Remetente padrão"
msgid "form_default_subject"
msgstr "Assunto do e-mail"

#: formSchema
# defaultMessage: Use the ${field_id} syntax to add a form value to the email subject
msgid "form_default_subject_description"
msgstr ""

#: components/Edit
#: components/FormView
# defaultMessage: Invia
Expand Down
5 changes: 5 additions & 0 deletions locales/ro/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,11 @@ msgstr ""
msgid "form_default_subject"
msgstr ""

#: formSchema
# defaultMessage: Use the ${field_id} syntax to add a form value to the email subject
msgid "form_default_subject_description"
msgstr ""

#: components/Edit
#: components/FormView
# defaultMessage: Invia
Expand Down
7 changes: 6 additions & 1 deletion locales/volto.pot
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: Plone\n"
"POT-Creation-Date: 2024-06-20T08:56:16.103Z\n"
"POT-Creation-Date: 2024-07-01T12:44:37.040Z\n"
"Last-Translator: Plone i18n <plone-i18n@lists.sourceforge.net>\n"
"Language-Team: Plone i18n <plone-i18n@lists.sourceforge.net>\n"
"MIME-Version: 1.0\n"
Expand Down Expand Up @@ -284,6 +284,11 @@ msgstr ""
msgid "form_default_subject"
msgstr ""

#: formSchema
# defaultMessage: Use the ${field_id} syntax to add a form value to the email subject
msgid "form_default_subject_description"
msgstr ""

#: components/Edit
#: components/FormView
# defaultMessage: Invia
Expand Down
16 changes: 13 additions & 3 deletions src/formSchema.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ const messages = defineMessages({
id: 'form_default_subject',
defaultMessage: 'Mail subject',
},
default_subject_description: {
id: 'form_default_subject_description',
defaultMessage:
'Use the ${field_id} syntax to add a form value to the email subject',
},
submit_label: {
id: 'form_submit_label',
defaultMessage: 'Submit button label',
Expand Down Expand Up @@ -81,7 +86,7 @@ const messages = defineMessages({
},
mail_header_footer_description: {
id: 'mail_header_description',
defaultMessage: 'If field isn\'t filled in, a default text will be used',
defaultMessage: "If field isn't filled in, a default text will be used",
},
mail_footer_label: {
id: 'mail_footer_label',
Expand Down Expand Up @@ -140,6 +145,7 @@ const Schema = (data) => {
},
default_subject: {
title: intl.formatMessage(messages.default_subject),
description: intl.formatMessage(messages.default_subject_description),
},
submit_label: {
title: intl.formatMessage(messages.submit_label),
Expand All @@ -156,13 +162,17 @@ const Schema = (data) => {
title: intl.formatMessage(messages.mail_header_label),
widget: 'richtext',
type: 'string',
description: intl.formatMessage(messages.mail_header_footer_description),
description: intl.formatMessage(
messages.mail_header_footer_description,
),
},
mail_footer: {
title: intl.formatMessage(messages.mail_footer_label),
widget: 'richtext',
type: 'string',
description: intl.formatMessage(messages.mail_header_footer_description)
description: intl.formatMessage(
messages.mail_header_footer_description,
),
},
captcha: {
title: intl.formatMessage(messages.captcha),
Expand Down

0 comments on commit 3080394

Please sign in to comment.