@eeacms/volto-group-block 7.1.0 → 7.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +39 -0
- package/locales/de/LC_MESSAGES/volto.po +63 -3
- package/locales/en/LC_MESSAGES/volto.po +62 -2
- package/locales/it/LC_MESSAGES/volto.po +62 -2
- package/locales/ro/LC_MESSAGES/volto.po +62 -2
- package/locales/volto.pot +64 -4
- package/package.json +3 -3
- package/src/components/manage/Blocks/Group/Edit.jsx +17 -4
- package/src/components/manage/Blocks/Group/EditBlockWrapper.jsx +10 -2
- package/src/components/manage/Blocks/Group/EditSchema.jsx +42 -9
- package/src/index.js +8 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
+
### [7.1.1](https://github.com/eea/volto-group-block/compare/7.1.0...7.1.1) - 30 January 2025
|
|
8
|
+
|
|
9
|
+
#### :house: Internal changes
|
|
10
|
+
|
|
11
|
+
- chore: package.json [Alin Voinea - [`fee5337`](https://github.com/eea/volto-group-block/commit/fee5337586cc6c7fe5b9aa11eaeaa860aadcea00)]
|
|
12
|
+
|
|
7
13
|
### [7.1.0](https://github.com/eea/volto-group-block/compare/7.0.1...7.1.0) - 20 August 2024
|
|
8
14
|
|
|
9
15
|
#### :rocket: New Features
|
|
@@ -25,6 +31,9 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
25
31
|
|
|
26
32
|
#### :hammer_and_wrench: Others
|
|
27
33
|
|
|
34
|
+
- Add Sonarqube tag using insitu-frontend addons list [EEA Jenkins - [`e727ac6`](https://github.com/eea/volto-group-block/commit/e727ac6a8c1882b4e77a08fd0c5bb0a401cd3bdb)]
|
|
35
|
+
- Add Sonarqube tag using clms-frontend addons list [EEA Jenkins - [`75c2946`](https://github.com/eea/volto-group-block/commit/75c29460dc6c42bbb799c13a5a6ef2bb8f26ed5a)]
|
|
36
|
+
- Add Sonarqube tag using insitu-frontend addons list [EEA Jenkins - [`96f3133`](https://github.com/eea/volto-group-block/commit/96f31335cdda925daf3e5824f0a23121b0c9b3ef)]
|
|
28
37
|
### [6.4.0](https://github.com/eea/volto-group-block/compare/6.3.5...6.4.0) - 17 January 2024
|
|
29
38
|
|
|
30
39
|
#### :rocket: New Features
|
|
@@ -39,6 +48,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
39
48
|
|
|
40
49
|
#### :house: Internal changes
|
|
41
50
|
|
|
51
|
+
- chore: [JENKINS] Refactor automated testing [valentinab25 - [`616f6eb`](https://github.com/eea/volto-group-block/commit/616f6ebe0385d82a827c6679eabdcf4e92a18c11)]
|
|
42
52
|
|
|
43
53
|
#### :hammer_and_wrench: Others
|
|
44
54
|
|
|
@@ -51,6 +61,11 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
51
61
|
- Prettier [kreafox - [`0c5d2d1`](https://github.com/eea/volto-group-block/commit/0c5d2d1a494489663cc97c5dc0f4ad13c4b67c8d)]
|
|
52
62
|
- test: mock useLocation [kreafox - [`746887f`](https://github.com/eea/volto-group-block/commit/746887fa0e778f2d4cbe86661fc8c38c8a4bafb5)]
|
|
53
63
|
- test: mock useLocation [kreafox - [`a360401`](https://github.com/eea/volto-group-block/commit/a360401b8ee05e9cb54b253b0e605d0a040c8f78)]
|
|
64
|
+
- test: [JENKINS] Use java17 for sonarqube scanner [valentinab25 - [`25030fb`](https://github.com/eea/volto-group-block/commit/25030fbd69108f90df02130e5010e56398941ad2)]
|
|
65
|
+
- test: [JENKINS] Run cypress in started frontend container [valentinab25 - [`1517dbb`](https://github.com/eea/volto-group-block/commit/1517dbb81cf9128752d835ae59dc22b251f4b035)]
|
|
66
|
+
- test: [JENKINS] Add cpu limit on cypress docker [valentinab25 - [`b0ba5f9`](https://github.com/eea/volto-group-block/commit/b0ba5f9c6d37526411a7a984595ac624401f8ac5)]
|
|
67
|
+
- test: [JENKINS] Increase shm-size to cypress docker [valentinab25 - [`8dbdfeb`](https://github.com/eea/volto-group-block/commit/8dbdfeb89fe53c6dc2f476b183a53c9266ab2bdf)]
|
|
68
|
+
- test: [JENKINS] Improve cypress time [valentinab25 - [`d0324f4`](https://github.com/eea/volto-group-block/commit/d0324f4aad6d94233ca8ce3645ca5162f39d9834)]
|
|
54
69
|
### [6.3.4](https://github.com/eea/volto-group-block/compare/6.3.3...6.3.4) - 22 October 2023
|
|
55
70
|
|
|
56
71
|
### [6.3.3](https://github.com/eea/volto-group-block/compare/6.3.2...6.3.3) - 17 October 2023
|
|
@@ -98,6 +113,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
98
113
|
|
|
99
114
|
- Release #39 from eea/develop [ichim-david - [`283e1e8`](https://github.com/eea/volto-group-block/commit/283e1e8dd1047415bae054cfd502d1691deaeb59)]
|
|
100
115
|
- Release 6.3.0 [Alin Voinea - [`3d74bb5`](https://github.com/eea/volto-group-block/commit/3d74bb5342e3882e0ddee1aa8edab7e90949def6)]
|
|
116
|
+
- test: Fix eslint and yarn i18n [Alin Voinea - [`763f764`](https://github.com/eea/volto-group-block/commit/763f76448625e05b53a2bde86ca48dda0cb263cb)]
|
|
101
117
|
- i18n: Add en [Alin Voinea - [`f3385cd`](https://github.com/eea/volto-group-block/commit/f3385cd33bfbe3efe514fd82fd140d17e33051e1)]
|
|
102
118
|
- test: Update Makefile and docker-compose to align it with Jenkinsfile [valentinab25 - [`3aa996b`](https://github.com/eea/volto-group-block/commit/3aa996b4c115da6f37ca771f07f10d58fbfa33e8)]
|
|
103
119
|
- fix eslint warnings [nileshgulia1 - [`cfdf2e9`](https://github.com/eea/volto-group-block/commit/cfdf2e900bcc456fa5a24ce7b03859170ad024ba)]
|
|
@@ -128,6 +144,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
128
144
|
|
|
129
145
|
#### :house: Internal changes
|
|
130
146
|
|
|
147
|
+
- chore: [JENKINS] Deprecate circularity website [valentinab25 - [`ad30e83`](https://github.com/eea/volto-group-block/commit/ad30e832bb869b67dc4e64ed99590b51cb80ab75)]
|
|
131
148
|
|
|
132
149
|
#### :hammer_and_wrench: Others
|
|
133
150
|
|
|
@@ -144,12 +161,19 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
144
161
|
|
|
145
162
|
#### :hammer_and_wrench: Others
|
|
146
163
|
|
|
164
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`37ffae5`](https://github.com/eea/volto-group-block/commit/37ffae512967b36af22cbed208a3ec9e1ddc392b)]
|
|
147
165
|
## [6.0.0](https://github.com/eea/volto-group-block/compare/5.0.1...6.0.0) - 24 March 2023
|
|
148
166
|
|
|
149
167
|
#### :hammer_and_wrench: Others
|
|
150
168
|
|
|
151
169
|
- (feat): Possibility to copy/cut/paste blocks within section group block - refs #157469 [dobri1408 - [`e9fc098`](https://github.com/eea/volto-group-block/commit/e9fc09825ba2ae258feb77864491d97d94c585b4)]
|
|
170
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`db4b09a`](https://github.com/eea/volto-group-block/commit/db4b09a6c14a8b271dec0c766886ffbcc3fe205e)]
|
|
171
|
+
- Add Sonarqube tag using advisory-board-frontend addons list [EEA Jenkins - [`b8c2bf4`](https://github.com/eea/volto-group-block/commit/b8c2bf471868bb0394b2dbbf75ccb7917a9ef0bf)]
|
|
172
|
+
- Add Sonarqube tag using advisory-board-frontend addons list [EEA Jenkins - [`b343119`](https://github.com/eea/volto-group-block/commit/b3431196931fd568476fa8bf6fbc508e086229ae)]
|
|
152
173
|
- test(Jenkins): Run tests and cypress with latest canary @plone/volto [Alin Voinea - [`2f42e7c`](https://github.com/eea/volto-group-block/commit/2f42e7c19a1da5a9c6a883cb4f101e8fa224ff94)]
|
|
174
|
+
- Add Sonarqube tag using cca-frontend addons list [EEA Jenkins - [`73afcc2`](https://github.com/eea/volto-group-block/commit/73afcc2f417797cedaa78cceefb007001d6c2406)]
|
|
175
|
+
- yarn 3 [Alin Voinea - [`3c00ccc`](https://github.com/eea/volto-group-block/commit/3c00ccc7110bbf12a4d268182313418fb46b1a5d)]
|
|
176
|
+
- Add Sonarqube tag using demo-kitkat-frontend addons list [EEA Jenkins - [`9b9662b`](https://github.com/eea/volto-group-block/commit/9b9662bda1da70ba0c3a7b4b05cebf130ed89e9e)]
|
|
153
177
|
### [5.0.1](https://github.com/eea/volto-group-block/compare/5.0.0...5.0.1) - 16 November 2022
|
|
154
178
|
|
|
155
179
|
#### :nail_care: Enhancements
|
|
@@ -166,6 +190,8 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
166
190
|
|
|
167
191
|
- Prepare 5.0.0 release [Miu Razvan - [`88c0ddd`](https://github.com/eea/volto-group-block/commit/88c0ddd569aeda7ee34d1eadea6a087f4e7dc257)]
|
|
168
192
|
- Update dependencies [Alin Voinea - [`c8405af`](https://github.com/eea/volto-group-block/commit/c8405afb830cdf62e7877bf30b619933519e1d71)]
|
|
193
|
+
- Add Sonarqube tag using marine-frontend addons list [EEA Jenkins - [`18e26c6`](https://github.com/eea/volto-group-block/commit/18e26c6939706d572ab8574e9b1826b9abc76314)]
|
|
194
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`8ed6d21`](https://github.com/eea/volto-group-block/commit/8ed6d21d8489911cc4cb471e3f8823c35f4adc50)]
|
|
169
195
|
### [4.3.8](https://github.com/eea/volto-group-block/compare/4.3.7...4.3.8) - 26 August 2022
|
|
170
196
|
|
|
171
197
|
### [4.3.7](https://github.com/eea/volto-group-block/compare/4.3.6...4.3.7) - 22 August 2022
|
|
@@ -178,6 +204,9 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
178
204
|
|
|
179
205
|
#### :hammer_and_wrench: Others
|
|
180
206
|
|
|
207
|
+
- Add Sonarqube tag using circularity-frontend addons list [EEA Jenkins - [`4e73f8b`](https://github.com/eea/volto-group-block/commit/4e73f8be3c73559557efadc410cb56abc055d82d)]
|
|
208
|
+
- Add Sonarqube tag using clms-frontend addons list [EEA Jenkins - [`3040335`](https://github.com/eea/volto-group-block/commit/3040335002c63b50208c95918413bc958150e7a9)]
|
|
209
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`386f730`](https://github.com/eea/volto-group-block/commit/386f730ed65f73fe1468b9b77351c97fb70edcc5)]
|
|
181
210
|
### [4.3.5](https://github.com/eea/volto-group-block/compare/4.3.4...4.3.5) - 4 January 2022
|
|
182
211
|
|
|
183
212
|
### [4.3.4](https://github.com/eea/volto-group-block/compare/4.3.3...4.3.4) - 3 January 2022
|
|
@@ -186,15 +215,23 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
186
215
|
|
|
187
216
|
#### :hammer_and_wrench: Others
|
|
188
217
|
|
|
218
|
+
- Add Sonarqube tag using freshwater-frontend addons list [EEA Jenkins - [`3e62d79`](https://github.com/eea/volto-group-block/commit/3e62d79a7ed37d10d623bc845d43e1144f8080f7)]
|
|
189
219
|
### [4.3.2](https://github.com/eea/volto-group-block/compare/4.3.1...4.3.2) - 10 December 2021
|
|
190
220
|
|
|
191
221
|
#### :hammer_and_wrench: Others
|
|
192
222
|
|
|
193
223
|
- Refs #142010 - Optimize Volto-addons gitflow pipelines [valentinab25 - [`bc36cf5`](https://github.com/eea/volto-group-block/commit/bc36cf58c39e2b43c2fbf5189df6ddefc1260857)]
|
|
224
|
+
- Add Sonarqube tag using industry-frontend addons list [EEA Jenkins - [`8038e78`](https://github.com/eea/volto-group-block/commit/8038e783c1e8ddd71e21f72070fdfa8e7e098993)]
|
|
225
|
+
- Add Sonarqube tag using clms-frontend addons list [EEA Jenkins - [`daccdbc`](https://github.com/eea/volto-group-block/commit/daccdbc733e47be7d6536eb67f8f2eea038dc94b)]
|
|
194
226
|
### [4.3.1](https://github.com/eea/volto-group-block/compare/4.3.0...4.3.1) - 11 October 2021
|
|
195
227
|
|
|
196
228
|
#### :hammer_and_wrench: Others
|
|
197
229
|
|
|
230
|
+
- Add Sonarqube tag using bise-frontend addons list [EEA Jenkins - [`b0092e4`](https://github.com/eea/volto-group-block/commit/b0092e4f78a1a0184e22e32bb9806cd57417dfb2)]
|
|
231
|
+
- Add Sonarqube tag using sustainability-frontend addons list [EEA Jenkins - [`ff8889c`](https://github.com/eea/volto-group-block/commit/ff8889cb7b0761b1df43b201984ce40b14e1561b)]
|
|
232
|
+
- Add Sonarqube tag using climate-energy-frontend addons list [EEA Jenkins - [`0375c28`](https://github.com/eea/volto-group-block/commit/0375c28ed1ffe9186a4790b454795c0ca8039f72)]
|
|
233
|
+
- Add Sonarqube tag using ims-frontend addons list [EEA Jenkins - [`c392190`](https://github.com/eea/volto-group-block/commit/c392190f044f5d9397bd2fb8c3d6a357f84960d0)]
|
|
234
|
+
- Add Sonarqube tag using frontend addons list [EEA Jenkins - [`9694501`](https://github.com/eea/volto-group-block/commit/9694501141e6780eba89464d36406e3c93629fd8)]
|
|
198
235
|
### [4.3.0](https://github.com/eea/volto-group-block/compare/4.2.3...4.3.0) - 24 June 2021
|
|
199
236
|
|
|
200
237
|
#### :hammer_and_wrench: Others
|
|
@@ -310,6 +347,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
310
347
|
- Release 1.0.0 [Alin Voinea - [`b6ef873`](https://github.com/eea/volto-group-block/commit/b6ef873cb6f61e17db66fdd4de1d9d4902a66fc6)]
|
|
311
348
|
- Update package meta info [Alin Voinea - [`143b7d4`](https://github.com/eea/volto-group-block/commit/143b7d44438d7afa5e346a9d21a85352df4e925f)]
|
|
312
349
|
- Add Jenkinkins pipeline [Alin Voinea - [`866a4e1`](https://github.com/eea/volto-group-block/commit/866a4e14ea1eb8f5adb01222e576e5ab6dc73a70)]
|
|
350
|
+
- yarn prettier [Alin Voinea - [`e3fe0a3`](https://github.com/eea/volto-group-block/commit/e3fe0a36b89878769341b45198d6c9e2f2584d15)]
|
|
313
351
|
### [0.1.3](https://github.com/eea/volto-group-block/compare/0.1.2...0.1.3) - 9 November 2020
|
|
314
352
|
|
|
315
353
|
#### :hammer_and_wrench: Others
|
|
@@ -349,4 +387,5 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
349
387
|
- Render meta block [Alin Voinea - [`0d44560`](https://github.com/eea/volto-group-block/commit/0d4456011ca56454068a54c610250b02df4ccb3b)]
|
|
350
388
|
- Implement meta block allowedBlocks settings [Alin Voinea - [`f24feb1`](https://github.com/eea/volto-group-block/commit/f24feb1a1751f04841c21c7cd52a517fb02074ba)]
|
|
351
389
|
- Edit meta block [Alin Voinea - [`236d291`](https://github.com/eea/volto-group-block/commit/236d29156fa835a7aa54eecdb4f120de0d64b271)]
|
|
390
|
+
- yarn bootstrap [Alin Voinea - [`e009dfb`](https://github.com/eea/volto-group-block/commit/e009dfb6b9b74d101a6722f0982a5359fc522b6b)]
|
|
352
391
|
- Initial commit [Alin Voinea - [`6a7b0de`](https://github.com/eea/volto-group-block/commit/6a7b0deb8f873d1462fd6a9c61edfc1562b3aace)]
|
|
@@ -11,12 +11,72 @@ msgstr ""
|
|
|
11
11
|
"Content-Transfer-Encoding: \n"
|
|
12
12
|
"Plural-Forms: \n"
|
|
13
13
|
|
|
14
|
+
#. Default: "Section (Group)"
|
|
15
|
+
#: index
|
|
16
|
+
msgid "Section (Group)"
|
|
17
|
+
msgstr "Abschnitt (Gruppe)"
|
|
18
|
+
|
|
19
|
+
#. Default: "Section (Group) settings"
|
|
20
|
+
#: components/manage/Blocks/Group/Edit
|
|
21
|
+
msgid "SectionGroupSettings"
|
|
22
|
+
msgstr "Abschnitt (Gruppe) Einstellungen"
|
|
23
|
+
|
|
24
|
+
#. Default: "Unknown Block {block}"
|
|
14
25
|
#: components/manage/Blocks/Group/EditBlockWrapper
|
|
15
|
-
# defaultMessage: Unknown Block {block}
|
|
16
26
|
msgid "Unknown Block"
|
|
27
|
+
msgstr "Unbekannter Block {block}"
|
|
28
|
+
|
|
29
|
+
#. Default: "Add block"
|
|
30
|
+
#: components/manage/Blocks/Group/EditBlockWrapper
|
|
31
|
+
msgid "addBlock"
|
|
32
|
+
msgstr "Block hinzufügen"
|
|
33
|
+
|
|
34
|
+
#. Default: "Select HTML5 element to be used for this block"
|
|
35
|
+
#: components/manage/Blocks/Group/EditSchema
|
|
36
|
+
msgid "asPropertyDescription"
|
|
37
|
+
msgstr "Wählen Sie das HTML5-Element, das für diesen Block verwendet werden soll"
|
|
38
|
+
|
|
39
|
+
#. Default: "HTML5 element"
|
|
40
|
+
#: components/manage/Blocks/Group/EditSchema
|
|
41
|
+
msgid "asPropertyTitle"
|
|
17
42
|
msgstr ""
|
|
18
43
|
|
|
44
|
+
#. Default: "delete"
|
|
19
45
|
#: components/manage/Blocks/Group/EditBlockWrapper
|
|
20
|
-
# defaultMessage: delete
|
|
21
46
|
msgid "delete"
|
|
22
|
-
msgstr ""
|
|
47
|
+
msgstr "Löschen"
|
|
48
|
+
|
|
49
|
+
#. Default: "Default"
|
|
50
|
+
#: components/manage/Blocks/Group/EditSchema
|
|
51
|
+
msgid "fieldsetDefaultTitle"
|
|
52
|
+
msgstr "Standard"
|
|
53
|
+
|
|
54
|
+
#. Default: "Remove block"
|
|
55
|
+
#: components/manage/Blocks/Group/EditBlockWrapper
|
|
56
|
+
msgid "removeBlock"
|
|
57
|
+
msgstr "Block entfernen"
|
|
58
|
+
|
|
59
|
+
#. Default: "Restricted block"
|
|
60
|
+
#: components/manage/Blocks/Group/EditSchema
|
|
61
|
+
msgid "restrictedBlockTitle"
|
|
62
|
+
msgstr "Eingeschränkter Block"
|
|
63
|
+
|
|
64
|
+
#. Default: "Section block"
|
|
65
|
+
#: components/manage/Blocks/Group/EditSchema
|
|
66
|
+
msgid "sectionBlock"
|
|
67
|
+
msgstr "Abschnittsblock"
|
|
68
|
+
|
|
69
|
+
#. Default: "Section"
|
|
70
|
+
#: components/manage/Blocks/Group/Edit
|
|
71
|
+
msgid "sectionTitle"
|
|
72
|
+
msgstr "Abschnitt"
|
|
73
|
+
|
|
74
|
+
#. Default: "Section friendly name"
|
|
75
|
+
#: components/manage/Blocks/Group/EditSchema
|
|
76
|
+
msgid "titlePropertyDescription"
|
|
77
|
+
msgstr "Kurzname für den Abschnitt"
|
|
78
|
+
|
|
79
|
+
#. Default: "Title"
|
|
80
|
+
#: components/manage/Blocks/Group/EditSchema
|
|
81
|
+
msgid "titlePropertyTitle"
|
|
82
|
+
msgstr "Titel"
|
|
@@ -11,12 +11,72 @@ msgstr ""
|
|
|
11
11
|
"Content-Transfer-Encoding: \n"
|
|
12
12
|
"Plural-Forms: \n"
|
|
13
13
|
|
|
14
|
+
#. Default: "Section (Group)"
|
|
15
|
+
#: index
|
|
16
|
+
msgid "Section (Group)"
|
|
17
|
+
msgstr ""
|
|
18
|
+
|
|
19
|
+
#. Default: "Section (Group) settings"
|
|
20
|
+
#: components/manage/Blocks/Group/Edit
|
|
21
|
+
msgid "SectionGroupSettings"
|
|
22
|
+
msgstr ""
|
|
23
|
+
|
|
24
|
+
#. Default: "Unknown Block {block}"
|
|
14
25
|
#: components/manage/Blocks/Group/EditBlockWrapper
|
|
15
|
-
# defaultMessage: Unknown Block {block}
|
|
16
26
|
msgid "Unknown Block"
|
|
17
27
|
msgstr ""
|
|
18
28
|
|
|
29
|
+
#. Default: "Add block"
|
|
30
|
+
#: components/manage/Blocks/Group/EditBlockWrapper
|
|
31
|
+
msgid "addBlock"
|
|
32
|
+
msgstr ""
|
|
33
|
+
|
|
34
|
+
#. Default: "Select HTML5 element to be used for this block"
|
|
35
|
+
#: components/manage/Blocks/Group/EditSchema
|
|
36
|
+
msgid "asPropertyDescription"
|
|
37
|
+
msgstr ""
|
|
38
|
+
|
|
39
|
+
#. Default: "HTML5 element"
|
|
40
|
+
#: components/manage/Blocks/Group/EditSchema
|
|
41
|
+
msgid "asPropertyTitle"
|
|
42
|
+
msgstr ""
|
|
43
|
+
|
|
44
|
+
#. Default: "delete"
|
|
19
45
|
#: components/manage/Blocks/Group/EditBlockWrapper
|
|
20
|
-
# defaultMessage: delete
|
|
21
46
|
msgid "delete"
|
|
22
47
|
msgstr ""
|
|
48
|
+
|
|
49
|
+
#. Default: "Default"
|
|
50
|
+
#: components/manage/Blocks/Group/EditSchema
|
|
51
|
+
msgid "fieldsetDefaultTitle"
|
|
52
|
+
msgstr ""
|
|
53
|
+
|
|
54
|
+
#. Default: "Remove block"
|
|
55
|
+
#: components/manage/Blocks/Group/EditBlockWrapper
|
|
56
|
+
msgid "removeBlock"
|
|
57
|
+
msgstr ""
|
|
58
|
+
|
|
59
|
+
#. Default: "Restricted block"
|
|
60
|
+
#: components/manage/Blocks/Group/EditSchema
|
|
61
|
+
msgid "restrictedBlockTitle"
|
|
62
|
+
msgstr ""
|
|
63
|
+
|
|
64
|
+
#. Default: "Section block"
|
|
65
|
+
#: components/manage/Blocks/Group/EditSchema
|
|
66
|
+
msgid "sectionBlock"
|
|
67
|
+
msgstr ""
|
|
68
|
+
|
|
69
|
+
#. Default: "Section"
|
|
70
|
+
#: components/manage/Blocks/Group/Edit
|
|
71
|
+
msgid "sectionTitle"
|
|
72
|
+
msgstr ""
|
|
73
|
+
|
|
74
|
+
#. Default: "Section friendly name"
|
|
75
|
+
#: components/manage/Blocks/Group/EditSchema
|
|
76
|
+
msgid "titlePropertyDescription"
|
|
77
|
+
msgstr ""
|
|
78
|
+
|
|
79
|
+
#. Default: "Title"
|
|
80
|
+
#: components/manage/Blocks/Group/EditSchema
|
|
81
|
+
msgid "titlePropertyTitle"
|
|
82
|
+
msgstr ""
|
|
@@ -11,12 +11,72 @@ msgstr ""
|
|
|
11
11
|
"Content-Transfer-Encoding: \n"
|
|
12
12
|
"Plural-Forms: \n"
|
|
13
13
|
|
|
14
|
+
#. Default: "Section (Group)"
|
|
15
|
+
#: index
|
|
16
|
+
msgid "Section (Group)"
|
|
17
|
+
msgstr ""
|
|
18
|
+
|
|
19
|
+
#. Default: "Section (Group) settings"
|
|
20
|
+
#: components/manage/Blocks/Group/Edit
|
|
21
|
+
msgid "SectionGroupSettings"
|
|
22
|
+
msgstr ""
|
|
23
|
+
|
|
24
|
+
#. Default: "Unknown Block {block}"
|
|
14
25
|
#: components/manage/Blocks/Group/EditBlockWrapper
|
|
15
|
-
# defaultMessage: Unknown Block {block}
|
|
16
26
|
msgid "Unknown Block"
|
|
17
27
|
msgstr ""
|
|
18
28
|
|
|
29
|
+
#. Default: "Add block"
|
|
30
|
+
#: components/manage/Blocks/Group/EditBlockWrapper
|
|
31
|
+
msgid "addBlock"
|
|
32
|
+
msgstr ""
|
|
33
|
+
|
|
34
|
+
#. Default: "Select HTML5 element to be used for this block"
|
|
35
|
+
#: components/manage/Blocks/Group/EditSchema
|
|
36
|
+
msgid "asPropertyDescription"
|
|
37
|
+
msgstr ""
|
|
38
|
+
|
|
39
|
+
#. Default: "HTML5 element"
|
|
40
|
+
#: components/manage/Blocks/Group/EditSchema
|
|
41
|
+
msgid "asPropertyTitle"
|
|
42
|
+
msgstr ""
|
|
43
|
+
|
|
44
|
+
#. Default: "delete"
|
|
19
45
|
#: components/manage/Blocks/Group/EditBlockWrapper
|
|
20
|
-
# defaultMessage: delete
|
|
21
46
|
msgid "delete"
|
|
22
47
|
msgstr ""
|
|
48
|
+
|
|
49
|
+
#. Default: "Default"
|
|
50
|
+
#: components/manage/Blocks/Group/EditSchema
|
|
51
|
+
msgid "fieldsetDefaultTitle"
|
|
52
|
+
msgstr ""
|
|
53
|
+
|
|
54
|
+
#. Default: "Remove block"
|
|
55
|
+
#: components/manage/Blocks/Group/EditBlockWrapper
|
|
56
|
+
msgid "removeBlock"
|
|
57
|
+
msgstr ""
|
|
58
|
+
|
|
59
|
+
#. Default: "Restricted block"
|
|
60
|
+
#: components/manage/Blocks/Group/EditSchema
|
|
61
|
+
msgid "restrictedBlockTitle"
|
|
62
|
+
msgstr ""
|
|
63
|
+
|
|
64
|
+
#. Default: "Section block"
|
|
65
|
+
#: components/manage/Blocks/Group/EditSchema
|
|
66
|
+
msgid "sectionBlock"
|
|
67
|
+
msgstr ""
|
|
68
|
+
|
|
69
|
+
#. Default: "Section"
|
|
70
|
+
#: components/manage/Blocks/Group/Edit
|
|
71
|
+
msgid "sectionTitle"
|
|
72
|
+
msgstr ""
|
|
73
|
+
|
|
74
|
+
#. Default: "Section friendly name"
|
|
75
|
+
#: components/manage/Blocks/Group/EditSchema
|
|
76
|
+
msgid "titlePropertyDescription"
|
|
77
|
+
msgstr ""
|
|
78
|
+
|
|
79
|
+
#. Default: "Title"
|
|
80
|
+
#: components/manage/Blocks/Group/EditSchema
|
|
81
|
+
msgid "titlePropertyTitle"
|
|
82
|
+
msgstr ""
|
|
@@ -11,12 +11,72 @@ msgstr ""
|
|
|
11
11
|
"Content-Transfer-Encoding: \n"
|
|
12
12
|
"Plural-Forms: \n"
|
|
13
13
|
|
|
14
|
+
#. Default: "Section (Group)"
|
|
15
|
+
#: index
|
|
16
|
+
msgid "Section (Group)"
|
|
17
|
+
msgstr ""
|
|
18
|
+
|
|
19
|
+
#. Default: "Section (Group) settings"
|
|
20
|
+
#: components/manage/Blocks/Group/Edit
|
|
21
|
+
msgid "SectionGroupSettings"
|
|
22
|
+
msgstr ""
|
|
23
|
+
|
|
24
|
+
#. Default: "Unknown Block {block}"
|
|
14
25
|
#: components/manage/Blocks/Group/EditBlockWrapper
|
|
15
|
-
# defaultMessage: Unknown Block {block}
|
|
16
26
|
msgid "Unknown Block"
|
|
17
27
|
msgstr ""
|
|
18
28
|
|
|
29
|
+
#. Default: "Add block"
|
|
30
|
+
#: components/manage/Blocks/Group/EditBlockWrapper
|
|
31
|
+
msgid "addBlock"
|
|
32
|
+
msgstr ""
|
|
33
|
+
|
|
34
|
+
#. Default: "Select HTML5 element to be used for this block"
|
|
35
|
+
#: components/manage/Blocks/Group/EditSchema
|
|
36
|
+
msgid "asPropertyDescription"
|
|
37
|
+
msgstr ""
|
|
38
|
+
|
|
39
|
+
#. Default: "HTML5 element"
|
|
40
|
+
#: components/manage/Blocks/Group/EditSchema
|
|
41
|
+
msgid "asPropertyTitle"
|
|
42
|
+
msgstr ""
|
|
43
|
+
|
|
44
|
+
#. Default: "delete"
|
|
19
45
|
#: components/manage/Blocks/Group/EditBlockWrapper
|
|
20
|
-
# defaultMessage: delete
|
|
21
46
|
msgid "delete"
|
|
22
47
|
msgstr ""
|
|
48
|
+
|
|
49
|
+
#. Default: "Default"
|
|
50
|
+
#: components/manage/Blocks/Group/EditSchema
|
|
51
|
+
msgid "fieldsetDefaultTitle"
|
|
52
|
+
msgstr ""
|
|
53
|
+
|
|
54
|
+
#. Default: "Remove block"
|
|
55
|
+
#: components/manage/Blocks/Group/EditBlockWrapper
|
|
56
|
+
msgid "removeBlock"
|
|
57
|
+
msgstr ""
|
|
58
|
+
|
|
59
|
+
#. Default: "Restricted block"
|
|
60
|
+
#: components/manage/Blocks/Group/EditSchema
|
|
61
|
+
msgid "restrictedBlockTitle"
|
|
62
|
+
msgstr ""
|
|
63
|
+
|
|
64
|
+
#. Default: "Section block"
|
|
65
|
+
#: components/manage/Blocks/Group/EditSchema
|
|
66
|
+
msgid "sectionBlock"
|
|
67
|
+
msgstr ""
|
|
68
|
+
|
|
69
|
+
#. Default: "Section"
|
|
70
|
+
#: components/manage/Blocks/Group/Edit
|
|
71
|
+
msgid "sectionTitle"
|
|
72
|
+
msgstr ""
|
|
73
|
+
|
|
74
|
+
#. Default: "Section friendly name"
|
|
75
|
+
#: components/manage/Blocks/Group/EditSchema
|
|
76
|
+
msgid "titlePropertyDescription"
|
|
77
|
+
msgstr ""
|
|
78
|
+
|
|
79
|
+
#. Default: "Title"
|
|
80
|
+
#: components/manage/Blocks/Group/EditSchema
|
|
81
|
+
msgid "titlePropertyTitle"
|
|
82
|
+
msgstr ""
|
package/locales/volto.pot
CHANGED
|
@@ -1,24 +1,84 @@
|
|
|
1
1
|
msgid ""
|
|
2
2
|
msgstr ""
|
|
3
3
|
"Project-Id-Version: Plone\n"
|
|
4
|
-
"POT-Creation-Date:
|
|
4
|
+
"POT-Creation-Date: 2025-01-14T10:28:22.719Z\n"
|
|
5
5
|
"Last-Translator: Plone i18n <plone-i18n@lists.sourceforge.net>\n"
|
|
6
6
|
"Language-Team: Plone i18n <plone-i18n@lists.sourceforge.net>\n"
|
|
7
|
-
"MIME-Version: 1.0\n"
|
|
8
7
|
"Content-Type: text/plain; charset=utf-8\n"
|
|
9
8
|
"Content-Transfer-Encoding: 8bit\n"
|
|
10
9
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
10
|
+
"MIME-Version: 1.0\n"
|
|
11
11
|
"Language-Code: en\n"
|
|
12
12
|
"Language-Name: English\n"
|
|
13
13
|
"Preferred-Encodings: utf-8\n"
|
|
14
14
|
"Domain: volto\n"
|
|
15
15
|
|
|
16
|
+
#. Default: "Section (Group)"
|
|
17
|
+
#: index
|
|
18
|
+
msgid "Section (Group)"
|
|
19
|
+
msgstr ""
|
|
20
|
+
|
|
21
|
+
#. Default: "Section (Group) settings"
|
|
22
|
+
#: components/manage/Blocks/Group/Edit
|
|
23
|
+
msgid "SectionGroupSettings"
|
|
24
|
+
msgstr ""
|
|
25
|
+
|
|
26
|
+
#. Default: "Unknown Block {block}"
|
|
16
27
|
#: components/manage/Blocks/Group/EditBlockWrapper
|
|
17
|
-
# defaultMessage: Unknown Block {block}
|
|
18
28
|
msgid "Unknown Block"
|
|
19
29
|
msgstr ""
|
|
20
30
|
|
|
31
|
+
#. Default: "Add block"
|
|
32
|
+
#: components/manage/Blocks/Group/EditBlockWrapper
|
|
33
|
+
msgid "addBlock"
|
|
34
|
+
msgstr ""
|
|
35
|
+
|
|
36
|
+
#. Default: "Select HTML5 element to be used for this block"
|
|
37
|
+
#: components/manage/Blocks/Group/EditSchema
|
|
38
|
+
msgid "asPropertyDescription"
|
|
39
|
+
msgstr ""
|
|
40
|
+
|
|
41
|
+
#. Default: "HTML5 element"
|
|
42
|
+
#: components/manage/Blocks/Group/EditSchema
|
|
43
|
+
msgid "asPropertyTitle"
|
|
44
|
+
msgstr ""
|
|
45
|
+
|
|
46
|
+
#. Default: "delete"
|
|
21
47
|
#: components/manage/Blocks/Group/EditBlockWrapper
|
|
22
|
-
# defaultMessage: delete
|
|
23
48
|
msgid "delete"
|
|
24
49
|
msgstr ""
|
|
50
|
+
|
|
51
|
+
#. Default: "Default"
|
|
52
|
+
#: components/manage/Blocks/Group/EditSchema
|
|
53
|
+
msgid "fieldsetDefaultTitle"
|
|
54
|
+
msgstr ""
|
|
55
|
+
|
|
56
|
+
#. Default: "Remove block"
|
|
57
|
+
#: components/manage/Blocks/Group/EditBlockWrapper
|
|
58
|
+
msgid "removeBlock"
|
|
59
|
+
msgstr ""
|
|
60
|
+
|
|
61
|
+
#. Default: "Restricted block"
|
|
62
|
+
#: components/manage/Blocks/Group/EditSchema
|
|
63
|
+
msgid "restrictedBlockTitle"
|
|
64
|
+
msgstr ""
|
|
65
|
+
|
|
66
|
+
#. Default: "Section block"
|
|
67
|
+
#: components/manage/Blocks/Group/EditSchema
|
|
68
|
+
msgid "sectionBlock"
|
|
69
|
+
msgstr ""
|
|
70
|
+
|
|
71
|
+
#. Default: "Section"
|
|
72
|
+
#: components/manage/Blocks/Group/Edit
|
|
73
|
+
msgid "sectionTitle"
|
|
74
|
+
msgstr ""
|
|
75
|
+
|
|
76
|
+
#. Default: "Section friendly name"
|
|
77
|
+
#: components/manage/Blocks/Group/EditSchema
|
|
78
|
+
msgid "titlePropertyDescription"
|
|
79
|
+
msgstr ""
|
|
80
|
+
|
|
81
|
+
#. Default: "Title"
|
|
82
|
+
#: components/manage/Blocks/Group/EditSchema
|
|
83
|
+
msgid "titlePropertyTitle"
|
|
84
|
+
msgstr ""
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eeacms/volto-group-block",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.1",
|
|
4
4
|
"description": "volto-group-block: Volto block to be used to group other blocks",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"author": "European Environment Agency: IDM2 A-Team",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
"@cypress/code-coverage": "^3.10.0",
|
|
23
23
|
"@plone/scripts": "*",
|
|
24
24
|
"babel-plugin-transform-class-properties": "^6.24.1",
|
|
25
|
+
"cypress": "13.1.0",
|
|
25
26
|
"dotenv": "^16.3.2",
|
|
26
27
|
"husky": "^8.0.3",
|
|
27
28
|
"lint-staged": "^14.0.1",
|
|
28
|
-
"md5": "^2.3.0"
|
|
29
|
-
"cypress": "13.1.0"
|
|
29
|
+
"md5": "^2.3.0"
|
|
30
30
|
},
|
|
31
31
|
"lint-staged": {
|
|
32
32
|
"src/**/*.{js,jsx,ts,tsx,json}": [
|
|
@@ -20,6 +20,19 @@ import EditSchema from './EditSchema';
|
|
|
20
20
|
|
|
21
21
|
import CounterComponent from './CounterComponent';
|
|
22
22
|
import './editor.less';
|
|
23
|
+
import { defineMessages, injectIntl } from 'react-intl';
|
|
24
|
+
import { compose } from 'redux';
|
|
25
|
+
|
|
26
|
+
const messages = defineMessages({
|
|
27
|
+
sectionGroupSettings: {
|
|
28
|
+
id: 'SectionGroupSettings',
|
|
29
|
+
defaultMessage: 'Section (Group) settings',
|
|
30
|
+
},
|
|
31
|
+
section: {
|
|
32
|
+
id: 'sectionTitle',
|
|
33
|
+
defaultMessage: 'Section',
|
|
34
|
+
},
|
|
35
|
+
});
|
|
23
36
|
|
|
24
37
|
const Edit = (props) => {
|
|
25
38
|
const { block, data, onChangeBlock, selected, formDescription } = props;
|
|
@@ -156,7 +169,7 @@ const Edit = (props) => {
|
|
|
156
169
|
}}
|
|
157
170
|
aria-hidden="true"
|
|
158
171
|
>
|
|
159
|
-
{data.title ||
|
|
172
|
+
{data.title || props.intl.formatMessage(messages.section)}
|
|
160
173
|
</legend>
|
|
161
174
|
<BodyComponent
|
|
162
175
|
{...props}
|
|
@@ -201,8 +214,8 @@ const Edit = (props) => {
|
|
|
201
214
|
)}
|
|
202
215
|
{!data?.readOnlySettings && (
|
|
203
216
|
<BlockDataForm
|
|
204
|
-
schema={EditSchema}
|
|
205
|
-
title=
|
|
217
|
+
schema={EditSchema(props.intl)}
|
|
218
|
+
title={props.intl.formatMessage(messages.sectionGroupSettings)}
|
|
206
219
|
formData={data}
|
|
207
220
|
onChangeField={(id, value) => {
|
|
208
221
|
props.onChangeBlock(props.block, {
|
|
@@ -226,4 +239,4 @@ Edit.propTypes = {
|
|
|
226
239
|
manage: PropTypes.bool.isRequired,
|
|
227
240
|
};
|
|
228
241
|
|
|
229
|
-
export default withBlockExtensions(Edit);
|
|
242
|
+
export default compose(injectIntl, withBlockExtensions)(Edit);
|
|
@@ -25,6 +25,14 @@ const messages = defineMessages({
|
|
|
25
25
|
id: 'delete',
|
|
26
26
|
defaultMessage: 'delete',
|
|
27
27
|
},
|
|
28
|
+
addBlock: {
|
|
29
|
+
id: 'addBlock',
|
|
30
|
+
defaultMessage: 'Add block',
|
|
31
|
+
},
|
|
32
|
+
removeBlock: {
|
|
33
|
+
id: 'removeBlock',
|
|
34
|
+
defaultMessage: 'Remove block',
|
|
35
|
+
},
|
|
28
36
|
});
|
|
29
37
|
|
|
30
38
|
class EditBlockWrapper extends React.Component {
|
|
@@ -131,7 +139,7 @@ class EditBlockWrapper extends React.Component {
|
|
|
131
139
|
<Button
|
|
132
140
|
icon
|
|
133
141
|
basic
|
|
134
|
-
title=
|
|
142
|
+
title={intl.formatMessage(messages.addBlock)}
|
|
135
143
|
onClick={() => {
|
|
136
144
|
this.setState((prevState) => ({
|
|
137
145
|
addNewBlockOpened: !prevState.addNewBlockOpened,
|
|
@@ -146,7 +154,7 @@ class EditBlockWrapper extends React.Component {
|
|
|
146
154
|
<Button
|
|
147
155
|
icon
|
|
148
156
|
basic
|
|
149
|
-
title=
|
|
157
|
+
title={intl.formatMessage(messages.removeBlock)}
|
|
150
158
|
onClick={() => onDeleteBlock(block)}
|
|
151
159
|
className="delete-button-group-block"
|
|
152
160
|
aria-label={intl.formatMessage(messages.delete)}
|
|
@@ -1,21 +1,54 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { defineMessages } from 'react-intl';
|
|
2
|
+
|
|
3
|
+
const messages = defineMessages({
|
|
4
|
+
sectionBlock: {
|
|
5
|
+
id: 'sectionBlock',
|
|
6
|
+
defaultMessage: 'Section block',
|
|
7
|
+
},
|
|
8
|
+
fieldsetDefaultTitle: {
|
|
9
|
+
id: 'fieldsetDefaultTitle',
|
|
10
|
+
defaultMessage: 'Default',
|
|
11
|
+
},
|
|
12
|
+
titlePropertyTitle: {
|
|
13
|
+
id: 'titlePropertyTitle',
|
|
14
|
+
defaultMessage: 'Title',
|
|
15
|
+
},
|
|
16
|
+
titlePropertyDescription: {
|
|
17
|
+
id: 'titlePropertyDescription',
|
|
18
|
+
defaultMessage: 'Section friendly name',
|
|
19
|
+
},
|
|
20
|
+
asPropertyTitle: {
|
|
21
|
+
id: 'asPropertyTitle',
|
|
22
|
+
defaultMessage: 'HTML5 element',
|
|
23
|
+
},
|
|
24
|
+
asPropertyDescription: {
|
|
25
|
+
id: 'asPropertyDescription',
|
|
26
|
+
defaultMessage: 'Select HTML5 element to be used for this block',
|
|
27
|
+
},
|
|
28
|
+
restrictedBlockTitle: {
|
|
29
|
+
id: 'restrictedBlockTitle',
|
|
30
|
+
defaultMessage: 'Restricted block',
|
|
31
|
+
},
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
const Schema = (intl) => ({
|
|
35
|
+
title: intl.formatMessage(messages.sectionBlock),
|
|
3
36
|
fieldsets: [
|
|
4
37
|
{
|
|
5
38
|
id: 'default',
|
|
6
|
-
title:
|
|
39
|
+
title: intl.formatMessage(messages.fieldsetDefaultTitle),
|
|
7
40
|
fields: ['title', 'as', 'restrictedBlock'],
|
|
8
41
|
},
|
|
9
42
|
],
|
|
10
43
|
properties: {
|
|
11
44
|
title: {
|
|
12
|
-
title:
|
|
13
|
-
description:
|
|
45
|
+
title: intl.formatMessage(messages.titlePropertyTitle),
|
|
46
|
+
description: intl.formatMessage(messages.titlePropertyDescription),
|
|
14
47
|
type: 'string',
|
|
15
48
|
},
|
|
16
49
|
as: {
|
|
17
|
-
title:
|
|
18
|
-
description:
|
|
50
|
+
title: intl.formatMessage(messages.asPropertyTitle),
|
|
51
|
+
description: intl.formatMessage(messages.asPropertyDescription),
|
|
19
52
|
type: 'string',
|
|
20
53
|
factory: 'Choice',
|
|
21
54
|
default: 'div',
|
|
@@ -28,11 +61,11 @@ const Schema = {
|
|
|
28
61
|
],
|
|
29
62
|
},
|
|
30
63
|
restrictedBlock: {
|
|
31
|
-
title:
|
|
64
|
+
title: intl.formatMessage(messages.restrictedBlockTitle),
|
|
32
65
|
type: 'boolean',
|
|
33
66
|
},
|
|
34
67
|
},
|
|
35
68
|
required: [],
|
|
36
|
-
};
|
|
69
|
+
});
|
|
37
70
|
|
|
38
71
|
export default Schema;
|
package/src/index.js
CHANGED
|
@@ -6,6 +6,14 @@ import {
|
|
|
6
6
|
GroupBlockDefaultBody,
|
|
7
7
|
} from './components';
|
|
8
8
|
import codeSVG from '@plone/volto/icons/row.svg';
|
|
9
|
+
import { defineMessages } from 'react-intl';
|
|
10
|
+
|
|
11
|
+
defineMessages({
|
|
12
|
+
sectionGroup: {
|
|
13
|
+
id: 'Section (Group)',
|
|
14
|
+
defaultMessage: 'Section (Group)',
|
|
15
|
+
},
|
|
16
|
+
});
|
|
9
17
|
|
|
10
18
|
const applyConfig = (config) => {
|
|
11
19
|
const choices = Object.keys(config.blocks.blocksConfig)
|