Make WordPress Core

Ticket #21759: 21759.4.diff

File 21759.4.diff, 1.4 KB (added by SergeyBiryukov, 13 years ago)
  • wp-content/themes/twentytwelve/functions.php

     
    334334                get_the_author()
    335335        );
    336336
    337         // Translators: 1 is category, 2 is tag, 3 is the date and 4 is the author's name.
     337        // Translators: 1 is category, 2 is tag, 3 is the date and 5 is the author's name.
    338338        if ( $tag_list ) {
    339                 $utility_text = __( 'This entry was posted in %1$s and tagged %2$s on %3$s<span class="by-author"> by %4$s</span>.', 'twentytwelve' );
     339                $utility_text = __( 'This entry was posted in %1$s and tagged %2$s on %3$s%4$s by %5$s%6$s.', 'twentytwelve' );
    340340        } elseif ( $categories_list ) {
    341                 $utility_text = __( 'This entry was posted in %1$s on %3$s<span class="by-author"> by %4$s</span>.', 'twentytwelve' );
     341                $utility_text = __( 'This entry was posted in %1$s on %3$s%4$s by %5$s%6$s.', 'twentytwelve' );
    342342        } else {
    343                 $utility_text = __( 'This entry was posted on %3$s<span class="by-author"> by %4$s</span>.', 'twentytwelve' );
     343                $utility_text = __( 'This entry was posted on %3$s%4$s by %5$s%6$s.', 'twentytwelve' );
    344344        }
    345345
    346346        printf(
     
    348348                $categories_list,
    349349                $tag_list,
    350350                $date,
    351                 $author
     351                '<span class="by-author">',
     352                $author,
     353                '</span>'
    352354        );
    353355}
    354356endif;