Make WordPress Core


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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.