Make WordPress Core

Changeset 30796


Ignore:
Timestamp:
12/09/2014 06:56:41 PM (12 years ago)
Author:
johnbillion
Message:

In Twenty Fourteen, move the "Continue Reading" arrows back inside the translatable strings so they can be localised.

See #30641

Location:
trunk/src/wp-content/themes/twentyfourteen
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/content-aside.php

    r30389 r30796  
    4646                        /* translators: %s: Name of current post */
    4747                        the_content( sprintf(
    48                                 esc_html__( 'Continue reading %s', 'twentyfourteen' ),
    49                                 the_title( '<span class="screen-reader-text">', '</span> <span class="meta-nav">&rarr;</span>', false )
     48                                __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentyfourteen' ),
     49                                the_title( '<span class="screen-reader-text">', '</span>', false )
    5050                        ) );
    5151
  • trunk/src/wp-content/themes/twentyfourteen/content-audio.php

    r30389 r30796  
    4646                        /* translators: %s: Name of current post */
    4747                        the_content( sprintf(
    48                                 esc_html__( 'Continue reading %s', 'twentyfourteen' ),
    49                                 the_title( '<span class="screen-reader-text">', '</span> <span class="meta-nav">&rarr;</span>', false )
     48                                __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentyfourteen' ),
     49                                the_title( '<span class="screen-reader-text">', '</span>', false )
    5050                        ) );
    5151
  • trunk/src/wp-content/themes/twentyfourteen/content-gallery.php

    r30389 r30796  
    4646                        /* translators: %s: Name of current post */
    4747                        the_content( sprintf(
    48                                 esc_html__( 'Continue reading %s', 'twentyfourteen' ),
    49                                 the_title( '<span class="screen-reader-text">', '</span> <span class="meta-nav">&rarr;</span>', false )
     48                                __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentyfourteen' ),
     49                                the_title( '<span class="screen-reader-text">', '</span>', false )
    5050                        ) );
    5151
  • trunk/src/wp-content/themes/twentyfourteen/content-image.php

    r30389 r30796  
    4646                        /* translators: %s: Name of current post */
    4747                        the_content( sprintf(
    48                                 esc_html__( 'Continue reading %s', 'twentyfourteen' ),
    49                                 the_title( '<span class="screen-reader-text">', '</span> <span class="meta-nav">&rarr;</span>', false )
     48                                __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentyfourteen' ),
     49                                the_title( '<span class="screen-reader-text">', '</span>', false )
    5050                        ) );
    5151
  • trunk/src/wp-content/themes/twentyfourteen/content-link.php

    r30389 r30796  
    4646                        /* translators: %s: Name of current post */
    4747                        the_content( sprintf(
    48                                 esc_html__( 'Continue reading %s', 'twentyfourteen' ),
    49                                 the_title( '<span class="screen-reader-text">', '</span> <span class="meta-nav">&rarr;</span>', false )
     48                                __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentyfourteen' ),
     49                                the_title( '<span class="screen-reader-text">', '</span>', false )
    5050                        ) );
    5151
  • trunk/src/wp-content/themes/twentyfourteen/content-quote.php

    r30389 r30796  
    4646                        /* translators: %s: Name of current post */
    4747                        the_content( sprintf(
    48                                 esc_html__( 'Continue reading %s', 'twentyfourteen' ),
    49                                 the_title( '<span class="screen-reader-text">', '</span> <span class="meta-nav">&rarr;</span>', false )
     48                                __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentyfourteen' ),
     49                                the_title( '<span class="screen-reader-text">', '</span>', false )
    5050                        ) );
    5151
  • trunk/src/wp-content/themes/twentyfourteen/content-video.php

    r30389 r30796  
    4646                        /* translators: %s: Name of current post */
    4747                        the_content( sprintf(
    48                                 esc_html__( 'Continue reading %s', 'twentyfourteen' ),
    49                                 the_title( '<span class="screen-reader-text">', '</span> <span class="meta-nav">&rarr;</span>', false )
     48                                __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentyfourteen' ),
     49                                the_title( '<span class="screen-reader-text">', '</span>', false )
    5050                        ) );
    5151
  • trunk/src/wp-content/themes/twentyfourteen/content.php

    r30389 r30796  
    5454                        /* translators: %s: Name of current post */
    5555                        the_content( sprintf(
    56                                 esc_html__( 'Continue reading %s', 'twentyfourteen' ),
    57                                 the_title( '<span class="screen-reader-text">', '</span> <span class="meta-nav">&rarr;</span>', false )
     56                                __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentyfourteen' ),
     57                                the_title( '<span class="screen-reader-text">', '</span>', false )
    5858                        ) );
    5959
  • trunk/src/wp-content/themes/twentyfourteen/inc/template-tags.php

    r30389 r30796  
    217217                esc_url( get_permalink( get_the_ID() ) ),
    218218                        /* translators: %s: Name of current post */
    219                         sprintf( esc_html__( 'Continue reading %s', 'twentyfourteen' ), '<span class="screen-reader-text">' . get_the_title( get_the_ID() ) . '</span> <span class="meta-nav">&rarr;</span>' )
     219                        sprintf( __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentyfourteen' ), '<span class="screen-reader-text">' . get_the_title( get_the_ID() ) . '</span>' )
    220220                );
    221221        return ' &hellip; ' . $link;
Note: See TracChangeset for help on using the changeset viewer.