WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/25/2011 03:19:33 PM (10 years ago)
Author:
iandstewart
Message:

Twenty Eleven: make categories and tags i18n friendly; Props dimadin; Fixes #17531

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyeleven/content-single.php

    r17959 r18029  
    3434    <footer class="entry-meta">
    3535        <?php
    36             $tag_list = get_the_tag_list( '', ', ' );
     36            /* translators: used between list items, there is a space after the comma */
     37            $tag_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) );
    3738            if ( '' != $tag_list ) {
    3839                $utility_text = __( 'This entry was posted in %1$s and tagged %2$s by <a href="%6$s">%5$s</a>. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' );
     
    4243            printf(
    4344                $utility_text,
    44                 get_the_category_list( ', ' ),
     45                /* translators: used between list items, there is a space after the comma */
     46                get_the_category_list( __( ', ', 'twentyeleven' ) ),
    4547                $tag_list,
    4648                get_permalink(),
Note: See TracChangeset for help on using the changeset viewer.