@plone/volto 17.0.0-alpha.0 → 17.0.0-alpha.10

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.
Files changed (190) hide show
  1. package/.yarn/install-state.gz +0 -0
  2. package/CHANGELOG.md +451 -19
  3. package/CONTRIBUTING.md +1 -1
  4. package/README.md +12 -15
  5. package/addon-registry.js +34 -0
  6. package/create-theme-addons-loader.js +79 -0
  7. package/cypress/support/commands.js +25 -0
  8. package/locales/ca/LC_MESSAGES/volto.po +187 -6
  9. package/locales/ca.json +1 -1
  10. package/locales/de/LC_MESSAGES/volto.po +206 -25
  11. package/locales/de.json +1 -1
  12. package/locales/en/LC_MESSAGES/volto.po +186 -5
  13. package/locales/en.json +1 -1
  14. package/locales/es/LC_MESSAGES/volto.po +187 -6
  15. package/locales/es.json +1 -1
  16. package/locales/eu/LC_MESSAGES/volto.po +187 -6
  17. package/locales/eu.json +1 -1
  18. package/locales/fi/LC_MESSAGES/volto.po +4792 -0
  19. package/locales/fi.json +1 -1
  20. package/locales/fr/LC_MESSAGES/volto.po +187 -6
  21. package/locales/fr.json +1 -1
  22. package/locales/it/LC_MESSAGES/volto.po +187 -6
  23. package/locales/it.json +1 -1
  24. package/locales/ja/LC_MESSAGES/volto.po +187 -6
  25. package/locales/ja.json +1 -1
  26. package/locales/nl/LC_MESSAGES/volto.po +842 -649
  27. package/locales/nl.json +1 -1
  28. package/locales/pt/LC_MESSAGES/volto.po +187 -6
  29. package/locales/pt.json +1 -1
  30. package/locales/pt_BR/LC_MESSAGES/volto.po +195 -14
  31. package/locales/pt_BR.json +1 -1
  32. package/locales/ro/LC_MESSAGES/volto.po +187 -6
  33. package/locales/ro.json +1 -1
  34. package/locales/volto.pot +187 -6
  35. package/locales/zh_CN/LC_MESSAGES/volto.po +187 -6
  36. package/locales/zh_CN.json +1 -1
  37. package/package-why.json +0 -1
  38. package/package.json +9 -8
  39. package/packages/volto-slate/build/messages/src/blocks/Table/TableBlockEdit.json +1 -1
  40. package/packages/volto-slate/build/messages/src/blocks/Text/DefaultTextBlockEditor.json +1 -1
  41. package/packages/volto-slate/build/messages/src/blocks/Text/DetachedTextBlockEditor.json +1 -1
  42. package/packages/volto-slate/build/messages/src/blocks/Text/SlashMenu.json +1 -1
  43. package/packages/volto-slate/build/messages/src/editor/plugins/AdvancedLink/index.json +1 -1
  44. package/packages/volto-slate/build/messages/src/editor/plugins/Link/index.json +1 -1
  45. package/packages/volto-slate/build/messages/src/editor/plugins/Table/index.json +1 -1
  46. package/packages/volto-slate/build/messages/src/elementEditor/messages.json +1 -1
  47. package/packages/volto-slate/build/messages/src/widgets/HtmlSlateWidget.json +1 -1
  48. package/packages/volto-slate/build/messages/src/widgets/RichTextWidgetView.json +1 -1
  49. package/packages/volto-slate/package.json +1 -1
  50. package/packages/volto-slate/src/blocks/Table/TableBlockView.jsx +4 -4
  51. package/packages/volto-slate/src/blocks/Table/index.js +2 -0
  52. package/packages/volto-slate/src/blocks/Text/SlashMenu.jsx +4 -3
  53. package/packages/volto-slate/src/editor/deserialize.js +0 -1
  54. package/packages/volto-slate/src/editor/plugins/StyleMenu/StyleMenu.jsx +14 -4
  55. package/razzle.config.js +28 -0
  56. package/src/actions/index.js +6 -0
  57. package/src/actions/language/language.js +9 -8
  58. package/src/actions/querystringsearch/querystringsearch.js +20 -14
  59. package/src/actions/relations/rebuild.js +25 -0
  60. package/src/actions/relations/relations.js +86 -0
  61. package/src/actions/relations/relations.test.js +15 -0
  62. package/src/components/index.js +1 -0
  63. package/src/components/manage/Add/Add.jsx +2 -2
  64. package/src/components/manage/BlockChooser/BlockChooser.jsx +14 -5
  65. package/src/components/manage/BlockChooser/BlockChooser.test.jsx +5 -0
  66. package/src/components/manage/BlockChooser/BlockChooserButton.jsx +63 -29
  67. package/src/components/manage/BlockChooser/BlockChooserSearch.jsx +0 -1
  68. package/src/components/manage/Blocks/Listing/Edit.jsx +0 -19
  69. package/src/components/manage/Blocks/Listing/ListingBody.jsx +77 -61
  70. package/src/components/manage/Blocks/Listing/View.jsx +0 -4
  71. package/src/components/manage/Blocks/Listing/getAsyncData.js +10 -2
  72. package/src/components/manage/Blocks/Listing/withQuerystringResults.jsx +18 -13
  73. package/src/components/manage/Blocks/Search/SearchBlockEdit.jsx +5 -4
  74. package/src/components/manage/Blocks/Search/SearchBlockView.jsx +2 -1
  75. package/src/components/manage/Blocks/Search/components/DateRangeFacet.jsx +4 -1
  76. package/src/components/manage/Blocks/Search/components/Facets.jsx +58 -2
  77. package/src/components/manage/Blocks/Search/hocs/withSearch.jsx +24 -11
  78. package/src/components/manage/Blocks/Search/layout/LeftColumnFacets.jsx +17 -5
  79. package/src/components/manage/Blocks/Search/layout/RightColumnFacets.jsx +17 -5
  80. package/src/components/manage/Blocks/Search/layout/TopSideFacets.jsx +21 -5
  81. package/src/components/manage/Blocks/Search/schema.js +16 -1
  82. package/src/components/manage/Blocks/ToC/Edit.jsx +1 -0
  83. package/src/components/manage/Contents/Contents.jsx +69 -33
  84. package/src/components/manage/Contents/ContentsItem.jsx +6 -0
  85. package/src/components/manage/Controlpanels/AddonsControlpanel.jsx +3 -3
  86. package/src/components/manage/Controlpanels/Controlpanels.jsx +199 -224
  87. package/src/components/manage/Controlpanels/Controlpanels.test.jsx +46 -7
  88. package/src/components/manage/Controlpanels/Relations/BrokenRelations.jsx +66 -0
  89. package/src/components/manage/Controlpanels/Relations/Relations.jsx +114 -0
  90. package/src/components/manage/Controlpanels/Relations/RelationsListing.jsx +479 -0
  91. package/src/components/manage/Controlpanels/Relations/RelationsMatrix.jsx +531 -0
  92. package/src/components/manage/Controlpanels/Users/UserGroupMembershipControlPanel.jsx +3 -3
  93. package/src/components/manage/Controlpanels/Users/UserGroupMembershipListing.jsx +51 -82
  94. package/src/components/manage/Controlpanels/Users/UserGroupMembershipMatrix.jsx +79 -75
  95. package/src/components/manage/DragDropList/DragDropList.jsx +63 -42
  96. package/src/components/manage/Form/BlocksToolbar.jsx +5 -1
  97. package/src/components/manage/Form/Form.jsx +11 -5
  98. package/src/components/manage/Form/InlineForm.jsx +39 -9
  99. package/src/components/manage/Form/InlineFormState.js +8 -0
  100. package/src/components/manage/History/History.jsx +35 -18
  101. package/src/components/manage/Multilingual/CreateTranslation.jsx +2 -2
  102. package/src/components/manage/Multilingual/TranslationObject.jsx +4 -3
  103. package/src/components/manage/Preferences/ChangePassword.jsx +2 -2
  104. package/src/components/manage/Preferences/PersonalPreferences.jsx +2 -2
  105. package/src/components/manage/Toast/Toast.jsx +1 -1
  106. package/src/components/manage/Toolbar/Types.jsx +2 -2
  107. package/src/components/manage/Widgets/DatetimeWidget.jsx +9 -5
  108. package/src/components/manage/Widgets/ObjectListWidget.jsx +3 -8
  109. package/src/components/manage/Widgets/RecurrenceWidget/ByDayField.jsx +2 -1
  110. package/src/components/manage/Widgets/RecurrenceWidget/MonthOfTheYearField.jsx +2 -1
  111. package/src/components/manage/Widgets/RecurrenceWidget/Occurences.jsx +2 -1
  112. package/src/components/manage/Widgets/RecurrenceWidget/RecurrenceWidget.jsx +7 -2
  113. package/src/components/manage/Widgets/RecurrenceWidget/WeekdayOfTheMonthField.jsx +2 -1
  114. package/src/components/manage/Widgets/SelectUtils.js +1 -1
  115. package/src/components/manage/Widgets/SelectWidget.jsx +1 -1
  116. package/src/components/theme/Footer/Footer.jsx +2 -13
  117. package/src/components/theme/Header/Header.jsx +37 -63
  118. package/src/components/theme/Header/Header.test.jsx +18 -0
  119. package/src/components/theme/Icon/Icon.jsx +2 -2
  120. package/src/components/theme/LanguageSelector/LanguageSelector.js +8 -3
  121. package/src/components/theme/Login/Login.jsx +1 -0
  122. package/src/components/theme/Logo/Logo.jsx +2 -1
  123. package/src/components/theme/MultilingualRedirector/MultilingualRedirector.jsx +2 -2
  124. package/src/components/theme/Navigation/NavItem.jsx +4 -2
  125. package/src/components/theme/NotFound/NotFound.jsx +55 -41
  126. package/src/components/theme/PasswordReset/PasswordReset.jsx +7 -4
  127. package/src/components/theme/PasswordReset/RequestPasswordReset.jsx +1 -1
  128. package/src/components/theme/Sitemap/Sitemap.jsx +5 -3
  129. package/src/components/theme/View/DefaultView.jsx +1 -1
  130. package/src/components/theme/View/EventDatesInfo.jsx +2 -1
  131. package/src/components/theme/View/EventView.jsx +1 -1
  132. package/src/components/theme/View/NewsItemView.jsx +1 -1
  133. package/src/components/theme/View/RenderBlocks.jsx +7 -1
  134. package/src/components/theme/Widgets/DateWidget.jsx +2 -1
  135. package/src/components/theme/Widgets/DatetimeWidget.jsx +2 -1
  136. package/src/components/theme/Widgets/RelationsWidget.jsx +13 -11
  137. package/src/config/ControlPanels.js +2 -0
  138. package/src/config/Widgets.jsx +1 -0
  139. package/src/config/index.js +3 -0
  140. package/src/config/server.js +19 -0
  141. package/src/constants/ActionTypes.js +4 -0
  142. package/src/constants/Languages.js +8 -4
  143. package/src/express-middleware/devproxy.js +4 -2
  144. package/src/express-middleware/sitemap.js +36 -4
  145. package/src/express-middleware/static.js +32 -0
  146. package/src/helpers/Api/Api.js +1 -1
  147. package/src/helpers/FormValidation/FormValidation.js +11 -2
  148. package/src/helpers/FormValidation/FormValidation.test.js +73 -0
  149. package/src/helpers/Html/Html.jsx +3 -1
  150. package/src/helpers/Html/Html.test.jsx +5 -0
  151. package/src/helpers/MessageLabels/MessageLabels.js +72 -0
  152. package/src/helpers/Robots/Robots.js +24 -6
  153. package/src/helpers/Sitemap/Sitemap.js +44 -2
  154. package/src/helpers/Url/Url.js +27 -6
  155. package/src/helpers/Url/Url.test.js +26 -0
  156. package/src/helpers/Utils/Utils.js +38 -13
  157. package/src/helpers/Utils/Utils.test.js +4 -4
  158. package/src/helpers/index.js +7 -2
  159. package/src/hooks/userSession/useToken.js +5 -0
  160. package/src/middleware/Api.test.js +54 -0
  161. package/src/middleware/api.js +8 -4
  162. package/src/reducers/actions/actions.js +1 -1
  163. package/src/reducers/breadcrumbs/breadcrumbs.js +1 -1
  164. package/src/reducers/index.js +2 -0
  165. package/src/reducers/navigation/navigation.js +1 -1
  166. package/src/reducers/relations/relations.js +173 -0
  167. package/src/reducers/types/types.js +1 -1
  168. package/src/routes.js +5 -0
  169. package/src/server.jsx +29 -30
  170. package/src/start-server.js +4 -2
  171. package/test-setup-config.js +1 -0
  172. package/theme/themes/pastanaga/extras/blocks.less +0 -9
  173. package/theme/themes/pastanaga/extras/contents.less +1 -0
  174. package/theme/themes/pastanaga/extras/main.less +80 -1
  175. package/theme/themes/pastanaga/extras/search.less +6 -0
  176. package/theme/themes/pastanaga/extras/sidebar.less +4 -0
  177. package/theme/themes/pastanaga/extras/userscontrolpanel.less +99 -76
  178. package/.changelog.draft +0 -22
  179. package/.editorconfig +0 -36
  180. package/.storybook/main.js +0 -127
  181. package/.storybook/manager.js +0 -15
  182. package/.storybook/preview.js +0 -21
  183. package/.storybook/static/previewImage.svg +0 -48
  184. package/.yarnrc.yml +0 -5
  185. package/jsdoc.json +0 -16
  186. package/netlify.toml +0 -5
  187. package/pyvenv.cfg +0 -3
  188. package/share/man/man1/ttx.1 +0 -225
  189. package/src/components/theme/Header/Header.md +0 -27
  190. package/towncrier.toml +0 -33
package/README.md CHANGED
@@ -182,23 +182,20 @@ Please create a new [issue](https://github.com/plone/volto/issues/new) or [pull
182
182
 
183
183
  ## Documentation
184
184
 
185
- You can find the latest (in-progress) documentation in [https://6.dev-docs.plone.org/](https://6.dev-docs.plone.org/volto/index.html)
185
+ You can find the latest (in-progress) documentation in [https://6.docs.plone.org/](https://6.docs.plone.org/volto/index.html)
186
186
 
187
187
  ## Training
188
188
 
189
- On the [Plone Trainings Website](https://training.plone.org) you'll find
190
- Volto-dedicated open training materials, plus React and other
191
- JavaScript-centered trainings.
189
+ On the [Plone Training website](https://training.plone.org), you'll find Volto-dedicated training materials, plus other JavaScript-centered trainings.
192
190
 
193
- - [Mastering Plone 6 Development](https://training.plone.org/5/mastering-plone/)
191
+ - [Mastering Plone 6 Development](https://training.plone.org/mastering-plone/)
194
192
  The comprehensive training on Plone 6 with best practice tips for developers and integrators.
195
- - [Volto](https://training.plone.org/5/volto/index.html)
196
- A detailed training on how to create your own website using Volto frontend.
197
- - [Volto Hands-On](https://training.plone.org/5/voltohandson/index.html)
198
- - [Volto Add-ons Development](https://training.plone.org/5/voltoaddons/index.html)
199
- - [Plone Deployment](https://training.plone.org/5/plone-deployment/index.html)
200
- - [React](https://training.plone.org/5/react/index.html)
201
- - [JavaScript For Plone Developers](https://training.plone.org/5/javascript/index.html)
193
+ - [Volto Hands-On](https://training.plone.org/voltohandson/index.html)
194
+ - [Volto Add-ons Development](https://training.plone.org/voltoaddons/index.html)
195
+ - [Effective Volto](https://training.plone.org/effective-volto/index.html)
196
+ - [Plone Deployment](https://training.plone.org/plone-deployment/index.html)
197
+ - [Volto](https://2022.training.plone.org/volto/index.html) (archived)
198
+ - [JavaScript For Plone Developers](https://2022.training.plone.org/javascript/index.html) (archived)
202
199
 
203
200
  ## Talks
204
201
 
@@ -245,7 +242,7 @@ We do not guarantee that deprecated browsers (e.g., Internet Explorer 11) are su
245
242
 
246
243
  ## Upgrades
247
244
 
248
- You can find the upgrade guide here: https://6.dev-docs.plone.org/volto/upgrade-guide/index.html
245
+ You can find the upgrade guide here: https://6.docs.plone.org/volto/upgrade-guide/index.html
249
246
 
250
247
  ## Volto Development
251
248
 
@@ -320,11 +317,11 @@ yarn test
320
317
 
321
318
  Here you can find a guide on how acceptance testing is done in Volto:
322
319
 
323
- https://6.dev-docs.plone.org/volto/developer-guidelines/acceptance-tests.html
320
+ https://6.docs.plone.org/volto/developer-guidelines/acceptance-tests.html
324
321
 
325
322
  ## Translations
326
323
 
327
- If you would like contribute to translate Volto into several languages, please, read the [Internationalization (i18n) guide](https://6.dev-docs.plone.org/volto/recipes/i18n.html).
324
+ If you would like contribute to translate Volto into several languages, please, read the [Internationalization (i18n) guide](https://6.docs.plone.org/volto/recipes/i18n.html).
328
325
 
329
326
  ## Contributors
330
327
 
package/addon-registry.js CHANGED
@@ -130,6 +130,11 @@ class AddonConfigurationRegistry {
130
130
  this.packages = {};
131
131
  this.customizations = new Map();
132
132
 
133
+ // Theme from a package.json key, from volto.config.js or from an ENV VAR
134
+ // Programatically via volto.config.js wins or the ENV VAR if present
135
+ this.theme =
136
+ packageJson.theme || this.voltoConfigJS.theme || process.env.THEME;
137
+
133
138
  this.initDevelopmentPackages();
134
139
  this.initPublishedPackages();
135
140
  this.initAddonsFromEnvVar();
@@ -354,6 +359,35 @@ class AddonConfigurationRegistry {
354
359
  .filter((e) => e);
355
360
  }
356
361
 
362
+ getCustomThemeAddons() {
363
+ const customThemeAddonsInfo = {
364
+ variables: [],
365
+ main: [],
366
+ };
367
+
368
+ this.getAddonDependencies().forEach((addon) => {
369
+ const normalizedAddonName = addon.split(':')[0];
370
+ // We have two possible insertion points, variables and main
371
+
372
+ const customThemeVariables = `${this.packages[normalizedAddonName].modulePath}/theme/_variables.scss`;
373
+ const customThemeMain = `${this.packages[normalizedAddonName].modulePath}/theme/_main.scss`;
374
+ if (
375
+ fs.existsSync(customThemeVariables) &&
376
+ normalizedAddonName !== this.theme
377
+ ) {
378
+ customThemeAddonsInfo.variables.push(normalizedAddonName);
379
+ }
380
+ if (
381
+ fs.existsSync(customThemeMain) &&
382
+ normalizedAddonName !== this.theme
383
+ ) {
384
+ customThemeAddonsInfo.main.push(normalizedAddonName);
385
+ }
386
+ });
387
+
388
+ return customThemeAddonsInfo;
389
+ }
390
+
357
391
  /**
358
392
  * Returns a mapping name:diskpath to be uses in webpack's resolve aliases
359
393
  */
@@ -0,0 +1,79 @@
1
+ const path = require('path');
2
+ const fs = require('fs');
3
+ const tmp = require('tmp');
4
+ const cryptoRandomString = require('crypto-random-string');
5
+
6
+ const titleCase = (w) => w.slice(0, 1).toUpperCase() + w.slice(1, w.length);
7
+
8
+ /*
9
+ * Transforms a package name to javascript variable name
10
+ */
11
+ function nameFromPackage(name) {
12
+ name =
13
+ name.replace(/[@~./\\:\s]/gi, '') ||
14
+ cryptoRandomString({ length: 10, characters: 'abcdefghijk' });
15
+ return name
16
+ .split('-')
17
+ .map((w, i) => (i > 0 ? titleCase(w) : w))
18
+ .join('');
19
+ }
20
+
21
+ /*
22
+ * Creates a static file with code necessary to load the addons configuration
23
+ *
24
+ */
25
+ function getAddonsLoaderCode(name, customThemeAddons = []) {
26
+ let buf = `/*
27
+ This file is autogenerated. Don't change it directly.
28
+ Add a ./theme/_${name}.scss in your add-on to load your theme customizations in the current theme.
29
+ */
30
+
31
+ `;
32
+ customThemeAddons.forEach((addon) => {
33
+ const customization = `${addon}/theme/${name}`;
34
+ const line = `@import '${customization}';\n`;
35
+ buf += line;
36
+ });
37
+
38
+ return buf;
39
+ }
40
+
41
+ module.exports = ({ main, variables }) => {
42
+ // const addonsThemeLoaderVariablesPath = path.join(
43
+ // process.cwd(),
44
+ // 'src',
45
+ // '_variables.scss',
46
+ // );
47
+ // const addonsThemeLoaderMainPath = path.join(
48
+ // process.cwd(),
49
+ // 'src',
50
+ // '_main.scss',
51
+ // );
52
+
53
+ // const addonsThemeLoaderVariablesPath = path.join(
54
+ // process.cwd(),
55
+ // 'src',
56
+ // '_variables.scss',
57
+ // );
58
+ // const addonsThemeLoaderMainPath = path.join(
59
+ // process.cwd(),
60
+ // 'src',
61
+ // '_main.scss',
62
+ // );
63
+
64
+ const addonsThemeLoaderVariablesPath = tmp.tmpNameSync({ postfix: '.scss' });
65
+ const addonsThemeLoaderMainPath = tmp.tmpNameSync({ postfix: '.scss' });
66
+ fs.writeFileSync(
67
+ addonsThemeLoaderVariablesPath,
68
+ new Buffer.from(getAddonsLoaderCode('variables', variables)),
69
+ );
70
+ fs.writeFileSync(
71
+ addonsThemeLoaderMainPath,
72
+ new Buffer.from(getAddonsLoaderCode('main', main)),
73
+ );
74
+
75
+ return [addonsThemeLoaderVariablesPath, addonsThemeLoaderMainPath];
76
+ };
77
+
78
+ module.exports.getAddonsLoaderCode = getAddonsLoaderCode;
79
+ module.exports.nameFromPackage = nameFromPackage;
@@ -11,6 +11,11 @@ const PLONE_API_URL =
11
11
  const SLATE_SELECTOR = '.content-area .slate-editor [contenteditable=true]';
12
12
  const SLATE_TITLE_SELECTOR = '.block.inner.title [contenteditable="true"]';
13
13
 
14
+ const TABLE_SLATE_SELECTOR =
15
+ '.celled.fixed.table tbody tr:nth-child(1) td:first-child() [contenteditable="true"]';
16
+ const TABLE_HEAD_SLATE_SELECTOR =
17
+ '.celled.fixed.table thead tr th:first-child() [contenteditable="true"]';
18
+
14
19
  const ploneAuthObj = {
15
20
  user: ploneAuth[0],
16
21
  pass: ploneAuth[1],
@@ -824,3 +829,23 @@ Cypress.Commands.add('settings', (key, value) => {
824
829
  return cy.window().its('settings');
825
830
  });
826
831
  Cypress.Commands.add('getIfExists', getIfExists);
832
+
833
+ Cypress.Commands.add('getTableSlate', (header = false) => {
834
+ let slate;
835
+
836
+ cy.addNewBlock('table');
837
+ cy.wait(2000);
838
+
839
+ const selector = header ? TABLE_HEAD_SLATE_SELECTOR : TABLE_SLATE_SELECTOR;
840
+
841
+ cy.getIfExists(
842
+ selector,
843
+ () => {
844
+ slate = cy.get(selector).last();
845
+ },
846
+ () => {
847
+ slate = cy.get(selector, { timeout: 10000 }).last();
848
+ },
849
+ );
850
+ return slate;
851
+ });
@@ -93,7 +93,7 @@ msgid "Add (object list)"
93
93
  msgstr ""
94
94
 
95
95
  #: components/manage/Controlpanels/AddonsControlpanel
96
- # defaultMessage: To make new add-ons show up here, add them to your buildout configuration, run buildout, and restart the server process. For detailed instructions see
96
+ # defaultMessage: To make new add-ons show up here, add them to your configuration, build, and restart the server process. For detailed instructions see
97
97
  msgid "Add Addons"
98
98
  msgstr "Afegeix complements"
99
99
 
@@ -277,6 +277,16 @@ msgstr ""
277
277
  msgid "Addon upgraded succesfuly"
278
278
  msgstr ""
279
279
 
280
+ #: components/manage/Blocks/Search/schema
281
+ # defaultMessage: Advanced facet?
282
+ msgid "Advanced facet?"
283
+ msgstr ""
284
+
285
+ #: components/manage/Blocks/Search/schema
286
+ # defaultMessage: Advanced facets are initially hidden and displayed on demand
287
+ msgid "Advanced facets are initially hidden and displayed on demand"
288
+ msgstr ""
289
+
280
290
  #: config/Views
281
291
  # defaultMessage: Album view
282
292
  msgid "Album view"
@@ -464,6 +474,11 @@ msgstr "Tant l'adreça de correu electrònic com la contrasenya són sensibles a
464
474
  msgid "Breadcrumbs"
465
475
  msgstr "Barra de ruta"
466
476
 
477
+ #: components/manage/Controlpanels/Relations/BrokenRelations
478
+ # defaultMessage: Broken relations
479
+ msgid "Broken relations"
480
+ msgstr ""
481
+
467
482
  #: components/manage/Blocks/HeroImageLeft/Edit
468
483
  #: components/manage/Contents/ContentsUploadModal
469
484
  #: components/manage/Sidebar/ObjectBrowserNav
@@ -782,6 +797,11 @@ msgstr "Copyright"
782
797
  msgid "Copyright statement or other rights information on this item."
783
798
  msgstr "Declaració de drets d'autor o informació sobre altres drets sobre aquest article."
784
799
 
800
+ #: helpers/MessageLabels/MessageLabels
801
+ # defaultMessage: Create or delete relations to target
802
+ msgid "Create or delete relations to target"
803
+ msgstr ""
804
+
785
805
  #: components/manage/Toolbar/More
786
806
  # defaultMessage: Create working copy
787
807
  msgid "Create working copy"
@@ -1252,9 +1272,9 @@ msgstr ""
1252
1272
 
1253
1273
  #: components/manage/Preferences/ChangePassword
1254
1274
  #: components/theme/PasswordReset/PasswordReset
1255
- # defaultMessage: Enter your new password. Minimum 5 characters.
1256
- msgid "Enter your new password. Minimum 5 characters."
1257
- msgstr "Introduïu la vostra nova contrasenya. Mínim 5 caràcters."
1275
+ # defaultMessage: Enter your new password. Minimum 8 characters.
1276
+ msgid "Enter your new password. Minimum 8 characters."
1277
+ msgstr "Introduïu la vostra nova contrasenya. Mínim 8 caràcters."
1258
1278
 
1259
1279
  #: components/theme/PasswordReset/PasswordReset
1260
1280
  # defaultMessage: Enter your username for verification.
@@ -1401,6 +1421,11 @@ msgstr "Arxiu"
1401
1421
  msgid "Filename"
1402
1422
  msgstr "Nom de l'arxiu"
1403
1423
 
1424
+ #: helpers/MessageLabels/MessageLabels
1425
+ # defaultMessage: Filter
1426
+ msgid "Filter"
1427
+ msgstr ""
1428
+
1404
1429
  #: components/manage/Controlpanels/Rules/Rules
1405
1430
  # defaultMessage: Filter Rules:
1406
1431
  msgid "Filter Rules:"
@@ -1426,6 +1451,11 @@ msgstr "Filtra..."
1426
1451
  msgid "First"
1427
1452
  msgstr "Primer"
1428
1453
 
1454
+ #: helpers/MessageLabels/MessageLabels
1455
+ # defaultMessage: Fix relations
1456
+ msgid "Fix relations"
1457
+ msgstr ""
1458
+
1429
1459
  #: components/manage/Blocks/Table/Edit
1430
1460
  # defaultMessage: Fixed width columns
1431
1461
  msgid "Fixed width table cells"
@@ -1562,6 +1592,11 @@ msgstr "Amaga les respostes"
1562
1592
  msgid "Hide facet?"
1563
1593
  msgstr "Amagar la faceta?"
1564
1594
 
1595
+ #: components/manage/Blocks/Search/components/Facets
1596
+ # defaultMessage: Hide filters
1597
+ msgid "Hide filters"
1598
+ msgstr ""
1599
+
1565
1600
  #: components/manage/History/History
1566
1601
  #: components/manage/Toolbar/More
1567
1602
  # defaultMessage: History
@@ -1693,6 +1728,11 @@ msgstr "Insereix fila després"
1693
1728
  msgid "Insert row before"
1694
1729
  msgstr "Insereix fila abans"
1695
1730
 
1731
+ #: helpers/MessageLabels/MessageLabels
1732
+ # defaultMessage: Inspect relations
1733
+ msgid "Inspect relations"
1734
+ msgstr ""
1735
+
1696
1736
  #: components/manage/Controlpanels/AddonsControlpanel
1697
1737
  # defaultMessage: Install
1698
1738
  msgid "Install"
@@ -1853,6 +1893,11 @@ msgstr "Imatge Principal"
1853
1893
  msgid "Left"
1854
1894
  msgstr "A l'esquerra"
1855
1895
 
1896
+ #: components/manage/Blocks/Search/components/Facets
1897
+ # defaultMessage: Less filters
1898
+ msgid "Less filters"
1899
+ msgstr ""
1900
+
1856
1901
  #: components/manage/Toolbar/Toolbar
1857
1902
  # defaultMessage: Link
1858
1903
  msgid "Link"
@@ -1980,6 +2025,11 @@ msgstr ""
1980
2025
  msgid "Manually or automatically added?"
1981
2026
  msgstr ""
1982
2027
 
2028
+ #: helpers/MessageLabels/MessageLabels
2029
+ # defaultMessage: Many relations found. Please search.
2030
+ msgid "Many relations found. Please search."
2031
+ msgstr ""
2032
+
1983
2033
  #: components/manage/Blocks/Maps/MapsSidebar
1984
2034
  #: components/manage/Blocks/Maps/schema
1985
2035
  # defaultMessage: Maps
@@ -2057,6 +2107,11 @@ msgstr "Mensual"
2057
2107
  msgid "More"
2058
2108
  msgstr "Més"
2059
2109
 
2110
+ #: components/manage/Blocks/Search/components/Facets
2111
+ # defaultMessage: More filters
2112
+ msgid "More filters"
2113
+ msgstr ""
2114
+
2060
2115
  #: components/manage/Controlpanels/UpgradeControlPanel
2061
2116
  # defaultMessage: More information about the upgrade procedure can be found in the documentation section of plone.org in the Upgrade Guide.
2062
2117
  msgid "More information about the upgrade procedure can be found in the documentation section of plone.org in the Upgrade Guide."
@@ -2098,7 +2153,7 @@ msgid "My email is"
2098
2153
  msgstr ""
2099
2154
 
2100
2155
  #: components/theme/PasswordReset/PasswordReset
2101
- # defaultMessage: My username is
2156
+ # defaultMessage: My user name is
2102
2157
  msgid "My username is"
2103
2158
  msgstr "El meu nom d'usuari és"
2104
2159
 
@@ -2171,6 +2226,11 @@ msgstr ""
2171
2226
  msgid "No addons found"
2172
2227
  msgstr ""
2173
2228
 
2229
+ #: components/manage/Controlpanels/Relations/RelationsMatrix
2230
+ # defaultMessage: No broken relations found.
2231
+ msgid "No broken relations found."
2232
+ msgstr ""
2233
+
2174
2234
  #: components/theme/RequestTimeout/RequestTimeout
2175
2235
  # defaultMessage: There is no connection to the server, due to a timeout o no network connection.
2176
2236
  msgid "No connection to the server"
@@ -2224,6 +2284,11 @@ msgstr "No s'ha establert cap ocurrència"
2224
2284
  msgid "No options"
2225
2285
  msgstr "Sense opcions"
2226
2286
 
2287
+ #: helpers/MessageLabels/MessageLabels
2288
+ # defaultMessage: No relation found
2289
+ msgid "No relation found"
2290
+ msgstr ""
2291
+
2227
2292
  #: components/manage/BlockChooser/BlockChooser
2228
2293
  #: components/theme/Search/Search
2229
2294
  # defaultMessage: No results found
@@ -2444,6 +2509,11 @@ msgstr ""
2444
2509
  msgid "Please upgrade to plone.restapi >= 8.24.0."
2445
2510
  msgstr ""
2446
2511
 
2512
+ #: components/manage/Controlpanels/Relations/Relations
2513
+ # defaultMessage: Please upgrade to plone.restapi >= 8.35.3.
2514
+ msgid "Please upgrade to plone.restapi >= 8.35.3."
2515
+ msgstr ""
2516
+
2447
2517
  #: components/theme/Footer/Footer
2448
2518
  # defaultMessage: Plone Foundation
2449
2519
  msgid "Plone Foundation"
@@ -2538,6 +2608,11 @@ msgstr "Torneu a introduir la contrasenya. Assegureu-vos que les contrasenyes s
2538
2608
  msgid "Read More…"
2539
2609
  msgstr "Llegeix més…"
2540
2610
 
2611
+ #: components/manage/Controlpanels/Relations/RelationsListing
2612
+ # defaultMessage: Read only for this type of relation.
2613
+ msgid "Read only for this type of relation."
2614
+ msgstr ""
2615
+
2541
2616
  #: components/manage/Contents/Contents
2542
2617
  # defaultMessage: Rearrange items by…
2543
2618
  msgid "Rearrange items by…"
@@ -2580,6 +2655,29 @@ msgstr "Registrar-se"
2580
2655
  msgid "Registration form"
2581
2656
  msgstr "Formulari d'inscripció"
2582
2657
 
2658
+ #: components/manage/Controlpanels/Relations/RelationsMatrix
2659
+ #: helpers/MessageLabels/MessageLabels
2660
+ # defaultMessage: Relation
2661
+ msgid "Relation name"
2662
+ msgstr ""
2663
+
2664
+ #: components/manage/Controlpanels/Controlpanels
2665
+ #: components/manage/Controlpanels/Relations/Relations
2666
+ #: helpers/MessageLabels/MessageLabels
2667
+ # defaultMessage: Relations
2668
+ msgid "Relations"
2669
+ msgstr ""
2670
+
2671
+ #: components/manage/Controlpanels/Relations/RelationsListing
2672
+ # defaultMessage: Relations are editable with plone.api >= 2.0.3.
2673
+ msgid "Relations are editable with plone.api >= 2.0.3."
2674
+ msgstr ""
2675
+
2676
+ #: helpers/MessageLabels/MessageLabels
2677
+ # defaultMessage: Relations updated
2678
+ msgid "Relations updated"
2679
+ msgstr ""
2680
+
2583
2681
  #: components/theme/Search/Search
2584
2682
  # defaultMessage: Relevance
2585
2683
  msgid "Relevance"
@@ -2788,6 +2886,11 @@ msgstr "Desa"
2788
2886
  msgid "Saved"
2789
2887
  msgstr ""
2790
2888
 
2889
+ #: components/manage/Contents/ContentsItem
2890
+ # defaultMessage: Scheduled
2891
+ msgid "Scheduled"
2892
+ msgstr ""
2893
+
2791
2894
  #: components/manage/Controlpanels/ContentTypesActions
2792
2895
  # defaultMessage: Schema
2793
2896
  msgid "Schema"
@@ -2861,6 +2964,16 @@ msgstr "Resultats de la cerca"
2861
2964
  msgid "Search results for {term}"
2862
2965
  msgstr "Resultats de la cerca per a {term}"
2863
2966
 
2967
+ #: helpers/MessageLabels/MessageLabels
2968
+ # defaultMessage: Search sources by title or path
2969
+ msgid "Search sources by title or path"
2970
+ msgstr ""
2971
+
2972
+ #: helpers/MessageLabels/MessageLabels
2973
+ # defaultMessage: Search targets by title or path
2974
+ msgid "Search targets by title or path"
2975
+ msgstr ""
2976
+
2864
2977
  #: helpers/MessageLabels/MessageLabels
2865
2978
  # defaultMessage: Search users…
2866
2979
  msgid "Search users…"
@@ -2884,6 +2997,7 @@ msgstr "Títol de la secció"
2884
2997
  #: components/manage/Controlpanels/Aliases
2885
2998
  #: components/manage/Rules/Rules
2886
2999
  #: components/manage/Sidebar/ObjectBrowserNav
3000
+ #: helpers/MessageLabels/MessageLabels
2887
3001
  # defaultMessage: Select
2888
3002
  msgid "Select"
2889
3003
  msgstr "Seleccioneu"
@@ -2898,11 +3012,21 @@ msgstr "Seleccioneu una data per afegir a la recurrència"
2898
3012
  msgid "Select columns to show"
2899
3013
  msgstr "Seleccioneu les columnes per mostrar"
2900
3014
 
3015
+ #: helpers/MessageLabels/MessageLabels
3016
+ # defaultMessage: Select relation
3017
+ msgid "Select relation"
3018
+ msgstr ""
3019
+
2901
3020
  #: components/manage/Contents/ContentsWorkflowModal
2902
3021
  # defaultMessage: Select the transition to be used for modifying the items state.
2903
3022
  msgid "Select the transition to be used for modifying the items state."
2904
3023
  msgstr "Seleccioneu la transició que s'utilitzarà per modificar l'estat dels elements."
2905
3024
 
3025
+ #: helpers/MessageLabels/MessageLabels
3026
+ # defaultMessage: Selected
3027
+ msgid "Selected"
3028
+ msgstr ""
3029
+
2906
3030
  #: components/manage/Widgets/RecurrenceWidget/Occurences
2907
3031
  # defaultMessage: Selected dates
2908
3032
  msgid "Selected dates"
@@ -2997,6 +3121,11 @@ msgstr "Mostrar tots"
2997
3121
  msgid "Show Replies"
2998
3122
  msgstr "Mostra les respostes"
2999
3123
 
3124
+ #: components/manage/Blocks/Search/components/Facets
3125
+ # defaultMessage: Show filters
3126
+ msgid "Show filters"
3127
+ msgstr ""
3128
+
3000
3129
  #: helpers/MessageLabels/MessageLabels
3001
3130
  # defaultMessage: Show groups of users below
3002
3131
  msgid "Show groups of users below"
@@ -3007,6 +3136,16 @@ msgstr ""
3007
3136
  msgid "Show item"
3008
3137
  msgstr "Mostra l'element"
3009
3138
 
3139
+ #: components/manage/Controlpanels/Relations/RelationsMatrix
3140
+ # defaultMessage: Show potential sources. Not only objects that are source of some relation.
3141
+ msgid "Show potential sources. Not only objects that are source of some relation."
3142
+ msgstr ""
3143
+
3144
+ #: components/manage/Controlpanels/Relations/RelationsMatrix
3145
+ # defaultMessage: Show potential targets. Not only objects that are target of some relation.
3146
+ msgid "Show potential targets. Not only objects that are target of some relation."
3147
+ msgstr ""
3148
+
3010
3149
  #: components/manage/Blocks/Search/schema
3011
3150
  # defaultMessage: Show search button?
3012
3151
  msgid "Show search button?"
@@ -3074,6 +3213,11 @@ msgstr "Mida: {size}"
3074
3213
  msgid "Small"
3075
3214
  msgstr ""
3076
3215
 
3216
+ #: components/manage/Controlpanels/Relations/Relations
3217
+ # defaultMessage: Some relations are broken. Please fix.
3218
+ msgid "Some relations are broken. Please fix."
3219
+ msgstr ""
3220
+
3077
3221
  #: error
3078
3222
  # defaultMessage: Sorry, something went wrong with your request
3079
3223
  msgid "Sorry, something went wrong with your request"
@@ -3113,6 +3257,7 @@ msgstr ""
3113
3257
 
3114
3258
  #: components/manage/Blocks/HTML/Edit
3115
3259
  #: components/manage/Blocks/Image/schema
3260
+ #: components/manage/Controlpanels/Relations/RelationsMatrix
3116
3261
  # defaultMessage: Source
3117
3262
  msgid "Source"
3118
3263
  msgstr "Origen"
@@ -3256,6 +3401,7 @@ msgstr "Etiquetes per eliminar"
3256
3401
 
3257
3402
  #: components/manage/Blocks/Teaser/schema
3258
3403
  #: components/manage/Controlpanels/Aliases
3404
+ #: components/manage/Controlpanels/Relations/RelationsMatrix
3259
3405
  # defaultMessage: Target
3260
3406
  msgid "Target"
3261
3407
  msgstr ""
@@ -3476,6 +3622,11 @@ msgstr "Total d'objectes actius i no actius"
3476
3622
  msgid "Total comments"
3477
3623
  msgstr "Total de comentaris"
3478
3624
 
3625
+ #: components/manage/Contents/Contents
3626
+ # defaultMessage: Total items to be deleted:
3627
+ msgid "Total items to be deleted:"
3628
+ msgstr ""
3629
+
3479
3630
  #: components/manage/Controlpanels/DatabaseInformation
3480
3631
  # defaultMessage: Total number of objects in each cache
3481
3632
  msgid "Total number of objects in each cache"
@@ -3996,6 +4147,11 @@ msgstr "No podeu enganxar aquest contingut aquí"
3996
4147
  msgid "You have been logged out from the site."
3997
4148
  msgstr ""
3998
4149
 
4150
+ #: components/manage/Controlpanels/Relations/Relations
4151
+ # defaultMessage: You have not the required permission for this control panel.
4152
+ msgid "You have not the required permission for this control panel."
4153
+ msgstr ""
4154
+
3999
4155
  #: components/theme/PasswordReset/RequestPasswordReset
4000
4156
  # defaultMessage: Your email is required for reset your password.
4001
4157
  msgid "Your email is required for reset your password."
@@ -4147,6 +4303,11 @@ msgstr "quan"
4147
4303
  msgid "event_where"
4148
4304
  msgstr "On?"
4149
4305
 
4306
+ #: helpers/MessageLabels/MessageLabels
4307
+ # defaultMessage: flush intIds and rebuild relations
4308
+ msgid "flush intIds and rebuild relations"
4309
+ msgstr ""
4310
+
4150
4311
  #: components/manage/Blocks/Teaser/schema
4151
4312
  # defaultMessage: Head title
4152
4313
  msgid "head_title"
@@ -4188,7 +4349,7 @@ msgid "label_my_email_is"
4188
4349
  msgstr ""
4189
4350
 
4190
4351
  #: components/theme/PasswordReset/RequestPasswordReset
4191
- # defaultMessage: My username is
4352
+ # defaultMessage: My user name is
4192
4353
  msgid "label_my_username_is"
4193
4354
  msgstr "El meu nom d'usuari és"
4194
4355
 
@@ -4248,6 +4409,11 @@ msgstr "Inici de la gamma"
4248
4409
  msgid "mostUsed"
4249
4410
  msgstr "El més utilitzat"
4250
4411
 
4412
+ #: components/manage/Controlpanels/Relations/RelationsListing
4413
+ # defaultMessage: Found {sources} sources and {targets} targets. Narrow down to {max}!
4414
+ msgid "narrowDownRelations"
4415
+ msgstr ""
4416
+
4251
4417
  #: components/manage/Blocks/Search/components/DateRangeFacetFilterListEntry
4252
4418
  #: components/manage/Blocks/Search/components/ToggleFacetFilterListEntry
4253
4419
  #: components/theme/Widgets/BooleanWidget
@@ -4301,6 +4467,11 @@ msgstr "Publicat"
4301
4467
  msgid "querystring-widget-select"
4302
4468
  msgstr "Selecciona ..."
4303
4469
 
4470
+ #: helpers/MessageLabels/MessageLabels
4471
+ # defaultMessage: rebuild relations
4472
+ msgid "rebuild relations"
4473
+ msgstr ""
4474
+
4304
4475
  #: components/theme/Search/Search
4305
4476
  # defaultMessage: results
4306
4477
  msgid "results found"
@@ -4501,11 +4672,21 @@ msgstr "Saltar a la navegació"
4501
4672
  msgid "sort"
4502
4673
  msgstr "Ordena"
4503
4674
 
4675
+ #: helpers/MessageLabels/MessageLabels
4676
+ # defaultMessage: sources path
4677
+ msgid "sources path"
4678
+ msgstr ""
4679
+
4504
4680
  #: config/Blocks
4505
4681
  # defaultMessage: Table
4506
4682
  msgid "table"
4507
4683
  msgstr "Taula"
4508
4684
 
4685
+ #: helpers/MessageLabels/MessageLabels
4686
+ # defaultMessage: target path
4687
+ msgid "target path"
4688
+ msgstr ""
4689
+
4509
4690
  #: config/Blocks
4510
4691
  # defaultMessage: Text
4511
4692
  msgid "text"