Changeset 45609
- Timestamp:
- 07/09/2019 01:08:47 AM (5 years ago)
- Location:
- trunk/src/wp-content/themes
- Files:
-
- 77 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfifteen/author-bio.php
r30896 r45609 32 32 <?php the_author_meta( 'description' ); ?> 33 33 <a class="author-link" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author"> 34 <?php printf( __( 'View all posts by %s', 'twentyfifteen' ), get_the_author() ); ?> 34 <?php 35 /* translators: %s: author display name */ 36 printf( __( 'View all posts by %s', 'twentyfifteen' ), get_the_author() ); 37 ?> 35 38 </a> 36 39 </p><!-- .author-bio --> -
trunk/src/wp-content/themes/twentyfifteen/content-link.php
r45209 r45609 27 27 <div class="entry-content"> 28 28 <?php 29 /* translators: %s: Name of current post */30 29 the_content( 31 30 sprintf( 31 /* translators: %s: Name of current post */ 32 32 __( 'Continue reading %s', 'twentyfifteen' ), 33 33 the_title( '<span class="screen-reader-text">', '</span>', false ) -
trunk/src/wp-content/themes/twentyfifteen/content-none.php
r44496 r45609 20 20 <?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?> 21 21 22 <p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'twentyfifteen' ), esc_url( admin_url( 'post-new.php' ) ) ); ?></p> 22 <p> 23 <?php 24 /* translators: %s: post editor URL */ 25 printf( __( 'Ready to publish your first post? <a href="%s">Get started here</a>.', 'twentyfifteen' ), esc_url( admin_url( 'post-new.php' ) ) ); 26 ?> 27 </p> 23 28 24 29 <?php elseif ( is_search() ) : ?> -
trunk/src/wp-content/themes/twentyfifteen/content.php
r45209 r45609 29 29 <div class="entry-content"> 30 30 <?php 31 /* translators: %s: Name of current post */32 31 the_content( 33 32 sprintf( 33 /* translators: %s: Name of current post */ 34 34 __( 'Continue reading %s', 'twentyfifteen' ), 35 35 the_title( '<span class="screen-reader-text">', '</span>', false ) -
trunk/src/wp-content/themes/twentyfifteen/footer.php
r43051 r45609 29 29 ?> 30 30 <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyfifteen' ) ); ?>" class="imprint"> 31 <?php printf( __( 'Proudly powered by %s', 'twentyfifteen' ), 'WordPress' ); ?> 31 <?php 32 /* translators: %s: WordPress */ 33 printf( __( 'Proudly powered by %s', 'twentyfifteen' ), 'WordPress' ); 34 ?> 32 35 </a> 33 36 </div><!-- .site-info --> -
trunk/src/wp-content/themes/twentyfifteen/inc/back-compat.php
r43571 r45609 35 35 */ 36 36 function twentyfifteen_upgrade_notice() { 37 /* translators: %s: WordPress version */ 37 38 $message = sprintf( __( 'Twenty Fifteen requires at least WordPress version 4.1. You are running version %s. Please upgrade and try again.', 'twentyfifteen' ), $GLOBALS['wp_version'] ); 38 39 printf( '<div class="error"><p>%s</p></div>', $message ); … … 46 47 function twentyfifteen_customize() { 47 48 wp_die( 49 /* translators: %s: WordPress version */ 48 50 sprintf( __( 'Twenty Fifteen requires at least WordPress version 4.1. You are running version %s. Please upgrade and try again.', 'twentyfifteen' ), $GLOBALS['wp_version'] ), 49 51 '', … … 62 64 function twentyfifteen_preview() { 63 65 if ( isset( $_GET['preview'] ) ) { 66 /* translators: %s: WordPress version */ 64 67 wp_die( sprintf( __( 'Twenty Fifteen requires at least WordPress version 4.1. You are running version %s. Please upgrade and try again.', 'twentyfifteen' ), $GLOBALS['wp_version'] ) ); 65 68 } -
trunk/src/wp-content/themes/twentyfifteen/search.php
r43571 r45609 16 16 17 17 <header class="page-header"> 18 <h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'twentyfifteen' ), get_search_query() ); ?></h1> 18 <h1 class="page-title"> 19 <?php 20 /* translators: %s: search query */ 21 printf( __( 'Search Results for: %s', 'twentyfifteen' ), get_search_query() ); 22 ?> 23 </h1> 19 24 </header><!-- .page-header --> 20 25 -
trunk/src/wp-content/themes/twentyfourteen/archive.php
r44496 r45609 28 28 <h1 class="page-title"> 29 29 <?php 30 if ( is_day() ) : 30 if ( is_day() ) { 31 /* translators: %s: date */ 31 32 printf( __( 'Daily Archives: %s', 'twentyfourteen' ), get_the_date() ); 32 33 elseif ( is_month() ) : 34 printf( __( 'Monthly Archives: %s', 'twentyfourteen' ), get_the_date( _x( 'F Y', 'monthly archives date format', 'twentyfourteen' ) ) ); 35 36 elseif ( is_year() ) : 37 printf( __( 'Yearly Archives: %s', 'twentyfourteen' ), get_the_date( _x( 'Y', 'yearly archives date format', 'twentyfourteen' ) ) ); 38 39 else : 40 _e( 'Archives', 'twentyfourteen' ); 41 42 endif; 43 ?> 33 } elseif ( is_month() ) { 34 /* translators: %s: date */ 35 printf( __( 'Monthly Archives: %s', 'twentyfourteen' ), get_the_date( _x( 'F Y', 'monthly archives date format', 'twentyfourteen' ) ) ); 36 } elseif ( is_year() ) { 37 /* translators: %s: date */ 38 printf( __( 'Yearly Archives: %s', 'twentyfourteen' ), get_the_date( _x( 'Y', 'yearly archives date format', 'twentyfourteen' ) ) ); 39 } else { 40 _e( 'Archives', 'twentyfourteen' ); 41 } 42 ?> 44 43 </h1> 45 44 </header><!-- .page-header --> -
trunk/src/wp-content/themes/twentyfourteen/author.php
r44496 r45609 29 29 the_post(); 30 30 31 /* translators: %s: author display name */ 31 32 printf( __( 'All posts by %s', 'twentyfourteen' ), get_the_author() ); 32 33 ?> -
trunk/src/wp-content/themes/twentyfourteen/category.php
r44496 r45609 18 18 19 19 <header class="archive-header"> 20 <h1 class="archive-title"><?php printf( __( 'Category Archives: %s', 'twentyfourteen' ), single_cat_title( '', false ) ); ?></h1> 20 <h1 class="archive-title"> 21 <?php 22 /* translators: %s: category title */ 23 printf( __( 'Category Archives: %s', 'twentyfourteen' ), single_cat_title( '', false ) ); 24 ?> 25 </h1> 21 26 22 27 <?php -
trunk/src/wp-content/themes/twentyfourteen/content-aside.php
r45209 r45609 44 44 <div class="entry-content"> 45 45 <?php 46 /* translators: %s: Name of current post */47 46 the_content( 48 47 sprintf( 48 /* translators: %s: Name of current post */ 49 49 __( 'Continue reading %s <span class="meta-nav">→</span>', 'twentyfourteen' ), 50 50 the_title( '<span class="screen-reader-text">', '</span>', false ) -
trunk/src/wp-content/themes/twentyfourteen/content-audio.php
r45209 r45609 44 44 <div class="entry-content"> 45 45 <?php 46 /* translators: %s: Name of current post */47 46 the_content( 48 47 sprintf( 48 /* translators: %s: Name of current post */ 49 49 __( 'Continue reading %s <span class="meta-nav">→</span>', 'twentyfourteen' ), 50 50 the_title( '<span class="screen-reader-text">', '</span>', false ) -
trunk/src/wp-content/themes/twentyfourteen/content-gallery.php
r45209 r45609 44 44 <div class="entry-content"> 45 45 <?php 46 /* translators: %s: Name of current post */47 46 the_content( 48 47 sprintf( 48 /* translators: %s: Name of current post */ 49 49 __( 'Continue reading %s <span class="meta-nav">→</span>', 'twentyfourteen' ), 50 50 the_title( '<span class="screen-reader-text">', '</span>', false ) -
trunk/src/wp-content/themes/twentyfourteen/content-image.php
r45209 r45609 44 44 <div class="entry-content"> 45 45 <?php 46 /* translators: %s: Name of current post */47 46 the_content( 48 47 sprintf( 48 /* translators: %s: Name of current post */ 49 49 __( 'Continue reading %s <span class="meta-nav">→</span>', 'twentyfourteen' ), 50 50 the_title( '<span class="screen-reader-text">', '</span>', false ) -
trunk/src/wp-content/themes/twentyfourteen/content-link.php
r45209 r45609 44 44 <div class="entry-content"> 45 45 <?php 46 /* translators: %s: Name of current post */47 46 the_content( 48 47 sprintf( 48 /* translators: %s: Name of current post */ 49 49 __( 'Continue reading %s <span class="meta-nav">→</span>', 'twentyfourteen' ), 50 50 the_title( '<span class="screen-reader-text">', '</span>', false ) -
trunk/src/wp-content/themes/twentyfourteen/content-none.php
r44574 r45609 16 16 <?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?> 17 17 18 <p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'twentyfourteen' ), admin_url( 'post-new.php' ) ); ?></p> 18 <p> 19 <?php 20 /* translators: %s: post editor URL */ 21 printf( __( 'Ready to publish your first post? <a href="%s">Get started here</a>.', 'twentyfourteen' ), admin_url( 'post-new.php' ) ); 22 ?> 23 </p> 19 24 20 25 <?php elseif ( is_search() ) : ?> -
trunk/src/wp-content/themes/twentyfourteen/content-quote.php
r45209 r45609 44 44 <div class="entry-content"> 45 45 <?php 46 /* translators: %s: Name of current post */47 46 the_content( 48 47 sprintf( 48 /* translators: %s: Name of current post */ 49 49 __( 'Continue reading %s <span class="meta-nav">→</span>', 'twentyfourteen' ), 50 50 the_title( '<span class="screen-reader-text">', '</span>', false ) -
trunk/src/wp-content/themes/twentyfourteen/content-video.php
r45209 r45609 44 44 <div class="entry-content"> 45 45 <?php 46 /* translators: %s: Name of current post */47 46 the_content( 48 47 sprintf( 48 /* translators: %s: Name of current post */ 49 49 __( 'Continue reading %s <span class="meta-nav">→</span>', 'twentyfourteen' ), 50 50 the_title( '<span class="screen-reader-text">', '</span>', false ) -
trunk/src/wp-content/themes/twentyfourteen/content.php
r45209 r45609 53 53 <div class="entry-content"> 54 54 <?php 55 /* translators: %s: Name of current post */56 55 the_content( 57 56 sprintf( 57 /* translators: %s: Name of current post */ 58 58 __( 'Continue reading %s <span class="meta-nav">→</span>', 'twentyfourteen' ), 59 59 the_title( '<span class="screen-reader-text">', '</span>', false ) -
trunk/src/wp-content/themes/twentyfourteen/footer.php
r43051 r45609 25 25 ?> 26 26 <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyfourteen' ) ); ?>" class="imprint"> 27 <?php printf( __( 'Proudly powered by %s', 'twentyfourteen' ), 'WordPress' ); ?> 27 <?php 28 /* translators: %s: WordPress */ 29 printf( __( 'Proudly powered by %s', 'twentyfourteen' ), 'WordPress' ); 30 ?> 28 31 </a> 29 32 </div><!-- .site-info --> -
trunk/src/wp-content/themes/twentyfourteen/functions.php
r45485 r45609 505 505 </p> 506 506 <a class="button contributor-posts-link" href="<?php echo esc_url( get_author_posts_url( $contributor_id ) ); ?>"> 507 <?php printf( _n( '%d Article', '%d Articles', $post_count, 'twentyfourteen' ), $post_count ); ?> 507 <?php 508 /* translators: %d: post count */ 509 printf( _n( '%d Article', '%d Articles', $post_count, 'twentyfourteen' ), $post_count ); 510 ?> 508 511 </a> 509 512 </div><!-- .contributor-summary --> … … 624 627 // Add a page number if necessary. 625 628 if ( ( $paged >= 2 || $page >= 2 ) && ! is_404() ) { 629 /* translators: %s: page number */ 626 630 $title = "$title $sep " . sprintf( __( 'Page %s', 'twentyfourteen' ), max( $paged, $page ) ); 627 631 } -
trunk/src/wp-content/themes/twentyfourteen/inc/back-compat.php
r43571 r45609 35 35 */ 36 36 function twentyfourteen_upgrade_notice() { 37 /* translators: %s: WordPress version */ 37 38 $message = sprintf( __( 'Twenty Fourteen requires at least WordPress version 3.6. You are running version %s. Please upgrade and try again.', 'twentyfourteen' ), $GLOBALS['wp_version'] ); 38 39 printf( '<div class="error"><p>%s</p></div>', $message ); … … 46 47 function twentyfourteen_customize() { 47 48 wp_die( 49 /* translators: %s: WordPress version */ 48 50 sprintf( __( 'Twenty Fourteen requires at least WordPress version 3.6. You are running version %s. Please upgrade and try again.', 'twentyfourteen' ), $GLOBALS['wp_version'] ), 49 51 '', … … 62 64 function twentyfourteen_preview() { 63 65 if ( isset( $_GET['preview'] ) ) { 66 /* translators: %s: WordPress version */ 64 67 wp_die( sprintf( __( 'Twenty Fourteen requires at least WordPress version 3.6. You are running version %s. Please upgrade and try again.', 'twentyfourteen' ), $GLOBALS['wp_version'] ) ); 65 68 } -
trunk/src/wp-content/themes/twentyfourteen/inc/customizer.php
r43571 r45609 61 61 'title' => __( 'Featured Content', 'twentyfourteen' ), 62 62 'description' => sprintf( 63 /* translators: 1: featured tag editor URL, 2: post editor URL */ 63 64 __( 'Use a <a href="%1$s">tag</a> to feature your posts. If no posts match the tag, <a href="%2$s">sticky posts</a> will be displayed instead.', 'twentyfourteen' ), 64 65 esc_url( add_query_arg( 'tag', _x( 'featured', 'featured content default tag slug', 'twentyfourteen' ), admin_url( 'edit.php' ) ) ), … … 160 161 'content' => 161 162 '<ul>' . 163 /* translators: 1: featured tag editor URL, 2: post editor URL, 3: customizer URL, 4: post editor URL */ 162 164 '<li>' . sprintf( __( 'The home page features your choice of up to 6 posts prominently displayed in a grid or slider, controlled by a <a href="%1$s">tag</a>; you can change the tag and layout in <a href="%2$s">Appearance → Customize</a>. If no posts match the tag, <a href="%3$s">sticky posts</a> will be displayed instead.', 'twentyfourteen' ), esc_url( add_query_arg( 'tag', _x( 'featured', 'featured content default tag slug', 'twentyfourteen' ), admin_url( 'edit.php' ) ) ), admin_url( 'customize.php' ), admin_url( 'edit.php?show_sticky=1' ) ) . '</li>' . 165 /* translators: %s: featured images documentation URL */ 163 166 '<li>' . sprintf( __( 'Enhance your site design by using <a href="%s">Featured Images</a> for posts you’d like to stand out (also known as post thumbnails). This allows you to associate an image with your post without inserting it. Twenty Fourteen uses featured images for posts and pages—above the title—and in the Featured Content area on the home page.', 'twentyfourteen' ), 'https://codex.wordpress.org/Post_Thumbnails#Setting_a_Post_Thumbnail' ) . '</li>' . 167 /* translators: %s: Twenty Fourteen documentation URL */ 164 168 '<li>' . sprintf( __( 'For an in-depth tutorial, and more tips and tricks, visit the <a href="%s">Twenty Fourteen documentation</a>.', 'twentyfourteen' ), 'https://codex.wordpress.org/Twenty_Fourteen' ) . '</li>' . 165 169 '</ul>', -
trunk/src/wp-content/themes/twentyfourteen/inc/featured-content.php
r43571 r45609 381 381 'title' => __( 'Featured Content', 'twentyfourteen' ), 382 382 'description' => sprintf( 383 /* translators: 1: featured tag editor URL, 2: post editor URL */ 383 384 __( 'Use a <a href="%1$s">tag</a> to feature your posts. If no posts match the tag, <a href="%2$s">sticky posts</a> will be displayed instead.', 'twentyfourteen' ), 384 385 esc_url( add_query_arg( 'tag', _x( 'featured', 'featured content default tag slug', 'twentyfourteen' ), admin_url( 'edit.php' ) ) ), -
trunk/src/wp-content/themes/twentyfourteen/inc/widgets.php
r45209 r45609 190 190 <?php 191 191 printf( 192 /* translators: 1: post permalink, 2: number of images in the gallery */ 192 193 _n( 'This gallery contains <a href="%1$s" rel="bookmark">%2$s photo</a>.', 'This gallery contains <a href="%1$s" rel="bookmark">%2$s photos</a>.', $total_images, 'twentyfourteen' ), 193 194 esc_url( get_permalink() ), -
trunk/src/wp-content/themes/twentyfourteen/search.php
r43571 r45609 16 16 17 17 <header class="page-header"> 18 <h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'twentyfourteen' ), get_search_query() ); ?></h1> 18 <h1 class="page-title"> 19 <?php 20 /* translators: %s: search query */ 21 printf( __( 'Search Results for: %s', 'twentyfourteen' ), get_search_query() ); 22 ?> 23 </h1> 19 24 </header><!-- .page-header --> 20 25 -
trunk/src/wp-content/themes/twentyfourteen/tag.php
r44496 r45609 20 20 21 21 <header class="archive-header"> 22 <h1 class="archive-title"><?php printf( __( 'Tag Archives: %s', 'twentyfourteen' ), single_tag_title( '', false ) ); ?></h1> 22 <h1 class="archive-title"> 23 <?php 24 /* translators: %s: tag title */ 25 printf( __( 'Tag Archives: %s', 'twentyfourteen' ), single_tag_title( '', false ) ); 26 ?> 27 </h1> 23 28 24 29 <?php -
trunk/src/wp-content/themes/twentynineteen/classes/class-twentynineteen-walker-comment.php
r45297 r45609 55 55 56 56 printf( 57 /* translators: %s: comment author link */58 57 wp_kses( 58 /* translators: %s: comment author link */ 59 59 __( '%s <span class="screen-reader-text says">says:</span>', 'twentynineteen' ), 60 60 array( -
trunk/src/wp-content/themes/twentynineteen/inc/back-compat.php
r44149 r45609 37 37 */ 38 38 function twentynineteen_upgrade_notice() { 39 /* translators: %s: WordPress version */ 39 40 $message = sprintf( __( 'Twenty Nineteen requires at least WordPress version 4.7. You are running version %s. Please upgrade and try again.', 'twentynineteen' ), $GLOBALS['wp_version'] ); 40 41 printf( '<div class="error"><p>%s</p></div>', $message ); … … 51 52 wp_die( 52 53 sprintf( 54 /* translators: %s: WordPress version */ 53 55 __( 'Twenty Nineteen requires at least WordPress version 4.7. You are running version %s. Please upgrade and try again.', 'twentynineteen' ), 54 56 $GLOBALS['wp_version'] … … 71 73 function twentynineteen_preview() { 72 74 if ( isset( $_GET['preview'] ) ) { 75 /* translators: %s: WordPress version */ 73 76 wp_die( sprintf( __( 'Twenty Nineteen requires at least WordPress version 4.7. You are running version %s. Please upgrade and try again.', 'twentynineteen' ), $GLOBALS['wp_version'] ) ); 74 77 } -
trunk/src/wp-content/themes/twentyten/archive.php
r44496 r45609 32 32 33 33 <h1 class="page-title"> 34 <?php if ( is_day() ) : ?> 35 <?php printf( __( 'Daily Archives: <span>%s</span>', 'twentyten' ), get_the_date() ); ?> 36 <?php elseif ( is_month() ) : ?> 37 <?php printf( __( 'Monthly Archives: <span>%s</span>', 'twentyten' ), get_the_date( _x( 'F Y', 'monthly archives date format', 'twentyten' ) ) ); ?> 38 <?php elseif ( is_year() ) : ?> 39 <?php printf( __( 'Yearly Archives: <span>%s</span>', 'twentyten' ), get_the_date( _x( 'Y', 'yearly archives date format', 'twentyten' ) ) ); ?> 40 <?php else : ?> 41 <?php _e( 'Blog Archives', 'twentyten' ); ?> 42 <?php endif; ?> 34 <?php 35 if ( is_day() ) { 36 /* translators: %s: date */ 37 printf( __( 'Daily Archives: <span>%s</span>', 'twentyten' ), get_the_date() ); 38 } elseif ( is_month() ) { 39 /* translators: %s: date */ 40 printf( __( 'Monthly Archives: <span>%s</span>', 'twentyten' ), get_the_date( _x( 'F Y', 'monthly archives date format', 'twentyten' ) ) ); 41 } elseif ( is_year() ) { 42 /* translators: %s: date */ 43 printf( __( 'Yearly Archives: <span>%s</span>', 'twentyten' ), get_the_date( _x( 'Y', 'yearly archives date format', 'twentyten' ) ) ); 44 } else { 45 _e( 'Blog Archives', 'twentyten' ); 46 } 47 ?> 43 48 </h1> 44 49 -
trunk/src/wp-content/themes/twentyten/author.php
r43571 r45609 27 27 ?> 28 28 29 <h1 class="page-title author"><?php printf( __( 'Author Archives: %s', 'twentyten' ), '<span class="vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '" title="' . esc_attr( get_the_author() ) . '" rel="me">' . get_the_author() . '</a></span>' ); ?></h1> 29 <h1 class="page-title author"> 30 <?php 31 /* translators: %s: author display name */ 32 printf( __( 'Author Archives: %s', 'twentyten' ), '<span class="vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '" title="' . esc_attr( get_the_author() ) . '" rel="me">' . get_the_author() . '</a></span>' ); 33 ?> 34 </h1> 30 35 31 36 <?php … … 47 52 </div><!-- #author-avatar --> 48 53 <div id="author-description"> 49 <h2><?php printf( __( 'About %s', 'twentyten' ), get_the_author() ); ?></h2> 54 <h2> 55 <?php 56 /* translators: %s: author display name */ 57 printf( __( 'About %s', 'twentyten' ), get_the_author() ); 58 ?> 59 </h2> 50 60 <?php the_author_meta( 'description' ); ?> 51 61 </div><!-- #author-description --> -
trunk/src/wp-content/themes/twentyten/category.php
r42343 r45609 15 15 <h1 class="page-title"> 16 16 <?php 17 /* translators: %s: category title */ 17 18 printf( __( 'Category Archives: %s', 'twentyten' ), '<span>' . single_cat_title( '', false ) . '</span>' ); 18 19 ?> -
trunk/src/wp-content/themes/twentyten/comments.php
r44562 r45609 42 42 ); 43 43 } else { 44 /* translators: %1$s: The number of comments. %2$s: The post title. */45 44 printf( 45 /* translators: %1$s: The number of comments. %2$s: The post title. */ 46 46 _n( '%1$s Response to %2$s', '%1$s Responses to %2$s', get_comments_number(), 'twentyten' ), 47 47 number_format_i18n( get_comments_number() ), -
trunk/src/wp-content/themes/twentyten/footer.php
r43051 r45609 45 45 ?> 46 46 <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyten' ) ); ?>" class="imprint" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyten' ); ?>"> 47 <?php printf( __( 'Proudly powered by %s.', 'twentyten' ), 'WordPress' ); ?> 47 <?php 48 /* translators: %s: WordPress */ 49 printf( __( 'Proudly powered by %s.', 'twentyten' ), 'WordPress' ); 50 ?> 48 51 </a> 49 52 </div><!-- #site-generator --> -
trunk/src/wp-content/themes/twentyten/functions.php
r45602 r45609 424 424 <div class="comment-author vcard"> 425 425 <?php echo get_avatar( $comment, 40 ); ?> 426 <?php printf( __( '%s <span class="says">says:</span>', 'twentyten' ), sprintf( '<cite class="fn">%s</cite>', get_comment_author_link() ) ); ?> 426 <?php 427 /* translators: %s: author display name */ 428 printf( __( '%s <span class="says">says:</span>', 'twentyten' ), sprintf( '<cite class="fn">%s</cite>', get_comment_author_link() ) ); 429 ?> 427 430 </div><!-- .comment-author .vcard --> 428 431 <?php if ( $comment->comment_approved == '0' ) : ?> … … 589 592 function twentyten_posted_on() { 590 593 printf( 594 /* translators: 1: CSS classes, 2: date, 3: author display name */ 591 595 __( '<span class="%1$s">Posted on</span> %2$s <span class="meta-sep">by</span> %3$s', 'twentyten' ), 592 596 'meta-prep meta-prep-author', … … 600 604 '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s">%3$s</a></span>', 601 605 get_author_posts_url( get_the_author_meta( 'ID' ) ), 606 /* translators: %s: author display name */ 602 607 esc_attr( sprintf( __( 'View all posts by %s', 'twentyten' ), get_the_author() ) ), 603 608 get_the_author() … … 617 622 $tag_list = get_the_tag_list( '', ', ' ); 618 623 if ( $tag_list && ! is_wp_error( $tag_list ) ) { 624 /* translators: 1: category name, 2: tag name, 3: post permalink, 4: post title */ 619 625 $posted_in = __( '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>.', 'twentyten' ); 620 626 } elseif ( is_object_in_taxonomy( get_post_type(), 'category' ) ) { 627 /* translators: 1: category name, 3: post permalink, 4: post title */ 621 628 $posted_in = __( 'This entry was posted in %1$s. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyten' ); 622 629 } else { 630 /* translators: 3: post permalink, 4: post title */ 623 631 $posted_in = __( 'Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyten' ); 624 632 } -
trunk/src/wp-content/themes/twentyten/header.php
r45581 r45609 33 33 // Add a page number if necessary: 34 34 if ( ( $paged >= 2 || $page >= 2 ) && ! is_404() ) { 35 /* translators: %s: page number */ 35 36 echo esc_html( ' | ' . sprintf( __( 'Page %s', 'twentyten' ), max( $paged, $page ) ) ); 36 37 } -
trunk/src/wp-content/themes/twentyten/loop-attachment.php
r45209 r45609 22 22 ?> 23 23 24 <?php if ( ! empty( $post->post_parent ) ) : ?> 25 <p class="page-title"><a href="<?php echo esc_url( get_permalink( $post->post_parent ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'Return to %s', 'twentyten' ), strip_tags( get_the_title( $post->post_parent ) ) ) ); ?>" rel="gallery"> 24 <?php 25 if ( ! empty( $post->post_parent ) ) : 26 /* translators: %s: post title */ 27 $post_tile = sprintf( __( 'Return to %s', 'twentyten' ), strip_tags( get_the_title( $post->post_parent ) ) ); 28 ?> 29 <p class="page-title"><a href="<?php echo esc_url( get_permalink( $post->post_parent ) ); ?>" title="<?php echo esc_attr( $post_title ); ?>" rel="gallery"> 26 30 <?php 27 /* translators: %s -title of parent post */31 /* translators: %s: title of parent post */ 28 32 printf( __( '<span class="meta-nav">←</span> %s', 'twentyten' ), get_the_title( $post->post_parent ) ); 29 33 ?> … … 37 41 <?php 38 42 printf( 43 /* translators: %s: author display name */ 39 44 __( '<span class="%1$s">By</span> %2$s', 'twentyten' ), 40 45 'meta-prep meta-prep-author', … … 42 47 '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s" rel="author">%3$s</a></span>', 43 48 get_author_posts_url( get_the_author_meta( 'ID' ) ), 49 /* translators: %s: author display name */ 44 50 esc_attr( sprintf( __( 'View all posts by %s', 'twentyten' ), get_the_author() ) ), 45 51 get_the_author() … … 50 56 <?php 51 57 printf( 58 /* translators: 1: CSS classes: 2: date */ 52 59 __( '<span class="%1$s">Published</span> %2$s', 'twentyten' ), 53 60 'meta-prep meta-prep-entry-date', … … 62 69 $metadata = wp_get_attachment_metadata(); 63 70 printf( 71 /* translators: %s: image dimensions */ 64 72 __( 'Full size is %s pixels', 'twentyten' ), 65 73 sprintf( -
trunk/src/wp-content/themes/twentyten/loop-single.php
r45209 r45609 55 55 </div><!-- #author-avatar --> 56 56 <div id="author-description"> 57 <h2><?php printf( __( 'About %s', 'twentyten' ), get_the_author() ); ?></h2> 57 <h2> 58 <?php 59 /* translators: %s: author display name */ 60 printf( __( 'About %s', 'twentyten' ), get_the_author() ); 61 ?> 62 </h2> 58 63 <?php the_author_meta( 'description' ); ?> 59 64 <div id="author-link"> 60 65 <a href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author"> 61 <?php printf( __( 'View all posts by %s <span class="meta-nav">→</span>', 'twentyten' ), get_the_author() ); ?> 66 <?php 67 /* translators: %s: author display name */ 68 printf( __( 'View all posts by %s <span class="meta-nav">→</span>', 'twentyten' ), get_the_author() ); 69 ?> 62 70 </a> 63 71 </div><!-- #author-link --> -
trunk/src/wp-content/themes/twentyten/loop.php
r45581 r45609 87 87 <?php 88 88 printf( 89 /* translators: 1: HTML tag attributes, 2: image count */ 89 90 _n( 'This gallery contains <a %1$s>%2$s photo</a>.', 'This gallery contains <a %1$s>%2$s photos</a>.', $total_images, 'twentyten' ), 91 /* translators: %s: post title */ 90 92 'href="' . esc_url( get_permalink() ) . '" title="' . esc_attr( sprintf( __( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ) ) . '" rel="bookmark"', 91 93 number_format_i18n( $total_images ) … … 168 170 <?php if ( count( get_the_category() ) ) : ?> 169 171 <span class="cat-links"> 170 <?php printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-cat-links', get_the_category_list( ', ' ) ); ?> 172 <?php 173 /* translators: 1: CSS classes, 2: catgory list */ 174 printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-cat-links', get_the_category_list( ', ' ) ); 175 ?> 171 176 </span> 172 177 <span class="meta-sep">|</span> … … 177 182 ?> 178 183 <span class="tag-links"> 179 <?php printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); ?> 184 <?php 185 /* translators: 1: CSS classes, 2: catgory list */ 186 printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); 187 ?> 180 188 </span> 181 189 <span class="meta-sep">|</span> -
trunk/src/wp-content/themes/twentyten/search.php
r31266 r45609 14 14 15 15 <?php if ( have_posts() ) : ?> 16 <h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'twentyten' ), '<span>' . get_search_query() . '</span>' ); ?></h1> 16 <h1 class="page-title"> 17 <?php 18 /* translators: %s: search query */ 19 printf( __( 'Search Results for: %s', 'twentyten' ), '<span>' . get_search_query() . '</span>' ); 20 ?> 21 </h1> 17 22 <?php 18 23 /* -
trunk/src/wp-content/themes/twentyten/tag.php
r42343 r45609 15 15 <h1 class="page-title"> 16 16 <?php 17 /* translators: %s: tag title */ 17 18 printf( __( 'Tag Archives: %s', 'twentyten' ), '<span>' . single_tag_title( '', false ) . '</span>' ); 18 19 ?> -
trunk/src/wp-content/themes/twentythirteen/archive.php
r44496 r45609 27 27 <h1 class="archive-title"> 28 28 <?php 29 if ( is_day() ) : 29 if ( is_day() ) { 30 /* translators: %s: date */ 30 31 printf( __( 'Daily Archives: %s', 'twentythirteen' ), get_the_date() ); 31 elseif ( is_month() ) : 32 printf( __( 'Monthly Archives: %s', 'twentythirteen' ), get_the_date( _x( 'F Y', 'monthly archives date format', 'twentythirteen' ) ) ); 33 elseif ( is_year() ) : 34 printf( __( 'Yearly Archives: %s', 'twentythirteen' ), get_the_date( _x( 'Y', 'yearly archives date format', 'twentythirteen' ) ) ); 35 else : 36 _e( 'Archives', 'twentythirteen' ); 37 endif; 38 ?> 32 } elseif ( is_month() ) { 33 /* translators: %s: date */ 34 printf( __( 'Monthly Archives: %s', 'twentythirteen' ), get_the_date( _x( 'F Y', 'monthly archives date format', 'twentythirteen' ) ) ); 35 } elseif ( is_year() ) { 36 /* translators: %s: date */ 37 printf( __( 'Yearly Archives: %s', 'twentythirteen' ), get_the_date( _x( 'Y', 'yearly archives date format', 'twentythirteen' ) ) ); 38 } else { 39 _e( 'Archives', 'twentythirteen' ); 40 } 41 ?> 39 42 </h1> 40 43 </header><!-- .archive-header --> -
trunk/src/wp-content/themes/twentythirteen/author-bio.php
r42343 r45609 24 24 </div><!-- .author-avatar --> 25 25 <div class="author-description"> 26 <h2 class="author-title"><?php printf( __( 'About %s', 'twentythirteen' ), get_the_author() ); ?></h2> 26 <h2 class="author-title"> 27 <?php 28 /* translators: %s: author display name */ 29 printf( __( 'About %s', 'twentythirteen' ), get_the_author() ); 30 ?> 31 </h2> 27 32 <p class="author-bio"> 28 33 <?php the_author_meta( 'description' ); ?> 29 34 <a class="author-link" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author"> 30 <?php printf( __( 'View all posts by %s <span class="meta-nav">→</span>', 'twentythirteen' ), get_the_author() ); ?> 35 <?php 36 /* translators: %s: author display name */ 37 printf( __( 'View all posts by %s <span class="meta-nav">→</span>', 'twentythirteen' ), get_the_author() ); 38 ?> 31 39 </a> 32 40 </p> -
trunk/src/wp-content/themes/twentythirteen/author.php
r44496 r45609 29 29 30 30 <header class="archive-header"> 31 <h1 class="archive-title"><?php printf( __( 'All posts by %s', 'twentythirteen' ), '<span class="vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '" title="' . esc_attr( get_the_author() ) . '" rel="me">' . get_the_author() . '</a></span>' ); ?></h1> 31 <h1 class="archive-title"> 32 <?php 33 /* translators: %s: author display name */ 34 printf( __( 'All posts by %s', 'twentythirteen' ), '<span class="vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '" title="' . esc_attr( get_the_author() ) . '" rel="me">' . get_the_author() . '</a></span>' ); 35 ?> 36 </h1> 32 37 </header><!-- .archive-header --> 33 38 -
trunk/src/wp-content/themes/twentythirteen/category.php
r44496 r45609 17 17 <?php if ( have_posts() ) : ?> 18 18 <header class="archive-header"> 19 <h1 class="archive-title"><?php printf( __( 'Category Archives: %s', 'twentythirteen' ), single_cat_title( '', false ) ); ?></h1> 19 <h1 class="archive-title"> 20 <?php 21 /* translators: category title */ 22 printf( __( 'Category Archives: %s', 'twentythirteen' ), single_cat_title( '', false ) ); 23 ?> 24 </h1> 20 25 21 26 <?php if ( category_description() ) : // Show an optional category description ?> -
trunk/src/wp-content/themes/twentythirteen/content-aside.php
r43571 r45609 12 12 <div class="entry-content"> 13 13 <?php 14 /* translators: %s: Name of current post */15 14 the_content( 16 15 sprintf( 16 /* translators: %s: Name of current post */ 17 17 __( 'Continue reading %s <span class="meta-nav">→</span>', 'twentythirteen' ), 18 18 the_title( '<span class="screen-reader-text">', '</span>', false ) -
trunk/src/wp-content/themes/twentythirteen/content-audio.php
r43571 r45609 23 23 <div class="audio-content"> 24 24 <?php 25 /* translators: %s: Name of current post */26 25 the_content( 27 26 sprintf( 27 /* translators: %s: Name of current post */ 28 28 __( 'Continue reading %s <span class="meta-nav">→</span>', 'twentythirteen' ), 29 29 the_title( '<span class="screen-reader-text">', '</span>', false ) -
trunk/src/wp-content/themes/twentythirteen/content-chat.php
r43571 r45609 22 22 <div class="entry-content"> 23 23 <?php 24 /* translators: %s: Name of current post */25 24 the_content( 26 25 sprintf( 26 /* translators: %s: Name of current post */ 27 27 __( 'Continue reading %s <span class="meta-nav">→</span>', 'twentythirteen' ), 28 28 the_title( '<span class="screen-reader-text">', '</span>', false ) -
trunk/src/wp-content/themes/twentythirteen/content-gallery.php
r43571 r45609 26 26 the_content( 27 27 sprintf( 28 /* translators: post title */ 28 29 __( 'Continue reading %s <span class="meta-nav">→</span>', 'twentythirteen' ), 29 30 the_title( '<span class="screen-reader-text">', '</span>', false ) -
trunk/src/wp-content/themes/twentythirteen/content-image.php
r43571 r45609 22 22 <div class="entry-content"> 23 23 <?php 24 /* translators: %s: Name of current post */25 24 the_content( 26 25 sprintf( 26 /* translators: %s: Name of current post */ 27 27 __( 'Continue reading %s <span class="meta-nav">→</span>', 'twentythirteen' ), 28 28 the_title( '<span class="screen-reader-text">', '</span>', false ) -
trunk/src/wp-content/themes/twentythirteen/content-link.php
r43571 r45609 23 23 <div class="entry-content"> 24 24 <?php 25 /* translators: %s: Name of current post */26 25 the_content( 27 26 sprintf( 27 /* translators: %s: Name of current post */ 28 28 __( 'Continue reading %s <span class="meta-nav">→</span>', 'twentythirteen' ), 29 29 the_title( '<span class="screen-reader-text">', '</span>', false ) -
trunk/src/wp-content/themes/twentythirteen/content-none.php
r44574 r45609 16 16 <?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?> 17 17 18 <p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'twentythirteen' ), admin_url( 'post-new.php' ) ); ?></p> 18 <p> 19 <?php 20 /* translators: %s: new post URL */ 21 printf( __( 'Ready to publish your first post? <a href="%s">Get started here</a>.', 'twentythirteen' ), admin_url( 'post-new.php' ) ); 22 ?> 23 </p> 19 24 20 25 <?php elseif ( is_search() ) : ?> -
trunk/src/wp-content/themes/twentythirteen/content-quote.php
r43571 r45609 12 12 <div class="entry-content"> 13 13 <?php 14 /* translators: %s: Name of current post */15 14 the_content( 16 15 sprintf( 16 /* translators: %s: Name of current post */ 17 17 __( 'Continue reading %s <span class="meta-nav">→</span>', 'twentythirteen' ), 18 18 the_title( '<span class="screen-reader-text">', '</span>', false ) -
trunk/src/wp-content/themes/twentythirteen/content-status.php
r43571 r45609 12 12 <div class="entry-content"> 13 13 <?php 14 /* translators: %s: Name of current post */15 14 the_content( 16 15 sprintf( 16 /* translators: %s: Name of current post */ 17 17 __( 'Continue reading %s <span class="meta-nav">→</span>', 'twentythirteen' ), 18 18 the_title( '<span class="screen-reader-text">', '</span>', false ) -
trunk/src/wp-content/themes/twentythirteen/content-video.php
r43571 r45609 22 22 <div class="entry-content"> 23 23 <?php 24 /* translators: %s: Name of current post */25 24 the_content( 26 25 sprintf( 26 /* translators: %s: Name of current post */ 27 27 __( 'Continue reading %s <span class="meta-nav">→</span>', 'twentythirteen' ), 28 28 the_title( '<span class="screen-reader-text">', '</span>', false ) -
trunk/src/wp-content/themes/twentythirteen/content.php
r42343 r45609 40 40 <div class="entry-content"> 41 41 <?php 42 /* translators: %s: Name of current post */43 42 the_content( 44 43 sprintf( 44 /* translators: %s: Name of current post */ 45 45 __( 'Continue reading %s <span class="meta-nav">→</span>', 'twentythirteen' ), 46 46 the_title( '<span class="screen-reader-text">', '</span>', false ) -
trunk/src/wp-content/themes/twentythirteen/footer.php
r43051 r45609 23 23 ?> 24 24 <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentythirteen' ) ); ?>" class="imprint"> 25 <?php printf( __( 'Proudly powered by %s', 'twentythirteen' ), 'WordPress' ); ?> 25 <?php 26 /* translators: %s: WordPress */ 27 printf( __( 'Proudly powered by %s', 'twentythirteen' ), 'WordPress' ); 28 ?> 26 29 </a> 27 30 </div><!-- .site-info --> -
trunk/src/wp-content/themes/twentythirteen/functions.php
r45485 r45609 362 362 // Add a page number if necessary. 363 363 if ( ( $paged >= 2 || $page >= 2 ) && ! is_404() ) { 364 /* translators: %s: page number */ 364 365 $title = "$title $sep " . sprintf( __( 'Page %s', 'twentythirteen' ), max( $paged, $page ) ); 365 366 } … … 497 498 '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s" rel="author">%3$s</a></span>', 498 499 esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), 500 /* translators: %s: author display name */ 499 501 esc_attr( sprintf( __( 'View all posts by %s', 'twentythirteen' ), get_the_author() ) ), 500 502 get_the_author() … … 517 519 function twentythirteen_entry_date( $echo = true ) { 518 520 if ( has_post_format( array( 'chat', 'status' ) ) ) { 521 /* translators: 1: post format name, 2: date */ 519 522 $format_prefix = _x( '%1$s on %2$s', '1: post format name. 2: date', 'twentythirteen' ); 520 523 } else { … … 525 528 '<span class="date"><a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s">%4$s</time></a></span>', 526 529 esc_url( get_permalink() ), 530 /* translators: %s: post title */ 527 531 esc_attr( sprintf( __( 'Permalink to %s', 'twentythirteen' ), the_title_attribute( 'echo=0' ) ) ), 528 532 esc_attr( get_the_date( 'c' ) ), -
trunk/src/wp-content/themes/twentythirteen/image.php
r44496 r45609 27 27 <div class="entry-meta"> 28 28 <?php 29 $published_text = __( '<span class="attachment-meta">Published on <time class="entry-date" datetime="%1$s">%2$s</time> in <a href="%3$s" title="Return to %4$s" rel="gallery">%5$s</a></span>', 'twentythirteen' ); 30 $post_title = get_the_title( $post->post_parent ); 29 /* translators: 1: date, 2: date, 3, parent permalink, 4, post title, 5: post title */ 30 $published_text = __( '<span class="attachment-meta">Published on <time class="entry-date" datetime="%1$s">%2$s</time> in <a href="%3$s" title="Return to %4$s" rel="gallery">%5$s</a></span>', 'twentythirteen' ); 31 $post_title = get_the_title( $post->post_parent ); 31 32 if ( empty( $post_title ) || 0 == $post->post_parent ) { 32 33 $published_text = '<span class="attachment-meta"><time class="entry-date" datetime="%1$s">%2$s</time></span>'; -
trunk/src/wp-content/themes/twentythirteen/inc/back-compat.php
r43571 r45609 35 35 */ 36 36 function twentythirteen_upgrade_notice() { 37 /* translators: %s: WordPress version */ 37 38 $message = sprintf( __( 'Twenty Thirteen requires at least WordPress version 3.6. You are running version %s. Please upgrade and try again.', 'twentythirteen' ), $GLOBALS['wp_version'] ); 38 39 printf( '<div class="error"><p>%s</p></div>', $message ); … … 46 47 function twentythirteen_customize() { 47 48 wp_die( 49 /* translators: %s: WordPress version */ 48 50 sprintf( __( 'Twenty Thirteen requires at least WordPress version 3.6. You are running version %s. Please upgrade and try again.', 'twentythirteen' ), $GLOBALS['wp_version'] ), 49 51 '', … … 62 64 function twentythirteen_preview() { 63 65 if ( isset( $_GET['preview'] ) ) { 66 /* translators: %s: WordPress version */ 64 67 wp_die( sprintf( __( 'Twenty Thirteen requires at least WordPress version 3.6. You are running version %s. Please upgrade and try again.', 'twentythirteen' ), $GLOBALS['wp_version'] ) ); 65 68 } -
trunk/src/wp-content/themes/twentythirteen/search.php
r43571 r45609 16 16 17 17 <header class="page-header"> 18 <h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'twentythirteen' ), get_search_query() ); ?></h1> 18 <h1 class="page-title"> 19 <?php 20 /* translators: %s: search query */ 21 printf( __( 'Search Results for: %s', 'twentythirteen' ), get_search_query() ); 22 ?> 23 </h1> 19 24 </header> 20 25 -
trunk/src/wp-content/themes/twentythirteen/tag.php
r44496 r45609 19 19 <?php if ( have_posts() ) : ?> 20 20 <header class="archive-header"> 21 <h1 class="archive-title"><?php printf( __( 'Tag Archives: %s', 'twentythirteen' ), single_tag_title( '', false ) ); ?></h1> 21 <h1 class="archive-title"> 22 <?php 23 /* translators: tag title */ 24 printf( __( 'Tag Archives: %s', 'twentythirteen' ), single_tag_title( '', false ) ); 25 ?> 26 </h1> 22 27 23 28 <?php if ( tag_description() ) : // Show an optional tag description ?> -
trunk/src/wp-content/themes/twentythirteen/taxonomy-post_format.php
r44496 r45609 21 21 <?php if ( have_posts() ) : ?> 22 22 <header class="archive-header"> 23 <h1 class="archive-title"><?php printf( __( '%s Archives', 'twentythirteen' ), '<span>' . esc_html( get_post_format_string( get_post_format() ) ) . '</span>' ); ?></h1> 23 <h1 class="archive-title"> 24 <?php 25 /* translators: %s: post format name */ 26 printf( __( '%s Archives', 'twentythirteen' ), '<span>' . esc_html( get_post_format_string( get_post_format() ) ) . '</span>' ); 27 ?> 28 </h1> 24 29 </header><!-- .archive-header --> 25 30 -
trunk/src/wp-content/themes/twentytwelve/archive.php
r44496 r45609 27 27 <h1 class="archive-title"> 28 28 <?php 29 if ( is_day() ) : 29 if ( is_day() ) { 30 /* translators: %s: date */ 30 31 printf( __( 'Daily Archives: %s', 'twentytwelve' ), '<span>' . get_the_date() . '</span>' ); 31 elseif ( is_month() ) : 32 printf( __( 'Monthly Archives: %s', 'twentytwelve' ), '<span>' . get_the_date( _x( 'F Y', 'monthly archives date format', 'twentytwelve' ) ) . '</span>' ); 33 elseif ( is_year() ) : 34 printf( __( 'Yearly Archives: %s', 'twentytwelve' ), '<span>' . get_the_date( _x( 'Y', 'yearly archives date format', 'twentytwelve' ) ) . '</span>' ); 35 else : 36 _e( 'Archives', 'twentytwelve' ); 37 endif; 38 ?> 32 } elseif ( is_month() ) { 33 /* translators: %s: date */ 34 printf( __( 'Monthly Archives: %s', 'twentytwelve' ), '<span>' . get_the_date( _x( 'F Y', 'monthly archives date format', 'twentytwelve' ) ) . '</span>' ); 35 } elseif ( is_year() ) { 36 /* translators: %s: date */ 37 printf( __( 'Yearly Archives: %s', 'twentytwelve' ), '<span>' . get_the_date( _x( 'Y', 'yearly archives date format', 'twentytwelve' ) ) . '</span>' ); 38 } else { 39 _e( 'Archives', 'twentytwelve' ); 40 } 41 ?> 39 42 </h1> 40 43 </header><!-- .archive-header --> -
trunk/src/wp-content/themes/twentytwelve/author.php
r44496 r45609 30 30 31 31 <header class="archive-header"> 32 <h1 class="archive-title"><?php printf( __( 'Author Archives: %s', 'twentytwelve' ), '<span class="vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '" title="' . esc_attr( get_the_author() ) . '" rel="me">' . get_the_author() . '</a></span>' ); ?></h1> 32 <h1 class="archive-title"> 33 <?php 34 /* translators: author display name */ 35 printf( __( 'Author Archives: %s', 'twentytwelve' ), '<span class="vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '" title="' . esc_attr( get_the_author() ) . '" rel="me">' . get_the_author() . '</a></span>' ); 36 ?> 37 </h1> 33 38 </header><!-- .archive-header --> 34 39 … … 62 67 </div><!-- .author-avatar --> 63 68 <div class="author-description"> 64 <h2><?php printf( __( 'About %s', 'twentytwelve' ), get_the_author() ); ?></h2> 69 <h2> 70 <?php 71 /* translators: author display name */ 72 printf( __( 'About %s', 'twentytwelve' ), get_the_author() ); 73 ?> 74 </h2> 65 75 <p><?php the_author_meta( 'description' ); ?></p> 66 76 </div><!-- .author-description --> -
trunk/src/wp-content/themes/twentytwelve/category.php
r44496 r45609 19 19 <?php if ( have_posts() ) : ?> 20 20 <header class="archive-header"> 21 <h1 class="archive-title"><?php printf( __( 'Category Archives: %s', 'twentytwelve' ), '<span>' . single_cat_title( '', false ) . '</span>' ); ?></h1> 21 <h1 class="archive-title"> 22 <?php 23 /* translators: %s: category title */ 24 printf( __( 'Category Archives: %s', 'twentytwelve' ), '<span>' . single_cat_title( '', false ) . '</span>' ); 25 ?> 26 </h1> 22 27 23 28 <?php if ( category_description() ) : // Show an optional category description ?> -
trunk/src/wp-content/themes/twentytwelve/content-aside.php
r24131 r45609 7 7 * @since Twenty Twelve 1.0 8 8 */ 9 10 /* translators: %s: post title */ 11 $post_title = sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ); 9 12 ?> 10 13 … … 18 21 19 22 <footer class="entry-meta"> 20 <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) )); ?>" rel="bookmark"><?php echo get_the_date(); ?></a>23 <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( $post_title ); ?>" rel="bookmark"><?php echo get_the_date(); ?></a> 21 24 <?php if ( comments_open() ) : ?> 22 25 <div class="comments-link"> -
trunk/src/wp-content/themes/twentytwelve/content-link.php
r22318 r45609 7 7 * @since Twenty Twelve 1.0 8 8 */ 9 10 /* translators: %s: post title */ 11 $post_title = sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ); 9 12 ?> 10 13 … … 16 19 17 20 <footer class="entry-meta"> 18 <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) )); ?>" rel="bookmark"><?php echo get_the_date(); ?></a>21 <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( $post_title ); ?>" rel="bookmark"><?php echo get_the_date(); ?></a> 19 22 <?php if ( comments_open() ) : ?> 20 23 <div class="comments-link"> -
trunk/src/wp-content/themes/twentytwelve/content-quote.php
r22318 r45609 7 7 * @since Twenty Twelve 1.0 8 8 */ 9 10 /* translators: %s: post title */ 11 $post_title = sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ); 9 12 ?> 10 13 … … 15 18 16 19 <footer class="entry-meta"> 17 <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) )); ?>" rel="bookmark"><?php echo get_the_date(); ?></a>20 <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( $post_title ); ?>" rel="bookmark"><?php echo get_the_date(); ?></a> 18 21 <?php if ( comments_open() ) : ?> 19 22 <div class="comments-link"> -
trunk/src/wp-content/themes/twentytwelve/content-status.php
r25521 r45609 7 7 * @since Twenty Twelve 1.0 8 8 */ 9 10 /* translators: %s: post title */ 11 $post_title = sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ); 9 12 ?> 10 13 … … 13 16 <header> 14 17 <h1><?php the_author(); ?></h1> 15 <h2><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) )); ?>" rel="bookmark"><?php echo get_the_date(); ?></a></h2>18 <h2><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( $post_title ); ?>" rel="bookmark"><?php echo get_the_date(); ?></a></h2> 16 19 </header> 17 20 <?php -
trunk/src/wp-content/themes/twentytwelve/content.php
r43571 r45609 69 69 </div><!-- .author-avatar --> 70 70 <div class="author-description"> 71 <h2><?php printf( __( 'About %s', 'twentytwelve' ), get_the_author() ); ?></h2> 71 <h2> 72 <?php 73 /* translators: %s: author display name */ 74 printf( __( 'About %s', 'twentytwelve' ), get_the_author() ); 75 ?> 76 </h2> 72 77 <p><?php the_author_meta( 'description' ); ?></p> 73 78 <div class="author-link"> 74 79 <a href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author"> 75 <?php printf( __( 'View all posts by %s <span class="meta-nav">→</span>', 'twentytwelve' ), get_the_author() ); ?> 80 <?php 81 /* translators: %s: author display name */ 82 printf( __( 'View all posts by %s <span class="meta-nav">→</span>', 'twentytwelve' ), get_the_author() ); 83 ?> 76 84 </a> 77 85 </div><!-- .author-link --> -
trunk/src/wp-content/themes/twentytwelve/footer.php
r43051 r45609 20 20 ?> 21 21 <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentytwelve' ) ); ?>" class="imprint" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentytwelve' ); ?>"> 22 <?php printf( __( 'Proudly powered by %s', 'twentytwelve' ), 'WordPress' ); ?> 22 <?php 23 /* translators: %s: WordPress */ 24 printf( __( 'Proudly powered by %s', 'twentytwelve' ), 'WordPress' ); 25 ?> 23 26 </a> 24 27 </div><!-- .site-info --> -
trunk/src/wp-content/themes/twentytwelve/functions.php
r45525 r45609 309 309 // Add a page number if necessary. 310 310 if ( ( $paged >= 2 || $page >= 2 ) && ! is_404() ) { 311 /* translators: %s: page number */ 311 312 $title = "$title $sep " . sprintf( __( 'Page %s', 'twentytwelve' ), max( $paged, $page ) ); 312 313 } … … 503 504 '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s" rel="author">%3$s</a></span>', 504 505 esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), 506 /* translators: %s: author display name */ 505 507 esc_attr( sprintf( __( 'View all posts by %s', 'twentytwelve' ), get_the_author() ) ), 506 508 get_the_author() 507 509 ); 508 510 509 // Translators: 1 is category, 2 is tag, 3 is the date and 4 is the author's name.510 511 if ( $tag_list ) { 512 /* translators: 1: category name, 2: tag name, 3: date, 4: author display name */ 511 513 $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' ); 512 514 } elseif ( $categories_list ) { 515 /* translators: 1: category name, 3: date, 4: author display name */ 513 516 $utility_text = __( 'This entry was posted in %1$s on %3$s<span class="by-author"> by %4$s</span>.', 'twentytwelve' ); 514 517 } else { 518 /* translators: 3: date, 4: author display name */ 515 519 $utility_text = __( 'This entry was posted on %3$s<span class="by-author"> by %4$s</span>.', 'twentytwelve' ); 516 520 } -
trunk/src/wp-content/themes/twentytwelve/image.php
r44496 r45609 28 28 $metadata = wp_get_attachment_metadata(); 29 29 printf( 30 /* translators: 1: date, 2: date, 3: attachment URL, 4: image width in pixels, 5: image height in pixels, 6: post parent permalink, 7: post parent title, 8: post parent title */ 30 31 __( '<span class="meta-prep meta-prep-entry-date">Published </span> <span class="entry-date"><time class="entry-date" datetime="%1$s">%2$s</time></span> at <a href="%3$s" title="Link to full-size image">%4$s × %5$s</a> in <a href="%6$s" title="Return to %7$s" rel="gallery">%8$s</a>.', 'twentytwelve' ), 31 32 esc_attr( get_the_date( 'c' ) ), -
trunk/src/wp-content/themes/twentytwelve/index.php
r44496 r45609 44 44 45 45 <div class="entry-content"> 46 <p><?php printf( __( 'Ready to publish your first post? <a href="%s">Get started here</a>.', 'twentytwelve' ), admin_url( 'post-new.php' ) ); ?></p> 46 <p> 47 <?php 48 /* translators: %s: post editor URL */ 49 printf( __( 'Ready to publish your first post? <a href="%s">Get started here</a>.', 'twentytwelve' ), admin_url( 'post-new.php' ) ); 50 ?> 51 </p> 47 52 </div><!-- .entry-content --> 48 53 -
trunk/src/wp-content/themes/twentytwelve/search.php
r43571 r45609 16 16 17 17 <header class="page-header"> 18 <h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'twentytwelve' ), '<span>' . get_search_query() . '</span>' ); ?></h1> 18 <h1 class="page-title"> 19 <?php 20 /* translators: %s: search query */ 21 printf( __( 'Search Results for: %s', 'twentytwelve' ), '<span>' . get_search_query() . '</span>' ); 22 ?> 23 </h1> 19 24 </header> 20 25 -
trunk/src/wp-content/themes/twentytwelve/tag.php
r44496 r45609 19 19 <?php if ( have_posts() ) : ?> 20 20 <header class="archive-header"> 21 <h1 class="archive-title"><?php printf( __( 'Tag Archives: %s', 'twentytwelve' ), '<span>' . single_tag_title( '', false ) . '</span>' ); ?></h1> 21 <h1 class="archive-title"> 22 <?php 23 /* translators: %s: tag title */ 24 printf( __( 'Tag Archives: %s', 'twentytwelve' ), '<span>' . single_tag_title( '', false ) . '</span>' ); 25 ?> 26 </h1> 22 27 23 28 <?php if ( tag_description() ) : // Show an optional tag description ?>
Note: See TracChangeset
for help on using the changeset viewer.