Skip to content

Commit

Permalink
add description to the accessibility fieldset
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaspiterek committed Feb 19, 2024
1 parent d004871 commit 77ad470
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
6 changes: 3 additions & 3 deletions locales/de/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ msgid "Quote"
msgstr "Zitat"

#: components/schema
# defaultMessage: This field expects an URL as input (optional). If an URL is provided the additional information will have a relation to this URL, this is due to accessibility norms.
msgid "This field expects an URL as input (optional). If an URL is provided the additional information will have a relation to this URL, this is due to accessibility norms."
msgstr "Dieses Feld erwartet eine URL als Eingabe (optional). Wenn eine URL angegeben wird, beziehen sich die Zusatzinformationen auf diese URL, um Barrierefreiheit zu gewährleisten."
# defaultMessage: This field is not exposed, it is only used by accessibility tools to provide a better experience.
msgid "This field is not exposed, it is only used by accessibility tools to provide a better experience."
msgstr "Dieses Fled wird nicht angezeigt, es wird nur von Barrierefreiheittools verwendet, um eine bessere Nutzererfahrung zu gewährleisten."

#: components/schema
# defaultMessage: Accessibility
Expand Down
4 changes: 2 additions & 2 deletions locales/en/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ msgid "Quote"
msgstr ""

#: components/schema
# defaultMessage: This field expects an URL as input (optional). If an URL is provided the additional information will have a relation to this URL, this is due to accessibility norms.
msgid "This field expects an URL as input (optional). If an URL is provided the additional information will have a relation to this URL, this is due to accessibility norms."
# defaultMessage: This field is not exposed, it is only used by accessibility tools to provide a better experience.
msgid "This field is not exposed, it is only used by accessibility tools to provide a better experience."
msgstr ""

#: components/schema
Expand Down
6 changes: 3 additions & 3 deletions 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-02-19T14:56:25.399Z\n"
"POT-Creation-Date: 2024-02-19T15:23:26.397Z\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 @@ -44,8 +44,8 @@ msgid "Quote"
msgstr ""

#: components/schema
# defaultMessage: This field expects an URL as input (optional). If an URL is provided the additional information will have a relation to this URL, this is due to accessibility norms.
msgid "This field expects an URL as input (optional). If an URL is provided the additional information will have a relation to this URL, this is due to accessibility norms."
# defaultMessage: This field is not exposed, it is only used by accessibility tools to provide a better experience.
msgid "This field is not exposed, it is only used by accessibility tools to provide a better experience."
msgstr ""

#: components/schema
Expand Down
5 changes: 3 additions & 2 deletions src/components/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ const messages = defineMessages({
defaultMessage: 'Cite',
},
description: {
id: 'This field expects an URL as input (optional). If an URL is provided the additional information will have a relation to this URL, this is due to accessibility norms.',
id: 'This field is not exposed, it is only used by accessibility tools to provide a better experience.',
defaultMessage:
'This field expects an URL as input (optional). If an URL is provided the additional information will have a relation to this URL, this is due to accessibility norms.',
'This field is not exposed, it is only used by accessibility tools to provide a better experience.',
},
accessibility: {
id: 'accessibility',
Expand Down Expand Up @@ -83,6 +83,7 @@ export const QuoteBlockSchema = ({ intl }) => {
choices: filterDefaultLanguages(),
default: defaultLang,
noValueOption: false,
description: intl.formatMessage(messages.description),
},
image: {
title: intl.formatMessage(messages.image),
Expand Down

0 comments on commit 77ad470

Please sign in to comment.