Ticket #1507: meta-1507.patch
File meta-1507.patch, 4.8 KB (added by , 9 years ago) |
---|
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/comments.php
14 14 <li id="comment-<?php comment_ID() ?>" <?php if ($i % 2) echo "class='altc'"; ?>> 15 15 <?php comment_text() ?> 16 16 <p><cite><?php printf( 17 _x( '%1$s from %2$s on %3$s', '{comment type} from {comment author link} on {comment date}', 'wporg-showcase' ), 17 /* translators: 1: comment type, 2: comment author link, 3: comment date */ 18 __( '%1$s from %2$s on %3$s', 'wporg-showcase' ), 18 19 comment_type( __( 'Comment', 'wporg-showcase' ), __( 'Trackback', 'wporg-showcase' ), __( 'Pingback', 'wporg-showcase' ) ), 19 20 comment_author_link(), 20 21 comment_date() -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/functions.php
141 141 <h3><a href="<?php echo home_url( '/' ); ?>" title="<?php esc_attr_e( 'Showcase', 'wporg-showcase' ); ?>"><?php _e( 'Showcase', 'wporg-showcase' ); ?></a> 142 142 143 143 <?php if ( is_search() ) : ?> 144 <?php printf( __( '» Search for: %s', 'wporg-showcase' ), get_search_query() ); ?> 144 <?php 145 /* translators: %s: search query */ 146 printf( __( '» Search for: %s', 'wporg-showcase' ), get_search_query() ); 147 ?> 145 148 <?php elseif ( strstr( $_SERVER['REQUEST_URI'], '/showcase/archives' ) ) : ?> 146 149 <?php _e( '» Archives', 'wporg-showcase' ); ?> 147 150 <?php else : ?> … … 151 154 <?php _e( '» Tag', 'wporg-showcase' ); ?> 152 155 <?php endif; // is_category ?> 153 156 154 <?php printf( __( '» %s', 'wporg-showcase' ), wp_get_document_title() ); ?> 157 <?php 158 /* translators: %s: document title */ 159 printf( __( '» %s', 'wporg-showcase' ), wp_get_document_title() ); 160 ?> 155 161 <?php endif; // is_search ?> 156 162 157 163 </h3> … … 174 180 if ( $posttags ) { 175 181 foreach ( $posttags as $tag ) { 176 182 if ( $tag->count > 1 && !is_tag($tag->slug) ) { 177 $tag_link = '<a href="' . get_term_link($tag, 'post_tag') . '" rel="tag">' . sprintf( _x( '%1$s (%2$s)', 'Tag name (tag count)', 'wporg-showcase' ), $tag->name, $tag->count ) . '</a>'; 183 $tag_link = sprintf( '<a href="%s" rel="tag">%s</a>', 184 get_term_link( $tag, 'post_tag' ), 185 /* translators: 1: tag name, 2: tag count */ 186 sprintf( __( '%1$s (%2$s)', 'wporg-showcase' ), $tag->name, $tag->count ) 187 ); 178 188 } else { 179 189 $tag_link = $tag->name; 180 190 } … … 248 258 $parts['title'] = ''; 249 259 } elseif ( is_category() ) { 250 260 // Prepend 'Flavor: ' to category document titles. 261 /* translators: %s: category name */ 251 262 $parts['title'] = sprintf( __( 'Flavor: %s', 'wporg-showcase' ) . $parts['title'] ); 252 263 } elseif ( is_tag() ) { 253 264 // Prepend 'Tag: ' to tag document titles. 265 /* translators: %s: tag name */ 254 266 $parts['title'] = sprintf( __( 'Tag: %s', 'wporg-showcase' ) . $parts['title'] ); 255 267 } 256 268 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/page-submit.php
26 26 <?php if ( $_POST && ! $error ) : ?> 27 27 <div id="return"> 28 28 <h3><?php _e( 'Submitted!', 'wporg-showcase' ); ?></h3> 29 <p><?php printf( __( 'Thanks! You have successfully submitted a site for consideration to be added to the WordPress Showcase. If the site you submitted is added, you will be contacted via email within one week. We appreciate your interest in the WordPress Showcase! If you\'d like to submit another site, head back to the <a href="%s">submission form</a>.', 'wporg-showcase' ), 'https://wordpress.org/showcase/submit-a-wordpress-site/' ); ?></p> 29 <p><?php printf( 30 /* translators: %s: URL of the site submission form */ 31 __( 'Thanks! You have successfully submitted a site for consideration to be added to the WordPress Showcase. If the site you submitted is added, you will be contacted via email within one week. We appreciate your interest in the WordPress Showcase! If you\'d like to submit another site, head back to the <a href="%s">submission form</a>.', 'wporg-showcase' ), 32 'https://wordpress.org/showcase/submit-a-wordpress-site/' 33 ); ?></p> 30 34 </div> 31 35 <?php endif; // $_POST && ! $error ?> 32 36