Make WordPress Core


Ignore:
Timestamp:
03/19/2014 08:17:08 AM (12 years ago)
Author:
nacin
Message:

More translation cleanups.

Affects widgets (see #27112), custom headers (see #21785), theme installer (see #27055, reverts [27614]), and some media stuff. Untranslates some complicated strings that need additional study.

see #27453.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-control.php

    r27497 r27620  
    749749                'remove' => wp_create_nonce( 'header-remove' ),
    750750            ),
    751             'l10n' => array(
    752                 /* translators: header images uploaded by user */
    753                 'uploaded' => __( 'uploaded' ),
    754                 /* translators: header images suggested by the current theme */
    755                 'default' => __( 'suggested' )
    756             ),
    757751            'uploads' => $this->uploaded_headers,
    758752            'defaults' => $this->default_headers
     
    973967        <div class="customize-control-content">
    974968            <p class="customizer-section-intro">
    975                 <?php _e( 'Personalize your site with your own header image.' ); ?>
    976969                <?php
     970                // @todo translate (and look to custom-header.php for inspiration)
     971                echo ( 'Personalize your site with your own header image.' );
    977972                if ( $width && $height ) {
    978                     printf( __( 'While you can crop images to your liking after clicking <strong>%s</strong>, your theme recommends a header size of <strong>%dx%d</strong> pixels.' ),
    979                         _x( 'Add new', 'header image' ), $width, $height );
     973                    printf( ( 'While you can crop images to your liking after clicking <strong>Add new</strong>, your theme recommends a header size of <strong>%d &times; %d</strong> pixels.' ), $width, $height );
     974                } elseif ( $width ) {
     975                    printf( ( 'While you can crop images to your liking after clicking <strong>Add new</strong>, your theme recommends a header width of <strong>%d</strong> pixels.' ), $width );
    980976                } else {
    981                     if ( $width ) {
    982                         printf( __( 'While you can crop images to your liking after clicking <strong>%s</strong>, your theme recommends a header width of <strong>%d</strong> pixels.' ),
    983                             _x( 'Add new', 'header image' ), $width );
    984                     }
    985                     if ( $height ) {
    986                         printf( __( 'While you can crop images to your liking after clicking <strong>%s</strong>, your theme recommends a header height of <strong>%d</strong> pixels.' ),
    987                             _x( 'Add new', 'header image' ), $height );
    988                     }
     977                    printf( ( 'While you can crop images to your liking after clicking <strong>Add new</strong>, your theme recommends a header height of <strong>%d</strong> pixels.' ), $height );
    989978                }
    990979                ?>
Note: See TracChangeset for help on using the changeset viewer.