Skip to content

Commit f6bb182

Browse files
committed
Merge remote-tracking branch '37959/vault-accounts-header' into community_prs_april
2 parents 89e49b8 + afafd16 commit f6bb182

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ Type,Type
1111
ending,ending
1212
Actions,Actions
1313
Delete,Delete
14-
"PayPal Account","PayPal Account"
14+
"Account","Account"
1515
Cancel,Cancel
1616
"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/token_list.phtml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,20 @@
55
*/
66

77
/** @var \Magento\Vault\Block\Customer\AccountTokens $block */
8+
/** @var $escaper \Magento\Framework\Escaper */
89
$tokens = $block->getPaymentTokens();
910
?>
10-
<?php if (count($tokens) !== 0) : ?>
11+
<?php if (count($tokens) !== 0): ?>
1112
<div class="table-wrapper my-credit-cards">
1213
<table class="data table table-credit-cards" id="token-list-table">
1314
<thead>
1415
<tr>
15-
<th scope="col" class="col"><?= $block->escapeHtml(__('PayPal Account')) ?></th>
16+
<th scope="col" class="col"><?= $escaper->escapeHtml(__('Account')) ?></th>
1617
<th scope="col" class="col actions">&nbsp;</th>
1718
</tr>
1819
</thead>
1920
<tbody>
20-
<?php foreach ($tokens as $token) : ?>
21+
<?php foreach ($tokens as $token): ?>
2122
<?= /* @noEscape */ $block->renderTokenHtml($token) ?>
2223
<?php endforeach; ?>
2324
</tbody>

0 commit comments

Comments
 (0)