@commercetools-frontend-extensions/export-resources-modal 0.0.0-canary-20240624112253 → 0.0.0-canary-20240703150208

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 (29) hide show
  1. package/dist/commercetools-frontend-extensions-export-resources-modal.cjs.dev.js +88 -76
  2. package/dist/commercetools-frontend-extensions-export-resources-modal.cjs.prod.js +85 -73
  3. package/dist/commercetools-frontend-extensions-export-resources-modal.esm.js +87 -75
  4. package/dist/{de-d2b26aa9.cjs.dev.js → de-2a6234a5.cjs.dev.js} +22 -30
  5. package/dist/{de-d3199184.cjs.prod.js → de-4316954a.cjs.prod.js} +22 -30
  6. package/dist/{de-39735288.esm.js → de-9c23a6d0.esm.js} +22 -30
  7. package/dist/declarations/src/@constants/exportable-resources.d.ts +1 -0
  8. package/dist/declarations/src/@constants/index.d.ts +1 -0
  9. package/dist/declarations/src/@constants/resource-type-messages.d.ts +2 -0
  10. package/dist/declarations/src/@constants/urls.d.ts +2 -3
  11. package/dist/declarations/src/@types/export-resources-modal-shape.d.ts +4 -4
  12. package/dist/declarations/src/@types/index.d.ts +1 -0
  13. package/dist/declarations/src/@types/resource-type.d.ts +7 -0
  14. package/dist/{en-d27c9cc6.cjs.dev.js → en-3ff78dd6.cjs.prod.js} +22 -30
  15. package/dist/{en-9154a09c.cjs.prod.js → en-824a97a4.cjs.dev.js} +22 -30
  16. package/dist/{en-e9679129.esm.js → en-918b9076.esm.js} +22 -30
  17. package/dist/{es-8a6a2dee.cjs.dev.js → es-2adfbcfc.cjs.dev.js} +24 -32
  18. package/dist/{es-9dd22c84.esm.js → es-96a36990.esm.js} +24 -32
  19. package/dist/{es-85b30e13.cjs.prod.js → es-b80ca82c.cjs.prod.js} +24 -32
  20. package/dist/{fr-FR-832b636d.cjs.prod.js → fr-FR-6c989046.cjs.prod.js} +24 -32
  21. package/dist/{fr-FR-2f22db42.esm.js → fr-FR-8589dc5c.esm.js} +24 -32
  22. package/dist/{fr-FR-75b735ea.cjs.dev.js → fr-FR-d36cb786.cjs.dev.js} +24 -32
  23. package/dist/{pt-BR-f1e9f28a.cjs.dev.js → pt-BR-6dc77a9e.cjs.dev.js} +23 -31
  24. package/dist/{pt-BR-62408d52.esm.js → pt-BR-aef7dfa4.esm.js} +23 -31
  25. package/dist/{pt-BR-11e4c627.cjs.prod.js → pt-BR-b8807555.cjs.prod.js} +23 -31
  26. package/dist/{zh-CN-896408dc.cjs.dev.js → zh-CN-086bca26.cjs.dev.js} +23 -31
  27. package/dist/{zh-CN-35db5160.esm.js → zh-CN-b9eaf9b3.esm.js} +23 -31
  28. package/dist/{zh-CN-42d4a424.cjs.prod.js → zh-CN-e961895b.cjs.prod.js} +23 -31
  29. package/package.json +15 -15
@@ -13,26 +13,10 @@ var de = {
13
13
  developer_comment: "Label for \"Continue\" button",
14
14
  string: "Weiter"
15
15
  },
16
- "ExportResourcesModal.exportAllMessage": {
17
- developer_comment: "All resources will be exported",
18
- string: "Alle <b>{count}</b> {resourceType} werden exportiert."
19
- },
20
- "ExportResourcesModal.exportAllResources": {
21
- developer_comment: "Export All selection",
22
- string: "Alle {resourceType} ({count}) exportieren"
23
- },
24
16
  "ExportResourcesModal.exportBasedOnMyViewsMessage": {
25
17
  developer_comment: "Select Export setttings based on my views",
26
18
  string: "Wählen Sie Exporteinstellungen basierend auf:"
27
19
  },
28
- "ExportResourcesModal.exportMatchingMessage": {
29
- developer_comment: "resources will be exported",
30
- string: "<b>{count}</b> {resourceType} wird exportiert."
31
- },
32
- "ExportResourcesModal.exportOnlySelectedResources": {
33
- developer_comment: "Export only selected resources",
34
- string: "Ausgewählte {resourceType} exportieren ({count})"
35
- },
36
20
  "ExportResourcesModal.exportOperationSuccessMessage": {
37
21
  developer_comment: "Success message",
38
22
  string: "<b>Der Export hat begonnen.</b> <newline></newline><logsLink>Gehen Sie zu Exportprotokolle</logsLink>, um den Fortschritt zu überprüfen und die Datei herunterzuladen."
@@ -41,25 +25,29 @@ var de = {
41
25
  developer_comment: "Label for Export Scope",
42
26
  string: "Scope"
43
27
  },
44
- "ExportResourcesModal.exportScopeAll": {
45
- developer_comment: "Label for Export All",
28
+ "ExportResourcesModal.exportScopeAllCategories": {
29
+ developer_comment: "Label for Export All categories",
46
30
  string: "Export all: {total} categories"
47
31
  },
48
- "ExportResourcesModal.exportScopeSelected": {
49
- developer_comment: "Label for Export Selected",
50
- string: "Export selected{total, select, 0 {} other {: {total} categories}}"
32
+ "ExportResourcesModal.exportScopeAllProducts": {
33
+ developer_comment: "Label for Export All products",
34
+ string: "Export all: {total} products"
35
+ },
36
+ "ExportResourcesModal.exportScopeSelectedCategories": {
37
+ developer_comment: "Label for Export Selected categories",
38
+ string: "Export selected: {total} categories"
51
39
  },
52
- "ExportResourcesModal.exportSelectedMessage": {
53
- developer_comment: "resources are selected and will be exported",
54
- string: "<b>{count}</b> {resourceType} werden ausgewählt und exportiert."
40
+ "ExportResourcesModal.exportScopeSelectedProducts": {
41
+ developer_comment: "Label for Export Selected products",
42
+ string: "Export selected: {total} products"
55
43
  },
56
- "ExportResourcesModal.exportSelection": {
57
- developer_comment: "Export selection",
44
+ "ExportResourcesModal.exportScopeSelectedWithoutCount": {
45
+ developer_comment: "Label for Export Selected without count",
58
46
  string: "Auswahl exportieren"
59
47
  },
60
48
  "ExportResourcesModal.exportSettings": {
61
49
  developer_comment: "Label for Export Settings",
62
- string: "Settings"
50
+ string: "Einstellungen"
63
51
  },
64
52
  "ExportResourcesModal.fieldDefinitions": {
65
53
  developer_comment: "Label for \"Field definitions\" link",
@@ -85,9 +73,13 @@ var de = {
85
73
  developer_comment: "Error when no locale is selected",
86
74
  string: "Bitte wählen Sie mindestens ein Gebietsschema aus"
87
75
  },
88
- "ExportResourcesModal.modalTitle": {
89
- developer_comment: "Label for the modal title",
90
- string: "{resourceType} exportieren"
76
+ "ExportResourcesModal.modalTitle.category": {
77
+ developer_comment: "Label for the categories modal title",
78
+ string: "Export categories"
79
+ },
80
+ "ExportResourcesModal.modalTitle.product": {
81
+ developer_comment: "Label for the products modal title",
82
+ string: "Export products"
91
83
  },
92
84
  "ExportResourcesModal.myViews": {
93
85
  developer_comment: "Label for \"My Views\" Select Field",
@@ -13,26 +13,10 @@ var de = {
13
13
  developer_comment: "Label for \"Continue\" button",
14
14
  string: "Weiter"
15
15
  },
16
- "ExportResourcesModal.exportAllMessage": {
17
- developer_comment: "All resources will be exported",
18
- string: "Alle <b>{count}</b> {resourceType} werden exportiert."
19
- },
20
- "ExportResourcesModal.exportAllResources": {
21
- developer_comment: "Export All selection",
22
- string: "Alle {resourceType} ({count}) exportieren"
23
- },
24
16
  "ExportResourcesModal.exportBasedOnMyViewsMessage": {
25
17
  developer_comment: "Select Export setttings based on my views",
26
18
  string: "Wählen Sie Exporteinstellungen basierend auf:"
27
19
  },
28
- "ExportResourcesModal.exportMatchingMessage": {
29
- developer_comment: "resources will be exported",
30
- string: "<b>{count}</b> {resourceType} wird exportiert."
31
- },
32
- "ExportResourcesModal.exportOnlySelectedResources": {
33
- developer_comment: "Export only selected resources",
34
- string: "Ausgewählte {resourceType} exportieren ({count})"
35
- },
36
20
  "ExportResourcesModal.exportOperationSuccessMessage": {
37
21
  developer_comment: "Success message",
38
22
  string: "<b>Der Export hat begonnen.</b> <newline></newline><logsLink>Gehen Sie zu Exportprotokolle</logsLink>, um den Fortschritt zu überprüfen und die Datei herunterzuladen."
@@ -41,25 +25,29 @@ var de = {
41
25
  developer_comment: "Label for Export Scope",
42
26
  string: "Scope"
43
27
  },
44
- "ExportResourcesModal.exportScopeAll": {
45
- developer_comment: "Label for Export All",
28
+ "ExportResourcesModal.exportScopeAllCategories": {
29
+ developer_comment: "Label for Export All categories",
46
30
  string: "Export all: {total} categories"
47
31
  },
48
- "ExportResourcesModal.exportScopeSelected": {
49
- developer_comment: "Label for Export Selected",
50
- string: "Export selected{total, select, 0 {} other {: {total} categories}}"
32
+ "ExportResourcesModal.exportScopeAllProducts": {
33
+ developer_comment: "Label for Export All products",
34
+ string: "Export all: {total} products"
35
+ },
36
+ "ExportResourcesModal.exportScopeSelectedCategories": {
37
+ developer_comment: "Label for Export Selected categories",
38
+ string: "Export selected: {total} categories"
51
39
  },
52
- "ExportResourcesModal.exportSelectedMessage": {
53
- developer_comment: "resources are selected and will be exported",
54
- string: "<b>{count}</b> {resourceType} werden ausgewählt und exportiert."
40
+ "ExportResourcesModal.exportScopeSelectedProducts": {
41
+ developer_comment: "Label for Export Selected products",
42
+ string: "Export selected: {total} products"
55
43
  },
56
- "ExportResourcesModal.exportSelection": {
57
- developer_comment: "Export selection",
44
+ "ExportResourcesModal.exportScopeSelectedWithoutCount": {
45
+ developer_comment: "Label for Export Selected without count",
58
46
  string: "Auswahl exportieren"
59
47
  },
60
48
  "ExportResourcesModal.exportSettings": {
61
49
  developer_comment: "Label for Export Settings",
62
- string: "Settings"
50
+ string: "Einstellungen"
63
51
  },
64
52
  "ExportResourcesModal.fieldDefinitions": {
65
53
  developer_comment: "Label for \"Field definitions\" link",
@@ -85,9 +73,13 @@ var de = {
85
73
  developer_comment: "Error when no locale is selected",
86
74
  string: "Bitte wählen Sie mindestens ein Gebietsschema aus"
87
75
  },
88
- "ExportResourcesModal.modalTitle": {
89
- developer_comment: "Label for the modal title",
90
- string: "{resourceType} exportieren"
76
+ "ExportResourcesModal.modalTitle.category": {
77
+ developer_comment: "Label for the categories modal title",
78
+ string: "Export categories"
79
+ },
80
+ "ExportResourcesModal.modalTitle.product": {
81
+ developer_comment: "Label for the products modal title",
82
+ string: "Export products"
91
83
  },
92
84
  "ExportResourcesModal.myViews": {
93
85
  developer_comment: "Label for \"My Views\" Select Field",
@@ -11,26 +11,10 @@ var de = {
11
11
  developer_comment: "Label for \"Continue\" button",
12
12
  string: "Weiter"
13
13
  },
14
- "ExportResourcesModal.exportAllMessage": {
15
- developer_comment: "All resources will be exported",
16
- string: "Alle <b>{count}</b> {resourceType} werden exportiert."
17
- },
18
- "ExportResourcesModal.exportAllResources": {
19
- developer_comment: "Export All selection",
20
- string: "Alle {resourceType} ({count}) exportieren"
21
- },
22
14
  "ExportResourcesModal.exportBasedOnMyViewsMessage": {
23
15
  developer_comment: "Select Export setttings based on my views",
24
16
  string: "Wählen Sie Exporteinstellungen basierend auf:"
25
17
  },
26
- "ExportResourcesModal.exportMatchingMessage": {
27
- developer_comment: "resources will be exported",
28
- string: "<b>{count}</b> {resourceType} wird exportiert."
29
- },
30
- "ExportResourcesModal.exportOnlySelectedResources": {
31
- developer_comment: "Export only selected resources",
32
- string: "Ausgewählte {resourceType} exportieren ({count})"
33
- },
34
18
  "ExportResourcesModal.exportOperationSuccessMessage": {
35
19
  developer_comment: "Success message",
36
20
  string: "<b>Der Export hat begonnen.</b> <newline></newline><logsLink>Gehen Sie zu Exportprotokolle</logsLink>, um den Fortschritt zu überprüfen und die Datei herunterzuladen."
@@ -39,25 +23,29 @@ var de = {
39
23
  developer_comment: "Label for Export Scope",
40
24
  string: "Scope"
41
25
  },
42
- "ExportResourcesModal.exportScopeAll": {
43
- developer_comment: "Label for Export All",
26
+ "ExportResourcesModal.exportScopeAllCategories": {
27
+ developer_comment: "Label for Export All categories",
44
28
  string: "Export all: {total} categories"
45
29
  },
46
- "ExportResourcesModal.exportScopeSelected": {
47
- developer_comment: "Label for Export Selected",
48
- string: "Export selected{total, select, 0 {} other {: {total} categories}}"
30
+ "ExportResourcesModal.exportScopeAllProducts": {
31
+ developer_comment: "Label for Export All products",
32
+ string: "Export all: {total} products"
33
+ },
34
+ "ExportResourcesModal.exportScopeSelectedCategories": {
35
+ developer_comment: "Label for Export Selected categories",
36
+ string: "Export selected: {total} categories"
49
37
  },
50
- "ExportResourcesModal.exportSelectedMessage": {
51
- developer_comment: "resources are selected and will be exported",
52
- string: "<b>{count}</b> {resourceType} werden ausgewählt und exportiert."
38
+ "ExportResourcesModal.exportScopeSelectedProducts": {
39
+ developer_comment: "Label for Export Selected products",
40
+ string: "Export selected: {total} products"
53
41
  },
54
- "ExportResourcesModal.exportSelection": {
55
- developer_comment: "Export selection",
42
+ "ExportResourcesModal.exportScopeSelectedWithoutCount": {
43
+ developer_comment: "Label for Export Selected without count",
56
44
  string: "Auswahl exportieren"
57
45
  },
58
46
  "ExportResourcesModal.exportSettings": {
59
47
  developer_comment: "Label for Export Settings",
60
- string: "Settings"
48
+ string: "Einstellungen"
61
49
  },
62
50
  "ExportResourcesModal.fieldDefinitions": {
63
51
  developer_comment: "Label for \"Field definitions\" link",
@@ -83,9 +71,13 @@ var de = {
83
71
  developer_comment: "Error when no locale is selected",
84
72
  string: "Bitte wählen Sie mindestens ein Gebietsschema aus"
85
73
  },
86
- "ExportResourcesModal.modalTitle": {
87
- developer_comment: "Label for the modal title",
88
- string: "{resourceType} exportieren"
74
+ "ExportResourcesModal.modalTitle.category": {
75
+ developer_comment: "Label for the categories modal title",
76
+ string: "Export categories"
77
+ },
78
+ "ExportResourcesModal.modalTitle.product": {
79
+ developer_comment: "Label for the products modal title",
80
+ string: "Export products"
89
81
  },
90
82
  "ExportResourcesModal.myViews": {
91
83
  developer_comment: "Label for \"My Views\" Select Field",
@@ -2,4 +2,5 @@ export declare const EXPORTABLE_RESOURCES: {
2
2
  CATEGORY: string;
3
3
  PRODUCT: string;
4
4
  DISCOUNT_CODE: string;
5
+ INVENTORY_ENTRY: string;
5
6
  };
@@ -5,3 +5,4 @@ export * from "./export-types.js";
5
5
  export * from "./exportable-resources.js";
6
6
  export * from "./output-formats.js";
7
7
  export * from "./urls.js";
8
+ export * from "./resource-type-messages.js";
@@ -0,0 +1,2 @@
1
+ import { ResourceTypeMap } from "../@types/index.js";
2
+ export declare const resourceTypeMessages: ResourceTypeMap;
@@ -1,3 +1,2 @@
1
- export declare const FIELD_DEFINITIONS_URLS: {
2
- category: string;
3
- };
1
+ import { ResourceTypeMap } from "../@types/resource-type.js";
2
+ export declare const FIELD_DEFINITIONS_URLS: ResourceTypeMap;
@@ -13,14 +13,14 @@ export interface FieldGroup {
13
13
  fields: Field[];
14
14
  }
15
15
  export interface ExportResourcesModalShape {
16
- isOpen: boolean;
16
+ isOpen?: boolean;
17
17
  resourceType: string;
18
- outputFormat: string;
18
+ outputFormat?: string;
19
19
  onClose: () => void;
20
20
  onExportSuccess: () => void;
21
21
  totalResourcesCount: number;
22
- selectedResourceIds: string[];
22
+ selectedResourceIds?: string[];
23
23
  fieldGroups: FieldGroup[];
24
- renderProperties: () => void;
24
+ renderProperties?: () => void;
25
25
  fieldOrder?: string[];
26
26
  }
@@ -1,2 +1,3 @@
1
1
  export * from "./export-resources-modal-shape.js";
2
2
  export * from "./formik.js";
3
+ export * from "./resource-type.js";
@@ -0,0 +1,7 @@
1
+ import { EXPORTABLE_RESOURCES } from "../@constants/exportable-resources.js";
2
+ type ExportableResources = typeof EXPORTABLE_RESOURCES;
3
+ type ResourceKeys = keyof ExportableResources;
4
+ export type ResourceTypeMap = {
5
+ [K in ExportableResources[ResourceKeys]]: any;
6
+ };
7
+ export {};
@@ -13,26 +13,10 @@ var en = {
13
13
  developer_comment: "Label for \"Continue\" button",
14
14
  string: "Continue"
15
15
  },
16
- "ExportResourcesModal.exportAllMessage": {
17
- developer_comment: "All resources will be exported",
18
- string: "All <b>{count}</b> {resourceType} will be exported."
19
- },
20
- "ExportResourcesModal.exportAllResources": {
21
- developer_comment: "Export All selection",
22
- string: "Export all {resourceType} ({count})"
23
- },
24
16
  "ExportResourcesModal.exportBasedOnMyViewsMessage": {
25
17
  developer_comment: "Select Export setttings based on my views",
26
18
  string: "Select export settings based on:"
27
19
  },
28
- "ExportResourcesModal.exportMatchingMessage": {
29
- developer_comment: "resources will be exported",
30
- string: "<b>{count}</b> {resourceType} will be exported."
31
- },
32
- "ExportResourcesModal.exportOnlySelectedResources": {
33
- developer_comment: "Export only selected resources",
34
- string: "Export selected {resourceType} ({count})"
35
- },
36
20
  "ExportResourcesModal.exportOperationSuccessMessage": {
37
21
  developer_comment: "Success message",
38
22
  string: "<b>Your export has started.</b> <newline></newline><logsLink>Go to Export logs</logsLink> to view the progress and download the file."
@@ -41,21 +25,25 @@ var en = {
41
25
  developer_comment: "Label for Export Scope",
42
26
  string: "Scope"
43
27
  },
44
- "ExportResourcesModal.exportScopeAll": {
45
- developer_comment: "Label for Export All",
28
+ "ExportResourcesModal.exportScopeAllCategories": {
29
+ developer_comment: "Label for Export All categories",
46
30
  string: "Export all: {total} categories"
47
31
  },
48
- "ExportResourcesModal.exportScopeSelected": {
49
- developer_comment: "Label for Export Selected",
50
- string: "Export selected{total, select, 0 {} other {: {total} categories}}"
32
+ "ExportResourcesModal.exportScopeAllProducts": {
33
+ developer_comment: "Label for Export All products",
34
+ string: "Export all: {total} products"
35
+ },
36
+ "ExportResourcesModal.exportScopeSelectedCategories": {
37
+ developer_comment: "Label for Export Selected categories",
38
+ string: "Export selected: {total} categories"
51
39
  },
52
- "ExportResourcesModal.exportSelectedMessage": {
53
- developer_comment: "resources are selected and will be exported",
54
- string: "<b>{count}</b> {resourceType} are selected and will be exported."
40
+ "ExportResourcesModal.exportScopeSelectedProducts": {
41
+ developer_comment: "Label for Export Selected products",
42
+ string: "Export selected: {total} products"
55
43
  },
56
- "ExportResourcesModal.exportSelection": {
57
- developer_comment: "Export selection",
58
- string: "Export selection"
44
+ "ExportResourcesModal.exportScopeSelectedWithoutCount": {
45
+ developer_comment: "Label for Export Selected without count",
46
+ string: "Export selected"
59
47
  },
60
48
  "ExportResourcesModal.exportSettings": {
61
49
  developer_comment: "Label for Export Settings",
@@ -85,9 +73,13 @@ var en = {
85
73
  developer_comment: "Error when no locale is selected",
86
74
  string: "Please select at least one locale"
87
75
  },
88
- "ExportResourcesModal.modalTitle": {
89
- developer_comment: "Label for the modal title",
90
- string: "Export {resourceType}"
76
+ "ExportResourcesModal.modalTitle.category": {
77
+ developer_comment: "Label for the categories modal title",
78
+ string: "Export categories"
79
+ },
80
+ "ExportResourcesModal.modalTitle.product": {
81
+ developer_comment: "Label for the products modal title",
82
+ string: "Export products"
91
83
  },
92
84
  "ExportResourcesModal.myViews": {
93
85
  developer_comment: "Label for \"My Views\" Select Field",
@@ -13,26 +13,10 @@ var en = {
13
13
  developer_comment: "Label for \"Continue\" button",
14
14
  string: "Continue"
15
15
  },
16
- "ExportResourcesModal.exportAllMessage": {
17
- developer_comment: "All resources will be exported",
18
- string: "All <b>{count}</b> {resourceType} will be exported."
19
- },
20
- "ExportResourcesModal.exportAllResources": {
21
- developer_comment: "Export All selection",
22
- string: "Export all {resourceType} ({count})"
23
- },
24
16
  "ExportResourcesModal.exportBasedOnMyViewsMessage": {
25
17
  developer_comment: "Select Export setttings based on my views",
26
18
  string: "Select export settings based on:"
27
19
  },
28
- "ExportResourcesModal.exportMatchingMessage": {
29
- developer_comment: "resources will be exported",
30
- string: "<b>{count}</b> {resourceType} will be exported."
31
- },
32
- "ExportResourcesModal.exportOnlySelectedResources": {
33
- developer_comment: "Export only selected resources",
34
- string: "Export selected {resourceType} ({count})"
35
- },
36
20
  "ExportResourcesModal.exportOperationSuccessMessage": {
37
21
  developer_comment: "Success message",
38
22
  string: "<b>Your export has started.</b> <newline></newline><logsLink>Go to Export logs</logsLink> to view the progress and download the file."
@@ -41,21 +25,25 @@ var en = {
41
25
  developer_comment: "Label for Export Scope",
42
26
  string: "Scope"
43
27
  },
44
- "ExportResourcesModal.exportScopeAll": {
45
- developer_comment: "Label for Export All",
28
+ "ExportResourcesModal.exportScopeAllCategories": {
29
+ developer_comment: "Label for Export All categories",
46
30
  string: "Export all: {total} categories"
47
31
  },
48
- "ExportResourcesModal.exportScopeSelected": {
49
- developer_comment: "Label for Export Selected",
50
- string: "Export selected{total, select, 0 {} other {: {total} categories}}"
32
+ "ExportResourcesModal.exportScopeAllProducts": {
33
+ developer_comment: "Label for Export All products",
34
+ string: "Export all: {total} products"
35
+ },
36
+ "ExportResourcesModal.exportScopeSelectedCategories": {
37
+ developer_comment: "Label for Export Selected categories",
38
+ string: "Export selected: {total} categories"
51
39
  },
52
- "ExportResourcesModal.exportSelectedMessage": {
53
- developer_comment: "resources are selected and will be exported",
54
- string: "<b>{count}</b> {resourceType} are selected and will be exported."
40
+ "ExportResourcesModal.exportScopeSelectedProducts": {
41
+ developer_comment: "Label for Export Selected products",
42
+ string: "Export selected: {total} products"
55
43
  },
56
- "ExportResourcesModal.exportSelection": {
57
- developer_comment: "Export selection",
58
- string: "Export selection"
44
+ "ExportResourcesModal.exportScopeSelectedWithoutCount": {
45
+ developer_comment: "Label for Export Selected without count",
46
+ string: "Export selected"
59
47
  },
60
48
  "ExportResourcesModal.exportSettings": {
61
49
  developer_comment: "Label for Export Settings",
@@ -85,9 +73,13 @@ var en = {
85
73
  developer_comment: "Error when no locale is selected",
86
74
  string: "Please select at least one locale"
87
75
  },
88
- "ExportResourcesModal.modalTitle": {
89
- developer_comment: "Label for the modal title",
90
- string: "Export {resourceType}"
76
+ "ExportResourcesModal.modalTitle.category": {
77
+ developer_comment: "Label for the categories modal title",
78
+ string: "Export categories"
79
+ },
80
+ "ExportResourcesModal.modalTitle.product": {
81
+ developer_comment: "Label for the products modal title",
82
+ string: "Export products"
91
83
  },
92
84
  "ExportResourcesModal.myViews": {
93
85
  developer_comment: "Label for \"My Views\" Select Field",
@@ -11,26 +11,10 @@ var en = {
11
11
  developer_comment: "Label for \"Continue\" button",
12
12
  string: "Continue"
13
13
  },
14
- "ExportResourcesModal.exportAllMessage": {
15
- developer_comment: "All resources will be exported",
16
- string: "All <b>{count}</b> {resourceType} will be exported."
17
- },
18
- "ExportResourcesModal.exportAllResources": {
19
- developer_comment: "Export All selection",
20
- string: "Export all {resourceType} ({count})"
21
- },
22
14
  "ExportResourcesModal.exportBasedOnMyViewsMessage": {
23
15
  developer_comment: "Select Export setttings based on my views",
24
16
  string: "Select export settings based on:"
25
17
  },
26
- "ExportResourcesModal.exportMatchingMessage": {
27
- developer_comment: "resources will be exported",
28
- string: "<b>{count}</b> {resourceType} will be exported."
29
- },
30
- "ExportResourcesModal.exportOnlySelectedResources": {
31
- developer_comment: "Export only selected resources",
32
- string: "Export selected {resourceType} ({count})"
33
- },
34
18
  "ExportResourcesModal.exportOperationSuccessMessage": {
35
19
  developer_comment: "Success message",
36
20
  string: "<b>Your export has started.</b> <newline></newline><logsLink>Go to Export logs</logsLink> to view the progress and download the file."
@@ -39,21 +23,25 @@ var en = {
39
23
  developer_comment: "Label for Export Scope",
40
24
  string: "Scope"
41
25
  },
42
- "ExportResourcesModal.exportScopeAll": {
43
- developer_comment: "Label for Export All",
26
+ "ExportResourcesModal.exportScopeAllCategories": {
27
+ developer_comment: "Label for Export All categories",
44
28
  string: "Export all: {total} categories"
45
29
  },
46
- "ExportResourcesModal.exportScopeSelected": {
47
- developer_comment: "Label for Export Selected",
48
- string: "Export selected{total, select, 0 {} other {: {total} categories}}"
30
+ "ExportResourcesModal.exportScopeAllProducts": {
31
+ developer_comment: "Label for Export All products",
32
+ string: "Export all: {total} products"
33
+ },
34
+ "ExportResourcesModal.exportScopeSelectedCategories": {
35
+ developer_comment: "Label for Export Selected categories",
36
+ string: "Export selected: {total} categories"
49
37
  },
50
- "ExportResourcesModal.exportSelectedMessage": {
51
- developer_comment: "resources are selected and will be exported",
52
- string: "<b>{count}</b> {resourceType} are selected and will be exported."
38
+ "ExportResourcesModal.exportScopeSelectedProducts": {
39
+ developer_comment: "Label for Export Selected products",
40
+ string: "Export selected: {total} products"
53
41
  },
54
- "ExportResourcesModal.exportSelection": {
55
- developer_comment: "Export selection",
56
- string: "Export selection"
42
+ "ExportResourcesModal.exportScopeSelectedWithoutCount": {
43
+ developer_comment: "Label for Export Selected without count",
44
+ string: "Export selected"
57
45
  },
58
46
  "ExportResourcesModal.exportSettings": {
59
47
  developer_comment: "Label for Export Settings",
@@ -83,9 +71,13 @@ var en = {
83
71
  developer_comment: "Error when no locale is selected",
84
72
  string: "Please select at least one locale"
85
73
  },
86
- "ExportResourcesModal.modalTitle": {
87
- developer_comment: "Label for the modal title",
88
- string: "Export {resourceType}"
74
+ "ExportResourcesModal.modalTitle.category": {
75
+ developer_comment: "Label for the categories modal title",
76
+ string: "Export categories"
77
+ },
78
+ "ExportResourcesModal.modalTitle.product": {
79
+ developer_comment: "Label for the products modal title",
80
+ string: "Export products"
89
81
  },
90
82
  "ExportResourcesModal.myViews": {
91
83
  developer_comment: "Label for \"My Views\" Select Field",
@@ -13,53 +13,41 @@ var es = {
13
13
  developer_comment: "Label for \"Continue\" button",
14
14
  string: "Continuar"
15
15
  },
16
- "ExportResourcesModal.exportAllMessage": {
17
- developer_comment: "All resources will be exported",
18
- string: "Los <b>{count}</b> {resourceType} se exportarán."
19
- },
20
- "ExportResourcesModal.exportAllResources": {
21
- developer_comment: "Export All selection",
22
- string: "Exportar los {resourceType} ({count})"
23
- },
24
16
  "ExportResourcesModal.exportBasedOnMyViewsMessage": {
25
17
  developer_comment: "Select Export setttings based on my views",
26
18
  string: "Seleccionar las configuraciones de exportación basándose en:"
27
19
  },
28
- "ExportResourcesModal.exportMatchingMessage": {
29
- developer_comment: "resources will be exported",
30
- string: "<b>{count}</b> {resourceType} se exportarán."
31
- },
32
- "ExportResourcesModal.exportOnlySelectedResources": {
33
- developer_comment: "Export only selected resources",
34
- string: "Exportar los {resourceType} ({count}) seleccionados"
35
- },
36
20
  "ExportResourcesModal.exportOperationSuccessMessage": {
37
21
  developer_comment: "Success message",
38
22
  string: "<b>Tu exportación ha comenzado.</b> <newline></newline><logsLink>Ve a Registros de exportación</logsLink> para ver el progreso y descargar el archivo."
39
23
  },
40
24
  "ExportResourcesModal.exportScope": {
41
25
  developer_comment: "Label for Export Scope",
42
- string: "Scope"
26
+ string: "Ámbito"
43
27
  },
44
- "ExportResourcesModal.exportScopeAll": {
45
- developer_comment: "Label for Export All",
28
+ "ExportResourcesModal.exportScopeAllCategories": {
29
+ developer_comment: "Label for Export All categories",
46
30
  string: "Export all: {total} categories"
47
31
  },
48
- "ExportResourcesModal.exportScopeSelected": {
49
- developer_comment: "Label for Export Selected",
50
- string: "Export selected{total, select, 0 {} other {: {total} categories}}"
32
+ "ExportResourcesModal.exportScopeAllProducts": {
33
+ developer_comment: "Label for Export All products",
34
+ string: "Export all: {total} products"
35
+ },
36
+ "ExportResourcesModal.exportScopeSelectedCategories": {
37
+ developer_comment: "Label for Export Selected categories",
38
+ string: "Export selected: {total} categories"
51
39
  },
52
- "ExportResourcesModal.exportSelectedMessage": {
53
- developer_comment: "resources are selected and will be exported",
54
- string: "<b>{count}</b> {resourceType} se han seleccionado y se exportarán."
40
+ "ExportResourcesModal.exportScopeSelectedProducts": {
41
+ developer_comment: "Label for Export Selected products",
42
+ string: "Export selected: {total} products"
55
43
  },
56
- "ExportResourcesModal.exportSelection": {
57
- developer_comment: "Export selection",
58
- string: "Exportar la selección"
44
+ "ExportResourcesModal.exportScopeSelectedWithoutCount": {
45
+ developer_comment: "Label for Export Selected without count",
46
+ string: "Exportar selección"
59
47
  },
60
48
  "ExportResourcesModal.exportSettings": {
61
49
  developer_comment: "Label for Export Settings",
62
- string: "Settings"
50
+ string: "Configuraciones"
63
51
  },
64
52
  "ExportResourcesModal.fieldDefinitions": {
65
53
  developer_comment: "Label for \"Field definitions\" link",
@@ -85,9 +73,13 @@ var es = {
85
73
  developer_comment: "Error when no locale is selected",
86
74
  string: "Selecciona al menos un idioma"
87
75
  },
88
- "ExportResourcesModal.modalTitle": {
89
- developer_comment: "Label for the modal title",
90
- string: "Exportar {resourceType}"
76
+ "ExportResourcesModal.modalTitle.category": {
77
+ developer_comment: "Label for the categories modal title",
78
+ string: "Export categories"
79
+ },
80
+ "ExportResourcesModal.modalTitle.product": {
81
+ developer_comment: "Label for the products modal title",
82
+ string: "Export products"
91
83
  },
92
84
  "ExportResourcesModal.myViews": {
93
85
  developer_comment: "Label for \"My Views\" Select Field",