Skip to content

Commit 9cae620

Browse files
committed
Fixed #31211
1 parent 3bcbd95 commit 9cae620

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

app/code/Magento/Vault/i18n/en_US.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ Actions,Actions
1313
Delete,Delete
1414
"PayPal Account","PayPal Account"
1515
Cancel,Cancel
16+
"Are you sure you want to delete this card: %1?","Are you sure you want to delete this card: %1?"

app/code/Magento/Vault/view/frontend/templates/customer_account/credit_card.phtml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@ $ccNumberView = $block->escapeHtml($block->getNumberLast4Digits());
4343
"modalClass": "my-credit-cards-popup",
4444
"toggleEvent": "click",
4545
"title": "<?= $block->escapeHtml(__('Delete')) ?>",
46-
"content": "Are you sure you want to delete this card: <?=
47-
/* @noEscape */ $ccNumberView
48-
?>?"
46+
"content": "<?= $block->escapeHtml(__('Are you sure you want to delete this card: %1?', /* @noEscape */ $ccNumberView)) ?>"
4947
}
5048
}'>
5149
<span><?= $block->escapeHtml(__('Delete')) ?></span>

0 commit comments

Comments
 (0)