@commercetools-frontend-extensions/import-resources-modal 1.6.4 → 1.6.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.
@@ -754,13 +754,13 @@ function getDefaultDropWrapperStyles(_dropAreaState) {
754
754
  return /*#__PURE__*/react.css("" , "" );
755
755
  }
756
756
 
757
- var ActiveDragDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./active-drag-drop-area-373d643b.cjs.prod.js' /* webpackChunkName: "active-drag-drop-area" */); }));
757
+ var ActiveDragDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./active-drag-drop-area-28fc79a9.cjs.prod.js' /* webpackChunkName: "active-drag-drop-area" */); }));
758
758
 
759
759
  var DisabledDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./disabled-drop-area-99c1fa0b.cjs.prod.js' /* webpackChunkName: "disabled-drop-area" */); }));
760
760
 
761
- var EnabledDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./enabled-drop-area-86d22a1c.cjs.prod.js' /* webpackChunkName: "enabled-drop-area" */); }));
761
+ var EnabledDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./enabled-drop-area-abfd8c83.cjs.prod.js' /* webpackChunkName: "enabled-drop-area" */); }));
762
762
 
763
- var FileDropped = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./file-dropped-area-a5e8e576.cjs.prod.js' /* webpackChunkName: "filed-dropped-area" */); }));
763
+ var FileDropped = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./file-dropped-area-a734e8ef.cjs.prod.js' /* webpackChunkName: "filed-dropped-area" */); }));
764
764
 
765
765
  function getDropArea(_ref) {
766
766
  let dropAreaState = _ref.dropAreaState,
@@ -800,48 +800,58 @@ function getDropAreaState(flags) {
800
800
 
801
801
  var messages$7 = reactIntl.defineMessages({
802
802
  dragAndDropCSV: {
803
- id: "ImportResourcesModal.dragAndDropCSV",
804
- defaultMessage: "Drag and drop CSV"
803
+ id: 'ImportResourcesModal.dragAndDropCSV',
804
+ description: 'The message telling the user to drag and drop CSV file in the file drop area',
805
+ defaultMessage: 'Drag and drop CSV'
805
806
  },
806
807
  or: {
807
- id: "ImportResourcesModal.or",
808
- defaultMessage: "or"
808
+ id: 'ImportResourcesModal.or',
809
+ description: 'The word "or" in the drag and drop message',
810
+ defaultMessage: 'or'
809
811
  },
810
812
  browseButton: {
811
- id: "ImportResourcesModal.browseFile",
812
- defaultMessage: "Browse file"
813
+ id: 'ImportResourcesModal.browseFile',
814
+ defaultMessage: 'Browse file'
813
815
  },
814
816
  uploadFile: {
815
- id: "ImportResourcesModal.uploadFile",
816
- defaultMessage: "Upload file"
817
+ id: 'ImportResourcesModal.uploadFile',
818
+ description: 'Label for a button on the file upload page, shown on active drop area state',
819
+ defaultMessage: 'Upload file'
817
820
  },
818
821
  chooseFile: {
819
- id: "ImportResourcesModal.chooseFile",
820
- defaultMessage: "Choose file"
822
+ id: 'ImportResourcesModal.chooseFile',
823
+ description: 'Label for a button on the file upload page, shown on ready to upload state',
824
+ defaultMessage: 'Choose file'
821
825
  },
822
826
  fileUploadFailed: {
823
- id: "ImportResourcesModal.fileUploadFailed",
824
- defaultMessage: "File upload failed"
827
+ id: 'ImportResourcesModal.fileUploadFailed',
828
+ description: 'A title on the file upload page, shown on file upload error state',
829
+ defaultMessage: 'File upload failed'
825
830
  },
826
831
  fileFormatNotSupported: {
827
- id: "ImportResourcesModal.fileFormatNotSupported",
828
- defaultMessage: "Invalid file format: The file is not in CSV format and cannot be processed."
832
+ id: 'ImportResourcesModal.fileFormatNotSupported',
833
+ description: 'Error message displayed when a user drags and drops a non-CSV file',
834
+ defaultMessage: 'Invalid file format: The file is not in CSV format and cannot be processed.'
829
835
  },
830
836
  tooManyFilesError: {
831
- id: "ImportResourcesModal.tooManyFilesError",
832
- defaultMessage: "Multiple files detected: You can only drag and drop one file at a time."
837
+ id: 'ImportResourcesModal.tooManyFilesError',
838
+ description: 'Error message displayed when a user drags and drops multiple files at once',
839
+ defaultMessage: 'Multiple files detected: You can only drag and drop one file at a time.'
833
840
  },
834
841
  genericError: {
835
- id: "ImportResourcesModal.genericError",
836
- defaultMessage: "Error occurred: Please try uploading the file again or contact our support team for assistance."
842
+ id: 'ImportResourcesModal.genericError',
843
+ description: 'Default error message for unexpected file upload issues (for unhandled cases)',
844
+ defaultMessage: 'Error occurred: Please try uploading the file again or contact our support team for assistance.'
837
845
  },
838
846
  dataType: {
839
- id: "ImportResourcesModal.dataType",
840
- defaultMessage: "Data type"
847
+ id: 'ImportResourcesModal.dataType',
848
+ description: 'Label for the data type selection dropdown',
849
+ defaultMessage: 'Data type'
841
850
  },
842
851
  instructions: {
843
- id: "ImportResourcesModal.instructions",
844
- defaultMessage: "Instructions"
852
+ id: 'ImportResourcesModal.instructions',
853
+ description: 'Label for the instructions section',
854
+ defaultMessage: 'Instructions'
845
855
  }
846
856
  });
847
857
 
@@ -855,52 +865,61 @@ function useImportResourcesContext() {
855
865
 
856
866
  var messages$6 = reactIntl.defineMessages({
857
867
  fileSizeExceededTitle: {
858
- id: "ImportResourcesModal.sizeExceededTitle",
859
- defaultMessage: "File size exceeded"
868
+ id: 'ImportResourcesModal.sizeExceededTitle',
869
+ defaultMessage: 'File size exceeded'
860
870
  },
861
871
  fileSizeExceededDescription: {
862
- id: "ImportResourcesModal.sizeExceededDescription",
863
- defaultMessage: "The file exceeds the maximum allowed size of {fileSizeLimit} MB"
872
+ id: 'ImportResourcesModal.sizeExceededDescription',
873
+ description: 'Error description when the file size exceeds the allowable limit',
874
+ defaultMessage: 'The file exceeds the maximum allowed size of {fileSizeLimit} MB'
864
875
  },
865
876
  rowLimitExceededTitle: {
866
- id: "ImportResourcesModal.rowLimitExceededTitle",
867
- defaultMessage: "Row limit exceeded"
877
+ id: 'ImportResourcesModal.rowLimitExceededTitle',
878
+ defaultMessage: 'Row limit exceeded'
868
879
  },
869
880
  rowLimitExceededDescription: {
870
- id: "ImportResourcesModal.rowLimitExceededDescription",
871
- defaultMessage: "The file contains more than the allowable maximum of {rowLimit} rows"
881
+ id: 'ImportResourcesModal.rowLimitExceededDescription',
882
+ description: 'Error description when the file contains more rows than the allowable maximum',
883
+ defaultMessage: 'The file contains more than the allowable maximum of {rowLimit} rows'
872
884
  },
873
885
  dropAreaWrongDelimiterTitle: {
874
- id: "ImportResourcesModal.wrongDelimiterTitle",
875
- defaultMessage: "Wrong delimiter"
886
+ id: 'ImportResourcesModal.wrongDelimiterTitle',
887
+ defaultMessage: 'Wrong delimiter'
876
888
  },
877
889
  dropAreaWrongDelimiterDescription: {
878
- id: "ImportResourcesModal.wrongDelimiterDescription",
879
- defaultMessage: "The file is using an incorrect delimiter. Please use comma (,) instead."
890
+ id: 'ImportResourcesModal.wrongDelimiterDescription',
891
+ description: 'Message within the drop area when a CSV file uses an unexpected delimiter',
892
+ defaultMessage: 'The file is using an incorrect delimiter. Please use comma (,) instead.'
880
893
  },
881
894
  dropAreaNotEnoughRowsTitle: {
882
- id: "ImportResourcesModal.dropAreaNotEnoughRowsTitle",
883
- defaultMessage: "Invalid CSV file"
895
+ id: 'ImportResourcesModal.dropAreaNotEnoughRowsTitle',
896
+ description: 'Error title shown when the uploaded CSV file does not contain a header and at least one row of data',
897
+ defaultMessage: 'Invalid CSV file'
884
898
  },
885
899
  dropAreaNotEnoughRowsDescription: {
886
- id: "ImportResourcesModal.dropAreaNotEnoughRowsDescription",
887
- defaultMessage: "Make sure the file contains a header and at least one row of data"
900
+ id: 'ImportResourcesModal.dropAreaNotEnoughRowsDescription',
901
+ description: 'Error description shown when the uploaded CSV file does not contain a header and at least one row of data',
902
+ defaultMessage: 'Make sure the file contains a header and at least one row of data'
888
903
  },
889
904
  unexpectedError: {
890
- id: "ImportResourcesModal.unexpectedError",
891
- defaultMessage: "An unexpected error occurred during the file upload. Please try again, or contact support if this error occurs again."
905
+ id: 'ImportResourcesModal.unexpectedError',
906
+ description: 'Generic notification message when file upload fails',
907
+ defaultMessage: 'An unexpected error occurred during the file upload. Please try again, or contact support if this error occurs again.'
892
908
  },
893
909
  missingRequiredField: {
894
- id: "ImportResourcesModal.missingRequiredField",
895
- defaultMessage: "Missing required field"
910
+ id: 'ImportResourcesModal.missingRequiredField',
911
+ description: 'Error message displayed when a required field is missing',
912
+ defaultMessage: 'Missing required field'
896
913
  },
897
914
  missingKeyError: {
898
- id: "ImportResourcesModal.missingKeyError",
915
+ id: 'ImportResourcesModal.missingKeyError',
916
+ description: 'Error message displayed when the uploaded file is missing the key field',
899
917
  defaultMessage: "The 'key' field is missing or incomplete in some rows. Please ensure every row has a 'key' value."
900
918
  },
901
919
  missingRequiredKeys: {
902
- id: "ImportResourcesModal.missingRequiredKeys",
903
- defaultMessage: "Make sure the file contains required keys for the elements including {fieldNames}"
920
+ id: 'ImportResourcesModal.missingRequiredKeys',
921
+ description: 'Error message displayed when the uploaded file is missing required keys',
922
+ defaultMessage: 'Make sure the file contains required keys for the elements including {fieldNames}'
904
923
  }
905
924
  });
906
925
 
@@ -1161,8 +1180,9 @@ const FileDropArea = () => {
1161
1180
 
1162
1181
  var messages$5 = reactIntl.defineMessages({
1163
1182
  publishProducts: {
1164
- id: "ImportResourcesModal.settings.publishProducts",
1165
- defaultMessage: "Publish all products in the file"
1183
+ id: 'ImportResourcesModal.settings.publishProducts',
1184
+ description: 'Label for the publish products checkbox',
1185
+ defaultMessage: 'Publish all products in the file'
1166
1186
  }
1167
1187
  });
1168
1188
 
@@ -1196,44 +1216,54 @@ const UploadSettings = () => {
1196
1216
 
1197
1217
  var sharedMessages = reactIntl.defineMessages({
1198
1218
  [`modalTitle.${IMPORTABLE_RESOURCES.CATEGORY}`]: {
1199
- id: "ImportResourcesModal.modalTitle.category",
1200
- defaultMessage: "Import categories by CSV"
1219
+ id: 'ImportResourcesModal.modalTitle.category',
1220
+ description: 'Label for the categories modal title',
1221
+ defaultMessage: 'Import categories by CSV'
1201
1222
  },
1202
1223
  [`modalTitle.${IMPORTABLE_RESOURCES.PRODUCT}`]: {
1203
- id: "ImportResourcesModal.modalTitle.product",
1204
- defaultMessage: "Import products by CSV"
1224
+ id: 'ImportResourcesModal.modalTitle.product',
1225
+ description: 'Label for the products modal title',
1226
+ defaultMessage: 'Import products by CSV'
1205
1227
  },
1206
1228
  [`modalTitle.${IMPORTABLE_RESOURCES.INVENTORY}`]: {
1207
- id: "ImportResourcesModal.modalTitle.inventoryEntry",
1208
- defaultMessage: "Import inventories by CSV"
1229
+ id: 'ImportResourcesModal.modalTitle.inventoryEntry',
1230
+ description: 'Label for the inventories modal title',
1231
+ defaultMessage: 'Import inventories by CSV'
1209
1232
  },
1210
1233
  [`modalTitle.${IMPORTABLE_RESOURCES.DISCOUNT_CODE}`]: {
1211
- id: "ImportResourcesModal.modalTitle.discountCode",
1212
- defaultMessage: "Import discount codes by CSV"
1234
+ id: 'ImportResourcesModal.modalTitle.discountCode',
1235
+ description: 'Label for the inventories modal title',
1236
+ defaultMessage: 'Import discount codes by CSV'
1213
1237
  },
1214
1238
  [`modalTitle.${IMPORTABLE_RESOURCES.CUSTOMER}`]: {
1215
- id: "ImportResourcesModal.modalTitle.customer",
1216
- defaultMessage: "Import customers by CSV"
1239
+ id: 'ImportResourcesModal.modalTitle.customer',
1240
+ description: 'Label for the customers modal title',
1241
+ defaultMessage: 'Import customers by CSV'
1217
1242
  },
1218
1243
  [`modalTitle.${IMPORTABLE_RESOURCES.ORDER}`]: {
1219
- id: "ImportResourcesModal.modalTitle.order",
1220
- defaultMessage: "Import orders by CSV"
1244
+ id: 'ImportResourcesModal.modalTitle.order',
1245
+ description: 'Label for the order modal title',
1246
+ defaultMessage: 'Import orders by CSV'
1221
1247
  },
1222
1248
  [`modalTitle.${IMPORTABLE_RESOURCES.PRODUCT_TYPE}`]: {
1223
- id: "ImportResourcesModal.modalTitle.productType",
1224
- defaultMessage: "Import product types by CSV"
1249
+ id: 'ImportResourcesModal.modalTitle.productType',
1250
+ description: 'Label for the product type modal title',
1251
+ defaultMessage: 'Import product types by CSV'
1225
1252
  },
1226
1253
  uploadButton: {
1227
- id: "ImportResourcesModal.uploadButton",
1228
- defaultMessage: "Upload and preview"
1254
+ id: 'ImportResourcesModal.uploadButton',
1255
+ description: 'Label for the upload button',
1256
+ defaultMessage: 'Upload and preview'
1229
1257
  },
1230
1258
  cancel: {
1231
- id: "ImportResourcesModal.cancel",
1232
- defaultMessage: "Cancel"
1259
+ id: 'ImportResourcesModal.cancel',
1260
+ description: 'Label for the cancel button',
1261
+ defaultMessage: 'Cancel'
1233
1262
  },
1234
1263
  close: {
1235
- id: "ImportResourcesModal.close",
1236
- defaultMessage: "Close"
1264
+ id: 'ImportResourcesModal.close',
1265
+ description: 'Label for the close button',
1266
+ defaultMessage: 'Close'
1237
1267
  }
1238
1268
  });
1239
1269
 
@@ -1295,28 +1325,34 @@ const Upload = () => {
1295
1325
 
1296
1326
  var messages$4 = reactIntl.defineMessages({
1297
1327
  row: {
1298
- id: "ImportResourcesModal.row",
1299
- defaultMessage: "Row"
1328
+ id: 'ImportResourcesModal.row',
1329
+ description: 'In Upload file error modal - "Row" column',
1330
+ defaultMessage: 'Row'
1300
1331
  },
1301
1332
  errorType: {
1302
- id: "ImportResourcesModal.errorType",
1303
- defaultMessage: "Error type"
1333
+ id: 'ImportResourcesModal.errorType',
1334
+ description: 'In Upload file error modal - "Error type" column',
1335
+ defaultMessage: 'Error type'
1304
1336
  },
1305
1337
  details: {
1306
- id: "ImportResourcesModal.details",
1307
- defaultMessage: "Details"
1338
+ id: 'ImportResourcesModal.details',
1339
+ description: 'In Upload file error modal - "Details" column',
1340
+ defaultMessage: 'Details'
1308
1341
  },
1309
1342
  uploadErrorDescription: {
1310
- id: "ImportResourcesModal.uploadErrorDescription",
1311
- defaultMessage: "There {errorsCount, plural, one {is <b>{errorsCount}</b> error} other {are <b>{errorsCount}</b> errors}} detected while uploading the file <b>{fileName}</b>."
1343
+ id: 'ImportResourcesModal.uploadErrorDescription',
1344
+ description: 'Title when errors detected while uploading file',
1345
+ defaultMessage: 'There {errorsCount, plural, one {is <b>{errorsCount}</b> error} other {are <b>{errorsCount}</b> errors}} detected while uploading the file <b>{fileName}</b>.'
1312
1346
  },
1313
1347
  supportedValuesDocumentation: {
1314
- id: "ImportResourcesModal.supportedValuesDocumentation",
1315
- defaultMessage: "<documentationLink>View the documentation</documentationLink> for supported values."
1348
+ id: 'ImportResourcesModal.supportedValuesDocumentation',
1349
+ description: 'Link to the documentation for supported values',
1350
+ defaultMessage: '<documentationLink>View the documentation</documentationLink> for supported values.'
1316
1351
  },
1317
1352
  uploadNewFile: {
1318
- id: "ImportResourcesModal.uploadNewFile",
1319
- defaultMessage: "Upload new file"
1353
+ id: 'ImportResourcesModal.uploadNewFile',
1354
+ description: 'Upload new file button',
1355
+ defaultMessage: 'Upload new file'
1320
1356
  }
1321
1357
  });
1322
1358
 
@@ -1557,56 +1593,69 @@ function getBold$2(msg) {
1557
1593
 
1558
1594
  var messages$3 = reactIntl.defineMessages({
1559
1595
  startImportButton: {
1560
- id: "ImportResourcesModal.startImportButton",
1561
- defaultMessage: "Start import"
1596
+ id: 'ImportResourcesModal.startImportButton',
1597
+ description: 'Label for the modal Start import button',
1598
+ defaultMessage: 'Start import'
1562
1599
  },
1563
1600
  importNotificationSuccessMessage: {
1564
- id: "ImportResourcesModal.successMessage",
1565
- defaultMessage: "<b>Your import has started.</b><newline></newline> <logsLink>Go to Import logs</logsLink> to view the progress."
1601
+ id: 'ImportResourcesModal.successMessage',
1602
+ description: 'Notification success message',
1603
+ defaultMessage: '<b>Your import has started.</b><newline></newline> <logsLink>Go to Import logs</logsLink> to view the progress.'
1566
1604
  },
1567
1605
  importNotificationPrepareMessage: {
1568
- id: "ImportResourcesModal.prepareMessage",
1569
- defaultMessage: "<b>Prepare import</b><newline></newline>Once preparation is complete, you can track the import progress <logsLink>in the Import logs</logsLink>."
1606
+ id: 'ImportResourcesModal.prepareMessage',
1607
+ description: 'Notification for preparing import',
1608
+ defaultMessage: '<b>Prepare import</b><newline></newline>Once preparation is complete, you can track the import progress <logsLink>in the Import logs</logsLink>.'
1570
1609
  },
1571
1610
  previewOfYourImport: {
1572
- id: "ImportResourcesModal.previewOfYourImport",
1611
+ id: 'ImportResourcesModal.previewOfYourImport',
1612
+ description: 'Label for modal path',
1573
1613
  defaultMessage: "Here's a preview of your import"
1574
1614
  },
1575
1615
  rowsToBeImported: {
1576
- id: "ImportResourcesModal.rowsToBeImported",
1577
- defaultMessage: "{rowCount, plural, one {<b>1</b> row to be imported} other {<b>{rowCount}</b> rows to be imported}}{publish, select, true { and published} other {}}"
1616
+ id: 'ImportResourcesModal.rowsToBeImported',
1617
+ description: 'This message indicates the number of rows that are ready to be imported into the system.',
1618
+ defaultMessage: '{rowCount, plural, one {<b>1</b> row to be imported} other {<b>{rowCount}</b> rows to be imported}}{publish, select, true { and published} other {}}'
1578
1619
  },
1579
1620
  columnsToBeImported: {
1580
- id: "ImportResourcesModal.columnsToBeImported",
1581
- defaultMessage: "<b>{columnCount}</b> columns to be imported"
1621
+ id: 'ImportResourcesModal.columnsToBeImported',
1622
+ description: 'This message indicates the number of columns that are ready to be imported into the system.',
1623
+ defaultMessage: '<b>{columnCount}</b> columns to be imported'
1582
1624
  },
1583
1625
  columnsToBeIgnored: {
1584
- id: "ImportResourcesModal.columnsToBeIgnored",
1626
+ id: 'ImportResourcesModal.columnsToBeIgnored',
1627
+ description: "This message indicates the number of columns that will be deliberately skipped during the import because they can't be imported",
1585
1628
  defaultMessage: "We will intentionally ignore <b>{columnCount}</b> columns as they can't be imported"
1586
1629
  },
1587
1630
  showMore: {
1588
- id: "ImportResourcesModal.showMore",
1589
- defaultMessage: "Show more"
1631
+ id: 'ImportResourcesModal.showMore',
1632
+ description: 'A button label for expanding the import preview to show more details.',
1633
+ defaultMessage: 'Show more'
1590
1634
  },
1591
1635
  showLess: {
1592
- id: "ImportResourcesModal.showLess",
1593
- defaultMessage: "Show less"
1636
+ id: 'ImportResourcesModal.showLess',
1637
+ description: 'A button label for collapsing the import preview to show fewer details.',
1638
+ defaultMessage: 'Show less'
1594
1639
  },
1595
1640
  continue: {
1596
- id: "ImportResourcesModal.continue",
1597
- defaultMessage: "Continue"
1641
+ id: 'ImportResourcesModal.continue',
1642
+ description: 'Confirmation dialog continue button',
1643
+ defaultMessage: 'Continue'
1598
1644
  },
1599
1645
  confirmationBodyText: {
1600
- id: "ImportResourcesModal.confirmationBodyText",
1601
- defaultMessage: "You are about to import {count, plural, one {<bold>1</bold> row} other {<bold>{count}</bold> rows}} in the project: <bold>{projectName}</bold>."
1646
+ id: 'ImportResourcesModal.confirmationBodyText',
1647
+ description: 'Confirmation dialog text',
1648
+ defaultMessage: 'You are about to import {count, plural, one {<bold>1</bold> row} other {<bold>{count}</bold> rows}} in the project: <bold>{projectName}</bold>.'
1602
1649
  },
1603
1650
  confirmationBodyNote: {
1604
- id: "ImportResourcesModal.confirmationBodyNote",
1605
- defaultMessage: "Please be aware that existing values with the same keys will be overwritten by the data included in the CSV."
1651
+ id: 'ImportResourcesModal.confirmationBodyNote',
1652
+ description: 'Confirmation dialog text',
1653
+ defaultMessage: 'Please be aware that existing values with the same keys will be overwritten by the data included in the CSV.'
1606
1654
  },
1607
1655
  confirmationBodyQuestion: {
1608
- id: "ImportResourcesModal.confirmationBodyQuestion",
1609
- defaultMessage: "Proceed with the import?"
1656
+ id: 'ImportResourcesModal.confirmationBodyQuestion',
1657
+ description: 'Confirmation question',
1658
+ defaultMessage: 'Proceed with the import?'
1610
1659
  }
1611
1660
  });
1612
1661
 
@@ -2009,16 +2058,19 @@ const CurrentStep = () => {
2009
2058
 
2010
2059
  var messages$2 = reactIntl.defineMessages({
2011
2060
  products: {
2012
- id: "ImportResourcesModal.radio.products",
2013
- defaultMessage: "Products (including variants, assets, prices and images)"
2061
+ id: 'ImportResourcesModal.radio.products',
2062
+ description: 'Label for the products radio button',
2063
+ defaultMessage: 'Products (including variants, assets, prices and images)'
2014
2064
  },
2015
2065
  inventories: {
2016
- id: "ImportResourcesModal.radio.inventories",
2017
- defaultMessage: "Inventories"
2066
+ id: 'ImportResourcesModal.radio.inventories',
2067
+ description: 'Label for the inventories radio button',
2068
+ defaultMessage: 'Inventories'
2018
2069
  },
2019
2070
  categories: {
2020
- id: "ImportResourcesModal.radio.categories",
2021
- defaultMessage: "Categories"
2071
+ id: 'ImportResourcesModal.radio.categories',
2072
+ description: 'Label for the categories radio button',
2073
+ defaultMessage: 'Categories'
2022
2074
  }
2023
2075
  });
2024
2076
 
@@ -2059,8 +2111,9 @@ const ResourceTypeSelection = () => {
2059
2111
 
2060
2112
  var messages$1 = reactIntl.defineMessages({
2061
2113
  fileUploadInstructions: {
2062
- id: "ImportResourcesModal.fileUploadInstructions",
2063
- defaultMessage: "Maximum file size is {fileSize} MB with a limit of {rowLimit} rows. Download <csvTemplateLink>the CSV template</csvTemplateLink> or refer to <documentationLink>the documentation</documentationLink>."
2114
+ id: 'ImportResourcesModal.fileUploadInstructions',
2115
+ description: 'Label for the modal category description',
2116
+ defaultMessage: 'Maximum file size is {fileSize} MB with a limit of {rowLimit} rows. Download <csvTemplateLink>the CSV template</csvTemplateLink> or refer to <documentationLink>the documentation</documentationLink>.'
2064
2117
  }
2065
2118
  });
2066
2119
 
@@ -2096,12 +2149,14 @@ const Instructions = () => {
2096
2149
 
2097
2150
  var messages = reactIntl.defineMessages({
2098
2151
  prerequisitesOfImportingData: {
2099
- id: "ImportResourcesModal.infoBox.prerequisitesOfImportingData",
2100
- defaultMessage: "Prerequisites of importing data"
2152
+ id: 'ImportResourcesModal.infoBox.prerequisitesOfImportingData',
2153
+ description: 'A message to guide users to check the prerequisites of importing data',
2154
+ defaultMessage: 'Prerequisites of importing data'
2101
2155
  },
2102
2156
  keysForEveryResource: {
2103
- id: "ImportResourcesModal.infoBox.keysForEveryResource",
2104
- defaultMessage: "You must provide keys for every resource you import, including embedded resources such as Prices and Assets. Please consult with your admins to assign keys through <link>the HTTP API</link>."
2157
+ id: 'ImportResourcesModal.infoBox.keysForEveryResource',
2158
+ description: 'A message to guide users to provide keys for every resource they import',
2159
+ defaultMessage: 'You must provide keys for every resource you import, including embedded resources such as Prices and Assets. Please consult with your admins to assign keys through <link>the HTTP API</link>.'
2105
2160
  }
2106
2161
  });
2107
2162