Customizer: Replace context for two strings added in [30306] with a translator comment.

Fixes #34203.

git-svn-id: https://develop.svn.wordpress.org/trunk@34921 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2015-10-07 23:53:35 +00:00
parent 4046919a11
commit 1fc41894d2
1 changed files with 4 additions and 2 deletions

View File

@ -1389,9 +1389,11 @@ final class WP_Customize_Manager {
*/
public function get_document_title_template() {
if ( $this->is_theme_active() ) {
$document_title_tmpl = _x( 'Customize: %s', 'Placeholder is the document title from the preview' );
/* translators: %s: document title from the preview */
$document_title_tmpl = __( 'Customize: %s' );
} else {
$document_title_tmpl = _x( 'Live Preview: %s', 'Placeholder is the document title from the preview' );
/* translators: %s: document title from the preview */
$document_title_tmpl = __( 'Live Preview: %s' );
}
$document_title_tmpl = html_entity_decode( $document_title_tmpl, ENT_QUOTES, 'UTF-8' ); // Because exported to JS and assigned to document.title.
return $document_title_tmpl;