Changeset 31905
- Timestamp:
- 03/26/2015 08:55:34 PM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/themes.php
r31497 r31905 223 223 224 224 <?php if ( $theme['active'] ) { ?> 225 <h3 class="theme-name" id="<?php echo $aria_name; ?>"><span><?php _ex( 'Active:', 'theme' ); ?></span> <?php echo $theme['name']; ?></h3> 225 <h3 class="theme-name" id="<?php echo $aria_name; ?>"> 226 <?php 227 /* translators: %s: theme name */ 228 printf( __( '<span>Active:</span> %s' ), $theme['name'] ); 229 ?> 230 </h3> 226 231 <?php } else { ?> 227 232 <h3 class="theme-name" id="<?php echo $aria_name; ?>"><?php echo $theme['name']; ?></h3> … … 320 325 321 326 <# if ( data.active ) { #> 322 <h3 class="theme-name" id="{{ data.id }}-name"><span><?php _ex( 'Active:', 'theme' ); ?></span> {{{ data.name }}}</h3> 327 <h3 class="theme-name" id="{{ data.id }}-name"> 328 <?php 329 /* translators: %s: theme name */ 330 printf( __( '<span>Active:</span> %s' ), '{{ data.name }}' ); 331 ?> 332 ></h3> 323 333 <# } else { #> 324 334 <h3 class="theme-name" id="{{ data.id }}-name">{{{ data.name }}}</h3> -
trunk/src/wp-includes/class-wp-customize-control.php
r31698 r31905 1214 1214 1215 1215 <# if ( data.theme.active ) { #> 1216 <h3 class="theme-name" id="{{ data.theme.id }}-name"><span><?php _ex( 'Previewing:', 'theme' ); ?></span> {{ data.theme.name }}</h3> 1216 <h3 class="theme-name" id="{{ data.theme.id }}-name"> 1217 <?php 1218 /* translators: %s: theme name */ 1219 printf( __( '<span>Previewing:</span> %s' ), '{{ data.theme.name }}' ); 1220 ?> 1221 </h3> 1217 1222 <# } else { #> 1218 1223 <h3 class="theme-name" id="{{ data.theme.id }}-name">{{ data.theme.name }}</h3> … … 1287 1292 <span class="reorder-toggle" tabindex="0"> 1288 1293 <span class="reorder"><?php _ex( 'Reorder', 'Reorder widgets in Customizer' ); ?></span> 1289 <span class="reorder-done"><?php _ex( 'Done', 'Cancel reordering widgets in Customizer' 1294 <span class="reorder-done"><?php _ex( 'Done', 'Cancel reordering widgets in Customizer' ); ?></span> 1290 1295 </span> 1291 1296 <?php -
trunk/src/wp-includes/class-wp-customize-section.php
r31542 r31905 354 354 <?php endif; ?> 355 355 </h2> 356 <div class="theme-overlay" tabindex="0" role="dialog" aria-label="<?php esc_attr_e( 'Theme details' ); ?>"></div>356 <div class="theme-overlay" tabindex="0" role="dialog" aria-label="<?php esc_attr_e( 'Theme Details' ); ?>"></div> 357 357 <div id="customize-container"></div> 358 358 <?php if ( 6 < count( $this->controls ) ) : ?> -
trunk/src/wp-includes/post-template.php
r31862 r31905 1701 1701 1702 1702 /* translators: revision date format, see http://php.net/date */ 1703 $datef = _x( 'F j, Y @ H:i ', 'revision date format');1703 $datef = _x( 'F j, Y @ H:i:s', 'revision date format' ); 1704 1704 /* translators: 1: date */ 1705 1705 $autosavef = _x( '%1$s [Autosave]', 'post revision title extra' ); … … 1737 1737 $author = get_the_author_meta( 'display_name', $revision->post_author ); 1738 1738 /* translators: revision date format, see http://php.net/date */ 1739 $datef = _x( 'F j, Y @ H:i:s', 'revision date format' );1739 $datef = _x( 'F j, Y @ H:i:s', 'revision date format' ); 1740 1740 1741 1741 $gravatar = get_avatar( $revision->post_author, 24 ); -
trunk/src/wp-includes/script-loader.php
r31904 r31905 480 480 'unexpectedError' => __( 'Sorry, but an unexpected error occurred.' ), 481 481 'saveAlert' => __( 'The changes you made will be lost if you navigate away from this page.' ), 482 /* translators: %d: nth embed found in a post */ 482 483 'suggestedEmbedAlt' => __( 'Suggested embed #%d' ), 484 /* translators: %d: nth image found in a post */ 483 485 'suggestedImgAlt' => __( 'Suggested image #%d' ), 484 486 ) ); -
trunk/src/wp-includes/widgets.php
r31850 r31905 805 805 806 806 if ( empty( $args['id'] ) ) { 807 _doing_it_wrong( __FUNCTION__, sprintf( __( 'You should set %s in the arguments array.' ), 'id' ), '4.2.0' ); 807 /* translators: %s: the id argument */ 808 _doing_it_wrong( __FUNCTION__, sprintf( __( 'You should set %s in the arguments array.' ), '<code>id</code>' ), '4.2.0' ); 808 809 } 809 810
Note: See TracChangeset
for help on using the changeset viewer.