Make WordPress Core

Ticket #29748: 29748-wp-content.patch

File 29748-wp-content.patch, 31.4 KB (added by mercime, 9 years ago)

wp-content - refreshed translator comments

  • src/wp-content/themes/twentyfifteen/archive.php

     
    4848                        the_posts_pagination( array(
    4949                                'prev_text'          => __( 'Previous page', 'twentyfifteen' ),
    5050                                'next_text'          => __( 'Next page', 'twentyfifteen' ),
     51                                /* translators: accessibility text */
    5152                                'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>',
    5253                        ) );
    5354
  • src/wp-content/themes/twentyfifteen/content-link.php

     
    2929                        /* translators: %s: Name of current post */
    3030                        the_content( sprintf(
    3131                                __( 'Continue reading %s', 'twentyfifteen' ),
     32                                /* translators: accessibility text */
    3233                                the_title( '<span class="screen-reader-text">', '</span>', false )
    3334                        ) );
    3435
     
    3738                                'after'       => '</div>',
    3839                                'link_before' => '<span>',
    3940                                'link_after'  => '</span>',
     41                                /* translators: accessibility text */
    4042                                'pagelink'    => '<span class="screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>%',
    4143                                'separator'   => '<span class="screen-reader-text">, </span>',
    4244                        ) );
  • src/wp-content/themes/twentyfifteen/content-page.php

     
    2626                                'after'       => '</div>',
    2727                                'link_before' => '<span>',
    2828                                'link_after'  => '</span>',
     29                                /* translators: accessibility text */
    2930                                'pagelink'    => '<span class="screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>%',
    3031                                'separator'   => '<span class="screen-reader-text">, </span>',
    3132                        ) );
  • src/wp-content/themes/twentyfifteen/content.php

     
    3131                        /* translators: %s: Name of current post */
    3232                        the_content( sprintf(
    3333                                __( 'Continue reading %s', 'twentyfifteen' ),
     34                                /* translators: accessibility text */
    3435                                the_title( '<span class="screen-reader-text">', '</span>', false )
    3536                        ) );
    3637
     
    3940                                'after'       => '</div>',
    4041                                'link_before' => '<span>',
    4142                                'link_after'  => '</span>',
     43                                /* translators: accessibility text */
    4244                                'pagelink'    => '<span class="screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>%',
    4345                                'separator'   => '<span class="screen-reader-text">, </span>',
    4446                        ) );
  • src/wp-content/themes/twentyfifteen/functions.php

     
    266266
    267267        wp_enqueue_script( 'twentyfifteen-script', get_template_directory_uri() . '/js/functions.js', array( 'jquery' ), '20150330', true );
    268268        wp_localize_script( 'twentyfifteen-script', 'screenReaderText', array(
     269                /* translators: accessibility text */
    269270                'expand'   => '<span class="screen-reader-text">' . __( 'expand child menu', 'twentyfifteen' ) . '</span>',
     271                /* translators: accessibility text */
    270272                'collapse' => '<span class="screen-reader-text">' . __( 'collapse child menu', 'twentyfifteen' ) . '</span>',
    271273        ) );
    272274}
     
    343345 * @return string Modified search form HTML.
    344346 */
    345347function twentyfifteen_search_form_modify( $html ) {
     348        /* translators: accessibility text */
    346349        return str_replace( 'class="search-submit"', 'class="search-submit screen-reader-text"', $html );
    347350}
    348351add_filter( 'get_search_form', 'twentyfifteen_search_form_modify' );
  • src/wp-content/themes/twentyfifteen/header.php

     
    2323
    2424<body <?php body_class(); ?>>
    2525<div id="page" class="hfeed site">
    26         <a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'twentyfifteen' ); ?></a>
     26        <a class="skip-link screen-reader-text" href="#content"><?php
     27                /* translators: accessibility text */
     28                _e( 'Skip to content', 'twentyfifteen' );
     29        ?></a>
    2730
    2831        <div id="sidebar" class="sidebar">
    2932                <header id="masthead" class="site-header" role="banner">
  • src/wp-content/themes/twentyfifteen/image.php

     
    6060                                                                'after'       => '</div>',
    6161                                                                'link_before' => '<span>',
    6262                                                                'link_after'  => '</span>',
     63                                                                /* translators: accessibility text */
    6364                                                                'pagelink'    => '<span class="screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>%',
    6465                                                                'separator'   => '<span class="screen-reader-text">, </span>',
    6566                                                        ) );
  • src/wp-content/themes/twentyfifteen/inc/template-tags.php

     
    2020        if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) :
    2121        ?>
    2222        <nav class="navigation comment-navigation" role="navigation">
    23                 <h2 class="screen-reader-text"><?php _e( 'Comment navigation', 'twentyfifteen' ); ?></h2>
     23                <h2 class="screen-reader-text"><?php
     24                        /* translators: accessibility text */
     25                        _e( 'Comment navigation', 'twentyfifteen' );
     26                ?></h2>
    2427                <div class="nav-links">
    2528                        <?php
    2629                                if ( $prev_link = get_previous_comments_link( __( 'Older Comments', 'twentyfifteen' ) ) ) :
     
    5154
    5255        $format = get_post_format();
    5356        if ( current_theme_supports( 'post-formats', $format ) ) {
     57                /* translators: 1: accessibility text: format, 2: link, 3: post format */
    5458                printf( '<span class="entry-format">%1$s<a href="%2$s">%3$s</a></span>',
    5559                        sprintf( '<span class="screen-reader-text">%s </span>', _x( 'Format', 'Used before post format.', 'twentyfifteen' ) ),
    5660                        esc_url( get_post_format_link( $format ) ),
     
    7276                        get_the_modified_date()
    7377                );
    7478
     79                /* translators: 1: accessibility text, 2: permalink, 3: time  */
    7580                printf( '<span class="posted-on"><span class="screen-reader-text">%1$s </span><a href="%2$s" rel="bookmark">%3$s</a></span>',
    7681                        _x( 'Posted on', 'Used before publish date.', 'twentyfifteen' ),
    7782                        esc_url( get_permalink() ),
     
    8186
    8287        if ( 'post' == get_post_type() ) {
    8388                if ( is_singular() || is_multi_author() ) {
     89                        /* translators: 1: accessibility text, 2: author link, 3: author name  */
    8490                        printf( '<span class="byline"><span class="author vcard"><span class="screen-reader-text">%1$s </span><a class="url fn n" href="%2$s">%3$s</a></span></span>',
    8591                                _x( 'Author', 'Used before post author name.', 'twentyfifteen' ),
    8692                                esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
     
    9096
    9197                $categories_list = get_the_category_list( _x( ', ', 'Used between list items, there is a space after the comma.', 'twentyfifteen' ) );
    9298                if ( $categories_list && twentyfifteen_categorized_blog() ) {
     99                        /* translators: 1: accessibility text, 2: category list  */
    93100                        printf( '<span class="cat-links"><span class="screen-reader-text">%1$s </span>%2$s</span>',
    94101                                _x( 'Categories', 'Used before category names.', 'twentyfifteen' ),
    95102                                $categories_list
     
    98105
    99106                $tags_list = get_the_tag_list( '', _x( ', ', 'Used between list items, there is a space after the comma.', 'twentyfifteen' ) );
    100107                if ( $tags_list ) {
     108                        /* translators: 1: accessibility text, 2: tag list  */
    101109                        printf( '<span class="tags-links"><span class="screen-reader-text">%1$s </span>%2$s</span>',
    102110                                _x( 'Tags', 'Used before tag names.', 'twentyfifteen' ),
    103111                                $tags_list
     
    109117                // Retrieve attachment metadata.
    110118                $metadata = wp_get_attachment_metadata();
    111119
     120                /* translators: 1: accessibility text, 2: link, 3: width, 4: height  */
    112121                printf( '<span class="full-size-link"><span class="screen-reader-text">%1$s </span><a href="%2$s">%3$s &times; %4$s</a></span>',
    113122                        _x( 'Full size', 'Used before full size attachment link.', 'twentyfifteen' ),
    114123                        esc_url( wp_get_attachment_url() ),
     
    119128
    120129        if ( ! is_single() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) {
    121130                echo '<span class="comments-link">';
    122                 /* translators: %s: post title */
     131                /* translators: accessibility text: %s: post title */
    123132                comments_popup_link( sprintf( __( 'Leave a comment<span class="screen-reader-text"> on %s</span>', 'twentyfifteen' ), get_the_title() ) );
    124133                echo '</span>';
    125134        }
     
    235244        $link = sprintf( '<a href="%1$s" class="more-link">%2$s</a>',
    236245                esc_url( get_permalink( get_the_ID() ) ),
    237246                /* translators: %s: Name of current post */
    238                 sprintf( __( 'Continue reading %s', 'twentyfifteen' ), '<span class="screen-reader-text">' . get_the_title( get_the_ID() ) . '</span>' )
     247                sprintf( __( 'Continue reading %s', 'twentyfifteen' ),
     248                /* translators: accessibility text */
     249                '<span class="screen-reader-text">' . get_the_title( get_the_ID() ) . '</span>' )
    239250                );
    240251        return ' &hellip; ' . $link;
    241252}
  • src/wp-content/themes/twentyfifteen/index.php

     
    2323
    2424                        <?php if ( is_home() && ! is_front_page() ) : ?>
    2525                                <header>
    26                                         <h1 class="page-title screen-reader-text"><?php single_post_title(); ?></h1>
     26                                        <h1 class="page-title screen-reader-text"><?php
     27                                                /* translators: %s: accessibility text */
     28                                                single_post_title();
     29                                        ?></h1>
    2730                                </header>
    2831                        <?php endif; ?>
    2932
     
    4548                        the_posts_pagination( array(
    4649                                'prev_text'          => __( 'Previous page', 'twentyfifteen' ),
    4750                                'next_text'          => __( 'Next page', 'twentyfifteen' ),
     51                                /* translators: accessibility text */
    4852                                'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>',
    4953                        ) );
    5054
  • src/wp-content/themes/twentyfifteen/search.php

     
    3737                        the_posts_pagination( array(
    3838                                'prev_text'          => __( 'Previous page', 'twentyfifteen' ),
    3939                                'next_text'          => __( 'Next page', 'twentyfifteen' ),
     40                                /* translators: accessibility text */
    4041                                'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>',
    4142                        ) );
    4243
  • src/wp-content/themes/twentyfourteen/comments.php

     
    3131
    3232        <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?>
    3333        <nav id="comment-nav-above" class="navigation comment-navigation" role="navigation">
    34                 <h1 class="screen-reader-text"><?php _e( 'Comment navigation', 'twentyfourteen' ); ?></h1>
     34                <h1 class="screen-reader-text"><?php
     35                        /* translators: accessibility text */
     36                        _e( 'Comment navigation', 'twentyfourteen' );
     37                ?></h1>
    3538                <div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'twentyfourteen' ) ); ?></div>
    3639                <div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'twentyfourteen' ) ); ?></div>
    3740        </nav><!-- #comment-nav-above -->
     
    4952
    5053        <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?>
    5154        <nav id="comment-nav-below" class="navigation comment-navigation" role="navigation">
    52                 <h1 class="screen-reader-text"><?php _e( 'Comment navigation', 'twentyfourteen' ); ?></h1>
     55                <h1 class="screen-reader-text"><?php
     56                        /* translators: accessibility text */
     57                        _e( 'Comment navigation', 'twentyfourteen' );
     58                ?></h1>
    5359                <div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'twentyfourteen' ) ); ?></div>
    5460                <div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'twentyfourteen' ) ); ?></div>
    5561        </nav><!-- #comment-nav-below -->
  • src/wp-content/themes/twentyfourteen/content-aside.php

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

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

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

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

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

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

     
    4646                        /* translators: %s: Name of current post */
    4747                        the_content( sprintf(
    4848                                __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentyfourteen' ),
     49                                /* translators: accessibility text */
    4950                                the_title( '<span class="screen-reader-text">', '</span>', false )
    5051                        ) );
    5152
  • src/wp-content/themes/twentyfourteen/content.php

     
    5454                        /* translators: %s: Name of current post */
    5555                        the_content( sprintf(
    5656                                __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentyfourteen' ),
     57                                /* translators: accessibility text */
    5758                                the_title( '<span class="screen-reader-text">', '</span>', false )
    5859                        ) );
    5960
  • src/wp-content/themes/twentyfourteen/header.php

     
    4545                        <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
    4646
    4747                        <div class="search-toggle">
    48                                 <a href="#search-container" class="screen-reader-text" aria-expanded="false" aria-controls="search-container"><?php _e( 'Search', 'twentyfourteen' ); ?></a>
     48                                <a href="#search-container" class="screen-reader-text" aria-expanded="false" aria-controls="search-container"><?php
     49                                        /* translators: accessibility text */
     50                                        _e( 'Search', 'twentyfourteen' );
     51                                ?></a>
    4952                        </div>
    5053
    5154                        <nav id="primary-navigation" class="site-navigation primary-navigation" role="navigation">
    5255                                <button class="menu-toggle"><?php _e( 'Primary Menu', 'twentyfourteen' ); ?></button>
    53                                 <a class="screen-reader-text skip-link" href="#content"><?php _e( 'Skip to content', 'twentyfourteen' ); ?></a>
     56                                <a class="screen-reader-text skip-link" href="#content"><?php
     57                                        /* translators: accessibility text */
     58                                        _e( 'Skip to content', 'twentyfourteen' );
     59                                ?></a>
    5460                                <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu', 'menu_id' => 'primary-menu' ) ); ?>
    5561                        </nav>
    5662                </div>
  • src/wp-content/themes/twentyfourteen/inc/template-tags.php

     
    5555
    5656        ?>
    5757        <nav class="navigation paging-navigation" role="navigation">
    58                 <h1 class="screen-reader-text"><?php _e( 'Posts navigation', 'twentyfourteen' ); ?></h1>
     58                <h1 class="screen-reader-text"><?php
     59                        /* translators: accessibility text */
     60                        _e( 'Posts navigation', 'twentyfourteen' );
     61                ?></h1>
    5962                <div class="pagination loop-pagination">
    6063                        <?php echo $links; ?>
    6164                </div><!-- .pagination -->
     
    8285
    8386        ?>
    8487        <nav class="navigation post-navigation" role="navigation">
    85                 <h1 class="screen-reader-text"><?php _e( 'Post navigation', 'twentyfourteen' ); ?></h1>
     88                <h1 class="screen-reader-text"><?php
     89                        /* translators: accessibility text */
     90                        _e( 'Post navigation', 'twentyfourteen' );
     91                ?></h1>
    8692                <div class="nav-links">
    8793                        <?php
    8894                        if ( is_attachment() ) :
     
    219225        $link = sprintf( '<a href="%1$s" class="more-link">%2$s</a>',
    220226                esc_url( get_permalink( get_the_ID() ) ),
    221227                        /* translators: %s: Name of current post */
    222                         sprintf( __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentyfourteen' ), '<span class="screen-reader-text">' . get_the_title( get_the_ID() ) . '</span>' )
     228                        sprintf( __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentyfourteen' ),
     229                        /* translators: accessibility text */
     230                        '<span class="screen-reader-text">' . get_the_title( get_the_ID() ) . '</span>' )
    223231                );
    224232        return ' &hellip; ' . $link;
    225233}
  • src/wp-content/themes/twentyten/header.php

     
    102102
    103103                        <div id="access" role="navigation">
    104104                          <?php /* Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff */ ?>
    105                                 <div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentyten' ); ?>"><?php _e( 'Skip to content', 'twentyten' ); ?></a></div>
     105                                <div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentyten' ); ?>"><?php
     106                                        /* translators: accessibility text */
     107                                        _e( 'Skip to content', 'twentyten' );
     108                                ?></a></div>
    106109                                <?php /* Our navigation menu. If one isn't filled out, wp_nav_menu falls back to wp_page_menu. The menu assiged to the primary position is the one used. If none is assigned, the menu with the lowest ID is used. */ ?>
    107110                                <?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?>
    108111                        </div><!-- #access -->
  • src/wp-content/themes/twentythirteen/comments.php

     
    4242                        if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) :
    4343                ?>
    4444                <nav class="navigation comment-navigation" role="navigation">
    45                         <h1 class="screen-reader-text section-heading"><?php _e( 'Comment navigation', 'twentythirteen' ); ?></h1>
     45                        <h1 class="screen-reader-text section-heading"><?php
     46                                /* translators: accessibility text */
     47                                _e( 'Comment navigation', 'twentythirteen' );
     48                        ?></h1>
    4649                        <div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'twentythirteen' ) ); ?></div>
    4750                        <div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'twentythirteen' ) ); ?></div>
    4851                </nav><!-- .comment-navigation -->
     
    5659
    5760        <?php comment_form(); ?>
    5861
    59 </div><!-- #comments -->
    60  No newline at end of file
     62</div><!-- #comments -->
  • src/wp-content/themes/twentythirteen/content-aside.php

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

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

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

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

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

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

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

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

     
    2424                        /* translators: %s: Name of current post */
    2525                        the_content( sprintf(
    2626                                __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentythirteen' ),
     27                                /* translators: accessibility text */
    2728                                the_title( '<span class="screen-reader-text">', '</span>', false )
    2829                        ) );
    2930
  • src/wp-content/themes/twentythirteen/content.php

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

     
    266266                return;
    267267        ?>
    268268        <nav class="navigation paging-navigation" role="navigation">
    269                 <h1 class="screen-reader-text"><?php _e( 'Posts navigation', 'twentythirteen' ); ?></h1>
     269                <h1 class="screen-reader-text"><?php
     270                        /* translators: accessibility text */
     271                        _e( 'Posts navigation', 'twentythirteen' );
     272                ?></h1>
    270273                <div class="nav-links">
    271274
    272275                        <?php if ( get_next_posts_link() ) : ?>
     
    300303                return;
    301304        ?>
    302305        <nav class="navigation post-navigation" role="navigation">
    303                 <h1 class="screen-reader-text"><?php _e( 'Post navigation', 'twentythirteen' ); ?></h1>
     306                <h1 class="screen-reader-text"><?php
     307                        /* translators: accessibility text */
     308                        _e( 'Post navigation', 'twentythirteen' );
     309                ?></h1>
    304310                <div class="nav-links">
    305311
    306312                        <?php previous_post_link( '%link', _x( '<span class="meta-nav">&larr;</span> %title', 'Previous post link', 'twentythirteen' ) ); ?>
     
    478484        $link = sprintf( '<a href="%1$s" class="more-link">%2$s</a>',
    479485                esc_url( get_permalink( get_the_ID() ) ),
    480486                        /* translators: %s: Name of current post */
    481                         sprintf( __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentythirteen' ), '<span class="screen-reader-text">' . get_the_title( get_the_ID() ) . '</span>' )
     487                        sprintf( __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentythirteen' ),
     488                        /* translators: accessibility text */
     489                        '<span class="screen-reader-text">' . get_the_title( get_the_ID() ) . '</span>' )
    482490                );
    483491        return ' &hellip; ' . $link;
    484492}
  • src/wp-content/themes/twentythirteen/header.php

     
    4141                        <div id="navbar" class="navbar">
    4242                                <nav id="site-navigation" class="navigation main-navigation" role="navigation">
    4343                                        <button class="menu-toggle"><?php _e( 'Menu', 'twentythirteen' ); ?></button>
    44                                         <a class="screen-reader-text skip-link" href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentythirteen' ); ?>"><?php _e( 'Skip to content', 'twentythirteen' ); ?></a>
     44                                        <a class="screen-reader-text skip-link" href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentythirteen' ); ?>"><?php
     45                                                /* translators: accessibility text */
     46                                                _e( 'Skip to content', 'twentythirteen' );
     47                                        ?></a>
    4548                                        <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu', 'menu_id' => 'primary-menu' ) ); ?>
    4649                                        <?php get_search_form(); ?>
    4750                                </nav><!-- #site-navigation -->