@bigbinary/neeto-editor 1.27.3 → 1.27.4

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/index.cjs.js CHANGED
@@ -40810,8 +40810,8 @@ var common = {
40810
40810
  var attachments = {
40811
40811
  actionsBlocked: "You are not permitted to update or delete attachments",
40812
40812
  add: "Add attachment",
40813
- deleteConfirmation: "Are you sure you want to remove {{entity}}?",
40814
- deleteTitle: "Remove Attachment?",
40813
+ deleteConfirmation: "You are permanently deleting the attachment <strong>{{entity}}</strong>. This can't be undone.",
40814
+ deleteTitle: "Delete attachment?",
40815
40815
  maxNumberOfFiles: "You can only attach {{entity}} files",
40816
40816
  nameEmpty: "Filename cannot be empty",
40817
40817
  noPreview: "There is no preview available, click to <span>download</span>.",
@@ -64414,7 +64414,7 @@ var File$1 = function File(_ref) {
64414
64414
 
64415
64415
  function cov_13lrfxjoky() {
64416
64416
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Attachments/Attachment.jsx";
64417
- var hash = "ad070984e2846d3274c4e93405e4349d78692cd8";
64417
+ var hash = "b2ddbea9ebf2d4705c118839a8a3d077c5115944";
64418
64418
  var global = new Function("return this")();
64419
64419
  var gcv = "__coverage__";
64420
64420
  var coverageData = {
@@ -64436,7 +64436,7 @@ function cov_13lrfxjoky() {
64436
64436
  column: 19
64437
64437
  },
64438
64438
  end: {
64439
- line: 201,
64439
+ line: 207,
64440
64440
  column: 1
64441
64441
  }
64442
64442
  },
@@ -64866,7 +64866,7 @@ function cov_13lrfxjoky() {
64866
64866
  column: 2
64867
64867
  },
64868
64868
  end: {
64869
- line: 200,
64869
+ line: 206,
64870
64870
  column: 4
64871
64871
  }
64872
64872
  },
@@ -64932,11 +64932,11 @@ function cov_13lrfxjoky() {
64932
64932
  },
64933
64933
  "51": {
64934
64934
  start: {
64935
- line: 196,
64935
+ line: 202,
64936
64936
  column: 23
64937
64937
  },
64938
64938
  end: {
64939
- line: 196,
64939
+ line: 202,
64940
64940
  column: 50
64941
64941
  }
64942
64942
  }
@@ -64960,7 +64960,7 @@ function cov_13lrfxjoky() {
64960
64960
  column: 6
64961
64961
  },
64962
64962
  end: {
64963
- line: 201,
64963
+ line: 207,
64964
64964
  column: 1
64965
64965
  }
64966
64966
  },
@@ -65258,25 +65258,25 @@ function cov_13lrfxjoky() {
65258
65258
  name: "(anonymous_13)",
65259
65259
  decl: {
65260
65260
  start: {
65261
- line: 196,
65261
+ line: 202,
65262
65262
  column: 17
65263
65263
  },
65264
65264
  end: {
65265
- line: 196,
65265
+ line: 202,
65266
65266
  column: 18
65267
65267
  }
65268
65268
  },
65269
65269
  loc: {
65270
65270
  start: {
65271
- line: 196,
65271
+ line: 202,
65272
65272
  column: 23
65273
65273
  },
65274
65274
  end: {
65275
- line: 196,
65275
+ line: 202,
65276
65276
  column: 50
65277
65277
  }
65278
65278
  },
65279
- line: 196
65279
+ line: 202
65280
65280
  }
65281
65281
  },
65282
65282
  branchMap: {
@@ -65635,7 +65635,7 @@ function cov_13lrfxjoky() {
65635
65635
  "7": [0, 0]
65636
65636
  },
65637
65637
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
65638
- hash: "ad070984e2846d3274c4e93405e4349d78692cd8"
65638
+ hash: "b2ddbea9ebf2d4705c118839a8a3d077c5115944"
65639
65639
  };
65640
65640
  var coverage = global[gcv] || (global[gcv] = {});
65641
65641
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -65920,10 +65920,14 @@ var Attachment = function Attachment(_ref2) {
65920
65920
  }))))))), /*#__PURE__*/React__default["default"].createElement(neetoui.Alert, {
65921
65921
  isOpen: isDeleteAlertOpen,
65922
65922
  isSubmitting: isDeleting,
65923
- message: t("attachments.deleteConfirmation", {
65924
- entity: newFilename
65925
- }),
65923
+ submitButtonLabel: t("menu.delete"),
65926
65924
  title: t("attachments.deleteTitle"),
65925
+ message: /*#__PURE__*/React__default["default"].createElement(Trans, {
65926
+ i18nKey: "attachments.deleteConfirmation",
65927
+ values: {
65928
+ entity: newFilename
65929
+ }
65930
+ }),
65927
65931
  onClose: function onClose() {
65928
65932
  cov_13lrfxjoky().f[13]++;
65929
65933
  cov_13lrfxjoky().s[51]++;