Make WordPress Core

Changeset 30795


Ignore:
Timestamp:
12/09/2014 06:55:40 PM (10 years ago)
Author:
johnbillion
Message:

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

See #30641

Location:
trunk/src/wp-content/themes/twentythirteen
Files:
11 edited

Legend:

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

    r30390 r30795  
    1414            /* translators: %s: Name of current post */
    1515            the_content( sprintf(
    16                 esc_html__( 'Continue reading %s', 'twentythirteen' ),
    17                 the_title( '<span class="screen-reader-text">', '</span> <span class="meta-nav">&rarr;</span>', false )
     16                __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentythirteen' ),
     17                the_title( '<span class="screen-reader-text">', '</span>', false )
    1818            ) );
    1919
  • trunk/src/wp-content/themes/twentythirteen/content-audio.php

    r30390 r30795  
    2525            /* translators: %s: Name of current post */
    2626            the_content( sprintf(
    27                 esc_html__( 'Continue reading %s', 'twentythirteen' ),
    28                 the_title( '<span class="screen-reader-text">', '</span> <span class="meta-nav">&rarr;</span>', false )
     27                __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentythirteen' ),
     28                the_title( '<span class="screen-reader-text">', '</span>', false )
    2929            ) );
    3030
  • trunk/src/wp-content/themes/twentythirteen/content-chat.php

    r30390 r30795  
    2424            /* translators: %s: Name of current post */
    2525            the_content( sprintf(
    26                 esc_html__( 'Continue reading %s', 'twentythirteen' ),
    27                 the_title( '<span class="screen-reader-text">', '</span> <span class="meta-nav">&rarr;</span>', false )
     26                __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentythirteen' ),
     27                the_title( '<span class="screen-reader-text">', '</span>', false )
    2828            ) );
    2929
  • trunk/src/wp-content/themes/twentythirteen/content-gallery.php

    r30390 r30795  
    2525            /* translators: %s: Name of current post */
    2626            the_content( sprintf(
    27                 esc_html__( 'Continue reading %s', 'twentythirteen' ),
    28                 the_title( '<span class="screen-reader-text">', '</span> <span class="meta-nav">&rarr;</span>', false )
     27                __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentythirteen' ),
     28                the_title( '<span class="screen-reader-text">', '</span>', false )
    2929            ) );
    3030
  • trunk/src/wp-content/themes/twentythirteen/content-image.php

    r30390 r30795  
    2424            /* translators: %s: Name of current post */
    2525            the_content( sprintf(
    26                 esc_html__( 'Continue reading %s', 'twentythirteen' ),
    27                 the_title( '<span class="screen-reader-text">', '</span> <span class="meta-nav">&rarr;</span>', false )
     26                __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentythirteen' ),
     27                the_title( '<span class="screen-reader-text">', '</span>', false )
    2828            ) );
    2929
  • trunk/src/wp-content/themes/twentythirteen/content-link.php

    r30390 r30795  
    2525            /* translators: %s: Name of current post */
    2626            the_content( sprintf(
    27                 esc_html__( 'Continue reading %s', 'twentythirteen' ),
    28                 the_title( '<span class="screen-reader-text">', '</span> <span class="meta-nav">&rarr;</span>', false )
     27                __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentythirteen' ),
     28                the_title( '<span class="screen-reader-text">', '</span>', false )
    2929            ) );
    3030
  • trunk/src/wp-content/themes/twentythirteen/content-quote.php

    r30390 r30795  
    1414            /* translators: %s: Name of current post */
    1515            the_content( sprintf(
    16                 esc_html__( 'Continue reading %s', 'twentythirteen' ),
    17                 the_title( '<span class="screen-reader-text">', '</span> <span class="meta-nav">&rarr;</span>', false )
     16                __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentythirteen' ),
     17                the_title( '<span class="screen-reader-text">', '</span>', false )
    1818            ) );
    1919
  • trunk/src/wp-content/themes/twentythirteen/content-status.php

    r30390 r30795  
    1414            /* translators: %s: Name of current post */
    1515            the_content( sprintf(
    16                 esc_html__( 'Continue reading %s', 'twentythirteen' ),
    17                 the_title( '<span class="screen-reader-text">', '</span> <span class="meta-nav">&rarr;</span>', false )
     16                __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentythirteen' ),
     17                the_title( '<span class="screen-reader-text">', '</span>', false )
    1818            ) );
    1919
  • trunk/src/wp-content/themes/twentythirteen/content-video.php

    r30390 r30795  
    2424            /* translators: %s: Name of current post */
    2525            the_content( sprintf(
    26                 esc_html__( 'Continue reading %s', 'twentythirteen' ),
    27                 the_title( '<span class="screen-reader-text">', '</span> <span class="meta-nav">&rarr;</span>', false )
     26                __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentythirteen' ),
     27                the_title( '<span class="screen-reader-text">', '</span>', false )
    2828            ) );
    2929
  • trunk/src/wp-content/themes/twentythirteen/content.php

    r30390 r30795  
    4242            /* translators: %s: Name of current post */
    4343            the_content( sprintf(
    44                 esc_html__( 'Continue reading %s', 'twentythirteen' ),
    45                 the_title( '<span class="screen-reader-text">', '</span> <span class="meta-nav">&rarr;</span>', false )
     44                __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentythirteen' ),
     45                the_title( '<span class="screen-reader-text">', '</span>', false )
    4646            ) );
    4747
  • trunk/src/wp-content/themes/twentythirteen/functions.php

    r30482 r30795  
    476476        esc_url( get_permalink( get_the_ID() ) ),
    477477            /* translators: %s: Name of current post */
    478             sprintf( esc_html__( 'Continue reading %s', 'twentythirteen' ), '<span class="screen-reader-text">' . get_the_title( get_the_ID() ) . '</span> <span class="meta-nav">&rarr;</span>' )
     478            sprintf( __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentythirteen' ), '<span class="screen-reader-text">' . get_the_title( get_the_ID() ) . '</span>' )
    479479        );
    480480    return ' &hellip; ' . $link;
Note: See TracChangeset for help on using the changeset viewer.