mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
In Twenty Fourteen, move the "Continue Reading" arrows back inside the translatable strings so they can be localised.
See #30641 git-svn-id: https://develop.svn.wordpress.org/trunk@30796 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ea614c6841
commit
d884bdb8ec
@ -45,8 +45,8 @@
|
||||
<?php
|
||||
/* translators: %s: Name of current post */
|
||||
the_content( sprintf(
|
||||
esc_html__( 'Continue reading %s', 'twentyfourteen' ),
|
||||
the_title( '<span class="screen-reader-text">', '</span> <span class="meta-nav">→</span>', false )
|
||||
__( 'Continue reading %s <span class="meta-nav">→</span>', 'twentyfourteen' ),
|
||||
the_title( '<span class="screen-reader-text">', '</span>', false )
|
||||
) );
|
||||
|
||||
wp_link_pages( array(
|
||||
|
||||
@ -45,8 +45,8 @@
|
||||
<?php
|
||||
/* translators: %s: Name of current post */
|
||||
the_content( sprintf(
|
||||
esc_html__( 'Continue reading %s', 'twentyfourteen' ),
|
||||
the_title( '<span class="screen-reader-text">', '</span> <span class="meta-nav">→</span>', false )
|
||||
__( 'Continue reading %s <span class="meta-nav">→</span>', 'twentyfourteen' ),
|
||||
the_title( '<span class="screen-reader-text">', '</span>', false )
|
||||
) );
|
||||
|
||||
wp_link_pages( array(
|
||||
|
||||
@ -45,8 +45,8 @@
|
||||
<?php
|
||||
/* translators: %s: Name of current post */
|
||||
the_content( sprintf(
|
||||
esc_html__( 'Continue reading %s', 'twentyfourteen' ),
|
||||
the_title( '<span class="screen-reader-text">', '</span> <span class="meta-nav">→</span>', false )
|
||||
__( 'Continue reading %s <span class="meta-nav">→</span>', 'twentyfourteen' ),
|
||||
the_title( '<span class="screen-reader-text">', '</span>', false )
|
||||
) );
|
||||
|
||||
wp_link_pages( array(
|
||||
|
||||
@ -45,8 +45,8 @@
|
||||
<?php
|
||||
/* translators: %s: Name of current post */
|
||||
the_content( sprintf(
|
||||
esc_html__( 'Continue reading %s', 'twentyfourteen' ),
|
||||
the_title( '<span class="screen-reader-text">', '</span> <span class="meta-nav">→</span>', false )
|
||||
__( 'Continue reading %s <span class="meta-nav">→</span>', 'twentyfourteen' ),
|
||||
the_title( '<span class="screen-reader-text">', '</span>', false )
|
||||
) );
|
||||
|
||||
wp_link_pages( array(
|
||||
|
||||
@ -45,8 +45,8 @@
|
||||
<?php
|
||||
/* translators: %s: Name of current post */
|
||||
the_content( sprintf(
|
||||
esc_html__( 'Continue reading %s', 'twentyfourteen' ),
|
||||
the_title( '<span class="screen-reader-text">', '</span> <span class="meta-nav">→</span>', false )
|
||||
__( 'Continue reading %s <span class="meta-nav">→</span>', 'twentyfourteen' ),
|
||||
the_title( '<span class="screen-reader-text">', '</span>', false )
|
||||
) );
|
||||
|
||||
wp_link_pages( array(
|
||||
|
||||
@ -45,8 +45,8 @@
|
||||
<?php
|
||||
/* translators: %s: Name of current post */
|
||||
the_content( sprintf(
|
||||
esc_html__( 'Continue reading %s', 'twentyfourteen' ),
|
||||
the_title( '<span class="screen-reader-text">', '</span> <span class="meta-nav">→</span>', false )
|
||||
__( 'Continue reading %s <span class="meta-nav">→</span>', 'twentyfourteen' ),
|
||||
the_title( '<span class="screen-reader-text">', '</span>', false )
|
||||
) );
|
||||
|
||||
wp_link_pages( array(
|
||||
|
||||
@ -45,8 +45,8 @@
|
||||
<?php
|
||||
/* translators: %s: Name of current post */
|
||||
the_content( sprintf(
|
||||
esc_html__( 'Continue reading %s', 'twentyfourteen' ),
|
||||
the_title( '<span class="screen-reader-text">', '</span> <span class="meta-nav">→</span>', false )
|
||||
__( 'Continue reading %s <span class="meta-nav">→</span>', 'twentyfourteen' ),
|
||||
the_title( '<span class="screen-reader-text">', '</span>', false )
|
||||
) );
|
||||
|
||||
wp_link_pages( array(
|
||||
|
||||
@ -53,8 +53,8 @@
|
||||
<?php
|
||||
/* translators: %s: Name of current post */
|
||||
the_content( sprintf(
|
||||
esc_html__( 'Continue reading %s', 'twentyfourteen' ),
|
||||
the_title( '<span class="screen-reader-text">', '</span> <span class="meta-nav">→</span>', false )
|
||||
__( 'Continue reading %s <span class="meta-nav">→</span>', 'twentyfourteen' ),
|
||||
the_title( '<span class="screen-reader-text">', '</span>', false )
|
||||
) );
|
||||
|
||||
wp_link_pages( array(
|
||||
|
||||
@ -216,7 +216,7 @@ function twentyfourteen_excerpt_more( $more ) {
|
||||
$link = sprintf( '<a href="%1$s" class="more-link">%2$s</a>',
|
||||
esc_url( get_permalink( get_the_ID() ) ),
|
||||
/* translators: %s: Name of current post */
|
||||
sprintf( esc_html__( 'Continue reading %s', 'twentyfourteen' ), '<span class="screen-reader-text">' . get_the_title( get_the_ID() ) . '</span> <span class="meta-nav">→</span>' )
|
||||
sprintf( __( 'Continue reading %s <span class="meta-nav">→</span>', 'twentyfourteen' ), '<span class="screen-reader-text">' . get_the_title( get_the_ID() ) . '</span>' )
|
||||
);
|
||||
return ' … ' . $link;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user