@osovitny/anatoly 2.0.26 → 2.0.27

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.
@@ -1515,12 +1515,14 @@
1515
1515
  Alerts.areYouSure = function (text, title, confirmButtonText, cancelButtonText, successAction, cancelAction) {
1516
1516
  text = Utils.getLocalizedValue(text);
1517
1517
  title = Utils.getLocalizedValue(title, null, 'AreYouSure');
1518
+ confirmButtonText = Utils.getLocalizedValue(confirmButtonText, null, 'AreYouSure-ConfirmButtonText');
1519
+ cancelButtonText = Utils.getLocalizedValue(cancelButtonText, null, 'AreYouSure-CancelButtonText');
1518
1520
  Swal.fire({
1519
1521
  text: text,
1520
1522
  title: title,
1521
1523
  icon: 'warning',
1522
- confirmButtonText: Utils.getLocalizedValue(confirmButtonText),
1523
- cancelButtonText: Utils.getLocalizedValue(cancelButtonText),
1524
+ confirmButtonText: confirmButtonText,
1525
+ cancelButtonText: cancelButtonText,
1524
1526
  showCancelButton: true
1525
1527
  })
1526
1528
  .then(function (result) {