- Timestamp:
- 09/03/2019 12:39:13 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-custom-image-header.php
r45926 r45932 120 120 'content' => 121 121 '<p>' . sprintf( 122 /* translators: %s: URL to General Settings screen */122 /* translators: %s: URL to General Settings screen. */ 123 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 124 admin_url( 'options-general.php' ) … … 480 480 <?php 481 481 printf( 482 /* translators: %s: URL to header image configuration in Customizer */482 /* translators: %s: URL to header image configuration in Customizer. */ 483 483 __( 'You can now manage and live-preview Custom Header in the <a href="%s">Customizer</a>.' ), 484 484 admin_url( 'customize.php?autofocus[control]=header_image' ) … … 493 493 <p> 494 494 <?php 495 /* translators: %s: Home URL */495 /* translators: %s: Home URL. */ 496 496 printf( __( 'Header updated. <a href="%s">Visit your site</a> to see how it looks.' ), home_url( '/' ) ); 497 497 ?> … … 552 552 <?php 553 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*/554 /* translators: 1: Image width in pixels, 2: Image height in pixels. */ 555 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' ) ); 556 556 } elseif ( current_theme_supports( 'custom-header', 'flex-height' ) ) { 557 557 if ( ! current_theme_supports( 'custom-header', 'flex-width' ) ) { 558 558 printf( 559 /* translators: %s: size in pixels*/559 /* translators: %s: Size in pixels. */ 560 560 __( 'Images should be at least %s wide.' ) . ' ', 561 561 sprintf( 562 /* translators: %d: custom header width*/562 /* translators: %d: Custom header width. */ 563 563 '<strong>' . __( '%d pixels' ) . '</strong>', 564 564 get_theme_support( 'custom-header', 'width' ) … … 569 569 if ( ! current_theme_supports( 'custom-header', 'flex-height' ) ) { 570 570 printf( 571 /* translators: %s: size in pixels*/571 /* translators: %s: Size in pixels. */ 572 572 __( 'Images should be at least %s tall.' ) . ' ', 573 573 sprintf( 574 /* translators: %d: custom header height*/574 /* translators: %d: Custom header height. */ 575 575 '<strong>' . __( '%d pixels' ) . '</strong>', 576 576 get_theme_support( 'custom-header', 'height' ) … … 582 582 if ( current_theme_supports( 'custom-header', 'width' ) ) { 583 583 printf( 584 /* translators: %s: size in pixels*/584 /* translators: %s: Size in pixels. */ 585 585 __( 'Suggested width is %s.' ) . ' ', 586 586 sprintf( 587 /* translators: %d: custom header width*/587 /* translators: %d: Custom header width. */ 588 588 '<strong>' . __( '%d pixels' ) . '</strong>', 589 589 get_theme_support( 'custom-header', 'width' ) … … 593 593 if ( current_theme_supports( 'custom-header', 'height' ) ) { 594 594 printf( 595 /* translators: %s: size in pixels*/595 /* translators: %s: Size in pixels. */ 596 596 __( 'Suggested height is %s.' ) . ' ', 597 597 sprintf( 598 /* translators: %d: custom header height*/598 /* translators: %d: Custom header height. */ 599 599 '<strong>' . __( '%d pixels' ) . '</strong>', 600 600 get_theme_support( 'custom-header', 'height' ) … … 735 735 echo '<input type="text" name="text-color" id="text-color" value="' . esc_attr( $header_textcolor ) . '"' . $default_color_attr . ' />'; 736 736 if ( $default_color ) { 737 /* translators: %s: Default text color */737 /* translators: %s: Default text color. */ 738 738 echo ' <span class="description hide-if-js">' . sprintf( _x( 'Default: %s', 'color' ), esc_html( $default_color ) ) . '</span>'; 739 739 }
Note: See TracChangeset
for help on using the changeset viewer.