@eeacms/volto-cca-policy 0.1.1 → 0.1.2

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 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
+ ### [0.1.2](https://github.com/eea/volto-cca-policy/compare/0.1.1...0.1.2) - 16 December 2022
8
+
9
+ #### :hammer_and_wrench: Others
10
+
11
+ - Refs #158294 - Update supported languages list. [GhitaB - [`0a4f91f`](https://github.com/eea/volto-cca-policy/commit/0a4f91f39b7edc367bd4c127d6a8f273c7788361)]
12
+ - Add Sonarqube tag using cca-frontend addons list [EEA Jenkins - [`8f1f9ce`](https://github.com/eea/volto-cca-policy/commit/8f1f9ce6c22805670cc0800d3c779b6d619d0f31)]
7
13
  ### [0.1.1](https://github.com/eea/volto-cca-policy/compare/0.1.0...0.1.1) - 13 December 2022
8
14
 
9
15
  #### :hammer_and_wrench: Others
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-cca-policy",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "@eeacms/volto-cca-policy: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
package/src/index.js CHANGED
@@ -3,9 +3,10 @@ const applyConfig = (config) => {
3
3
  config.settings.isMultilingual = true;
4
4
  config.settings.defaultLanguage =
5
5
  config.settings.eea?.defaultLanguage || 'en';
6
- config.settings.supportedLanguages = config.settings.eea?.languages?.map(
7
- (item) => item.code,
8
- ) || ['en'];
6
+ // config.settings.supportedLanguages = config.settings.eea?.languages?.map(
7
+ // (item) => item.code,
8
+ // ) || ['en'];
9
+ config.settings.supportedLanguages = ['en', 'de', 'es', 'fr', 'it', 'ro'];
9
10
 
10
11
  return config;
11
12
  };