- Timestamp:
- 09/01/2019 05:12:43 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-custom-image-header.php
r45881 r45926 119 119 'title' => __( 'Header Text' ), 120 120 'content' => 121 '<p>' . sprintf( __( 'For most themes, the header text is your Site Title and Tagline, as defined in the <a href="%1$s">General Settings</a> section.' ), admin_url( 'options-general.php' ) ) . '<p>' . 121 '<p>' . sprintf( 122 /* translators: %s: URL to General Settings screen */ 123 __( 'For most themes, the header text is your Site Title and Tagline, as defined in the <a href="%s">General Settings</a> section.' ), 124 admin_url( 'options-general.php' ) 125 ) . 126 '</p>' . 122 127 '<p>' . __( 'In the Header Text section of this page, you can choose whether to display this text or hide it. You can also choose a color for the text by clicking the Select Color button and either typing in a legitimate HTML hex value, e.g. “#ff0000” for red, or by choosing a color using the color picker.' ) . '</p>' . 123 128 '<p>' . __( 'Don’t forget to click “Save Changes” when you’re done!' ) . '</p>', … … 474 479 <p> 475 480 <?php 476 printf( 477 __( 'You can now manage and live-preview Custom Header in the <a href="%1$s">Customizer</a>.' ), 478 admin_url( 'customize.php?autofocus[control]=header_image' ) 479 ); 481 printf( 482 /* translators: %s: URL to header image configuration in Customizer */ 483 __( 'You can now manage and live-preview Custom Header in the <a href="%s">Customizer</a>.' ), 484 admin_url( 'customize.php?autofocus[control]=header_image' ) 485 ); 480 486 ?> 481 487 </p> … … 485 491 <?php if ( ! empty( $this->updated ) ) { ?> 486 492 <div id="message" class="updated"> 487 <p><?php printf( __( 'Header updated. <a href="%s">Visit your site</a> to see how it looks.' ), home_url( '/' ) ); ?></p> 493 <p> 494 <?php 495 /* translators: %s: Home URL */ 496 printf( __( 'Header updated. <a href="%s">Visit your site</a> to see how it looks.' ), home_url( '/' ) ); 497 ?> 498 </p> 488 499 </div> 489 500 <?php } ?> … … 541 552 <?php 542 553 if ( ! current_theme_supports( 'custom-header', 'flex-height' ) && ! current_theme_supports( 'custom-header', 'flex-width' ) ) { 554 /* translators: 1: image width in pixels, 2: image height in pixels */ 543 555 printf( __( 'Images of exactly <strong>%1$d × %2$d pixels</strong> will be used as-is.' ) . '<br />', get_theme_support( 'custom-header', 'width' ), get_theme_support( 'custom-header', 'height' ) ); 544 556 } elseif ( current_theme_supports( 'custom-header', 'flex-height' ) ) { … … 723 735 echo '<input type="text" name="text-color" id="text-color" value="' . esc_attr( $header_textcolor ) . '"' . $default_color_attr . ' />'; 724 736 if ( $default_color ) { 737 /* translators: %s: Default text color */ 725 738 echo ' <span class="description hide-if-js">' . sprintf( _x( 'Default: %s', 'color' ), esc_html( $default_color ) ) . '</span>'; 726 739 }
Note: See TracChangeset
for help on using the changeset viewer.