Make WordPress Core


Ignore:
Timestamp:
06/11/2010 04:15:25 PM (16 years ago)
Author:
wpmuguru
Message:

arrange twentyten strings for easier translation, props zeo, fixes #13824

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyten/functions.php

    r15212 r15222  
    494494 */
    495495function twentyten_posted_on() {
    496         printf( __( '<span %1$s>Posted on</span> %2$s by %3$s', 'twentyten' ),
    497                 'class="meta-prep meta-prep-author"',
    498                 sprintf( '<a href="%1$s" title="%2$s" rel="bookmark"><span class="entry-date">%3$s</span></a> <span class="meta-sep">',
     496        printf( __( '<span class="%1$s">Posted on</span> %2$s <span class="meta-sep">by</span> %3$s', 'twentyten' ),
     497                'meta-prep meta-prep-author',
     498                sprintf( '<a href="%1$s" title="%2$s" rel="bookmark"><span class="entry-date">%3$s</span></a>',
    499499                        get_permalink(),
    500500                        esc_attr( get_the_time() ),
    501501                        get_the_date()
    502502                ),
    503                 sprintf( '</span> <span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s">%3$s</a></span>',
     503                sprintf( '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s">%3$s</a></span>',
    504504                        get_author_posts_url( get_the_author_meta( 'ID' ) ),
    505505                        sprintf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ),
Note: See TracChangeset for help on using the changeset viewer.