Make WordPress Core


Ignore:
Timestamp:
05/25/2011 03:19:33 PM (15 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-featured.php

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