@eui/tools 6.2.7 → 6.2.8
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/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.2.
|
|
1
|
+
6.2.8
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## 6.2.8 (2022-11-11)
|
|
2
|
+
|
|
3
|
+
##### Chores
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* addition of locale config for new created remotes - apps MWP-9006 [MWP-9006](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-9006) ([7dbebf40](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/7dbebf401521f099a5d455bef5244d48b7950a4d))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
1
10
|
## 6.2.7 (2022-11-10)
|
|
2
11
|
|
|
3
12
|
##### Chores
|
package/package.json
CHANGED
|
@@ -11,6 +11,12 @@ export const GLOBAL: GlobalConfig = {
|
|
|
11
11
|
i18nFolders: ['i18n-eui', 'i18n'],
|
|
12
12
|
},
|
|
13
13
|
},
|
|
14
|
+
locale: {
|
|
15
|
+
id: 'en',
|
|
16
|
+
available: ['en', 'fr'],
|
|
17
|
+
bindWithTranslate: true,
|
|
18
|
+
affectGlobalLocale: true,
|
|
19
|
+
},
|
|
14
20
|
user: {
|
|
15
21
|
defaultUserPreferences: {
|
|
16
22
|
dashboard: { },
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GlobalConfig, I18nConfig } from '@eui/core';
|
|
1
|
+
import { GlobalConfig, I18nConfig, LocaleServiceConfig } from '@eui/core';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Internationalization Configuration
|
|
@@ -17,6 +17,16 @@ const i18nConfig: I18nConfig = {
|
|
|
17
17
|
},
|
|
18
18
|
};
|
|
19
19
|
|
|
20
|
+
/**
|
|
21
|
+
* Locale Configuration
|
|
22
|
+
*/
|
|
23
|
+
const localeConfig: LocaleServiceConfig = {
|
|
24
|
+
id: 'en',
|
|
25
|
+
available: ['en', 'fr'],
|
|
26
|
+
bindWithTranslate: true,
|
|
27
|
+
affectGlobalLocale: true,
|
|
28
|
+
};
|
|
29
|
+
|
|
20
30
|
/**
|
|
21
31
|
* Global Configuration
|
|
22
32
|
*/
|
|
@@ -28,4 +38,5 @@ export const GLOBAL: GlobalConfig = {
|
|
|
28
38
|
/* in case you are using NgRx give it a unique name (mostly for debugging) */
|
|
29
39
|
storeName: '@module.scope-name@',
|
|
30
40
|
i18n: i18nConfig,
|
|
41
|
+
locale: localeConfig,
|
|
31
42
|
};
|