Changeset 45604
- Timestamp:
- 07/05/2019 08:03:40 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 37 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpcs.xml.dist
r45601 r45604 149 149 </rule> 150 150 151 <!-- Translator comments aren't needed in unit tests. --> 152 <rule ref="WordPress.WP.I18n.MissingTranslatorsComment"> 153 <exclude-pattern>/tests/*</exclude-pattern> 154 </rule> 155 151 156 <rule ref="Generic.Functions.FunctionCallArgumentSpacing"> 152 157 <exclude-pattern>/wp-config\.php</exclude-pattern> -
trunk/src/wp-content/themes/twentyeleven/archive.php
r44496 r45604 22 22 <header class="page-header"> 23 23 <h1 class="page-title"> 24 <?php if ( is_day() ) : ?> 25 <?php printf( __( 'Daily Archives: %s', 'twentyeleven' ), '<span>' . get_the_date() . '</span>' ); ?> 26 <?php elseif ( is_month() ) : ?> 27 <?php printf( __( 'Monthly Archives: %s', 'twentyeleven' ), '<span>' . get_the_date( _x( 'F Y', 'monthly archives date format', 'twentyeleven' ) ) . '</span>' ); ?> 28 <?php elseif ( is_year() ) : ?> 29 <?php printf( __( 'Yearly Archives: %s', 'twentyeleven' ), '<span>' . get_the_date( _x( 'Y', 'yearly archives date format', 'twentyeleven' ) ) . '</span>' ); ?> 30 <?php else : ?> 31 <?php _e( 'Blog Archives', 'twentyeleven' ); ?> 32 <?php endif; ?> 24 <?php 25 if ( is_day() ) { 26 /* translators: %s: date */ 27 printf( __( 'Daily Archives: %s', 'twentyeleven' ), '<span>' . get_the_date() . '</span>' ); 28 } elseif ( is_month() ) { 29 /* translators: %s: date */ 30 printf( __( 'Monthly Archives: %s', 'twentyeleven' ), '<span>' . get_the_date( _x( 'F Y', 'monthly archives date format', 'twentyeleven' ) ) . '</span>' ); 31 } elseif ( is_year() ) { 32 /* translators: %s: date */ 33 printf( __( 'Yearly Archives: %s', 'twentyeleven' ), '<span>' . get_the_date( _x( 'Y', 'yearly archives date format', 'twentyeleven' ) ) . '</span>' ); 34 } else { 35 _e( 'Blog Archives', 'twentyeleven' ); 36 } 37 ?> 33 38 </h1> 34 39 </header> -
trunk/src/wp-content/themes/twentyeleven/author.php
r43571 r45604 27 27 28 28 <header class="page-header"> 29 <h1 class="page-title author"><?php printf( __( 'Author Archives: %s', 'twentyeleven' ), '<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', 'twentyeleven' ), '<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 </header> 31 36 … … 59 64 </div><!-- #author-avatar --> 60 65 <div id="author-description"> 61 <h2><?php printf( __( 'About %s', 'twentyeleven' ), get_the_author() ); ?></h2> 66 <h2> 67 <?php 68 /* translators: author display name */ 69 printf( __( 'About %s', 'twentyeleven' ), get_the_author() ); 70 ?> 71 </h2> 62 72 <?php the_author_meta( 'description' ); ?> 63 73 </div><!-- #author-description --> -
trunk/src/wp-content/themes/twentyeleven/category.php
r43571 r45604 18 18 <h1 class="page-title"> 19 19 <?php 20 /* translators: %s: category title */ 20 21 printf( __( 'Category Archives: %s', 'twentyeleven' ), '<span>' . single_cat_title( '', false ) . '</span>' ); 21 22 ?> -
trunk/src/wp-content/themes/twentyeleven/content-featured.php
r43571 r45604 36 36 $tag_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) ); 37 37 if ( '' != $tag_list ) { 38 /* translators: 1: category list, 2: tag list, 3: post permalink, 4: post title */ 38 39 $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' ); 39 40 } else { 41 /* translators: 1: category list, 3: post permalink, 4: post title */ 40 42 $utility_text = __( 'This entry was posted in %1$s. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' ); 41 43 } -
trunk/src/wp-content/themes/twentyeleven/content-gallery.php
r44574 r45604 47 47 <?php 48 48 printf( 49 /* translators: 1: link attributes, 2: number of photos */ 49 50 _n( 'This gallery contains <a %1$s>%2$s photo</a>.', 'This gallery contains <a %1$s>%2$s photos</a>.', $total_images, 'twentyeleven' ), 51 /* translators: %s: Post title */ 50 52 'href="' . esc_url( get_permalink() ) . '" title="' . esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ) . '" rel="bookmark"', 51 53 number_format_i18n( $total_images ) … … 76 78 <span class="cat-links"> 77 79 <?php 80 /* translators: 1: CSS classes, 2: list of categories */ 78 81 printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list ); 79 82 $show_sep = true; … … 91 94 <span class="tag-links"> 92 95 <?php 96 /* translators: 1: CSS classes, 2: list of tags */ 93 97 printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); 94 98 $show_sep = true; -
trunk/src/wp-content/themes/twentyeleven/content-image.php
r43571 r45604 42 42 <?php 43 43 printf( 44 /* translators: 1: the permalink, 2: date and time, 3: date and time, 4: author link, 5: author link title, 6: author display name */ 44 45 __( '<a href="%1$s" rel="bookmark"><time class="entry-date" datetime="%2$s">%3$s</time></a><span class="by-author"> <span class="sep"> by </span> <span class="author vcard"><a class="url fn n" href="%4$s" title="%5$s" rel="author">%6$s</a></span></span>', 'twentyeleven' ), 45 46 esc_url( get_permalink() ), … … 47 48 get_the_date(), 48 49 esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), 50 /* translators: %s: author display name */ 49 51 esc_attr( sprintf( __( 'View all posts by %s', 'twentyeleven' ), get_the_author() ) ), 50 52 get_the_author() … … 59 61 ?> 60 62 <span class="cat-links"> 61 <?php printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list ); ?> 63 <?php 64 /* translators: 1: CSS classes, 2: category list */ 65 printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list ); 66 ?> 62 67 </span> 63 68 <?php endif; // End if categories ?> … … 68 73 ?> 69 74 <span class="tag-links"> 70 <?php printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); ?> 75 <?php 76 /* translators: 1: CSS classes, 2: tag list */ 77 printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); 78 ?> 71 79 </span> 72 80 <?php endif; // End if $tags_list ?> -
trunk/src/wp-content/themes/twentyeleven/content-quote.php
r43571 r45604 54 54 <span class="cat-links"> 55 55 <?php 56 /* translators: 1: CSS classes, 2: list of categories */ 56 57 printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list ); 57 58 $show_sep = true; … … 69 70 <span class="tag-links"> 70 71 <?php 72 /* translators: 1: CSS classes, 2: list of tags */ 71 73 printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); 72 74 $show_sep = true; -
trunk/src/wp-content/themes/twentyeleven/content-single.php
r43571 r45604 40 40 $tag_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) ); 41 41 if ( '' != $tag_list ) { 42 /* translators: 1: categories list, 2: tag list, 3: permalink, 4: post title, 5: author name, 6: author URL */ 42 43 $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' ); 43 44 } elseif ( '' != $categories_list ) { 45 /* translators: 1: categories list, 2: tag list, 3: permalink, 4: post title, 5: author name, 6: author URL */ 44 46 $utility_text = __( 'This entry was posted in %1$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' ); 45 47 } else { 48 /* translators: 1: categories list, 2: tag list, 3: permalink, 4: post title, 5: author name, 6: author URL */ 46 49 $utility_text = __( 'This entry was posted by <a href="%6$s">%5$s</a>. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' ); 47 50 } … … 68 71 </div><!-- #author-avatar --> 69 72 <div id="author-description"> 70 <h2><?php printf( __( 'About %s', 'twentyeleven' ), get_the_author() ); ?></h2> 73 <h2> 74 <?php 75 /* translators: %s: author name */ 76 printf( __( 'About %s', 'twentyeleven' ), get_the_author() ); 77 ?> 78 </h2> 71 79 <?php the_author_meta( 'description' ); ?> 72 80 <div id="author-link"> 73 81 <a href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author"> 74 <?php printf( __( 'View all posts by %s <span class="meta-nav">→</span>', 'twentyeleven' ), get_the_author() ); ?> 82 <?php 83 /* translators: %s: author name */ 84 printf( __( 'View all posts by %s <span class="meta-nav">→</span>', 'twentyeleven' ), get_the_author() ); 85 ?> 75 86 </a> 76 87 </div><!-- #author-link --> -
trunk/src/wp-content/themes/twentyeleven/content.php
r43571 r45604 61 61 <span class="cat-links"> 62 62 <?php 63 /* translators: 1: CSS classes, 2: category list */ 63 64 printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list ); 64 65 $show_sep = true; … … 78 79 <span class="tag-links"> 79 80 <?php 81 /* translators: 1: CSS classes, 2: tag list */ 80 82 printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); 81 83 $show_sep = true; -
trunk/src/wp-content/themes/twentyeleven/footer.php
r43051 r45604 33 33 ?> 34 34 <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyeleven' ) ); ?>" class="imprint" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyeleven' ); ?>"> 35 <?php printf( __( 'Proudly powered by %s', 'twentyeleven' ), 'WordPress' ); ?> 35 <?php 36 /* translators: %s: WordPress */ 37 printf( __( 'Proudly powered by %s', 'twentyeleven' ), 'WordPress' ); 38 ?> 36 39 </a> 37 40 </div> -
trunk/src/wp-content/themes/twentyeleven/functions.php
r45602 r45604 727 727 echo get_avatar( $comment, $avatar_size ); 728 728 729 /* translators: 1: comment author, 2: date and time */730 729 printf( 730 /* translators: 1: comment author, 2: date and time */ 731 731 __( '%1$s on %2$s <span class="says">said:</span>', 'twentyeleven' ), 732 732 sprintf( '<span class="fn">%s</span>', get_comment_author_link() ), … … 785 785 function twentyeleven_posted_on() { 786 786 printf( 787 /* translators: 1: The permalink, 2: time, 3: date and time, 4: date and time, 5: Author posts, 6: Author post link text, 7: Author display name */ 787 788 __( '<span class="sep">Posted on </span><a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s">%4$s</time></a><span class="by-author"> <span class="sep"> by </span> <span class="author vcard"><a class="url fn n" href="%5$s" title="%6$s" rel="author">%7$s</a></span></span>', 'twentyeleven' ), 788 789 esc_url( get_permalink() ), … … 791 792 esc_html( get_the_date() ), 792 793 esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), 794 /* translators: %s: Author display name */ 793 795 esc_attr( sprintf( __( 'View all posts by %s', 'twentyeleven' ), get_the_author() ) ), 794 796 get_the_author() -
trunk/src/wp-content/themes/twentyeleven/header.php
r45581 r45604 43 43 // Add a page number if necessary: 44 44 if ( ( $paged >= 2 || $page >= 2 ) && ! is_404() ) { 45 /* translators: %s: page number */ 45 46 echo esc_html( ' | ' . sprintf( __( 'Page %s', 'twentyeleven' ), max( $paged, $page ) ) ); 46 47 } -
trunk/src/wp-content/themes/twentyeleven/image.php
r43571 r45604 32 32 $metadata = wp_get_attachment_metadata(); 33 33 printf( 34 /* translators: 1: time, 2: date, 3: image permalink, 4: image width, 5: image height, 6: parent permalink, 7: parent post title, 8: parent post title */ 34 35 __( '<span class="meta-prep meta-prep-entry-date">Published </span> <span class="entry-date"><abbr class="published" title="%1$s">%2$s</abbr></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>', 'twentyeleven' ), 35 36 esc_attr( get_the_time() ), -
trunk/src/wp-content/themes/twentyeleven/inc/theme-options.php
r45581 r45604 303 303 <div id="colorPickerDiv" style="z-index: 100; background:#eee; border:1px solid #ccc; position:absolute; display:none;"></div> 304 304 <br /> 305 <span><?php printf( __( 'Default color: %s', 'twentyeleven' ), '<span id="default-color">' . twentyeleven_get_default_link_color( $options['color_scheme'] ) . '</span>' ); ?></span> 305 <span> 306 <?php 307 /* translators: link color */ 308 printf( __( 'Default color: %s', 'twentyeleven' ), '<span id="default-color">' . twentyeleven_get_default_link_color( $options['color_scheme'] ) . '</span>' ); 309 ?> 310 </span> 306 311 <?php 307 312 } … … 339 344 <?php screen_icon(); ?> 340 345 <?php $theme_name = function_exists( 'wp_get_theme' ) ? wp_get_theme() : get_current_theme(); ?> 341 <h2><?php printf( __( '%s Theme Options', 'twentyeleven' ), $theme_name ); ?></h2> 346 <h2> 347 <?php 348 /* translators: theme name */ 349 printf( __( '%s Theme Options', 'twentyeleven' ), $theme_name ); 350 ?> 351 </h2> 342 352 <?php settings_errors(); ?> 343 353 -
trunk/src/wp-content/themes/twentyeleven/search.php
r43571 r45604 16 16 17 17 <header class="page-header"> 18 <h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'twentyeleven' ), '<span>' . get_search_query() . '</span>' ); ?></h1> 18 <h1 class="page-title"> 19 <?php 20 /* translators: %s: search query */ 21 printf( __( 'Search Results for: %s', 'twentyeleven' ), '<span>' . get_search_query() . '</span>' ); 22 ?> 23 </h1> 19 24 </header> 20 25 -
trunk/src/wp-content/themes/twentyeleven/showcase.php
r43571 r45604 125 125 $thumbnail_size = 'small-feature'; 126 126 } 127 128 /* translators: %s: post title */ 129 $title = sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); 127 130 ?> 128 <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) )); ?>" rel="bookmark"><?php the_post_thumbnail( $thumbnail_size ); ?></a>131 <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( $title ); ?>" rel="bookmark"><?php the_post_thumbnail( $thumbnail_size ); ?></a> 129 132 <?php 130 133 } … … 157 160 $class = ''; 158 161 } 162 163 /* translators: %s: post title */ 164 $title = sprintf( __( 'Featuring: %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); 159 165 ?> 160 <li><a href="#featured-post-<?php echo esc_attr( $counter_slider ); ?>" title="<?php echo esc_attr( sprintf( __( 'Featuring: %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) )); ?>"<?php echo $class; ?>></a></li>166 <li><a href="#featured-post-<?php echo esc_attr( $counter_slider ); ?>" title="<?php echo esc_attr( $title ); ?>"<?php echo $class; ?>></a></li> 161 167 <?php endwhile; ?> 162 168 </ul> -
trunk/src/wp-content/themes/twentyeleven/tag.php
r43571 r45604 18 18 <h1 class="page-title"> 19 19 <?php 20 /* translators: %s: tag title */ 20 21 printf( __( 'Tag Archives: %s', 'twentyeleven' ), '<span>' . single_tag_title( '', false ) . '</span>' ); 21 22 ?> -
trunk/src/wp-content/themes/twentyseventeen/inc/back-compat.php
r43571 r45604 37 37 */ 38 38 function twentyseventeen_upgrade_notice() { 39 /* translators: %s: The current WordPress version */ 39 40 $message = sprintf( __( 'Twenty Seventeen requires at least WordPress version 4.7. You are running version %s. Please upgrade and try again.', 'twentyseventeen' ), $GLOBALS['wp_version'] ); 40 41 printf( '<div class="error"><p>%s</p></div>', $message ); … … 50 51 function twentyseventeen_customize() { 51 52 wp_die( 53 /* translators: %s: The current WordPress version */ 52 54 sprintf( __( 'Twenty Seventeen requires at least WordPress version 4.7. You are running version %s. Please upgrade and try again.', 'twentyseventeen' ), $GLOBALS['wp_version'] ), 53 55 '', … … 68 70 function twentyseventeen_preview() { 69 71 if ( isset( $_GET['preview'] ) ) { 72 /* translators: %s: The current WordPress version */ 70 73 wp_die( sprintf( __( 'Twenty Seventeen requires at least WordPress version 4.7. You are running version %s. Please upgrade and try again.', 'twentyseventeen' ), $GLOBALS['wp_version'] ) ); 71 74 } -
trunk/src/wp-content/themes/twentyseventeen/inc/template-tags.php
r45256 r45604 149 149 } elseif ( is_customize_preview() ) { 150 150 // The output placeholder anchor. 151 echo '<article class="panel-placeholder panel twentyseventeen-panel twentyseventeen-panel' . $id . '" id="panel' . $id . '"><span class="twentyseventeen-panel-title">' . sprintf( __( 'Front Page Section %1$s Placeholder', 'twentyseventeen' ), $id ) . '</span></article>'; 151 /* translators: %s: The section id */ 152 echo '<article class="panel-placeholder panel twentyseventeen-panel twentyseventeen-panel' . $id . '" id="panel' . $id . '"><span class="twentyseventeen-panel-title">' . sprintf( __( 'Front Page Section %s Placeholder', 'twentyseventeen' ), $id ) . '</span></article>'; 152 153 } 153 154 } -
trunk/src/wp-content/themes/twentyseventeen/search.php
r43571 r45604 17 17 <header class="page-header"> 18 18 <?php if ( have_posts() ) : ?> 19 <h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'twentyseventeen' ), '<span>' . get_search_query() . '</span>' ); ?></h1> 19 <h1 class="page-title"> 20 <?php 21 /* translators: search query */ 22 printf( __( 'Search Results for: %s', 'twentyseventeen' ), '<span>' . get_search_query() . '</span>' ); 23 ?> 24 </h1> 20 25 <?php else : ?> 21 26 <h1 class="page-title"><?php _e( 'Nothing Found', 'twentyseventeen' ); ?></h1> -
trunk/src/wp-content/themes/twentyseventeen/template-parts/footer/site-info.php
r43051 r45604 17 17 ?> 18 18 <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyseventeen' ) ); ?>" class="imprint"> 19 <?php printf( __( 'Proudly powered by %s', 'twentyseventeen' ), 'WordPress' ); ?> 19 <?php 20 /* translators: %s: WordPress */ 21 printf( __( 'Proudly powered by %s', 'twentyseventeen' ), 'WordPress' ); 22 ?> 20 23 </a> 21 24 </div><!-- .site-info --> -
trunk/src/wp-content/themes/twentyseventeen/template-parts/page/content-front-page-panels.php
r45209 r45604 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<span class="screen-reader-text"> "%s"</span>', 'twentyseventeen' ), 46 46 get_the_title() -
trunk/src/wp-content/themes/twentyseventeen/template-parts/page/content-front-page.php
r45209 r45604 37 37 <div class="entry-content"> 38 38 <?php 39 /* translators: %s: Name of current post */40 39 the_content( 41 40 sprintf( 41 /* translators: %s: Name of current post */ 42 42 __( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'twentyseventeen' ), 43 43 get_the_title() -
trunk/src/wp-content/themes/twentyseventeen/template-parts/post/content-audio.php
r45209 r45604 79 79 if ( is_single() || empty( $audio ) ) { 80 80 81 /* translators: %s: Name of current post */82 81 the_content( 83 82 sprintf( 83 /* translators: %s: Name of current post */ 84 84 __( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'twentyseventeen' ), 85 85 get_the_title() -
trunk/src/wp-content/themes/twentyseventeen/template-parts/post/content-gallery.php
r45209 r45604 66 66 if ( is_single() || ! get_post_gallery() ) { 67 67 68 /* translators: %s: Name of current post */69 68 the_content( 70 69 sprintf( 70 /* translators: %s: Name of current post */ 71 71 __( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'twentyseventeen' ), 72 72 get_the_title() -
trunk/src/wp-content/themes/twentyseventeen/template-parts/post/content-image.php
r45209 r45604 56 56 57 57 // Only show content if is a single post, or if there's no featured image. 58 /* translators: %s: Name of current post */59 58 the_content( 60 59 sprintf( 60 /* translators: %s: Name of current post */ 61 61 __( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'twentyseventeen' ), 62 62 get_the_title() -
trunk/src/wp-content/themes/twentyseventeen/template-parts/post/content-none.php
r44574 r45604 22 22 ?> 23 23 24 <p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'twentyseventeen' ), esc_url( admin_url( 'post-new.php' ) ) ); ?></p> 24 <p> 25 <?php 26 /* translators: %s: Link to post-new.php */ 27 printf( __( 'Ready to publish your first post? <a href="%s">Get started here</a>.', 'twentyseventeen' ), esc_url( admin_url( 'post-new.php' ) ) ); 28 ?> 29 </p> 25 30 26 31 <?php else : ?> -
trunk/src/wp-content/themes/twentyseventeen/template-parts/post/content-video.php
r45209 r45604 78 78 if ( is_single() || empty( $video ) ) { 79 79 80 /* translators: %s: Name of current post */81 80 the_content( 82 81 sprintf( 82 /* translators: %s: Name of current post */ 83 83 __( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'twentyseventeen' ), 84 84 get_the_title() -
trunk/src/wp-content/themes/twentyseventeen/template-parts/post/content.php
r45209 r45604 52 52 <div class="entry-content"> 53 53 <?php 54 /* translators: %s: Name of current post */55 54 the_content( 56 55 sprintf( 56 /* translators: %s: Name of current post */ 57 57 __( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'twentyseventeen' ), 58 58 get_the_title() -
trunk/src/wp-content/themes/twentysixteen/footer.php
r43051 r45604 59 59 ?> 60 60 <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentysixteen' ) ); ?>" class="imprint"> 61 <?php printf( __( 'Proudly powered by %s', 'twentysixteen' ), 'WordPress' ); ?> 61 <?php 62 /* translators: %s: WordPress */ 63 printf( __( 'Proudly powered by %s', 'twentysixteen' ), 'WordPress' ); 64 ?> 62 65 </a> 63 66 </div><!-- .site-info --> -
trunk/src/wp-content/themes/twentysixteen/inc/back-compat.php
r43571 r45604 39 39 */ 40 40 function twentysixteen_upgrade_notice() { 41 /* translators: %s: The current WordPress version */ 41 42 $message = sprintf( __( 'Twenty Sixteen requires at least WordPress version 4.4. You are running version %s. Please upgrade and try again.', 'twentysixteen' ), $GLOBALS['wp_version'] ); 42 43 printf( '<div class="error"><p>%s</p></div>', $message ); … … 52 53 function twentysixteen_customize() { 53 54 wp_die( 55 /* translators: %s: The current WordPress version */ 54 56 sprintf( __( 'Twenty Sixteen requires at least WordPress version 4.4. You are running version %s. Please upgrade and try again.', 'twentysixteen' ), $GLOBALS['wp_version'] ), 55 57 '', … … 70 72 function twentysixteen_preview() { 71 73 if ( isset( $_GET['preview'] ) ) { 74 /* translators: %s: The current WordPress version */ 72 75 wp_die( sprintf( __( 'Twenty Sixteen requires at least WordPress version 4.4. You are running version %s. Please upgrade and try again.', 'twentysixteen' ), $GLOBALS['wp_version'] ) ); 73 76 } -
trunk/src/wp-content/themes/twentysixteen/inc/template-tags.php
r45581 r45604 50 50 if ( ! is_singular() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) { 51 51 echo '<span class="comments-link">'; 52 /* translators: %s: Name of current post */ 52 53 comments_popup_link( sprintf( __( 'Leave a comment<span class="screen-reader-text"> on %s</span>', 'twentysixteen' ), get_the_title() ) ); 53 54 echo '</span>'; -
trunk/src/wp-content/themes/twentysixteen/search.php
r42343 r45604 16 16 17 17 <header class="page-header"> 18 <h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'twentysixteen' ), '<span>' . esc_html( get_search_query() ) . '</span>' ); ?></h1> 18 <h1 class="page-title"> 19 <?php 20 /* translators: %s: The search query */ 21 printf( __( 'Search Results for: %s', 'twentysixteen' ), '<span>' . esc_html( get_search_query() ) . '</span>' ); 22 ?> 23 </h1> 19 24 </header><!-- .page-header --> 20 25 -
trunk/src/wp-content/themes/twentysixteen/template-parts/biography.php
r40851 r45604 31 31 <?php the_author_meta( 'description' ); ?> 32 32 <a class="author-link" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author"> 33 <?php printf( __( 'View all posts by %s', 'twentysixteen' ), get_the_author() ); ?> 33 <?php 34 /* translators: %s: The post author display name */ 35 printf( __( 'View all posts by %s', 'twentysixteen' ), get_the_author() ); 36 ?> 34 37 </a> 35 38 </p><!-- .author-bio --> -
trunk/src/wp-content/themes/twentysixteen/template-parts/content-none.php
r40851 r45604 17 17 <?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?> 18 18 19 <p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'twentysixteen' ), esc_url( admin_url( 'post-new.php' ) ) ); ?></p> 19 <p> 20 <?php 21 /* translators: %s: Link to post-new.php */ 22 printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'twentysixteen' ), esc_url( admin_url( 'post-new.php' ) ) ); 23 ?> 24 </p> 20 25 21 26 <?php elseif ( is_search() ) : ?> -
trunk/src/wp-content/themes/twentysixteen/template-parts/content.php
r45209 r45604 24 24 <div class="entry-content"> 25 25 <?php 26 /* translators: %s: Name of current post */27 26 the_content( 28 27 sprintf( 28 /* translators: %s: Name of current post */ 29 29 __( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'twentysixteen' ), 30 30 get_the_title()
Note: See TracChangeset
for help on using the changeset viewer.