Skip to content

Commit

Permalink
improve understandability of label
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaspiterek committed Mar 1, 2024
1 parent 54b69ea commit 99a7bc8
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 2 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 @@ -26,6 +26,11 @@ msgstr "Autor"
msgid "Cite"
msgstr "Zitiert"

#: components/schema
# defaultMessage: Enter the URL from where the quote originates here. This field is not exposed, it is only used by accessibility tools to provide a better experience.
msgid "Enter the URL from where the quote originates here. This field is not exposed, it is only used by accessibility tools to provide a better experience."
msgstr "Geben Sie hier die URL ein, von der das Zitat stammt. Dieses Feld wird nicht angezeigt, es wird nur von Barrierefreiheittools verwendet, um eine bessere Nutzererfahrung zu gewährleisten."

#: components/schema
# defaultMessage: Image
msgid "Image"
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 @@ -26,6 +26,11 @@ msgstr ""
msgid "Cite"
msgstr ""

#: components/schema
# defaultMessage: Enter the URL from where the quote originates here. This field is not exposed, it is only used by accessibility tools to provide a better experience.
msgid "Enter the URL from where the quote originates here. This field is not exposed, it is only used by accessibility tools to provide a better experience."
msgstr ""

#: components/schema
# defaultMessage: Image
msgid "Image"
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-02-19T15:23:26.397Z\n"
"POT-Creation-Date: 2024-03-01T14:31:29.522Z\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 All @@ -28,6 +28,11 @@ msgstr ""
msgid "Cite"
msgstr ""

#: components/schema
# defaultMessage: Enter the URL from where the quote originates here. This field is not exposed, it is only used by accessibility tools to provide a better experience.
msgid "Enter the URL from where the quote originates here. This field is not exposed, it is only used by accessibility tools to provide a better experience."
msgstr ""

#: components/schema
# defaultMessage: Image
msgid "Image"
Expand Down
7 changes: 6 additions & 1 deletion src/components/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ const messages = defineMessages({
id: 'Cite',
defaultMessage: 'Cite',
},
citeDescription: {
id: 'Enter the URL from where the quote originates here. This field is not exposed, it is only used by accessibility tools to provide a better experience.',
defaultMessage:
'Enter the URL from where the quote originates here. This field is not exposed, it is only used by accessibility tools to provide a better experience.',
},
description: {
id: 'This field is not exposed, it is only used by accessibility tools to provide a better experience.',
defaultMessage:
Expand Down Expand Up @@ -84,7 +89,7 @@ export const QuoteBlockSchema = ({ intl }) => {
cite: {
title: intl.formatMessage(messages.cite),
widget: 'url',
description: intl.formatMessage(messages.description),
description: intl.formatMessage(messages.citeDescription),
},
},
required: [],
Expand Down

0 comments on commit 99a7bc8

Please sign in to comment.