Skip to content

Commit 0430a80

Browse files
Add translation & escape verbiage
1 parent 4400de6 commit 0430a80

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Theme/view/frontend/templates/html

1 file changed

+2
-2
lines changed

app/code/Magento/Theme/view/frontend/templates/html/pager.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
<li class="item">
6262
<a class="page previous jump"
6363
title=""
64-
aria-label="Skip to page <?= $block->escapeHtml($block->getPreviousJumpPage()) ?>"
64+
aria-label="<?= $block->escapeHtml(__('Skip to page %1', $block->getNextJumpPage())) ?>"
6565
href="<?= $block->escapeUrl($block->getPreviousJumpUrl()) ?>">
6666
<span>...</span>
6767
</a>
@@ -90,7 +90,7 @@
9090
<li class="item">
9191
<a class="page next jump"
9292
title=""
93-
aria-label="Skip to page <?= $block->escapeHtml($block->getNextJumpPage()) ?>"
93+
aria-label="<?= $block->escapeHtml(__('Skip to page %1', $block->getNextJumpPage())) ?>"
9494
href="<?= $block->escapeUrl($block->getNextJumpUrl()) ?>">
9595
<span>...</span>
9696
</a>

0 commit comments

Comments
 (0)