diff --git a/CHANGELOG.md b/CHANGELOG.md index ae07a44..ac4a372 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file. Dates are d Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). +### [10.2.0](https://github.com/eea/volto-accordion-block/compare/10.1.1...10.2.0) - 28 August 2023 + +#### :rocket: New Features + +- feat(accordion): improve a11n by providing aria-expanded and open close using spacebar on header [David Ichim - [`26951d9`](https://github.com/eea/volto-accordion-block/commit/26951d9f729b868658feba0971cd3c68fdb228be)] + +#### :hammer_and_wrench: Others + +- Release 10.2.0 [Alin Voinea - [`357dce5`](https://github.com/eea/volto-accordion-block/commit/357dce5d45f87b42f705f2a5d35d6e601168bb12)] +- update test snapshot after latest a11n changes [David Ichim - [`12cc58f`](https://github.com/eea/volto-accordion-block/commit/12cc58fd5f8831f8daba4cf9b3d8bb0392a3c129)] ### [10.1.1](https://github.com/eea/volto-accordion-block/compare/10.1.0...10.1.1) - 23 August 2023 #### :bug: Bug Fixes @@ -137,8 +147,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). #### :house: Internal changes -- chore: [JENKINS] Remove alpha testing version [valentinab25 - [`83cfef7`](https://github.com/eea/volto-accordion-block/commit/83cfef72305789fe95c4d463956d446e934e37bd)] -- chore: [JENKINS] Deprecate circularity website [valentinab25 - [`e8d2ff3`](https://github.com/eea/volto-accordion-block/commit/e8d2ff341ff2db8baec52b9e839e2ace6eee7c1a)] #### :hammer_and_wrench: Others @@ -146,7 +154,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). - test: jest should look for addons in node_modules Refs #253277 [valentinab25 - [`d077684`](https://github.com/eea/volto-accordion-block/commit/d07768431760471c1d33352e097874dee37edd41)] - test: Add unit tests for util - refs #253277 [ana-oprea - [`9385394`](https://github.com/eea/volto-accordion-block/commit/9385394cf834dd944d98ab9fdc10e65abdad636d)] - test: Fix test config, coverage Refs #253277 [valentinab25 - [`67a0667`](https://github.com/eea/volto-accordion-block/commit/67a0667ee563e8ee01c5e660cd2b127eaa1da4fc)] -- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`9c06bd0`](https://github.com/eea/volto-accordion-block/commit/9c06bd0f3d262bb553541ec884c659d31fea70d5)] ## [8.0.0](https://github.com/eea/volto-accordion-block/compare/7.1.0...8.0.0) - 24 March 2023 #### :rocket: New Features @@ -159,7 +166,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). - test(cypress): Use latest stable Volto for tests [Alin Voinea - [`161325b`](https://github.com/eea/volto-accordion-block/commit/161325bfb990e1ef8bd66a7c26aacf17b5e3989c)] - Release 7.1.0 [Alin Voinea - [`207318f`](https://github.com/eea/volto-accordion-block/commit/207318f45321d9caf2e9e88a36786d6a6dfbfce6)] -- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`a1279b2`](https://github.com/eea/volto-accordion-block/commit/a1279b20f134b8da44ca45e1e3eecf50401372f8)] ## [7.0.0](https://github.com/eea/volto-accordion-block/compare/6.0.0...7.0.0) - 7 February 2023 #### :nail_care: Enhancements @@ -171,12 +177,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). - Release 7.0.0 [Alin Voinea - [`661c6fd`](https://github.com/eea/volto-accordion-block/commit/661c6fd04aa704ba09172737f9e00e7de8b17673)] - theme-picker version [Andrei Grigore - [`2d7d7fb`](https://github.com/eea/volto-accordion-block/commit/2d7d7fb64b6f51fb02410140ae4b69eda26dea06)] - Add theme picker widget [dana-cfc4 - [`b567515`](https://github.com/eea/volto-accordion-block/commit/b5675150e1b5a811e1686404cbefcd9e6b92d515)] -- Add Sonarqube tag using advisory-board-frontend addons list [EEA Jenkins - [`dd14109`](https://github.com/eea/volto-accordion-block/commit/dd14109b3df7aee49ab1fdb57b8ac749193723c7)] -- Add Sonarqube tag using advisory-board-frontend addons list [EEA Jenkins - [`6169240`](https://github.com/eea/volto-accordion-block/commit/6169240953e8b81fbf1200bfa7b77c1be3be318f)] - test(Jenkins): Run tests and cypress with latest canary @plone/volto [Alin Voinea - [`bbf12a0`](https://github.com/eea/volto-accordion-block/commit/bbf12a07558ea1f2c9d6e62fa4bf897d1c27ad71)] -- Add Sonarqube tag using cca-frontend addons list [EEA Jenkins - [`cb18b3c`](https://github.com/eea/volto-accordion-block/commit/cb18b3c7d12318a671e6031054cb6cb98c5e4766)] -- yarn 3 [Alin Voinea - [`26994da`](https://github.com/eea/volto-accordion-block/commit/26994dab66bce3873911fee6fb46fc51dfce44d7)] -- Add Sonarqube tag using demo-kitkat-frontend addons list [EEA Jenkins - [`5803993`](https://github.com/eea/volto-accordion-block/commit/5803993b263352f7d3a5e4c14f5ac5b1607a1dc2)] ## [6.0.0](https://github.com/eea/volto-accordion-block/compare/5.0.0...6.0.0) - 16 November 2022 #### :nail_care: Enhancements @@ -206,7 +207,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). #### :hammer_and_wrench: Others -- Add Sonarqube tag using marine-frontend addons list [EEA Jenkins - [`3c0236e`](https://github.com/eea/volto-accordion-block/commit/3c0236ef0e055bbbac852b66139767cee8631aad)] - test(cypress): Add missing md5 dependency [Alin Voinea - [`1afae5d`](https://github.com/eea/volto-accordion-block/commit/1afae5d677de53778d5727334f9a6add8120d046)] ## [4.0.0](https://github.com/eea/volto-accordion-block/compare/3.5.0...4.0.0) - 27 September 2022 @@ -224,14 +224,12 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). - Release 3.6.0 [Alin Voinea - [`2c84012`](https://github.com/eea/volto-accordion-block/commit/2c840125496e23e1f1587e9e1ba2713ef538491e)] - test(prettier): Fix stylelint [Alin Voinea - [`e3fd717`](https://github.com/eea/volto-accordion-block/commit/e3fd717b60d67a09b500282837470707f57747a1)] - Use volto@16.0.0-alpha.14 in cypress tests [Miu Razvan - [`f4dd7a1`](https://github.com/eea/volto-accordion-block/commit/f4dd7a1221ef2437b813d45b232efbf8c04bb8c5)] -- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`20652bc`](https://github.com/eea/volto-accordion-block/commit/20652bcea7bd1f4f7271cf0b2fe8223401401a4f)] - update(jest): add @plone/volto-slate resolver refs- #153447 [nileshgulia1 - [`7a1af55`](https://github.com/eea/volto-accordion-block/commit/7a1af55061b0c75ecb77fdbae9e2e6586df3b50c)] ### [3.5.0](https://github.com/eea/volto-accordion-block/compare/3.4.16...3.5.0) - 30 June 2022 #### :hammer_and_wrench: Others - Release 3.5.0 [Alin Voinea - [`c237343`](https://github.com/eea/volto-accordion-block/commit/c237343daa82eb0fb0ddb49e04ee6c49578b8fd2)] -- Add Sonarqube tag using circularity-frontend addons list [EEA Jenkins - [`5de2964`](https://github.com/eea/volto-accordion-block/commit/5de296427472925998273bf9c164ba5b65895a14)] ### [3.4.16](https://github.com/eea/volto-accordion-block/compare/3.4.15...3.4.16) - 17 May 2022 #### :hammer_and_wrench: Others @@ -241,8 +239,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). #### :hammer_and_wrench: Others -- Add Sonarqube tag using clms-frontend addons list [EEA Jenkins - [`66fada5`](https://github.com/eea/volto-accordion-block/commit/66fada5a7084e1adb36ef5ff950d498391729eab)] -- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`9d96b9d`](https://github.com/eea/volto-accordion-block/commit/9d96b9d392004dd8791c061c5fa39deee253c16a)] ### [3.4.14](https://github.com/eea/volto-accordion-block/compare/3.4.13...3.4.14) - 3 March 2022 #### :rocket: New Features @@ -266,7 +262,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). #### :hammer_and_wrench: Others -- Add Sonarqube tag using freshwater-frontend addons list [EEA Jenkins - [`197c242`](https://github.com/eea/volto-accordion-block/commit/197c2426f18e3b74296c18ef86781e63596bcd4b)] ### [3.4.10](https://github.com/eea/volto-accordion-block/compare/3.4.9...3.4.10) - 10 December 2021 #### :hammer_and_wrench: Others @@ -285,14 +280,11 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). #### :hammer_and_wrench: Others - cy: make tests run with both slate and draftjs [nileshgulia1 - [`e51f7a5`](https://github.com/eea/volto-accordion-block/commit/e51f7a5c36804240d90e19baa9c7b321e41a7c23)] -- Add Sonarqube tag using industry-frontend addons list [EEA Jenkins - [`9f515c3`](https://github.com/eea/volto-accordion-block/commit/9f515c3e1055b07ea5ea7ac8dbf72eb2e4b79c74)] ### [3.4.7](https://github.com/eea/volto-accordion-block/compare/3.4.6...3.4.7) - 25 October 2021 #### :hammer_and_wrench: Others - Refs #34 ensure floated images from content area don't spill over next accordion title [David Ichim - [`79abc8c`](https://github.com/eea/volto-accordion-block/commit/79abc8c1b13eb26fb78b9dbe53fc2711c02a1ed1)] -- Add Sonarqube tag using clms-frontend addons list [EEA Jenkins - [`f5c2cf9`](https://github.com/eea/volto-accordion-block/commit/f5c2cf969763a5400e4d9fb66bafad761cd17f2f)] -- Add Sonarqube tag using bise-frontend addons list [EEA Jenkins - [`92cd189`](https://github.com/eea/volto-accordion-block/commit/92cd1891291a33e92c1f4488ff2afb90642d2706)] ### [3.4.6](https://github.com/eea/volto-accordion-block/compare/3.4.5...3.4.6) - 6 October 2021 #### :house: Internal changes @@ -301,7 +293,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). #### :hammer_and_wrench: Others -- Add Sonarqube tag using sustainability-frontend addons list [EEA Jenkins - [`c0bc59d`](https://github.com/eea/volto-accordion-block/commit/c0bc59d897ece309834ffef8ddea516aceef1e5f)] ### [3.4.5](https://github.com/eea/volto-accordion-block/compare/3.4.4...3.4.5) - 29 September 2021 #### :hammer_and_wrench: Others @@ -313,7 +304,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). #### :hammer_and_wrench: Others -- Add Sonarqube tag using climate-energy-frontend addons list [EEA Jenkins - [`046f3aa`](https://github.com/eea/volto-accordion-block/commit/046f3aae09e1725d44bcdc371d07ed32e8309423)] ### [3.4.3](https://github.com/eea/volto-accordion-block/compare/3.4.2...3.4.3) - 17 September 2021 ### [3.4.2](https://github.com/eea/volto-accordion-block/compare/3.4.1...3.4.2) - 16 September 2021 @@ -323,7 +313,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). #### :hammer_and_wrench: Others - Add missing onChangeField to make it work with Metadata section block - refs #137434 [Alin Voinea - [`5253b74`](https://github.com/eea/volto-accordion-block/commit/5253b74a52043a3ad7e2e813abaf2d27f0e83a7a)] -- Add Sonarqube tag using ims-frontend addons list [EEA Jenkins - [`1e4d3dc`](https://github.com/eea/volto-accordion-block/commit/1e4d3dc937bc63825bd1fc6156eca9b6d073a40b)] ### [3.4.0](https://github.com/eea/volto-accordion-block/compare/3.3.1...3.4.0) - 7 September 2021 #### :hammer_and_wrench: Others @@ -336,7 +325,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). #### :hammer_and_wrench: Others - Release 3.3.0 [Alin Voinea - [`2cbb1d5`](https://github.com/eea/volto-accordion-block/commit/2cbb1d53ce62b9cb42751c4c4997577ba4165649)] -- Add Sonarqube tag using forests-frontend addons list [EEA Jenkins - [`ab257ac`](https://github.com/eea/volto-accordion-block/commit/ab257acb0c2c8e38b906fcce8f6e148e4690d473)] ### [3.2.4](https://github.com/eea/volto-accordion-block/compare/3.2.3...3.2.4) - 21 July 2021 ### [3.2.3](https://github.com/eea/volto-accordion-block/compare/3.2.2...3.2.3) - 27 May 2021 @@ -463,7 +451,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). - remove unused vars [nileshgulia1 - [`5e2c1e9`](https://github.com/eea/volto-accordion-block/commit/5e2c1e990f5ccf9b81f123ff18cacc7769ac696c)] - accordion title, via Input (semantic ui) [nileshgulia1 - [`0b2aef7`](https://github.com/eea/volto-accordion-block/commit/0b2aef76dd828ef2e0fc5061023a259d6279c11c)] - add accordion title as a slate editor [nileshgulia1 - [`38e841d`](https://github.com/eea/volto-accordion-block/commit/38e841d9a1a2d1d6a9d657ed6d611220615cbd40)] -- yarn prettier [Alin Voinea - [`afc2d37`](https://github.com/eea/volto-accordion-block/commit/afc2d379490cc4bdd4e2c2296229fac5d549d6a1)] - make title editable [nileshgulia1 - [`e3233b0`](https://github.com/eea/volto-accordion-block/commit/e3233b00f3e0e1b0ef240a035d4aca7384a23b3c)] ### 0.1.0 - 9 November 2020 diff --git a/DEVELOP.md b/DEVELOP.md index b77a8d3..3107141 100644 --- a/DEVELOP.md +++ b/DEVELOP.md @@ -6,7 +6,7 @@ 1. Make sure you have `docker` and `docker compose` installed and running on your machine: - ```Bash + ```bash git clone https://github.com/eea/volto-accordion-block.git cd volto-accordion-block git checkout -b bugfix-123456 develop @@ -14,29 +14,29 @@ make start ``` -1. Wait for `Volto started at 0.0.0.0:3000` meesage +1. Wait for `Volto started at 0.0.0.0:3000` message 1. Go to http://localhost:3000 1. Happy hacking! - ```Bash + ```bash cd src/addons/volto-accordion-block/ ``` ### Or add volto-accordion-block to your Volto project -Before starting make sure your development environment is properly set. See [Volto Developer Documentation](https://docs.voltocms.com/getting-started/install/) +Before starting make sure your development environment is properly set. See [Volto Developer Documentation](https://6.docs.plone.org/volto/getting-started/install.html) 1. Make sure you have installed `yo`, `@plone/generator-volto` and `mrs-developer` - ```Bash + ```bash npm install -g yo @plone/generator-volto mrs-developer ``` 1. Create new volto app - ```Bash + ```bash yo @plone/volto my-volto-project --addon @eeacms/volto-accordion-block --skip-install cd my-volto-project ``` @@ -56,24 +56,23 @@ Before starting make sure your development environment is properly set. See [Vol 1. Install - ```Bash - make develop + ```bash yarn ``` 1. Start backend - ```Bash + ```bash docker compose up backend ``` - ...wait for backend to setup and start - `Ready to handle requests`: + ...wait for backend to set up and start - `Ready to handle requests`: ...you can also check http://localhost:8080/Plone 1. Start frontend - ```BASH + ```bash yarn start ``` @@ -81,26 +80,28 @@ Before starting make sure your development environment is properly set. See [Vol 1. Happy hacking! - ```BASH + ```bash cd src/addons/volto-accordion-block/ ``` +--- + ## Cypress To run cypress locally, first make sure you don't have any Volto/Plone running on ports `8080` and `3000`. -You don't have to be in a `clean-volto-project`, you can be in any Volto Frontend +You don't have to be in a `clean-volto-project`, you can be in any Volto Frontend project where you added `volto-accordion-block` to `mrs.developer.json` Go to: - ```BASH + ```bash cd src/addons/volto-accordion-block/ ``` Start: - ```Bash + ```bash make make start ``` @@ -109,12 +110,95 @@ This will build and start with Docker a clean `Plone backend` and `Volto Fronten Open Cypress Interface: - ```Bash + ```bash make cypress-open ``` Or run it: - ```Bash + ```bash make cypress-run ``` +--- + +## Prettier + +[Prettier](https://www.npmjs.com/package/prettier) is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it +with its own rules that take the maximum line length into account, wrapping code when necessary. + +Run ``prettier`` linter, executing the following command: + + ```bash + make prettier + ``` + +To fix the ``prettier`` warnings, execute the following command: + + ```bash + make prettier-fix + ``` + +--- + +## Eslint + +[ESLint](https://www.npmjs.com/package/eslint) is a tool for identifying and reporting on patterns found in ECMAScript/JavaScript code. + +Eslint should run just fine using the setup config from any Volto projects generated by `volto project generator`. + +If for some reason that doesn't work, and you need to manually install eslint, +you can also use the following steps to install eslint. + +For installing ``eslint``, execute the following command: + + ```bash + yarn add --dev eslint eslint-plugin-jsx-a11y eslint-plugin-prettier eslint-plugin-react-hooks eslint-plugin-import eslint-plugin-flowtype + ``` + +For setting up ``eslint``, execute the following command: + + ```bash + cp .project.eslintrc.js .eslintrc.js + ``` + +Run ``eslint``, executing the following command: + + ```bash + make lint + ``` + +To fix the problems found by ``eslint``, execute the following command: + + ```bash + make lint-fix + ``` + +--- + +## Stylelint + +[Stylelint](https://www.npmjs.com/package/stylelint) is a mighty CSS linter that helps you avoid errors and enforce conventions. + +For installing ``stylelint``, execute the following command: + + ```bash + yarn add --dev stylelint + ``` + +To run ``stylelint``, execute the following command: + + ```bash + make stylelint + ``` + +If you need to run ``stylelint`` on styles found in .overrides files, execute the following command: + + ```bash + make stylelint-overrides + ``` + +To auto fix the found issues by ``stylelint``, execute the following command: + + ```bash + make stylelint-fix + ``` diff --git a/README.md b/README.md index 827b5bd..830e888 100644 --- a/README.md +++ b/README.md @@ -18,16 +18,21 @@ ## Features -![Volto Block Accordion](https://github.com/eea/volto-accordion-block/raw/docs/docs/volto-accordion-block.gif) +- [Accordion Component Storybook](https://eea.github.io/eea-storybook/?path=/story/components-accordion--default). + +![Volto Block Accordion](https://raw.githubusercontent.com/eea/volto-accordion-block/docs/docs/volto-accordion-block.gif "Volto Block Accordion") + ## Getting started ### Try volto-accordion-block with Docker - git clone https://github.com/eea/volto-accordion-block.git - cd volto-accordion-block - make - make start + ```bash + git clone https://github.com/eea/volto-accordion-block.git + cd volto-accordion-block + make + make start + ``` Go to http://localhost:3000 @@ -35,7 +40,7 @@ Go to http://localhost:3000 1. Make sure you have a [Plone backend](https://plone.org/download) up-and-running at http://localhost:8080/Plone - ```Bash + ```bash docker compose up backend ``` @@ -43,30 +48,30 @@ Go to http://localhost:3000 - If you already have a volto project, just update `package.json`: - ```JSON - "addons": [ - "@eeacms/volto-accordion-block" - ], + ```json + "addons": [ + "@eeacms/volto-accordion-block" + ], - "dependencies": { - "@eeacms/volto-accordion-block": "*" - } - ``` + "dependencies": { + "@eeacms/volto-accordion-block": "*" + } + ``` - If not, create one: - ``` - npm install -g yo @plone/generator-volto - yo @plone/volto my-volto-project --addon @eeacms/volto-accordion-block - cd my-volto-project - ``` + ```bash + npm install -g yo @plone/generator-volto + yo @plone/volto my-volto-project --addon @eeacms/volto-accordion-block + cd my-volto-project + ``` 1. Install new add-ons and restart Volto: - ``` - yarn - yarn start - ``` + ```bash + yarn + yarn start + ``` 1. Go to http://localhost:3000 diff --git a/locales/de/LC_MESSAGES/volto.po b/locales/de/LC_MESSAGES/volto.po index 009e625..068947e 100644 --- a/locales/de/LC_MESSAGES/volto.po +++ b/locales/de/LC_MESSAGES/volto.po @@ -16,7 +16,14 @@ msgstr "" "Preferred-Encodings: utf-8 latin1\n" "X-Is-Fallback-For: de-at de-li de-lu de-ch de-de\n" +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: A short hint that describes the expected value within this block +msgid "A short hint that describes the expected value within this block" +msgstr "" + +#: components/manage/Blocks/Accordion/Edit #: components/manage/Blocks/Accordion/Schema +#: index # defaultMessage: Accordion msgid "Accordion" msgstr "Akkordeon" @@ -26,16 +33,27 @@ msgstr "Akkordeon" msgid "Accordion Title size" msgstr "Akkordeon Schriftgröße Titel" +#: components/manage/Blocks/Accordion/Edit #: components/manage/Blocks/Accordion/Schema # defaultMessage: Accordion block msgid "Accordion block" msgstr "Akkordeon Block" +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Accordion block settings +msgid "Accordion block settings" +msgstr "" + #: components/manage/Blocks/Accordion/Schema # defaultMessage: Accordion theme msgid "Accordion theme" msgstr "Akkordeon-Thema" +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Accordion title +msgid "Accordion title" +msgstr "" + #: components/manage/Widgets/PanelsWidget # defaultMessage: Add msgid "Add" @@ -46,26 +64,152 @@ msgstr "Hinzufügen" msgid "Allow multiple panels open at a time" msgstr "Erlaube mehrere Panele zur gleichen Zeit geöffnet zu haben" +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Allow only the following blocks types +msgid "Allow only the following blocks types" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Allowed blocks +msgid "Allowed blocks" +msgstr "" + #: components/manage/Blocks/Accordion/Schema # defaultMessage: Collapsed by default msgid "Collapsed by default" msgstr "Eingeklappt ist der Standard" +#: components/manage/Blocks/Accordion/LayoutSchema +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Default +msgid "Default" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Detailed expected value within this block +msgid "Detailed expected value within this block" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable creation of new blocks after this block +msgid "Disable creation of new blocks after this block" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable drag & drop on this block +msgid "Disable drag & drop on this block" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable editing on accordion block settings +msgid "Disable editing on accordion block settings" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable editing on accordion titles +msgid "Disable editing on accordion titles" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable editing on this block +msgid "Disable editing on this block" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable inner buttons +msgid "Disable inner buttons" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable new blocks +msgid "Disable new blocks" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Don't allow deletion of this block +msgid "Don't allow deletion of this block" +msgstr "" + +#: components/manage/Blocks/Accordion/EditBlockWrapper +# defaultMessage: Drag and drop +msgid "Drag and drop" +msgstr "" + #: components/manage/Blocks/Accordion/Schema # defaultMessage: Enable filtering msgid "Enable filtering" msgstr "Filterung aktivieren" +#: components/manage/Blocks/Accordion/AccordionEdit +# defaultMessage: Enter Title +msgid "Enter Title" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Fixed layout +msgid "Fixed layout" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Fixed layout, New panes (tabs) created by Editor within this block will be ignored +msgid "Fixed layout, New panes (tabs) created by Editor within this block will be ignored" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Fixed position +msgid "Fixed position" +msgstr "" + #: components/manage/Blocks/Accordion/Schema # defaultMessage: Friendly name msgid "Friendly name" msgstr "Kurzname" +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Heading 2 +msgid "Heading 2" +msgstr "" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Heading 3 +msgid "Heading 3" +msgstr "" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Heading 4 +msgid "Heading 4" +msgstr "" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Heading 5 +msgid "Heading 5" +msgstr "" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Heading 6 +msgid "Heading 6" +msgstr "" + #: components/manage/Blocks/Accordion/Schema # defaultMessage: Headline msgid "Headline" msgstr "" +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Helper text +msgid "Helper text" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Hide all block related buttons within this block +msgid "Hide all block related buttons within this block" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Instructions +msgid "Instructions" +msgstr "" + #: components/manage/Blocks/Accordion/Schema # defaultMessage: Non exclusive msgid "Non exclusive" @@ -81,11 +225,46 @@ msgstr "Optionen" msgid "Primary" msgstr "Primär" +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Read-only +msgid "Read-only" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Read-only settings +msgid "Read-only settings" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Read-only titles +msgid "Read-only titles" +msgstr "" + +#: components/manage/Blocks/Accordion/EditBlockWrapper +# defaultMessage: Remove block +msgid "Remove block" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Required +msgid "Required" +msgstr "" + #: components/manage/Blocks/Accordion/Schema # defaultMessage: Secondary msgid "Secondary" msgstr "Sekundär" +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Section friendly name +msgid "Section friendly name" +msgstr "" + +#: components/manage/Blocks/Accordion/Edit +# defaultMessage: Section help +msgid "Section help" +msgstr "" + #: components/manage/Blocks/Accordion/Schema # defaultMessage: Tertiary msgid "Tertiary" @@ -96,6 +275,7 @@ msgstr "Tertiär" msgid "Theme" msgstr "Thema" +#: components/manage/Blocks/Accordion/LayoutSchema #: components/manage/Blocks/Accordion/Schema # defaultMessage: Title msgid "Title" @@ -121,7 +301,17 @@ msgstr "Filter..." msgid "Unknown Block" msgstr "Unbekannter Block" +#: components/manage/Blocks/Accordion/NewBlockAddButton +# defaultMessage: Add block in position +msgid "add_block_in_position" +msgstr "" + #: components/manage/Blocks/Accordion/EditBlockWrapper # defaultMessage: delete msgid "delete" msgstr "löschen" + +#: components/manage/Widgets/PanelsWidget +# defaultMessage: Panel {panel_index} +msgid "panel_index" +msgstr "" diff --git a/locales/es/LC_MESSAGES/volto.po b/locales/es/LC_MESSAGES/volto.po new file mode 100644 index 0000000..7626268 --- /dev/null +++ b/locales/es/LC_MESSAGES/volto.po @@ -0,0 +1,321 @@ +# Translation of volto.pot to Spanish +# Leonardo J. Caballero G. , 2023. +msgid "" +msgstr "" +"Project-Id-Version: Plone\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-27T19:30:59.079Z\n" +"PO-Revision-Date: 2023-08-24 22:46-0400\n" +"Last-Translator: Leonardo J. Caballero G. \n" +"Language: es\n" +"Language-Team: ES \n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Preferred-Encodings: utf-8\n" +"MIME-Version: 1.0\n" +"Language-Code: es\n" +"Language-Name: Español\n" +"Domain: volto\n" +"X-Is-Fallback-For: es-ar es-bo es-cl es-co es-cr es-do es-ec es-es es-sv es-gt es-hn es-mx es-ni es-pa es-py es-pe es-pr es-us es-uy es-ve\n" +"X-Generator: Poedit 3.3.2\n" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: A short hint that describes the expected value within this block +msgid "A short hint that describes the expected value within this block" +msgstr "Una breve pista que describe el valor esperado dentro de este bloque" + +#: components/manage/Blocks/Accordion/Edit +#: components/manage/Blocks/Accordion/Schema +#: index +# defaultMessage: Accordion +msgid "Accordion" +msgstr "Acordeón" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Accordion Title size +msgid "Accordion Title size" +msgstr "Tamaño del título" + +#: components/manage/Blocks/Accordion/Edit +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Accordion block +msgid "Accordion block" +msgstr "Bloque acordeón" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Accordion block settings +msgid "Accordion block settings" +msgstr "Configuración de bloque de acordeón" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Accordion theme +msgid "Accordion theme" +msgstr "Tema de acordeón" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Accordion title +msgid "Accordion title" +msgstr "Título de acordeón" + +#: components/manage/Widgets/PanelsWidget +# defaultMessage: Add +msgid "Add" +msgstr "Añadir" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Allow multiple panels open at a time +msgid "Allow multiple panels open at a time" +msgstr "Le permite tener varios paneles abiertos al mismo tiempo" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Allow only the following blocks types +msgid "Allow only the following blocks types" +msgstr "Permitir solo los siguientes tipos de bloques" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Allowed blocks +msgid "Allowed blocks" +msgstr "Bloques permitido" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Collapsed by default +msgid "Collapsed by default" +msgstr "Contraído por defecto" + +#: components/manage/Blocks/Accordion/LayoutSchema +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Default +msgid "Default" +msgstr "Por defecto" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Detailed expected value within this block +msgid "Detailed expected value within this block" +msgstr "Valor esperado detallado dentro de este bloque" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable creation of new blocks after this block +msgid "Disable creation of new blocks after this block" +msgstr "Deshabilitar la creación de nuevos bloques después de este bloque" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable drag & drop on this block +msgid "Disable drag & drop on this block" +msgstr "Desactivar arrastrar y soltar en este bloque" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable editing on accordion block settings +msgid "Disable editing on accordion block settings" +msgstr "Deshabilitar la edición en la configuración del bloque de acordeón" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable editing on accordion titles +msgid "Disable editing on accordion titles" +msgstr "Deshabilitar la edición en títulos de acordeón" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable editing on this block +msgid "Disable editing on this block" +msgstr "Deshabilitar la edición en este bloque" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable inner buttons +msgid "Disable inner buttons" +msgstr "Deshabilitar botones internos" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable new blocks +msgid "Disable new blocks" +msgstr "Deshabilitar nuevos bloques" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Don't allow deletion of this block +msgid "Don't allow deletion of this block" +msgstr "No permitir la eliminación de este bloque" + +#: components/manage/Blocks/Accordion/EditBlockWrapper +# defaultMessage: Drag and drop +msgid "Drag and drop" +msgstr "Arrastre y suelte" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Enable filtering +msgid "Enable filtering" +msgstr "Activar el filtrado" + +#: components/manage/Blocks/Accordion/AccordionEdit +# defaultMessage: Enter Title +msgid "Enter Title" +msgstr "Ingrese un título" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Fixed layout +msgid "Fixed layout" +msgstr "Diseño fijo" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Fixed layout, New panes (tabs) created by Editor within this block will be ignored +msgid "Fixed layout, New panes (tabs) created by Editor within this block will be ignored" +msgstr "Diseño fijo, se ignorarán los nuevos paneles (pestañas) creados por el Editor dentro de este bloque" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Fixed position +msgid "Fixed position" +msgstr "Posición fija" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Friendly name +msgid "Friendly name" +msgstr "Título del elemento" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Heading 2 +msgid "Heading 2" +msgstr "Encabezado 2" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Heading 3 +msgid "Heading 3" +msgstr "Encabezado 3" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Heading 4 +msgid "Heading 4" +msgstr "Encabezado 4" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Heading 5 +msgid "Heading 5" +msgstr "Encabezado 5" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Heading 6 +msgid "Heading 6" +msgstr "Encabezado 6" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Headline +msgid "Headline" +msgstr "Encabezado" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Helper text +msgid "Helper text" +msgstr "Texto de ayuda" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Hide all block related buttons within this block +msgid "Hide all block related buttons within this block" +msgstr "Ocultar todos los botones relacionados con el bloque dentro de este bloque" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Instructions +msgid "Instructions" +msgstr "Instrucciones" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Non exclusive +msgid "Non exclusive" +msgstr "No exclusivo" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Options +msgid "Options" +msgstr "Opciones" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Primary +msgid "Primary" +msgstr "Primario" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Read-only +msgid "Read-only" +msgstr "Solo lectura" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Read-only settings +msgid "Read-only settings" +msgstr "Configuración de solo lectura" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Read-only titles +msgid "Read-only titles" +msgstr "Títulos de solo lectura" + +#: components/manage/Blocks/Accordion/EditBlockWrapper +# defaultMessage: Remove block +msgid "Remove block" +msgstr "Eliminar bloque" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Required +msgid "Required" +msgstr "Requerido" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Secondary +msgid "Secondary" +msgstr "Secundario" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Section friendly name +msgid "Section friendly name" +msgstr "Nombre descriptivo de la sección" + +#: components/manage/Blocks/Accordion/Edit +# defaultMessage: Section help +msgid "Section help" +msgstr "Sección de Ayuda" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Tertiary +msgid "Tertiary" +msgstr "Terciario" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Theme +msgid "Theme" +msgstr "Tema" + +#: components/manage/Blocks/Accordion/LayoutSchema +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Title +msgid "Title" +msgstr "Título" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Title Icon on the right +msgid "Title Icon on the right" +msgstr "Mostrar el icono de la derecha" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Title size +msgid "Title size" +msgstr "Tamaño del título" + +#: components/manage/Blocks/Accordion/AccordionFilter +# defaultMessage: Type to filter... +msgid "Type to filter..." +msgstr "Escriba para filtrar..." + +#: components/manage/Blocks/Accordion/EditBlockWrapper +# defaultMessage: Unknown Block {block} +msgid "Unknown Block" +msgstr "Bloque desconocido" + +#: components/manage/Blocks/Accordion/NewBlockAddButton +# defaultMessage: Add block in position +msgid "add_block_in_position" +msgstr "Añadir bloque en posición" + +#: components/manage/Blocks/Accordion/EditBlockWrapper +# defaultMessage: delete +msgid "delete" +msgstr "eliminar" + +#: components/manage/Widgets/PanelsWidget +# defaultMessage: Panel {panel_index} +msgid "panel_index" +msgstr "Panel {panel_index}" diff --git a/locales/it/LC_MESSAGES/volto.po b/locales/it/LC_MESSAGES/volto.po index 3077977..5e02771 100644 --- a/locales/it/LC_MESSAGES/volto.po +++ b/locales/it/LC_MESSAGES/volto.po @@ -16,7 +16,14 @@ msgstr "" "Preferred-Encodings: utf-8 latin1\n" "X-Is-Fallback-For: it it-CH it-IT\n" +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: A short hint that describes the expected value within this block +msgid "A short hint that describes the expected value within this block" +msgstr "" + +#: components/manage/Blocks/Accordion/Edit #: components/manage/Blocks/Accordion/Schema +#: index # defaultMessage: Accordion msgid "Accordion" msgstr "Accordion" @@ -26,16 +33,27 @@ msgstr "Accordion" msgid "Accordion Title size" msgstr "Dimensione del titolo" +#: components/manage/Blocks/Accordion/Edit #: components/manage/Blocks/Accordion/Schema # defaultMessage: Accordion block msgid "Accordion block" msgstr "Blocco Accordion" +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Accordion block settings +msgid "Accordion block settings" +msgstr "" + #: components/manage/Blocks/Accordion/Schema # defaultMessage: Accordion theme msgid "Accordion theme" msgstr "Tema della accordion" +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Accordion title +msgid "Accordion title" +msgstr "" + #: components/manage/Widgets/PanelsWidget # defaultMessage: Add msgid "Add" @@ -46,26 +64,152 @@ msgstr "Aggiungi" msgid "Allow multiple panels open at a time" msgstr "Consente di avere più pannelli aperti contemporaneamente" +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Allow only the following blocks types +msgid "Allow only the following blocks types" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Allowed blocks +msgid "Allowed blocks" +msgstr "" + #: components/manage/Blocks/Accordion/Schema # defaultMessage: Collapsed by default msgid "Collapsed by default" msgstr "Collassati di default" +#: components/manage/Blocks/Accordion/LayoutSchema +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Default +msgid "Default" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Detailed expected value within this block +msgid "Detailed expected value within this block" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable creation of new blocks after this block +msgid "Disable creation of new blocks after this block" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable drag & drop on this block +msgid "Disable drag & drop on this block" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable editing on accordion block settings +msgid "Disable editing on accordion block settings" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable editing on accordion titles +msgid "Disable editing on accordion titles" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable editing on this block +msgid "Disable editing on this block" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable inner buttons +msgid "Disable inner buttons" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable new blocks +msgid "Disable new blocks" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Don't allow deletion of this block +msgid "Don't allow deletion of this block" +msgstr "" + +#: components/manage/Blocks/Accordion/EditBlockWrapper +# defaultMessage: Drag and drop +msgid "Drag and drop" +msgstr "" + #: components/manage/Blocks/Accordion/Schema # defaultMessage: Enable filtering msgid "Enable filtering" msgstr "Abilita il filtro" +#: components/manage/Blocks/Accordion/AccordionEdit +# defaultMessage: Enter Title +msgid "Enter Title" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Fixed layout +msgid "Fixed layout" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Fixed layout, New panes (tabs) created by Editor within this block will be ignored +msgid "Fixed layout, New panes (tabs) created by Editor within this block will be ignored" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Fixed position +msgid "Fixed position" +msgstr "" + #: components/manage/Blocks/Accordion/Schema # defaultMessage: Friendly name msgid "Friendly name" msgstr "Titolo dell'elemento" +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Heading 2 +msgid "Heading 2" +msgstr "" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Heading 3 +msgid "Heading 3" +msgstr "" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Heading 4 +msgid "Heading 4" +msgstr "" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Heading 5 +msgid "Heading 5" +msgstr "" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Heading 6 +msgid "Heading 6" +msgstr "" + #: components/manage/Blocks/Accordion/Schema # defaultMessage: Headline msgid "Headline" msgstr "Titolo" +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Helper text +msgid "Helper text" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Hide all block related buttons within this block +msgid "Hide all block related buttons within this block" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Instructions +msgid "Instructions" +msgstr "" + #: components/manage/Blocks/Accordion/Schema # defaultMessage: Non exclusive msgid "Non exclusive" @@ -81,11 +225,46 @@ msgstr "Opzioni" msgid "Primary" msgstr "Primario" +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Read-only +msgid "Read-only" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Read-only settings +msgid "Read-only settings" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Read-only titles +msgid "Read-only titles" +msgstr "" + +#: components/manage/Blocks/Accordion/EditBlockWrapper +# defaultMessage: Remove block +msgid "Remove block" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Required +msgid "Required" +msgstr "" + #: components/manage/Blocks/Accordion/Schema # defaultMessage: Secondary msgid "Secondary" msgstr "Secondario" +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Section friendly name +msgid "Section friendly name" +msgstr "" + +#: components/manage/Blocks/Accordion/Edit +# defaultMessage: Section help +msgid "Section help" +msgstr "" + #: components/manage/Blocks/Accordion/Schema # defaultMessage: Tertiary msgid "Tertiary" @@ -96,6 +275,7 @@ msgstr "Terziario" msgid "Theme" msgstr "Tema" +#: components/manage/Blocks/Accordion/LayoutSchema #: components/manage/Blocks/Accordion/Schema # defaultMessage: Title msgid "Title" @@ -121,7 +301,17 @@ msgstr "Filtra..." msgid "Unknown Block" msgstr "Blocco sconosciuto" +#: components/manage/Blocks/Accordion/NewBlockAddButton +# defaultMessage: Add block in position +msgid "add_block_in_position" +msgstr "" + #: components/manage/Blocks/Accordion/EditBlockWrapper # defaultMessage: delete msgid "delete" msgstr "Rimuovi" + +#: components/manage/Widgets/PanelsWidget +# defaultMessage: Panel {panel_index} +msgid "panel_index" +msgstr "" diff --git a/locales/pt_BR/volto.po b/locales/pt_BR/volto.po index 351195a..72c2240 100644 --- a/locales/pt_BR/volto.po +++ b/locales/pt_BR/volto.po @@ -16,7 +16,14 @@ msgstr "" "Preferred-Encodings: utf-8\n" "Domain: volto\n" +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: A short hint that describes the expected value within this block +msgid "A short hint that describes the expected value within this block" +msgstr "" + +#: components/manage/Blocks/Accordion/Edit #: components/manage/Blocks/Accordion/Schema +#: index # defaultMessage: Accordion msgid "Accordion" msgstr "Acordeão" @@ -26,16 +33,27 @@ msgstr "Acordeão" msgid "Accordion Title size" msgstr "Tamanho do título do Acordeão" +#: components/manage/Blocks/Accordion/Edit #: components/manage/Blocks/Accordion/Schema # defaultMessage: Accordion block msgid "Accordion block" msgstr "Acordeão bloco" +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Accordion block settings +msgid "Accordion block settings" +msgstr "" + #: components/manage/Blocks/Accordion/Schema # defaultMessage: Accordion theme msgid "Accordion theme" msgstr "Tema do Acordeão" +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Accordion title +msgid "Accordion title" +msgstr "" + #: components/manage/Widgets/PanelsWidget # defaultMessage: Add msgid "Add" @@ -46,26 +64,152 @@ msgstr "Adicionar" msgid "Allow multiple panels open at a time" msgstr "Permitir muitos painéis abertos ao mesmo tempo" +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Allow only the following blocks types +msgid "Allow only the following blocks types" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Allowed blocks +msgid "Allowed blocks" +msgstr "" + #: components/manage/Blocks/Accordion/Schema # defaultMessage: Collapsed by default msgid "Collapsed by default" msgstr "Por padrão fechado" +#: components/manage/Blocks/Accordion/LayoutSchema +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Default +msgid "Default" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Detailed expected value within this block +msgid "Detailed expected value within this block" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable creation of new blocks after this block +msgid "Disable creation of new blocks after this block" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable drag & drop on this block +msgid "Disable drag & drop on this block" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable editing on accordion block settings +msgid "Disable editing on accordion block settings" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable editing on accordion titles +msgid "Disable editing on accordion titles" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable editing on this block +msgid "Disable editing on this block" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable inner buttons +msgid "Disable inner buttons" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable new blocks +msgid "Disable new blocks" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Don't allow deletion of this block +msgid "Don't allow deletion of this block" +msgstr "" + +#: components/manage/Blocks/Accordion/EditBlockWrapper +# defaultMessage: Drag and drop +msgid "Drag and drop" +msgstr "" + #: components/manage/Blocks/Accordion/Schema # defaultMessage: Enable filtering msgid "Enable filtering" msgstr "" +#: components/manage/Blocks/Accordion/AccordionEdit +# defaultMessage: Enter Title +msgid "Enter Title" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Fixed layout +msgid "Fixed layout" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Fixed layout, New panes (tabs) created by Editor within this block will be ignored +msgid "Fixed layout, New panes (tabs) created by Editor within this block will be ignored" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Fixed position +msgid "Fixed position" +msgstr "" + #: components/manage/Blocks/Accordion/Schema # defaultMessage: Friendly name msgid "Friendly name" msgstr "Nome amigável" +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Heading 2 +msgid "Heading 2" +msgstr "" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Heading 3 +msgid "Heading 3" +msgstr "" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Heading 4 +msgid "Heading 4" +msgstr "" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Heading 5 +msgid "Heading 5" +msgstr "" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Heading 6 +msgid "Heading 6" +msgstr "" + #: components/manage/Blocks/Accordion/Schema # defaultMessage: Headline msgid "Headline" msgstr "" +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Helper text +msgid "Helper text" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Hide all block related buttons within this block +msgid "Hide all block related buttons within this block" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Instructions +msgid "Instructions" +msgstr "" + #: components/manage/Blocks/Accordion/Schema # defaultMessage: Non exclusive msgid "Non exclusive" @@ -81,11 +225,46 @@ msgstr "Opções" msgid "Primary" msgstr "Primário" +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Read-only +msgid "Read-only" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Read-only settings +msgid "Read-only settings" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Read-only titles +msgid "Read-only titles" +msgstr "" + +#: components/manage/Blocks/Accordion/EditBlockWrapper +# defaultMessage: Remove block +msgid "Remove block" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Required +msgid "Required" +msgstr "" + #: components/manage/Blocks/Accordion/Schema # defaultMessage: Secondary msgid "Secondary" msgstr "Secondário" +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Section friendly name +msgid "Section friendly name" +msgstr "" + +#: components/manage/Blocks/Accordion/Edit +# defaultMessage: Section help +msgid "Section help" +msgstr "" + #: components/manage/Blocks/Accordion/Schema # defaultMessage: Tertiary msgid "Tertiary" @@ -96,6 +275,7 @@ msgstr "Terciário" msgid "Theme" msgstr "Tema" +#: components/manage/Blocks/Accordion/LayoutSchema #: components/manage/Blocks/Accordion/Schema # defaultMessage: Title msgid "Title" @@ -121,7 +301,17 @@ msgstr "Filtrar..." msgid "Unknown Block" msgstr "Bloco desconhecido" +#: components/manage/Blocks/Accordion/NewBlockAddButton +# defaultMessage: Add block in position +msgid "add_block_in_position" +msgstr "" + #: components/manage/Blocks/Accordion/EditBlockWrapper # defaultMessage: delete msgid "delete" msgstr "remover" + +#: components/manage/Widgets/PanelsWidget +# defaultMessage: Panel {panel_index} +msgid "panel_index" +msgstr "" diff --git a/locales/ro/LC_MESSAGES/volto.po b/locales/ro/LC_MESSAGES/volto.po index ae2bbf4..ca0f66a 100644 --- a/locales/ro/LC_MESSAGES/volto.po +++ b/locales/ro/LC_MESSAGES/volto.po @@ -11,7 +11,14 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: \n" +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: A short hint that describes the expected value within this block +msgid "A short hint that describes the expected value within this block" +msgstr "" + +#: components/manage/Blocks/Accordion/Edit #: components/manage/Blocks/Accordion/Schema +#: index # defaultMessage: Accordion msgid "Accordion" msgstr "Acordeon" @@ -21,16 +28,27 @@ msgstr "Acordeon" msgid "Accordion Title size" msgstr "Mărimea titlului acordeonului" +#: components/manage/Blocks/Accordion/Edit #: components/manage/Blocks/Accordion/Schema # defaultMessage: Accordion block msgid "Accordion block" msgstr "Bloc Accordeon" +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Accordion block settings +msgid "Accordion block settings" +msgstr "" + #: components/manage/Blocks/Accordion/Schema # defaultMessage: Accordion theme msgid "Accordion theme" msgstr "Tema acordeonului" +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Accordion title +msgid "Accordion title" +msgstr "" + #: components/manage/Widgets/PanelsWidget # defaultMessage: Add msgid "Add" @@ -41,26 +59,152 @@ msgstr "Adaugă" msgid "Allow multiple panels open at a time" msgstr "Permite deschiderea mai multor panouri simultan" +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Allow only the following blocks types +msgid "Allow only the following blocks types" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Allowed blocks +msgid "Allowed blocks" +msgstr "" + #: components/manage/Blocks/Accordion/Schema # defaultMessage: Collapsed by default msgid "Collapsed by default" msgstr "Închis implicit" +#: components/manage/Blocks/Accordion/LayoutSchema +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Default +msgid "Default" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Detailed expected value within this block +msgid "Detailed expected value within this block" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable creation of new blocks after this block +msgid "Disable creation of new blocks after this block" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable drag & drop on this block +msgid "Disable drag & drop on this block" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable editing on accordion block settings +msgid "Disable editing on accordion block settings" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable editing on accordion titles +msgid "Disable editing on accordion titles" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable editing on this block +msgid "Disable editing on this block" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable inner buttons +msgid "Disable inner buttons" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable new blocks +msgid "Disable new blocks" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Don't allow deletion of this block +msgid "Don't allow deletion of this block" +msgstr "" + +#: components/manage/Blocks/Accordion/EditBlockWrapper +# defaultMessage: Drag and drop +msgid "Drag and drop" +msgstr "" + #: components/manage/Blocks/Accordion/Schema # defaultMessage: Enable filtering msgid "Enable filtering" msgstr "Filtrare" +#: components/manage/Blocks/Accordion/AccordionEdit +# defaultMessage: Enter Title +msgid "Enter Title" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Fixed layout +msgid "Fixed layout" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Fixed layout, New panes (tabs) created by Editor within this block will be ignored +msgid "Fixed layout, New panes (tabs) created by Editor within this block will be ignored" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Fixed position +msgid "Fixed position" +msgstr "" + #: components/manage/Blocks/Accordion/Schema # defaultMessage: Friendly name msgid "Friendly name" msgstr "Nume" +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Heading 2 +msgid "Heading 2" +msgstr "" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Heading 3 +msgid "Heading 3" +msgstr "" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Heading 4 +msgid "Heading 4" +msgstr "" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Heading 5 +msgid "Heading 5" +msgstr "" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Heading 6 +msgid "Heading 6" +msgstr "" + #: components/manage/Blocks/Accordion/Schema # defaultMessage: Headline msgid "Headline" msgstr "Mărime title" +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Helper text +msgid "Helper text" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Hide all block related buttons within this block +msgid "Hide all block related buttons within this block" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Instructions +msgid "Instructions" +msgstr "" + #: components/manage/Blocks/Accordion/Schema # defaultMessage: Non exclusive msgid "Non exclusive" @@ -76,11 +220,46 @@ msgstr "Opțiuni" msgid "Primary" msgstr "Primară" +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Read-only +msgid "Read-only" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Read-only settings +msgid "Read-only settings" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Read-only titles +msgid "Read-only titles" +msgstr "" + +#: components/manage/Blocks/Accordion/EditBlockWrapper +# defaultMessage: Remove block +msgid "Remove block" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Required +msgid "Required" +msgstr "" + #: components/manage/Blocks/Accordion/Schema # defaultMessage: Secondary msgid "Secondary" msgstr "Secundară" +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Section friendly name +msgid "Section friendly name" +msgstr "" + +#: components/manage/Blocks/Accordion/Edit +# defaultMessage: Section help +msgid "Section help" +msgstr "" + #: components/manage/Blocks/Accordion/Schema # defaultMessage: Tertiary msgid "Tertiary" @@ -91,6 +270,7 @@ msgstr "Terțiară" msgid "Theme" msgstr "Tema" +#: components/manage/Blocks/Accordion/LayoutSchema #: components/manage/Blocks/Accordion/Schema # defaultMessage: Title msgid "Title" @@ -116,7 +296,17 @@ msgstr "Filtrează..." msgid "Unknown Block" msgstr "Block necunoscut" +#: components/manage/Blocks/Accordion/NewBlockAddButton +# defaultMessage: Add block in position +msgid "add_block_in_position" +msgstr "" + #: components/manage/Blocks/Accordion/EditBlockWrapper # defaultMessage: delete msgid "delete" msgstr "Șterge" + +#: components/manage/Widgets/PanelsWidget +# defaultMessage: Panel {panel_index} +msgid "panel_index" +msgstr "" diff --git a/locales/volto.pot b/locales/volto.pot index 290b9cb..7956681 100644 --- a/locales/volto.pot +++ b/locales/volto.pot @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: Plone\n" -"POT-Creation-Date: 2023-08-17T16:01:50.964Z\n" +"POT-Creation-Date: 2023-08-24T23:48:09.459Z\n" "Last-Translator: Plone i18n \n" "Language-Team: Plone i18n \n" "MIME-Version: 1.0\n" @@ -13,7 +13,14 @@ msgstr "" "Preferred-Encodings: utf-8\n" "Domain: volto\n" +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: A short hint that describes the expected value within this block +msgid "A short hint that describes the expected value within this block" +msgstr "" + +#: components/manage/Blocks/Accordion/Edit #: components/manage/Blocks/Accordion/Schema +#: index # defaultMessage: Accordion msgid "Accordion" msgstr "" @@ -23,16 +30,27 @@ msgstr "" msgid "Accordion Title size" msgstr "" +#: components/manage/Blocks/Accordion/Edit #: components/manage/Blocks/Accordion/Schema # defaultMessage: Accordion block msgid "Accordion block" msgstr "" +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Accordion block settings +msgid "Accordion block settings" +msgstr "" + #: components/manage/Blocks/Accordion/Schema # defaultMessage: Accordion theme msgid "Accordion theme" msgstr "" +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Accordion title +msgid "Accordion title" +msgstr "" + #: components/manage/Widgets/PanelsWidget # defaultMessage: Add msgid "Add" @@ -43,26 +61,152 @@ msgstr "" msgid "Allow multiple panels open at a time" msgstr "" +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Allow only the following blocks types +msgid "Allow only the following blocks types" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Allowed blocks +msgid "Allowed blocks" +msgstr "" + #: components/manage/Blocks/Accordion/Schema # defaultMessage: Collapsed by default msgid "Collapsed by default" msgstr "" +#: components/manage/Blocks/Accordion/LayoutSchema +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Default +msgid "Default" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Detailed expected value within this block +msgid "Detailed expected value within this block" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable creation of new blocks after this block +msgid "Disable creation of new blocks after this block" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable drag & drop on this block +msgid "Disable drag & drop on this block" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable editing on accordion block settings +msgid "Disable editing on accordion block settings" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable editing on accordion titles +msgid "Disable editing on accordion titles" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable editing on this block +msgid "Disable editing on this block" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable inner buttons +msgid "Disable inner buttons" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Disable new blocks +msgid "Disable new blocks" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Don't allow deletion of this block +msgid "Don't allow deletion of this block" +msgstr "" + +#: components/manage/Blocks/Accordion/EditBlockWrapper +# defaultMessage: Drag and drop +msgid "Drag and drop" +msgstr "" + #: components/manage/Blocks/Accordion/Schema # defaultMessage: Enable filtering msgid "Enable filtering" msgstr "" +#: components/manage/Blocks/Accordion/AccordionEdit +# defaultMessage: Enter Title +msgid "Enter Title" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Fixed layout +msgid "Fixed layout" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Fixed layout, New panes (tabs) created by Editor within this block will be ignored +msgid "Fixed layout, New panes (tabs) created by Editor within this block will be ignored" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Fixed position +msgid "Fixed position" +msgstr "" + #: components/manage/Blocks/Accordion/Schema # defaultMessage: Friendly name msgid "Friendly name" msgstr "" +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Heading 2 +msgid "Heading 2" +msgstr "" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Heading 3 +msgid "Heading 3" +msgstr "" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Heading 4 +msgid "Heading 4" +msgstr "" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Heading 5 +msgid "Heading 5" +msgstr "" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Heading 6 +msgid "Heading 6" +msgstr "" + #: components/manage/Blocks/Accordion/Schema # defaultMessage: Headline msgid "Headline" msgstr "" +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Helper text +msgid "Helper text" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Hide all block related buttons within this block +msgid "Hide all block related buttons within this block" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Instructions +msgid "Instructions" +msgstr "" + #: components/manage/Blocks/Accordion/Schema # defaultMessage: Non exclusive msgid "Non exclusive" @@ -78,11 +222,46 @@ msgstr "" msgid "Primary" msgstr "" +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Read-only +msgid "Read-only" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Read-only settings +msgid "Read-only settings" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Read-only titles +msgid "Read-only titles" +msgstr "" + +#: components/manage/Blocks/Accordion/EditBlockWrapper +# defaultMessage: Remove block +msgid "Remove block" +msgstr "" + +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Required +msgid "Required" +msgstr "" + #: components/manage/Blocks/Accordion/Schema # defaultMessage: Secondary msgid "Secondary" msgstr "" +#: components/manage/Blocks/Accordion/LayoutSchema +# defaultMessage: Section friendly name +msgid "Section friendly name" +msgstr "" + +#: components/manage/Blocks/Accordion/Edit +# defaultMessage: Section help +msgid "Section help" +msgstr "" + #: components/manage/Blocks/Accordion/Schema # defaultMessage: Tertiary msgid "Tertiary" @@ -93,6 +272,7 @@ msgstr "" msgid "Theme" msgstr "" +#: components/manage/Blocks/Accordion/LayoutSchema #: components/manage/Blocks/Accordion/Schema # defaultMessage: Title msgid "Title" @@ -118,7 +298,17 @@ msgstr "" msgid "Unknown Block" msgstr "" +#: components/manage/Blocks/Accordion/NewBlockAddButton +# defaultMessage: Add block in position +msgid "add_block_in_position" +msgstr "" + #: components/manage/Blocks/Accordion/EditBlockWrapper # defaultMessage: delete msgid "delete" msgstr "" + +#: components/manage/Widgets/PanelsWidget +# defaultMessage: Panel {panel_index} +msgid "panel_index" +msgstr "" diff --git a/package.json b/package.json index e240c57..3746e99 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@eeacms/volto-accordion-block", - "version": "10.1.1", + "version": "10.2.0", "description": "volto-accordion-block: Volto accordion block", "main": "src/index.js", "author": "European Environment Agency: IDM2 A-Team", diff --git a/src/components/manage/Blocks/Accordion/AccordionEdit.jsx b/src/components/manage/Blocks/Accordion/AccordionEdit.jsx index 6f54118..6f64786 100644 --- a/src/components/manage/Blocks/Accordion/AccordionEdit.jsx +++ b/src/components/manage/Blocks/Accordion/AccordionEdit.jsx @@ -4,8 +4,16 @@ import AnimateHeight from 'react-animate-height'; import { Accordion, Input } from 'semantic-ui-react'; import { Icon } from './util'; import config from '@plone/volto/registry'; +import { defineMessages, injectIntl } from 'react-intl'; -export default (props) => { +const messages = defineMessages({ + EnterTitle: { + id: 'Enter Title', + defaultMessage: 'Enter Title', + }, +}); + +const AccordionEdit = (props) => { const { children, handleTitleChange, @@ -14,6 +22,7 @@ export default (props) => { panel, data, index, + intl, } = props; const [activeIndex, setActiveIndex] = React.useState([0]); const accordionConfig = config.blocks.blocksConfig.accordion; @@ -76,7 +85,7 @@ export default (props) => { fluid className="input-accordion-title" transparent - placeholder="Enter Title" + placeholder={intl.formatMessage(messages.EnterTitle)} value={panel?.title || ''} onClick={(e) => { handleTitleClick(); @@ -99,3 +108,5 @@ export default (props) => { ); }; + +export default injectIntl(AccordionEdit); diff --git a/src/components/manage/Blocks/Accordion/AccordionEdit.test.jsx b/src/components/manage/Blocks/Accordion/AccordionEdit.test.jsx index 1cac120..ec8856d 100644 --- a/src/components/manage/Blocks/Accordion/AccordionEdit.test.jsx +++ b/src/components/manage/Blocks/Accordion/AccordionEdit.test.jsx @@ -3,8 +3,12 @@ import React from 'react'; import AccordionEdit from './AccordionEdit'; import renderer from 'react-test-renderer'; import config from '@plone/volto/registry'; +import { Provider } from 'react-intl-redux'; +import configureStore from 'redux-mock-store'; import '@testing-library/jest-dom/extend-expect'; +const mockStore = configureStore(); + config.blocks.blocksConfig.accordion = { ...config.blocks.blocksConfig.accordion, defaults: { @@ -27,6 +31,13 @@ config.blocks.blocksConfig.accordion = { const handleTitleChange = jest.fn(); const handleTitleClick = jest.fn(); +const store = mockStore({ + intl: { + locale: 'en', + messages: {}, + formatMessage: () => 'Select layout', + }, +}); describe('AccordionEdit', () => { const uid = 'uid'; const panel = { title: 'Panel Title' }; @@ -52,14 +63,16 @@ describe('AccordionEdit', () => { it('should render correctly', () => { const component = renderer.create( - , + + + , ); const json = component.toJSON(); expect(json).toMatchSnapshot(); @@ -67,14 +80,16 @@ describe('AccordionEdit', () => { it('should render correctly', () => { const { getByText } = render( - , + + + , ); expect(getByText(panel.title)).toBeInTheDocument(); @@ -82,14 +97,16 @@ describe('AccordionEdit', () => { it('should handle title click correctly', () => { const { getByDisplayValue } = render( - , + + + , ); fireEvent.click(getByDisplayValue(panel.title)); @@ -99,14 +116,16 @@ describe('AccordionEdit', () => { it('should handle title change correctly and check the parameters the handleTitleChange function was called with', () => { const { getByDisplayValue } = render( - , + + + , ); fireEvent.change(getByDisplayValue(panel.title), { @@ -124,16 +143,18 @@ describe('AccordionEdit', () => { ...config.blocks.blocksConfig.accordion, }; const { container, getByText } = render( - -

Accordion Content

-
, + + +

Accordion Content

+
+
, ); const accordionTitle = container.querySelector('.accordion-title'); fireEvent.click(accordionTitle); @@ -144,16 +165,18 @@ describe('AccordionEdit', () => { it('should open accordion content when title is clicked', () => { const { container, getByText } = render( - -

Accordion Content

-
, + + +

Accordion Content

+
+
, ); const accordionTitle = container.querySelector('.accordion-title'); fireEvent.click(accordionTitle); diff --git a/src/components/manage/Blocks/Accordion/Edit.jsx b/src/components/manage/Blocks/Accordion/Edit.jsx index 84256d2..6df0421 100644 --- a/src/components/manage/Blocks/Accordion/Edit.jsx +++ b/src/components/manage/Blocks/Accordion/Edit.jsx @@ -14,7 +14,7 @@ import helpSVG from '@plone/volto/icons/help.svg'; import { isEmpty, without, cloneDeep, pickBy } from 'lodash'; import React, { useState } from 'react'; import { Button, Segment } from 'semantic-ui-react'; -import { useIntl } from 'react-intl'; +import { defineMessages, useIntl } from 'react-intl'; import AccordionEdit from './AccordionEdit'; import AccordionFilter from './AccordionFilter'; import EditBlockWrapper from './EditBlockWrapper'; @@ -23,6 +23,21 @@ import { AccordionBlockSchema } from './Schema'; import { emptyAccordion, getPanels } from './util'; import config from '@plone/volto/registry'; +const messages = defineMessages({ + SectionHelp: { + id: 'Section help', + defaultMessage: 'Section help', + }, + AccordionBlock: { + id: 'Accordion block', + defaultMessage: 'Accordion block', + }, + Accordion: { + id: 'Accordion', + defaultMessage: 'Accordion', + }, +}); + const Edit = (props) => { const [selectedBlock, setSelectedBlock] = useState({}); const [multiSelected, setMultiSelected] = useState([]); @@ -376,7 +391,7 @@ const Edit = (props) => { @@ -102,7 +114,7 @@ class EditBlockWrapper extends React.Component { @@ -83,4 +93,4 @@ const NewBlockAddButton = (props) => { ); }; -export default NewBlockAddButton; +export default injectIntl(NewBlockAddButton); diff --git a/src/components/manage/Blocks/Accordion/Schema.js b/src/components/manage/Blocks/Accordion/Schema.js index b5c0f5f..45259dc 100644 --- a/src/components/manage/Blocks/Accordion/Schema.js +++ b/src/components/manage/Blocks/Accordion/Schema.js @@ -7,13 +7,41 @@ const messages = defineMessages({ id: 'Accordion', defaultMessage: 'Accordion', }, + Options: { + id: 'Options', + defaultMessage: 'Options', + }, + Default: { + id: 'Default', + defaultMessage: 'Default', + }, + AccordionTitle: { + id: 'Accordion title', + defaultMessage: 'Accordion title', + }, AccordionBlock: { id: 'Accordion block', defaultMessage: 'Accordion block', }, - Options: { - id: 'Options', - defaultMessage: 'Options', + Heading2: { + id: 'Heading 2', + defaultMessage: 'Heading 2', + }, + Heading3: { + id: 'Heading 3', + defaultMessage: 'Heading 3', + }, + Heading4: { + id: 'Heading 4', + defaultMessage: 'Heading 4', + }, + Heading5: { + id: 'Heading 5', + defaultMessage: 'Heading 5', + }, + Heading6: { + id: 'Heading 6', + defaultMessage: 'Heading 6', }, Title: { id: 'Title', @@ -83,13 +111,13 @@ export const AccordionSchema = (intl) => { fieldsets: [ { id: 'default', - title: 'Default', + title: intl.formatMessage(messages.Default), fields: ['panel_title'], }, ], properties: { panel_title: { - title: 'Accordion title', + title: intl.formatMessage(messages.AccordionTitle), }, }, required: [], @@ -101,7 +129,7 @@ export const AccordionBlockSchema = ({ intl }) => ({ fieldsets: [ { id: 'default', - title: 'Default', + title: intl.formatMessage(messages.Default), fields: ['data'], }, { @@ -138,11 +166,11 @@ export const AccordionBlockSchema = ({ intl }) => ({ type: 'string', factory: 'Choice', choices: [ - ['h2', 'Heading 2'], - ['h3', 'Heading 3'], - ['h4', 'Heading 4'], - ['h5', 'Heading 5'], - ['h6', 'Heading 6'], + ['h2', intl.formatMessage(messages.Heading2)], + ['h3', intl.formatMessage(messages.Heading3)], + ['h4', intl.formatMessage(messages.Heading4)], + ['h5', intl.formatMessage(messages.Heading5)], + ['h6', intl.formatMessage(messages.Heading6)], ], }, right_arrows: { @@ -179,7 +207,7 @@ export const AccordionStylingSchema = (props) => { fieldsets: [ { id: 'default', - title: 'Default', + title: intl.formatMessage(messages.Default), fields: ['theme'], }, ], diff --git a/src/components/manage/Blocks/Accordion/View.jsx b/src/components/manage/Blocks/Accordion/View.jsx index 2d1d2cd..a4b4531 100644 --- a/src/components/manage/Blocks/Accordion/View.jsx +++ b/src/components/manage/Blocks/Accordion/View.jsx @@ -152,18 +152,21 @@ const View = (props) => { handleClick(e, { index, id })} onKeyDown={(e) => { - if (e.keyCode === 13) { + if (e.keyCode === 13 || e.keyCode === 32) { + e.preventDefault(); handleClick(e, { index, id }); } }} - className={cx('accordion-title', { - 'align-arrow-left': !iconOnRight, - 'align-arrow-right': iconOnRight, - })} + role="button" + tabIndex={0} >

diff --git a/src/components/manage/Widgets/PanelsWidget.jsx b/src/components/manage/Widgets/PanelsWidget.jsx index 1f3a3df..ce6ed93 100644 --- a/src/components/manage/Widgets/PanelsWidget.jsx +++ b/src/components/manage/Widgets/PanelsWidget.jsx @@ -15,6 +15,10 @@ import './editor.less'; const messages = defineMessages({ add: { id: 'Add', defaultMessage: 'Add' }, + panelIndex: { + id: 'panel_index', + defaultMessage: 'Panel {panel_index}', + }, }); export function moveItem(formData, source, destination) { @@ -115,7 +119,10 @@ const PanelsWidget = (props) => {
- {child.title || `Panel ${index + 1}`} + {child.title || + `${intl.formatMessage(messages.panelIndex, { + panel_index: `${index + 1}`, + })}`}
{value.blocks_layout?.items?.length > 1 ? (