@eui/tools 6.11.10 → 6.11.11

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.
@@ -1 +1 @@
1
- 6.11.10
1
+ 6.11.11
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 6.11.11 (2023-04-20)
2
+
3
+ ##### Bug Fixes
4
+
5
+ * **other:**
6
+ * translation scopes on eUI libs not having i18n-eui set - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([dd132fcf](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/dd132fcfa2f8d0fc051746b42196919f0096982e))
7
+
8
+ * * *
9
+ * * *
1
10
  ## 6.11.10 (2023-04-19)
2
11
 
3
12
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.11.10",
3
+ "version": "6.11.11",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -100,7 +100,13 @@ module.exports.generate = (inputScopes = '', inputPkg) => {
100
100
  tools.logInfo(`${file} found...adding`);
101
101
  addTranslation(file, lang)
102
102
  } else {
103
- tools.logInfo(`${file} not found...skipping`);
103
+ file = path.join(pkg.folder, `assets/i18n/${lang}.json`);
104
+ if (tools.isFileExists(file)) {
105
+ tools.logInfo(`${file} found...adding`);
106
+ addTranslation(file, lang)
107
+ } else {
108
+ tools.logInfo(`${file} not found...skipping`);
109
+ }
104
110
  }
105
111
  });
106
112