forked from mirror/_s
Improve "Continue reading" word order for i18n
Resolves translation word order issue for some locales when the screen reader only text is invisible. Fixes #1088
This commit is contained in:
parent
59b66c7dd5
commit
ef2a0e7c00
|
@ -30,15 +30,15 @@
|
|||
<?php
|
||||
the_content( sprintf(
|
||||
wp_kses(
|
||||
/* translators: %s: Name of current post. */
|
||||
__( 'Continue reading %s <span class="meta-nav">→</span>', '_s' ),
|
||||
/* translators: %s: Name of current post. Only visible to screen readers */
|
||||
__( 'Continue reading<span class="screen-reader-text"> "%s"</span>', '_s' ),
|
||||
array(
|
||||
'span' => array(
|
||||
'class' => array(),
|
||||
),
|
||||
)
|
||||
),
|
||||
the_title( '<span class="screen-reader-text">"', '"</span>', false )
|
||||
get_the_title()
|
||||
) );
|
||||
|
||||
wp_link_pages( array(
|
||||
|
|
Reference in New Issue