Changeset 29135 – WordPress Trac (original) (raw)

Timestamp:

07/13/2014 03:12:00 PM (12 years ago)

ocean90

Message:

Customizer: Make panel title translatable too.

props michalzuber.
see #27406.

Location:

trunk/src

Files:

Legend:

Unmodified

Added

Removed

r29034 r29135
132 132 echo sprintf( __( 'You are previewing %s' ), '' . $wp_customize->theme()->display('Name') . '' );
133 133 } else {
134 /* translators: %s is the site title in the Customize pane */
134 /* translators: %s is the site/panel title in the Customize pane */
135 135 echo sprintf( __( 'You are customizing %s' ), '' . get_bloginfo( 'name' ) . '' );
136 136 }
r29132 r29135
246 246
247 247 <?php
248 /* translators: %s is the panel title in the Customize/Live Preview pane */
249 echo sprintf( 'You are customizing %s', '' . esc_html( $this->title ) . '' );
248 /* translators: %s is the site/panel title in the Customize pane */
249 echo sprintf( __( 'You are customizing %s' ), '' . esc_html( $this->title ) . '' );
250 250 ?>
251 251

Note: See TracChangeset for help on using the changeset viewer.