Customizer: Remove HTML tags from two translatable strings.

props henrikakselsen.
fixes #32817.

git-svn-id: https://develop.svn.wordpress.org/trunk@33078 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2015-07-03 22:28:29 +00:00
parent 45e6228070
commit 313c416f6c
1 changed files with 4 additions and 8 deletions

View File

@ -401,11 +401,9 @@ class WP_Customize_Themes_Section extends WP_Customize_Section {
<h3 class="accordion-section-title">
<?php
if ( $this->manager->is_theme_active() ) {
/* translators: %s: theme name */
printf( __( '<span class="customize-action">Active theme</span> %s' ), $this->title );
echo '<span class="customize-action">' . __( 'Active theme' ) . '</span> ' . $this->title;
} else {
/* translators: %s: theme name */
printf( __( '<span class="customize-action">Previewing theme</span> %s' ), $this->title );
echo '<span class="customize-action">' . __( 'Previewing theme' ) . '</span> ' . $this->title;
}
?>
@ -420,11 +418,9 @@ class WP_Customize_Themes_Section extends WP_Customize_Section {
<h3 class="accordion-section-title customize-section-title">
<?php
if ( $this->manager->is_theme_active() ) {
/* translators: %s: theme name */
printf( __( '<span class="customize-action">Active theme</span> %s' ), $this->title );
echo '<span class="customize-action">' . __( 'Active theme' ) . '</span> ' . $this->title;
} else {
/* translators: %s: theme name */
printf( __( '<span class="customize-action">Previewing theme</span> %s' ), $this->title );
echo '<span class="customize-action">' . __( 'Previewing theme' ) . '</span> ' . $this->title;
}
?>
<button type="button" class="button customize-theme"><?php _e( 'Customize' ); ?></button>