Make WordPress Core

Changeset 29135


Ignore:
Timestamp:
07/13/2014 03:12:00 PM (10 years ago)
Author:
ocean90
Message:

Customizer: Make panel title translatable too.

props michalzuber.
see #27406.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/customize.php

    r29034 r29135  
    132132                            echo sprintf( __( 'You are previewing %s' ), '<strong class="theme-name">' . $wp_customize->theme()->display('Name') . '</strong>' );
    133133                        } else {
    134                             /* translators: %s is the site title in the Customize pane */
     134                            /* translators: %s is the site/panel title in the Customize pane */
    135135                            echo sprintf( __( 'You are customizing %s' ), '<strong class="theme-name site-title">' . get_bloginfo( 'name' ) . '</strong>' );
    136136                        }
  • trunk/src/wp-includes/class-wp-customize-section.php

    r29132 r29135  
    246246                    <div class="accordion-section-title" tabindex="0">
    247247                        <span class="preview-notice"><?php
    248                             /* translators: %s is the panel title in the Customize/Live Preview pane */
    249                             echo sprintf( 'You are customizing %s', '<strong class="panel-title">' . esc_html( $this->title ) . '</strong>' );
     248                            /* translators: %s is the site/panel title in the Customize pane */
     249                            echo sprintf( __( 'You are customizing %s' ), '<strong class="panel-title">' . esc_html( $this->title ) . '</strong>' );
    250250                        ?></span>
    251251                    </div>
Note: See TracChangeset for help on using the changeset viewer.