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:
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 |
|
| 249 | echo sprintf( |
|
| 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.