Ticket #13824: 13824-posted-in-on-i18n.diff
| File 13824-posted-in-on-i18n.diff, 2.4 KB (added by zeo, 3 years ago) |
|---|
-
wp-content/themes/twentyten/functions.php
448 448 * @since Twenty Ten 1.0 449 449 */ 450 450 function twentyten_posted_on() { 451 printf( __( '<span %1$s>Posted on</span> %2$s by%3$s', 'twentyten' ),452 ' class="meta-prep meta-prep-author"',453 sprintf( '<a href="%1$s" title="%2$s" rel="bookmark"><span class="entry-date">%3$s</span></a> <span class="meta-sep">',451 printf( __( '<span class="%1$s">Posted on</span> %2$s <span class="meta-sep">by</span> %3$s', 'twentyten' ), 452 'meta-prep meta-prep-author', 453 sprintf( '<a href="%1$s" title="%2$s" rel="bookmark"><span class="entry-date">%3$s</span></a>', 454 454 get_permalink(), 455 455 esc_attr( get_the_time() ), 456 456 get_the_date() 457 457 ), 458 sprintf( '< /span> <span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s">%3$s</a></span>',458 sprintf( '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s">%3$s</a></span>', 459 459 get_author_posts_url( get_the_author_meta( 'ID' ) ), 460 460 sprintf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ), 461 461 get_the_author() -
wp-content/themes/twentyten/loop.php
138 138 <div class="entry-utility"> 139 139 <?php if ( count( get_the_category() ) ) : ?> 140 140 <span class="cat-links"> 141 < span class="entry-utility-prep entry-utility-prep-cat-links"><?php printf( __('Posted in %s', 'twentyten' ), '</span> ' .get_the_category_list( ', ' ) ); ?>141 <?php printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-cat-links', get_the_category_list( ', ' ) ); ?> 142 142 </span> 143 143 <span class="meta-sep">|</span> 144 144 <?php endif; ?> … … 147 147 if ( $tags_list ): 148 148 ?> 149 149 <span class="tag-links"> 150 < span class="entry-utility-prep entry-utility-prep-tag-links"><?php printf( __('Tagged %s', 'twentyten'), '</span> ' .$tags_list ); ?>150 <?php printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); ?> 151 151 </span> 152 152 <span class="meta-sep">|</span> 153 153 <?php endif; ?>