Skip to content

Commit

Permalink
fix Logo alt-Title + add German translations (#337)
Browse files Browse the repository at this point in the history
Co-authored-by: jonaspiterek <[email protected]>
  • Loading branch information
Molochem and jonaspiterek authored Jun 3, 2024
1 parent e5e6ba3 commit 65d232a
Show file tree
Hide file tree
Showing 8 changed files with 49 additions and 48 deletions.
34 changes: 17 additions & 17 deletions packages/volto-light-theme/locales/de/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@ msgstr ""
#. Default: "Back"
#: components/MobileNavigation/MobileNavigation
msgid "Back"
msgstr ""
msgstr "Zurück"

#. Default: "Back to homepage"
#: components/Logo/Logo
msgid "Back to homepage"
msgstr "Zurück zur Startseite"

#. Default: "Background color"
#: components/Blocks/schema
Expand All @@ -34,7 +39,7 @@ msgstr "Block Breite"
#. Default: "Breadcrumbs"
#: components/Breadcrumbs/Breadcrumbs
msgid "Breadcrumbs"
msgstr ""
msgstr "Brotkrumen"

#. Default: "Browse the site, drop an image, or type an URL"
#: components/Blocks/Image/Edit
Expand All @@ -44,7 +49,7 @@ msgstr "Bild auswählen, hochladen oder URL angeben"
#. Default: "Button text"
#: components/Blocks/Slider/schema
msgid "Button text"
msgstr ""
msgstr "Button Text"

#. Default: "Center"
#: components/Widgets/AlignWidget
Expand All @@ -65,7 +70,7 @@ msgstr "Kontakt"
#. Default: "Continue reading"
#: components/Blocks/Slider/DefaultBody
msgid "Continue reading"
msgstr ""
msgstr "Weiterlesen"

#. Default: "Copyright"
#: components/Footer/Footer
Expand All @@ -80,7 +85,7 @@ msgstr "Beschreibung"
#. Default: "Distributed under the {license}."
#: components/Footer/Footer
msgid "Distributed under the {license}."
msgstr ""
msgstr "Vertrieben unter {license}"

#. Default: "End"
#: components/Blocks/EventMetadata/View
Expand All @@ -100,18 +105,18 @@ msgstr "Volle Breite"
#. Default: "GNU GPL license"
#: components/Footer/Footer
msgid "GNU GPL license"
msgstr ""
msgstr "GNU GPL Lizenz"

#. Default: "Hide Button"
#: components/Blocks/Slider/schema
msgid "Hide Button"
msgstr "kein Button anzeigen"
msgstr "keinen Button anzeigen"

#. Default: "Home"
#: components/Breadcrumbs/Breadcrumbs
#: components/MobileNavigation/MobileNavigation
msgid "Home"
msgstr ""
msgstr "Startseite"

#. Default: "ICS Download"
#: components/Blocks/EventMetadata/View
Expand Down Expand Up @@ -177,18 +182,13 @@ msgstr "Telefon"
#. Default: "Please choose an existing content as source for this element"
#: components/Blocks/Slider/DefaultBody
msgid "Please choose an existing content as source for this element"
msgstr ""
msgstr "Bitte wählen sie einen bestehenden Inhalt als Quelle für dieses Element"

#. Default: "Plone Foundation"
#: components/Footer/Footer
msgid "Plone Foundation"
msgstr ""

#. Default: "Plone Site"
#: components/Logo/Logo
msgid "Plone Site"
msgstr ""

#. Default: "Plone{reg} Open Source CMS/WCM"
#: components/Footer/Footer
msgid "Plone{reg} Open Source CMS/WCM"
Expand Down Expand Up @@ -272,7 +272,7 @@ msgstr "Sortierung"
#. Default: "Source"
#: components/Blocks/Slider/DefaultBody
msgid "Source"
msgstr ""
msgstr "Quelle"

#. Default: "Start"
#: components/Blocks/EventMetadata/View
Expand Down Expand Up @@ -317,7 +317,7 @@ msgstr "Bild löschen"
#. Default: "Image preview"
#: components/Blocks/Image/ImageSidebar
msgid "image_block_preview"
msgstr ""
msgstr "Bild Vorschau"

#. Default: "Loading"
#: components/Blocks/Listing/ListingBody
Expand All @@ -327,7 +327,7 @@ msgstr "laden"
#. Default: "More info"
#: components/Blocks/Slider/DefaultBody
msgid "moreInfo"
msgstr ""
msgstr "Mehr Informationen"

#. Default: "of"
#: components/Blocks/Listing/ListingBody
Expand Down
10 changes: 5 additions & 5 deletions packages/volto-light-theme/locales/en/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ msgstr ""
msgid "Back"
msgstr ""

#. Default: "Back to homepage"
#: components/Logo/Logo
msgid "Back to homepage"
msgstr ""

#. Default: "Background color"
#: components/Blocks/schema
msgid "Background color"
Expand Down Expand Up @@ -179,11 +184,6 @@ msgstr ""
msgid "Plone Foundation"
msgstr ""

#. Default: "Plone Site"
#: components/Logo/Logo
msgid "Plone Site"
msgstr ""

#. Default: "Plone{reg} Open Source CMS/WCM"
#: components/Footer/Footer
msgid "Plone{reg} Open Source CMS/WCM"
Expand Down
10 changes: 5 additions & 5 deletions packages/volto-light-theme/locales/es/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ msgstr ""
msgid "Back"
msgstr "Atrás"

#. Default: "Back to homepage"
#: components/Logo/Logo
msgid "Back to homepage"
msgstr ""

#. Default: "Background color"
#: components/Blocks/schema
msgid "Background color"
Expand Down Expand Up @@ -185,11 +190,6 @@ msgstr "Elija un contenido para utilizarlo como fuente de datos para este elemen
msgid "Plone Foundation"
msgstr "Fundación Plone"

#. Default: "Plone Site"
#: components/Logo/Logo
msgid "Plone Site"
msgstr "Sitio Plone"

#. Default: "Plone{reg} Open Source CMS/WCM"
#: components/Footer/Footer
msgid "Plone{reg} Open Source CMS/WCM"
Expand Down
10 changes: 5 additions & 5 deletions packages/volto-light-theme/locales/eu/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ msgstr ""
msgid "Back"
msgstr "Atzera"

#. Default: "Back to homepage"
#: components/Logo/Logo
msgid "Back to homepage"
msgstr ""

#. Default: "Background color"
#: components/Blocks/schema
msgid "Background color"
Expand Down Expand Up @@ -185,11 +190,6 @@ msgstr "Aukeratu eduki bat elementu honen iturburu gisa"
msgid "Plone Foundation"
msgstr "Plone Fundazioa"

#. Default: "Plone Site"
#: components/Logo/Logo
msgid "Plone Site"
msgstr "Plone Ataria"

#. Default: "Plone{reg} Open Source CMS/WCM"
#: components/Footer/Footer
msgid "Plone{reg} Open Source CMS/WCM"
Expand Down
10 changes: 5 additions & 5 deletions packages/volto-light-theme/locales/pt_BR/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ msgstr ""
msgid "Back"
msgstr "Voltar"

#. Default: "Back to homepage"
#: components/Logo/Logo
msgid "Back to homepage"
msgstr "Voltar à página inicial"

#. Default: "Background color"
#: components/Blocks/schema
msgid "Background color"
Expand Down Expand Up @@ -179,11 +184,6 @@ msgstr "Por favor, escolha um conteúdo existente como fonte para esse elemento"
msgid "Plone Foundation"
msgstr "Plone Foundation"

#. Default: "Plone Site"
#: components/Logo/Logo
msgid "Plone Site"
msgstr "Site Plone"

#. Default: "Plone{reg} Open Source CMS/WCM"
#: components/Footer/Footer
msgid "Plone{reg} Open Source CMS/WCM"
Expand Down
12 changes: 6 additions & 6 deletions packages/volto-light-theme/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-03-22T15:33:53.504Z\n"
"POT-Creation-Date: 2024-05-31T09:46:26.312Z\n"
"Last-Translator: Plone i18n <[email protected]>\n"
"Language-Team: Plone i18n <[email protected]>\n"
"Content-Type: text/plain; charset=utf-8\n"
Expand All @@ -18,6 +18,11 @@ msgstr ""
msgid "Back"
msgstr ""

#. Default: "Back to homepage"
#: components/Logo/Logo
msgid "Back to homepage"
msgstr ""

#. Default: "Background color"
#: components/Blocks/schema
msgid "Background color"
Expand Down Expand Up @@ -181,11 +186,6 @@ msgstr ""
msgid "Plone Foundation"
msgstr ""

#. Default: "Plone Site"
#: components/Logo/Logo
msgid "Plone Site"
msgstr ""

#. Default: "Plone{reg} Open Source CMS/WCM"
#: components/Footer/Footer
msgid "Plone{reg} Open Source CMS/WCM"
Expand Down
1 change: 1 addition & 0 deletions packages/volto-light-theme/news/337.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix Logo alt-Title @jonaspiterek
10 changes: 5 additions & 5 deletions packages/volto-light-theme/src/components/Logo/Logo.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ const messages = defineMessages({
id: 'Site',
defaultMessage: 'Site',
},
plonesite: {
id: 'Plone Site',
defaultMessage: 'Plone Site',
homepage: {
id: 'Back to homepage',
defaultMessage: 'Back to homepage',
},
});

Expand All @@ -35,8 +35,8 @@ const Logo = () => {
? flattenToAppURL(site['plone.site_logo'])
: LogoImage
}
alt={intl.formatMessage(messages.plonesite)}
title={intl.formatMessage(messages.plonesite)}
alt={intl.formatMessage(messages.homepage)}
title={intl.formatMessage(messages.homepage)}
/>
</UniversalLink>
);
Expand Down

0 comments on commit 65d232a

Please sign in to comment.