@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.js CHANGED
@@ -40781,8 +40781,8 @@ var common = {
40781
40781
  var attachments = {
40782
40782
  actionsBlocked: "You are not permitted to update or delete attachments",
40783
40783
  add: "Add attachment",
40784
- deleteConfirmation: "Are you sure you want to remove {{entity}}?",
40785
- deleteTitle: "Remove Attachment?",
40784
+ deleteConfirmation: "You are permanently deleting the attachment <strong>{{entity}}</strong>. This can't be undone.",
40785
+ deleteTitle: "Delete attachment?",
40786
40786
  maxNumberOfFiles: "You can only attach {{entity}} files",
40787
40787
  nameEmpty: "Filename cannot be empty",
40788
40788
  noPreview: "There is no preview available, click to <span>download</span>.",
@@ -64385,7 +64385,7 @@ var File$1 = function File(_ref) {
64385
64385
 
64386
64386
  function cov_13lrfxjoky() {
64387
64387
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Attachments/Attachment.jsx";
64388
- var hash = "ad070984e2846d3274c4e93405e4349d78692cd8";
64388
+ var hash = "b2ddbea9ebf2d4705c118839a8a3d077c5115944";
64389
64389
  var global = new Function("return this")();
64390
64390
  var gcv = "__coverage__";
64391
64391
  var coverageData = {
@@ -64407,7 +64407,7 @@ function cov_13lrfxjoky() {
64407
64407
  column: 19
64408
64408
  },
64409
64409
  end: {
64410
- line: 201,
64410
+ line: 207,
64411
64411
  column: 1
64412
64412
  }
64413
64413
  },
@@ -64837,7 +64837,7 @@ function cov_13lrfxjoky() {
64837
64837
  column: 2
64838
64838
  },
64839
64839
  end: {
64840
- line: 200,
64840
+ line: 206,
64841
64841
  column: 4
64842
64842
  }
64843
64843
  },
@@ -64903,11 +64903,11 @@ function cov_13lrfxjoky() {
64903
64903
  },
64904
64904
  "51": {
64905
64905
  start: {
64906
- line: 196,
64906
+ line: 202,
64907
64907
  column: 23
64908
64908
  },
64909
64909
  end: {
64910
- line: 196,
64910
+ line: 202,
64911
64911
  column: 50
64912
64912
  }
64913
64913
  }
@@ -64931,7 +64931,7 @@ function cov_13lrfxjoky() {
64931
64931
  column: 6
64932
64932
  },
64933
64933
  end: {
64934
- line: 201,
64934
+ line: 207,
64935
64935
  column: 1
64936
64936
  }
64937
64937
  },
@@ -65229,25 +65229,25 @@ function cov_13lrfxjoky() {
65229
65229
  name: "(anonymous_13)",
65230
65230
  decl: {
65231
65231
  start: {
65232
- line: 196,
65232
+ line: 202,
65233
65233
  column: 17
65234
65234
  },
65235
65235
  end: {
65236
- line: 196,
65236
+ line: 202,
65237
65237
  column: 18
65238
65238
  }
65239
65239
  },
65240
65240
  loc: {
65241
65241
  start: {
65242
- line: 196,
65242
+ line: 202,
65243
65243
  column: 23
65244
65244
  },
65245
65245
  end: {
65246
- line: 196,
65246
+ line: 202,
65247
65247
  column: 50
65248
65248
  }
65249
65249
  },
65250
- line: 196
65250
+ line: 202
65251
65251
  }
65252
65252
  },
65253
65253
  branchMap: {
@@ -65606,7 +65606,7 @@ function cov_13lrfxjoky() {
65606
65606
  "7": [0, 0]
65607
65607
  },
65608
65608
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
65609
- hash: "ad070984e2846d3274c4e93405e4349d78692cd8"
65609
+ hash: "b2ddbea9ebf2d4705c118839a8a3d077c5115944"
65610
65610
  };
65611
65611
  var coverage = global[gcv] || (global[gcv] = {});
65612
65612
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -65891,10 +65891,14 @@ var Attachment = function Attachment(_ref2) {
65891
65891
  }))))))), /*#__PURE__*/React__default.createElement(Alert, {
65892
65892
  isOpen: isDeleteAlertOpen,
65893
65893
  isSubmitting: isDeleting,
65894
- message: t("attachments.deleteConfirmation", {
65895
- entity: newFilename
65896
- }),
65894
+ submitButtonLabel: t("menu.delete"),
65897
65895
  title: t("attachments.deleteTitle"),
65896
+ message: /*#__PURE__*/React__default.createElement(Trans, {
65897
+ i18nKey: "attachments.deleteConfirmation",
65898
+ values: {
65899
+ entity: newFilename
65900
+ }
65901
+ }),
65898
65902
  onClose: function onClose() {
65899
65903
  cov_13lrfxjoky().f[13]++;
65900
65904
  cov_13lrfxjoky().s[51]++;