@commercetools-frontend-extensions/delete-resources-modal 1.0.1 → 1.0.3

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.
@@ -255,144 +255,116 @@ let UnexpectedResourceTypeError = /*#__PURE__*/function (_Error) {
255
255
 
256
256
  var sharedMessages = reactIntl.defineMessages({
257
257
  deleteModalTitle: {
258
- id: 'DeleteResourcesModal.deleteModalTitle',
259
- description: 'The title of the modal',
260
- defaultMessage: 'Bulk delete via CSV'
258
+ id: "DeleteResourcesModal.deleteModalTitle",
259
+ defaultMessage: "Bulk delete via CSV"
261
260
  },
262
261
  startBulkDelete: {
263
- id: 'DeleteResourcesModal.startBulkDelete',
264
- description: 'Start bulk delete button',
265
- defaultMessage: 'Start bulk delete'
262
+ id: "DeleteResourcesModal.startBulkDelete",
263
+ defaultMessage: "Start bulk delete"
266
264
  },
267
265
  cancel: {
268
- id: 'DeleteResourcesModal.cancel',
269
- description: 'The label for the cancel button',
270
- defaultMessage: 'Cancel'
266
+ id: "DeleteResourcesModal.cancel",
267
+ defaultMessage: "Cancel"
271
268
  },
272
269
  product: {
273
- id: 'DeleteResourcesModal.product',
274
- description: 'Label for the product resource type',
275
- defaultMessage: 'product'
270
+ id: "DeleteResourcesModal.product",
271
+ defaultMessage: "product"
276
272
  },
277
273
  products: {
278
- id: 'DeleteResourcesModal.products',
279
- description: 'Plural form of product',
280
- defaultMessage: 'products'
274
+ id: "DeleteResourcesModal.products",
275
+ defaultMessage: "products"
281
276
  },
282
277
  inventory: {
283
- id: 'DeleteResourcesModal.inventory',
284
- description: 'Label for the inventory entry resource type',
285
- defaultMessage: 'inventory entry'
278
+ id: "DeleteResourcesModal.inventory",
279
+ defaultMessage: "inventory entry"
286
280
  },
287
281
  inventories: {
288
- id: 'DeleteResourcesModal.inventories',
289
- description: 'Plural form of inventory entry',
290
- defaultMessage: 'inventory entries'
282
+ id: "DeleteResourcesModal.inventories",
283
+ defaultMessage: "inventory entries"
291
284
  },
292
285
  category: {
293
- id: 'DeleteResourcesModal.category',
294
- description: 'Label for the category resource type',
295
- defaultMessage: 'category'
286
+ id: "DeleteResourcesModal.category",
287
+ defaultMessage: "category"
296
288
  },
297
289
  categories: {
298
- id: 'DeleteResourcesModal.categories',
299
- description: 'Plural form of category',
300
- defaultMessage: 'categories'
290
+ id: "DeleteResourcesModal.categories",
291
+ defaultMessage: "categories"
301
292
  },
302
293
  customer: {
303
- id: 'DeleteResourcesModal.customer',
304
- description: 'Label for the customer resource type',
305
- defaultMessage: 'customer'
294
+ id: "DeleteResourcesModal.customer",
295
+ defaultMessage: "customer"
306
296
  },
307
297
  customers: {
308
- id: 'DeleteResourcesModal.customers',
309
- description: 'Plural form of customer',
310
- defaultMessage: 'customers'
298
+ id: "DeleteResourcesModal.customers",
299
+ defaultMessage: "customers"
311
300
  },
312
301
  order: {
313
- id: 'DeleteResourcesModal.order',
314
- description: 'Label for the order resource type',
315
- defaultMessage: 'order'
302
+ id: "DeleteResourcesModal.order",
303
+ defaultMessage: "order"
316
304
  },
317
305
  orders: {
318
- id: 'DeleteResourcesModal.orders',
319
- description: 'Plural form of order',
320
- defaultMessage: 'orders'
306
+ id: "DeleteResourcesModal.orders",
307
+ defaultMessage: "orders"
321
308
  },
322
309
  price: {
323
- id: 'DeleteResourcesModal.price',
324
- description: 'Label for the price resource type',
325
- defaultMessage: 'price'
310
+ id: "DeleteResourcesModal.price",
311
+ defaultMessage: "price"
326
312
  },
327
313
  prices: {
328
- id: 'DeleteResourcesModal.prices',
329
- description: 'Plural form of price',
330
- defaultMessage: 'prices'
314
+ id: "DeleteResourcesModal.prices",
315
+ defaultMessage: "prices"
331
316
  },
332
317
  'product-draft': {
333
- id: 'DeleteResourcesModal.product-draft',
334
- description: 'Label for the product-draft resource type',
335
- defaultMessage: 'product draft'
318
+ id: "DeleteResourcesModal.product-draft",
319
+ defaultMessage: "product draft"
336
320
  },
337
321
  'product-drafts': {
338
- id: 'DeleteResourcesModal.product-drafts',
339
- description: 'Plural form of product draft',
340
- defaultMessage: 'product drafts'
322
+ id: "DeleteResourcesModal.product-drafts",
323
+ defaultMessage: "product drafts"
341
324
  },
342
325
  'product-type': {
343
- id: 'DeleteResourcesModal.product-type',
344
- description: 'Label for the product-type resource type',
345
- defaultMessage: 'product type'
326
+ id: "DeleteResourcesModal.product-type",
327
+ defaultMessage: "product type"
346
328
  },
347
329
  'product-types': {
348
- id: 'DeleteResourcesModal.product-types',
349
- description: 'Plural form of product type',
350
- defaultMessage: 'product types'
330
+ id: "DeleteResourcesModal.product-types",
331
+ defaultMessage: "product types"
351
332
  },
352
333
  'product-variant': {
353
- id: 'DeleteResourcesModal.product-variant',
354
- description: 'Label for the product-variant resource type',
355
- defaultMessage: 'product variant'
334
+ id: "DeleteResourcesModal.product-variant",
335
+ defaultMessage: "product variant"
356
336
  },
357
337
  'product-variants': {
358
- id: 'DeleteResourcesModal.product-variants',
359
- description: 'Plural form of product variant',
360
- defaultMessage: 'product variants'
338
+ id: "DeleteResourcesModal.product-variants",
339
+ defaultMessage: "product variants"
361
340
  },
362
341
  'product-variant-patch': {
363
- id: 'DeleteResourcesModal.product-variant-patch',
364
- description: 'Label for the product-variant-patch resource type',
365
- defaultMessage: 'product variant patch'
342
+ id: "DeleteResourcesModal.product-variant-patch",
343
+ defaultMessage: "product variant patch"
366
344
  },
367
345
  'product-variant-patches': {
368
- id: 'DeleteResourcesModal.product-variant-patches',
369
- description: 'Plural form of product variant patch',
370
- defaultMessage: 'product variant patches'
346
+ id: "DeleteResourcesModal.product-variant-patches",
347
+ defaultMessage: "product variant patches"
371
348
  },
372
349
  'standalone-price': {
373
- id: 'DeleteResourcesModal.standalone-price',
374
- description: 'Label for the standalone-price resource type',
375
- defaultMessage: 'standalone price'
350
+ id: "DeleteResourcesModal.standalone-price",
351
+ defaultMessage: "standalone price"
376
352
  },
377
353
  'standalone-prices': {
378
- id: 'DeleteResourcesModal.standalone-prices',
379
- description: 'Plural form of standalone price',
380
- defaultMessage: 'standalone prices'
354
+ id: "DeleteResourcesModal.standalone-prices",
355
+ defaultMessage: "standalone prices"
381
356
  },
382
357
  'discount-code': {
383
- id: 'DeleteResourcesModal.discount-code',
384
- description: 'Label for the discount-code resource type',
385
- defaultMessage: 'discount code'
358
+ id: "DeleteResourcesModal.discount-code",
359
+ defaultMessage: "discount code"
386
360
  },
387
361
  'discount-codes': {
388
- id: 'DeleteResourcesModal.discount-codes',
389
- description: 'Plural form of discount code',
390
- defaultMessage: 'discount codes'
362
+ id: "DeleteResourcesModal.discount-codes",
363
+ defaultMessage: "discount codes"
391
364
  },
392
365
  unknownResourceType: {
393
- id: 'DeleteResourcesModal.unknown-resource-type',
394
- description: 'Label for the unknown resource type',
395
- defaultMessage: 'unknown resource type'
366
+ id: "DeleteResourcesModal.unknown-resource-type",
367
+ defaultMessage: "unknown resource type"
396
368
  }
397
369
  });
398
370
 
@@ -681,11 +653,11 @@ function getDefaultDropWrapperStyles(_dropAreaState) {
681
653
  return /*#__PURE__*/react.css(process.env.NODE_ENV === "production" ? "" : ";label:getDefaultDropWrapperStyles;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImRyb3AtYXJlYS13cmFwcGVyLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF5QlkiLCJmaWxlIjoiZHJvcC1hcmVhLXdyYXBwZXIudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgdHlwZSBEcm9wem9uZVJvb3RQcm9wcyB9IGZyb20gJ3JlYWN0LWRyb3B6b25lJ1xuaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcbmltcG9ydCB7IHN0eWxlcyB9IGZyb20gJy4vc3R5bGVzJ1xuaW1wb3J0IHsgdHlwZSBEcm9wQXJlYVN0YXRlIH0gZnJvbSAnLi4vLi4vLi4vQHR5cGVzJ1xuXG5pbnRlcmZhY2UgRHJvcFdyYXBwZXJQcm9wcyBleHRlbmRzIERyb3B6b25lUm9vdFByb3BzIHtcbiAgZHJvcEFyZWFTdGF0ZTogRHJvcEFyZWFTdGF0ZVxufVxuZXhwb3J0IGNvbnN0IERyb3BXcmFwcGVyID0gc3R5bGVkLmRpdjxEcm9wV3JhcHBlclByb3BzPmBcbiAgJHtzdHlsZXMuYmFzZX1cbiAgJHsocHJvcHMpID0+IHtcbiAgICBpZiAocHJvcHMuZHJvcEFyZWFTdGF0ZSA9PT0gJ3JlYWR5LWZvci1kcm9wJykge1xuICAgICAgcmV0dXJuIHN0eWxlcy5yZWFkeUZvckRyb3BcbiAgICB9XG4gICAgaWYgKHByb3BzLmRyb3BBcmVhU3RhdGUgPT09ICdhY3RpdmUtZHJhZycpIHtcbiAgICAgIHJldHVybiBzdHlsZXMuYWN0aXZlRHJhZ1xuICAgIH1cbiAgICBpZiAocHJvcHMuZHJvcEFyZWFTdGF0ZSA9PT0gJ2ZpbGUtZHJvcHBlZCcpIHtcbiAgICAgIHJldHVybiBzdHlsZXMuZmlsZURyb3BwZWRcbiAgICB9XG4gICAgcmV0dXJuIGdldERlZmF1bHREcm9wV3JhcHBlclN0eWxlcyhwcm9wcy5kcm9wQXJlYVN0YXRlKVxuICB9fVxuYFxuZnVuY3Rpb24gZ2V0RGVmYXVsdERyb3BXcmFwcGVyU3R5bGVzKF9kcm9wQXJlYVN0YXRlOiBuZXZlcikge1xuICByZXR1cm4gY3NzYGBcbn1cbiJdfQ== */");
682
654
  }
683
655
 
684
- var ActiveDragDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./active-drag-drop-area-f1fabbe1.cjs.dev.js' /* webpackChunkName: "active-drag-drop-area" */); }));
656
+ var ActiveDragDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./active-drag-drop-area-6a6bb037.cjs.dev.js' /* webpackChunkName: "active-drag-drop-area" */); }));
685
657
 
686
- var EnabledDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./enabled-drop-area-c0054f46.cjs.dev.js' /* webpackChunkName: "enabled-drop-area" */); }));
658
+ var EnabledDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./enabled-drop-area-78e1a160.cjs.dev.js' /* webpackChunkName: "enabled-drop-area" */); }));
687
659
 
688
- var FileDropped = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./file-dropped-area-4f2d4886.cjs.dev.js' /* webpackChunkName: "filed-dropped-area" */); }));
660
+ var FileDropped = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./file-dropped-area-2b20f89c.cjs.dev.js' /* webpackChunkName: "filed-dropped-area" */); }));
689
661
 
690
662
  function getDropArea(_ref) {
691
663
  let dropAreaState = _ref.dropAreaState,
@@ -718,58 +690,48 @@ function getDropAreaState(flags) {
718
690
 
719
691
  var messages$4 = reactIntl.defineMessages({
720
692
  dragAndDropCSV: {
721
- id: 'DeleteResourcesModal.dragAndDropCSV',
722
- description: 'The message telling the user to drag and drop CSV file in the file drop area',
723
- defaultMessage: 'Drag and drop CSV'
693
+ id: "DeleteResourcesModal.dragAndDropCSV",
694
+ defaultMessage: "Drag and drop CSV"
724
695
  },
725
696
  or: {
726
- id: 'DeleteResourcesModal.or',
727
- description: 'The word "or" in the drag and drop message',
728
- defaultMessage: 'or'
697
+ id: "DeleteResourcesModal.or",
698
+ defaultMessage: "or"
729
699
  },
730
700
  browseButton: {
731
- id: 'DeleteResourcesModal.browseFile',
732
- defaultMessage: 'Browse file'
701
+ id: "DeleteResourcesModal.browseFile",
702
+ defaultMessage: "Browse file"
733
703
  },
734
704
  uploadAndPreview: {
735
- id: 'DeleteResourcesModal.uploadAndPreview',
736
- description: 'Label for the button that uploads the file and shows the preview',
737
- defaultMessage: 'Upload and preview'
705
+ id: "DeleteResourcesModal.uploadAndPreview",
706
+ defaultMessage: "Upload and preview"
738
707
  },
739
708
  chooseFile: {
740
- id: 'DeleteResourcesModal.chooseFile',
741
- description: 'Label for a button on the file upload page, shown on ready to upload state',
742
- defaultMessage: 'Choose file'
709
+ id: "DeleteResourcesModal.chooseFile",
710
+ defaultMessage: "Choose file"
743
711
  },
744
712
  fileUploadFailed: {
745
- id: 'DeleteResourcesModal.fileUploadFailed',
746
- description: 'A title on the file upload page, shown on file upload error state',
747
- defaultMessage: 'File upload failed'
713
+ id: "DeleteResourcesModal.fileUploadFailed",
714
+ defaultMessage: "File upload failed"
748
715
  },
749
716
  fileFormatNotSupported: {
750
- id: 'DeleteResourcesModal.fileFormatNotSupported',
751
- description: 'Error message displayed when a user drags and drops a non-CSV file',
752
- defaultMessage: 'Invalid file format: The file is not in CSV format and cannot be processed.'
717
+ id: "DeleteResourcesModal.fileFormatNotSupported",
718
+ defaultMessage: "Invalid file format: The file is not in CSV format and cannot be processed."
753
719
  },
754
720
  tooManyFilesError: {
755
- id: 'DeleteResourcesModal.tooManyFilesError',
756
- description: 'Error message displayed when a user drags and drops multiple files at once',
757
- defaultMessage: 'Multiple files detected: You can only drag and drop one file at a time.'
721
+ id: "DeleteResourcesModal.tooManyFilesError",
722
+ defaultMessage: "Multiple files detected: You can only drag and drop one file at a time."
758
723
  },
759
724
  genericError: {
760
- id: 'DeleteResourcesModal.genericError',
761
- description: 'Default error message for unexpected file upload issues (for unhandled cases)',
762
- defaultMessage: 'Error occurred: Please try uploading the file again or contact our support team for assistance.'
725
+ id: "DeleteResourcesModal.genericError",
726
+ defaultMessage: "Error occurred: Please try uploading the file again or contact our support team for assistance."
763
727
  },
764
728
  dataType: {
765
- id: 'DeleteResourcesModal.dataType',
766
- description: 'Label for the data type selection dropdown',
767
- defaultMessage: 'Data type'
729
+ id: "DeleteResourcesModal.dataType",
730
+ defaultMessage: "Data type"
768
731
  },
769
732
  instructions: {
770
- id: 'DeleteResourcesModal.instructions',
771
- description: 'Label for the instructions section',
772
- defaultMessage: 'Instructions'
733
+ id: "DeleteResourcesModal.instructions",
734
+ defaultMessage: "Instructions"
773
735
  }
774
736
  });
775
737
 
@@ -783,56 +745,47 @@ const useDeleteResourcesContext = () => {
783
745
 
784
746
  var messages$3 = reactIntl.defineMessages({
785
747
  fileSizeExceededTitle: {
786
- id: 'DeleteResourcesModal.sizeExceededTitle',
787
- defaultMessage: 'File size exceeded'
748
+ id: "DeleteResourcesModal.sizeExceededTitle",
749
+ defaultMessage: "File size exceeded"
788
750
  },
789
751
  fileSizeExceededDescription: {
790
- id: 'DeleteResourcesModal.sizeExceededDescription',
791
- description: 'Error description when the file size exceeds the allowable limit',
792
- defaultMessage: 'The file exceeds the maximum allowed size of {fileSizeLimit} MB'
752
+ id: "DeleteResourcesModal.sizeExceededDescription",
753
+ defaultMessage: "The file exceeds the maximum allowed size of {fileSizeLimit} MB"
793
754
  },
794
755
  rowLimitExceededTitle: {
795
- id: 'DeleteResourcesModal.rowLimitExceededTitle',
796
- defaultMessage: 'Row limit exceeded'
756
+ id: "DeleteResourcesModal.rowLimitExceededTitle",
757
+ defaultMessage: "Row limit exceeded"
797
758
  },
798
759
  rowLimitExceededDescription: {
799
- id: 'DeleteResourcesModal.rowLimitExceededDescription',
800
- description: 'Error description when the file contains more rows than the allowable maximum',
801
- defaultMessage: 'The file contains more than the allowable maximum of {rowLimit} rows'
760
+ id: "DeleteResourcesModal.rowLimitExceededDescription",
761
+ defaultMessage: "The file contains more than the allowable maximum of {rowLimit} rows"
802
762
  },
803
763
  dropAreaNotEnoughRowsTitle: {
804
- id: 'DeleteResourcesModal.dropAreaNotEnoughRowsTitle',
805
- description: 'Error title shown when the uploaded CSV file does not contain a header and at least one row of data',
806
- defaultMessage: 'Invalid CSV file'
764
+ id: "DeleteResourcesModal.dropAreaNotEnoughRowsTitle",
765
+ defaultMessage: "Invalid CSV file"
807
766
  },
808
767
  dropAreaNotEnoughRowsDescription: {
809
- id: 'DeleteResourcesModal.dropAreaNotEnoughRowsDescription',
810
- description: 'Error description shown when the uploaded CSV file does not contain a header and at least one row of data',
811
- defaultMessage: 'Make sure the file contains a header and at least one row of data'
768
+ id: "DeleteResourcesModal.dropAreaNotEnoughRowsDescription",
769
+ defaultMessage: "Make sure the file contains a header and at least one row of data"
812
770
  },
813
771
  unexpectedError: {
814
- id: 'DeleteResourcesModal.unexpectedError',
815
- description: 'Generic notification message when file upload fails',
816
- defaultMessage: 'An unexpected error occurred during the file upload. Please try again, or contact support if this error occurs again.'
772
+ id: "DeleteResourcesModal.unexpectedError",
773
+ defaultMessage: "An unexpected error occurred during the file upload. Please try again, or contact support if this error occurs again."
817
774
  },
818
775
  missingRequiredField: {
819
- id: 'DeleteResourcesModal.missingRequiredField',
820
- description: 'Error message displayed when a required field is missing',
821
- defaultMessage: 'Missing required field'
776
+ id: "DeleteResourcesModal.missingRequiredField",
777
+ defaultMessage: "Missing required field"
822
778
  },
823
779
  missingKeyError: {
824
- id: 'DeleteResourcesModal.missingKeyError',
825
- description: 'Error message displayed when the uploaded file is missing the key field',
780
+ id: "DeleteResourcesModal.missingKeyError",
826
781
  defaultMessage: "The 'key' field is missing or incomplete in some rows. Please ensure every row has a 'key' value."
827
782
  },
828
783
  csvFormatErrorTitle: {
829
- id: 'DeleteResourcesModal.csvFormatErrorTitle',
830
- description: 'Error title shown when the uploaded CSV file is not formatted correctly',
831
- defaultMessage: 'Invalid CSV file'
784
+ id: "DeleteResourcesModal.csvFormatErrorTitle",
785
+ defaultMessage: "Invalid CSV file"
832
786
  },
833
787
  csvFormatErrorDescription: {
834
- id: 'FileUpload.csvFormatErrorDescription',
835
- description: 'Error message displayed when the CSV file is not formatted correctly',
788
+ id: "FileUpload.csvFormatErrorDescription",
836
789
  defaultMessage: "Your CSV file is not formatted correctly. Make sure the file contains only one column named 'key', which includes the product keys"
837
790
  }
838
791
  });
@@ -1139,19 +1092,16 @@ const FileDropArea = () => {
1139
1092
 
1140
1093
  var messages$2 = reactIntl.defineMessages({
1141
1094
  fileUploadInstruction: {
1142
- id: 'DeleteResourcesModal.fileUploadInstruction',
1143
- description: 'Instructions for uploading a CSV file with resource keys to delete',
1095
+ id: "DeleteResourcesModal.fileUploadInstruction",
1144
1096
  defaultMessage: "The CSV file must contain the {resourceType} keys to be deleted under the header 'key'."
1145
1097
  },
1146
1098
  fileUploadInstructionForMaxFileSize: {
1147
- id: 'DeleteResourcesModal.fileUploadInstructionForMaxFileSize',
1148
- description: 'Instructions for uploading a CSV file with a max file size',
1149
- defaultMessage: 'Maximum file size is {maxFileSize} MB with a limit of {maxRowCount} rows. Download <csvTemplateLink>the CSV template</csvTemplateLink> or refer to <documentationLink>the documentation</documentationLink>.'
1099
+ id: "DeleteResourcesModal.fileUploadInstructionForMaxFileSize",
1100
+ defaultMessage: "Maximum file size is {maxFileSize} MB with a limit of {maxRowCount} rows. Download <csvTemplateLink>the CSV template</csvTemplateLink> or refer to <documentationLink>the documentation</documentationLink>."
1150
1101
  },
1151
1102
  unpublishNote: {
1152
- id: 'DeleteResourcesModal.unpublishNote',
1153
- description: 'Note to unpublish products before deleting them',
1154
- defaultMessage: 'Please note that published products <b>must be unpublished</b> before they can be deleted.'
1103
+ id: "DeleteResourcesModal.unpublishNote",
1104
+ defaultMessage: "Please note that published products <b>must be unpublished</b> before they can be deleted."
1155
1105
  }
1156
1106
  });
1157
1107
 
@@ -1312,23 +1262,20 @@ const Uploading = () => {
1312
1262
 
1313
1263
  var messages$1 = reactIntl.defineMessages({
1314
1264
  uploadNewFile: {
1315
- id: 'DeleteResourcesModal.uploadNewFile',
1316
- defaultMessage: 'Upload new file'
1265
+ id: "DeleteResourcesModal.uploadNewFile",
1266
+ defaultMessage: "Upload new file"
1317
1267
  },
1318
1268
  uploadErrorDescription: {
1319
- id: 'DeleteResourcesModal.uploadError',
1320
- description: 'Title when errors detected while uploading file',
1321
- defaultMessage: 'There {errorsCount, plural, one {is <b>1</b> error} other {are <b>{errorsCount}</b> errors}} detected while uploading the file "{fileName}".'
1269
+ id: "DeleteResourcesModal.uploadError",
1270
+ defaultMessage: "There {errorsCount, plural, one {is <b>1</b> error} other {are <b>{errorsCount}</b> errors}} detected while uploading the file \"{fileName}\"."
1322
1271
  },
1323
1272
  errorType: {
1324
- id: 'DeleteResourcesModal.errorType',
1325
- description: 'Error type" column',
1326
- defaultMessage: 'Error type'
1273
+ id: "DeleteResourcesModal.errorType",
1274
+ defaultMessage: "Error type"
1327
1275
  },
1328
1276
  details: {
1329
- id: 'DeleteResourcesModal.details',
1330
- description: '"Details" column',
1331
- defaultMessage: 'Details'
1277
+ id: "DeleteResourcesModal.details",
1278
+ defaultMessage: "Details"
1332
1279
  }
1333
1280
  });
1334
1281
 
@@ -1438,44 +1385,36 @@ function getBold$2(msg) {
1438
1385
 
1439
1386
  var messages = reactIntl.defineMessages({
1440
1387
  continue: {
1441
- id: 'DeleteResourcesModal.continue',
1442
- description: 'Continue button',
1443
- defaultMessage: 'Continue'
1388
+ id: "DeleteResourcesModal.continue",
1389
+ defaultMessage: "Continue"
1444
1390
  },
1445
1391
  heresAPreview: {
1446
- id: 'DeleteResourcesModal.heresAPreview',
1447
- description: 'Here is a preview',
1392
+ id: "DeleteResourcesModal.heresAPreview",
1448
1393
  defaultMessage: "Here's a preview:"
1449
1394
  },
1450
1395
  resourcesToBeDeleted: {
1451
- id: 'DeleteResourcesModal.resourcesToBeDeleted',
1452
- description: 'Resources to be deleted',
1453
- defaultMessage: '{count, plural, one {<b>{count}</b> {resourceType} to be deleted} other {<b>{count}</b> {resourceTypePlural} to be deleted}}'
1396
+ id: "DeleteResourcesModal.resourcesToBeDeleted",
1397
+ defaultMessage: "{count, plural, one {<b>{count}</b> {resourceType} to be deleted} other {<b>{count}</b> {resourceTypePlural} to be deleted}}"
1454
1398
  },
1455
1399
  confirmationQuestion: {
1456
- id: 'DeleteResourcesModal.confirmationQuestion',
1457
- description: 'Confirmation question',
1458
- defaultMessage: 'Are you sure you want to delete the {resourceTypePlural}? '
1400
+ id: "DeleteResourcesModal.confirmationQuestion",
1401
+ defaultMessage: "Are you sure you want to delete the {resourceTypePlural}?"
1459
1402
  },
1460
1403
  confirmationText: {
1461
- id: 'DeleteResourcesModal.confirmationText',
1462
- description: 'Confirmation text',
1463
- defaultMessage: '{count, plural, one {You are about to delete <b>{count}</b> {resourceType} in the project: <b>{projectName}</b>.} other {You are about to deleted <b>{count}</b> {resourceTypePlural} in the project: <b>{projectName}</b>.}}'
1404
+ id: "DeleteResourcesModal.confirmationText",
1405
+ defaultMessage: "{count, plural, one {You are about to delete <b>{count}</b> {resourceType} in the project: <b>{projectName}</b>.} other {You are about to deleted <b>{count}</b> {resourceTypePlural} in the project: <b>{projectName}</b>.}}"
1464
1406
  },
1465
1407
  cannotBeUndoneNote: {
1466
- id: 'DeleteResourcesModal.cannotBeUndoneNote',
1467
- description: 'Cannot be undone note in the confirmation dialog',
1468
- defaultMessage: 'This action cannot be undone.'
1408
+ id: "DeleteResourcesModal.cannotBeUndoneNote",
1409
+ defaultMessage: "This action cannot be undone."
1469
1410
  },
1470
1411
  importStarted: {
1471
- id: 'DeleteResourcesModal.importStarted',
1472
- description: 'Import started',
1473
- defaultMessage: '<b>Your import for bulk delete has started.</b><newline></newline>Go to <logsLink>Import logs</logsLink> to view the progress.'
1412
+ id: "DeleteResourcesModal.importStarted",
1413
+ defaultMessage: "<b>Your import for bulk delete has started.</b><newline></newline>Go to <logsLink>Import logs</logsLink> to view the progress."
1474
1414
  },
1475
1415
  preparingImport: {
1476
- id: 'DeleteResourcesModal.preparingImport',
1477
- description: 'Preparing import',
1478
- defaultMessage: '<b>Prepare bulk delete.</b><newline></newline>Once preparation is complete, you can track the progress <logsLink>in the Import logs</logsLink>. The data will be deleted after the import is finalized.'
1416
+ id: "DeleteResourcesModal.preparingImport",
1417
+ defaultMessage: "<b>Prepare bulk delete.</b><newline></newline>Once preparation is complete, you can track the progress <logsLink>in the Import logs</logsLink>. The data will be deleted after the import is finalized."
1479
1418
  }
1480
1419
  });
1481
1420