Add message context to carousel controls

This commit is contained in:
IanDelMar 2021-07-28 11:20:22 +02:00
parent aafc69db46
commit 823a6b94fd
3 changed files with 6 additions and 2 deletions

View File

@ -440,9 +440,11 @@ msgid "Search …"
msgstr "Suche …"
#: sidebar-templates/sidebar-hero.php:28
msgctxt "carousel control"
msgid "Previous"
msgstr "Vorherige"
#: sidebar-templates/sidebar-hero.php:36
msgctxt "carousel control"
msgid "Next"
msgstr "Nächste"

View File

@ -379,9 +379,11 @@ msgid "Search …"
msgstr ""
#: sidebar-templates/sidebar-hero.php:28
msgctxt "carousel control"
msgid "Previous"
msgstr ""
#: sidebar-templates/sidebar-hero.php:36
msgctxt "carousel control"
msgid "Next"
msgstr ""

View File

@ -25,7 +25,7 @@ defined( 'ABSPATH' ) || exit;
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only"><?php esc_html_e( 'Previous', 'understrap' ); ?></span>
<span class="sr-only"><?php echo esc_html_x( 'Previous', 'carousel control', 'understrap' ); ?></span>
</a>
@ -33,7 +33,7 @@ defined( 'ABSPATH' ) || exit;
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only"><?php esc_html_e( 'Next', 'understrap' ); ?></span>
<span class="sr-only"><?php echo esc_html_x( 'Next', 'carousel control', 'understrap' ); ?></span>
</a>