Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a11y issues #39

Merged
merged 6 commits into from
Dec 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RESET=`tput sgr0`
YELLOW=`tput setaf 3`

PLONE_VERSION=6
VOLTO_VERSION=17.6.0
VOLTO_VERSION=17.7.0

ADDON_NAME='@kitconcept/volto-slider-block'
ADDON_PATH='volto-slider-block'
Expand Down Expand Up @@ -56,6 +56,8 @@ build-live: ## Build Addon live

.PHONY: build-addon
build-addon: ## Build Addon dev
@echo "$(GREEN)==> Removing node_modules $(RESET)"
rm -rf node_modules
@echo "$(GREEN)==> Build Addon development container $(RESET)"
${DEV_COMPOSE} build addon-dev

Expand Down
17 changes: 17 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
module.exports = function (api) {
api.cache(true);
const presets = ['razzle'];
const plugins = [
[
'react-intl', // React Intl extractor, required for the whole i18n infrastructure to work
{
messagesDir: './build/messages/',
},
],
];

return {
plugins,
presets,
};
};
95 changes: 95 additions & 0 deletions locales/ca/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
# Víctor Fernández de Alba <victor a plone.org>, 2023
msgid ""
msgstr ""
"Project-Id-Version: Plone\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: YEAR-MO-DA HO:MI +ZONE\n"
"PO-Revision-Date: 2019-07-02 00:11+0200\n"
"Last-Translator: Víctor Fernández de Alba <[email protected]>\n"
"Language: \n"
"Language-Team: Català <[email protected]>\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"MIME-Version: 1.0\n"
"Language-Code: ca\n"
"Language-Name: Catalan\n"
"Preferred-Encodings: utf-8\n"
"Domain: plone\n"
"X-Is-Fallback-For: ca-ad ca-es ca-fr ca-it\n"

#: components/schema
# defaultMessage: Add item
msgid "Add item"
msgstr "Afegir element"

#: components/schema
# defaultMessage: Description
msgid "Description"
msgstr "Descripció"

#: components/DotsAndArrows
# defaultMessage: Go to slide
msgid "Go to slide"
msgstr "Vés a slide"

#: components/schema
# defaultMessage: Headtitle
msgid "Headtitle"
msgstr "Títol de capçalera"

#: components/schema
# defaultMessage: Image override
msgid "Image override"
msgstr "Imatge"

#: components/schema
# defaultMessage: Item
msgid "Item"
msgstr "Element"

#: components/schema
# defaultMessage: Items
msgid "Items"
msgstr "Elements"

#: components/DotsAndArrows
# defaultMessage: Next slide
msgid "Next slide"
msgstr "Següent slide"

#: components/DefaultBody
#: components/View
# defaultMessage: Please choose an existing content as source for this element
msgid "Please choose an existing content as source for this element"
msgstr "Si us plau, escolleixi un contingut existent per aquest element"

#: components/DotsAndArrows
# defaultMessage: Previous slide
msgid "Previous slide"
msgstr "Anterior slide"

#: components/DefaultBody
# defaultMessage: Select target
msgid "Select target"
msgstr "Selecciona un contingut"

#: components/schema
# defaultMessage: Slider
msgid "Slider"
msgstr "Slider"

#: components/schema
# defaultMessage: Target
msgid "Target"
msgstr ""

#: components/schema
# defaultMessage: Title
msgid "Title"
msgstr "Títol"

#: components/DefaultBody
# defaultMessage: More info
msgid "moreInfo"
msgstr "Més informació"
27 changes: 23 additions & 4 deletions locales/de/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ msgstr "Element hinzufügen"
msgid "Description"
msgstr "Beschreibung"

#: components/DotsAndArrows
# defaultMessage: Go to slide
msgid "Go to slide"
msgstr "Gehe zu Slide"

#: components/schema
# defaultMessage: Headtitle
msgid "Headtitle"
Expand All @@ -46,22 +51,36 @@ msgstr "Element"
msgid "Items"
msgstr "Elemente"

#: components/DotsAndArrows
# defaultMessage: Next slide
msgid "Next slide"
msgstr "Nächster Slide"

#: components/DefaultBody
#: components/View
# defaultMessage: Please choose an existing content as source for this element
msgid "Please choose an existing content as source for this element"
msgstr "Bitte wählen sie einen existierenden Inhalt als Quelle für dieses Element aus"

#: components/DotsAndArrows
# defaultMessage: Previous slide
msgid "Previous slide"
msgstr "Vorheriger Slide"

#: components/DefaultBody
# defaultMessage: Select target
msgid "Select target"
msgstr "Ziel"

#: components/schema
# defaultMessage: Slider
msgid "Slider"
msgstr "Slider"

#: components/DefaultBody
#: components/schema
# defaultMessage: Source
msgid "Source"
msgstr "Quelle"
# defaultMessage: Target
msgid "Target"
msgstr "Ziel"

#: components/schema
# defaultMessage: Title
Expand Down
25 changes: 22 additions & 3 deletions locales/en/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ msgstr ""
msgid "Description"
msgstr ""

#: components/DotsAndArrows
# defaultMessage: Go to slide
msgid "Go to slide"
msgstr ""

#: components/schema
# defaultMessage: Headtitle
msgid "Headtitle"
Expand All @@ -41,21 +46,35 @@ msgstr ""
msgid "Items"
msgstr ""

#: components/DotsAndArrows
# defaultMessage: Next slide
msgid "Next slide"
msgstr ""

#: components/DefaultBody
#: components/View
# defaultMessage: Please choose an existing content as source for this element
msgid "Please choose an existing content as source for this element"
msgstr ""

#: components/DotsAndArrows
# defaultMessage: Previous slide
msgid "Previous slide"
msgstr ""

#: components/DefaultBody
# defaultMessage: Select target
msgid "Select target"
msgstr ""

#: components/schema
# defaultMessage: Slider
msgid "Slider"
msgstr ""

#: components/DefaultBody
#: components/schema
# defaultMessage: Source
msgid "Source"
# defaultMessage: Target
msgid "Target"
msgstr ""

#: components/schema
Expand Down
27 changes: 23 additions & 4 deletions locales/es/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ msgstr "Añadir elemento"
msgid "Description"
msgstr "Descripción"

#: components/DotsAndArrows
# defaultMessage: Go to slide
msgid "Go to slide"
msgstr "Ver slide"

#: components/schema
# defaultMessage: Headtitle
msgid "Headtitle"
Expand All @@ -50,22 +55,36 @@ msgstr "Elemento"
msgid "Items"
msgstr "Elementos"

#: components/DotsAndArrows
# defaultMessage: Next slide
msgid "Next slide"
msgstr "Siguiente slide"

#: components/DefaultBody
#: components/View
# defaultMessage: Please choose an existing content as source for this element
msgid "Please choose an existing content as source for this element"
msgstr "Elija un contenido existente como fuente para este elemento"

#: components/DotsAndArrows
# defaultMessage: Previous slide
msgid "Previous slide"
msgstr "Anterior slide"

#: components/DefaultBody
# defaultMessage: Select target
msgid "Select target"
msgstr ""

#: components/schema
# defaultMessage: Slider
msgid "Slider"
msgstr "Slider"

#: components/DefaultBody
#: components/schema
# defaultMessage: Source
msgid "Source"
msgstr "Fuente"
# defaultMessage: Target
msgid "Target"
msgstr ""

#: components/schema
# defaultMessage: Title
Expand Down
27 changes: 23 additions & 4 deletions locales/nl/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ msgstr "Item toevoegen"
msgid "Description"
msgstr "Omschrijving"

#: components/DotsAndArrows
# defaultMessage: Go to slide
msgid "Go to slide"
msgstr ""

#: components/schema
# defaultMessage: Headtitle
msgid "Headtitle"
Expand All @@ -45,22 +50,36 @@ msgstr "Item"
msgid "Items"
msgstr "Items"

#: components/DotsAndArrows
# defaultMessage: Next slide
msgid "Next slide"
msgstr ""

#: components/DefaultBody
#: components/View
# defaultMessage: Please choose an existing content as source for this element
msgid "Please choose an existing content as source for this element"
msgstr "Kies een bestaand item als bron voor dit element"

#: components/DotsAndArrows
# defaultMessage: Previous slide
msgid "Previous slide"
msgstr ""

#: components/DefaultBody
# defaultMessage: Select target
msgid "Select target"
msgstr ""

#: components/schema
# defaultMessage: Slider
msgid "Slider"
msgstr "Slider"

#: components/DefaultBody
#: components/schema
# defaultMessage: Source
msgid "Source"
msgstr "Bron"
# defaultMessage: Target
msgid "Target"
msgstr ""

#: components/schema
# defaultMessage: Title
Expand Down
Loading