Changeset 45926 for trunk/src/wp-admin/themes.php
- Timestamp:
- 09/01/2019 05:12:43 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/themes.php
r45674 r45926 112 112 $help_install = '<p>' . __( 'Installing themes on Multisite can only be done from the Network Admin section.' ) . '</p>'; 113 113 } else { 114 $help_install = '<p>' . sprintf( __( 'If you would like to see more themes to choose from, click on the “Add New” button and you will be able to browse or search for additional themes from the <a href="%s">WordPress Theme Directory</a>. Themes in the WordPress Theme Directory are designed and developed by third parties, and are compatible with the license WordPress uses. Oh, and they’re free!' ), __( 'https://wordpress.org/themes/' ) ) . '</p>'; 114 $help_install = '<p>' . sprintf( 115 /* translators: %s: https://wordpress.org/themes/ */ 116 __( 'If you would like to see more themes to choose from, click on the “Add New” button and you will be able to browse or search for additional themes from the <a href="%s">WordPress Theme Directory</a>. Themes in the WordPress Theme Directory are designed and developed by third parties, and are compatible with the license WordPress uses. Oh, and they’re free!' ), 117 __( 'https://wordpress.org/themes/' ) 118 ) . '</p>'; 115 119 } 116 120 … … 168 172 'search' => __( 'Search Installed Themes' ), 169 173 'searchPlaceholder' => __( 'Search installed themes...' ), // placeholder (no ellipsis) 174 /* translators: %d: number of themes */ 170 175 'themesFound' => __( 'Number of Themes found: %d' ), 171 176 'noThemesFound' => __( 'No themes found. Try a different search.' ), … … 328 333 329 334 <span class="more-details" id="<?php echo $aria_action; ?>"><?php _e( 'Theme Details' ); ?></span> 330 <div class="theme-author"><?php printf( __( 'By %s' ), $theme['author'] ); ?></div> 335 <div class="theme-author"> 336 <?php 337 /* translators: %s: Theme author name */ 338 printf( __( 'By %s' ), $theme['author'] ); 339 ?> 340 </div> 331 341 332 342 <div class="theme-id-container"> … … 334 344 <h2 class="theme-name" id="<?php echo $aria_name; ?>"> 335 345 <?php 336 /* translators: %s: theme name */346 /* translators: %s: Theme name */ 337 347 printf( __( '<span>Active:</span> %s' ), $theme['name'] ); 338 348 ?> … … 547 557 <span class="current-label"><?php _e( 'Current Theme' ); ?></span> 548 558 <# } #> 549 <h2 class="theme-name">{{{ data.name }}}<span class="theme-version"><?php printf( __( 'Version: %s' ), '{{ data.version }}' ); ?></span></h2> 550 <p class="theme-author"><?php printf( __( 'By %s' ), '{{{ data.authorAndUri }}}' ); ?></p> 559 <h2 class="theme-name">{{{ data.name }}}<span class="theme-version"> 560 <?php 561 /* translators: %s: Theme version */ 562 printf( __( 'Version: %s' ), '{{ data.version }}' ); 563 ?> 564 </span></h2> 565 <p class="theme-author"> 566 <?php 567 /* translators: %s: Theme author link */ 568 printf( __( 'By %s' ), '{{{ data.authorAndUri }}}' ); 569 ?> 570 </p> 551 571 552 572 <# if ( data.hasUpdate ) { #> … … 559 579 560 580 <# if ( data.parent ) { #> 561 <p class="parent-theme"><?php printf( __( 'This is a child theme of %s.' ), '<strong>{{{ data.parent }}}</strong>' ); ?></p> 581 <p class="parent-theme"> 582 <?php 583 /* translators: %s: Theme name */ 584 printf( __( 'This is a child theme of %s.' ), '<strong>{{{ data.parent }}}</strong>' ); 585 ?> 586 </p> 562 587 <# } #> 563 588
Note: See TracChangeset
for help on using the changeset viewer.