@placeshakr/config 10.19.0-alpha.5 → 10.19.0-alpha.6

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
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [10.19.0-alpha.6](https://github.com/placeshaker/articho/compare/v10.19.0-alpha.5...v10.19.0-alpha.6) (2021-12-07)
7
+
8
+ **Note:** Version bump only for package @placeshakr/config
9
+
10
+
11
+
12
+
13
+
6
14
  # [10.19.0-alpha.5](https://github.com/placeshaker/articho/compare/v10.18.2...v10.19.0-alpha.5) (2021-12-06)
7
15
 
8
16
 
@@ -12,24 +20,30 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
12
20
  * medias translation ([#1719](https://github.com/placeshaker/articho/issues/1719)) ([ba3d777](https://github.com/placeshaker/articho/commit/ba3d777e438fb4f65e251a9f5d4a252bd1b70104)), closes [#1699](https://github.com/placeshaker/articho/issues/1699) [#1700](https://github.com/placeshaker/articho/issues/1700) [#1703](https://github.com/placeshaker/articho/issues/1703)
13
21
 
14
22
 
23
+ ### Features
15
24
 
25
+ * medias translation ([#1719](https://github.com/placeshaker/articho/issues/1719)) ([8129d51](https://github.com/placeshaker/articho/commit/8129d5182da3e6c5bdd55b21daf43729dfdc332d)), closes [#1699](https://github.com/placeshaker/articho/issues/1699) [#1700](https://github.com/placeshaker/articho/issues/1700) [#1703](https://github.com/placeshaker/articho/issues/1703)
16
26
 
17
27
 
18
28
  # [10.19.0-alpha.4](https://github.com/placeshaker/articho/compare/v10.19.0-alpha.3...v10.19.0-alpha.4) (2021-11-17)
19
29
 
20
- **Note:** Version bump only for package @placeshakr/config
21
30
 
22
31
 
32
+ # [10.19.0-alpha.0](https://github.com/placeshaker/articho/compare/v10.18.0...v10.19.0-alpha.0) (2021-11-16)
23
33
 
34
+ ### Features
24
35
 
36
+ - add documents feature translation ([#1718](https://github.com/placeshaker/articho/issues/1718)) ([ca68f9d](https://github.com/placeshaker/articho/commit/ca68f9de74d03ff22cadcdc4fc92ab1a91170c04)), closes [#1692](https://github.com/placeshaker/articho/issues/1692) [#1699](https://github.com/placeshaker/articho/issues/1699) [#1700](https://github.com/placeshaker/articho/issues/1700) [#1701](https://github.com/placeshaker/articho/issues/1701) [#1703](https://github.com/placeshaker/articho/issues/1703) [#1705](https://github.com/placeshaker/articho/issues/1705) [#1706](https://github.com/placeshaker/articho/issues/1706) [#1687](https://github.com/placeshaker/articho/issues/1687) [#1687](https://github.com/placeshaker/articho/issues/1687) [#1720](https://github.com/placeshaker/articho/issues/1720)
25
37
 
26
38
  # [10.19.0-alpha.1](https://github.com/placeshaker/articho/compare/v10.19.0-alpha.0...v10.19.0-alpha.1) (2021-11-16)
27
39
 
40
+ ## [10.17.2-alpha.0](https://github.com/placeshaker/articho/compare/v10.17.1...v10.17.2-alpha.0) (2021-11-02)
28
41
 
29
42
  ### Features
30
43
 
31
44
  * medias translation ([#1719](https://github.com/placeshaker/articho/issues/1719)) ([8129d51](https://github.com/placeshaker/articho/commit/8129d5182da3e6c5bdd55b21daf43729dfdc332d)), closes [#1699](https://github.com/placeshaker/articho/issues/1699) [#1700](https://github.com/placeshaker/articho/issues/1700) [#1703](https://github.com/placeshaker/articho/issues/1703)
32
45
 
46
+ **Note:** Version bump only for package @placeshakr/config
33
47
 
34
48
 
35
49
 
@@ -2,6 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ var reactI18next = require('react-i18next');
6
+
5
7
  (function (ROLE) {
6
8
  ROLE["CLIENT"] = "client";
7
9
  ROLE["SELLER"] = "seller";
@@ -889,7 +891,13 @@ var getPath = function getPath(path, params) {
889
891
  * @param envName
890
892
  * @param params
891
893
  */
894
+
892
895
  var createProducts = function createProducts(params) {
896
+ var _useTranslation = reactI18next.useTranslation('homepage', {
897
+ useSuspense: false
898
+ }),
899
+ t = _useTranslation.t;
900
+
893
901
  var products = {
894
902
  standard: {
895
903
  id: params.standard.id,
@@ -897,9 +905,9 @@ var createProducts = function createProducts(params) {
897
905
  product: {
898
906
  price: 6900,
899
907
  active: true,
900
- description: 'Pour les entreprises unipersonnelles',
908
+ description: t('homepage-card-standard-text'),
901
909
  id: params.plus.id,
902
- name: 'Standard',
910
+ name: t('homepage-card-standard-title'),
903
911
  type: 'service',
904
912
  main: true,
905
913
  rating: 1,
@@ -920,9 +928,9 @@ var createProducts = function createProducts(params) {
920
928
  internal: 'plus',
921
929
  product: {
922
930
  active: true,
923
- description: 'Idéal pour les agences et les entreprises de plus grande taille',
931
+ description: t('homepage-card-plus-text'),
924
932
  id: params.plus.id,
925
- name: 'Plus',
933
+ name: t('homepage-card-plus-title'),
926
934
  type: 'service',
927
935
  rating: 2,
928
936
  main: true,
@@ -945,9 +953,9 @@ var createProducts = function createProducts(params) {
945
953
  internal: 'premium',
946
954
  product: {
947
955
  active: true,
948
- description: 'Pour les grandes entreprises qui cherchent des outils administratifs poussés',
956
+ description: t('homepage-card-premium-title'),
949
957
  id: params.premium.id,
950
- name: 'Premium',
958
+ name: t('homepage-card-premium-text'),
951
959
  type: 'service',
952
960
  isDefault: true,
953
961
  main: true,
@@ -1535,6 +1543,9 @@ var NomenclaturesIdentifier;
1535
1543
  NomenclaturesIdentifier["OPERATIONS_SECTOR"] = "OPERATIONS_SECTOR";
1536
1544
  NomenclaturesIdentifier["OPERATIONS_PIECE"] = "OPERATIONS_PIECE";
1537
1545
  NomenclaturesIdentifier["OPERATIONS_LOT"] = "OPERATIONS_LOT";
1546
+ NomenclaturesIdentifier["EVENTS_TYPES"] = "EVENTS_TYPES";
1547
+ NomenclaturesIdentifier["PROJECTS_CATEGORY"] = "PROJECTS_CATEGORY";
1548
+ NomenclaturesIdentifier["TVA"] = "TVA";
1538
1549
  })(NomenclaturesIdentifier || (NomenclaturesIdentifier = {}));
1539
1550
 
1540
1551
  var OperationQuantityEnum;