From 1fc41894d2df25e02e2f5084f5ad18528b9c8ea5 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 7 Oct 2015 23:53:35 +0000 Subject: [PATCH] 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 --- src/wp-includes/class-wp-customize-manager.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/class-wp-customize-manager.php b/src/wp-includes/class-wp-customize-manager.php index 1505b60dfc..485e164f78 100644 --- a/src/wp-includes/class-wp-customize-manager.php +++ b/src/wp-includes/class-wp-customize-manager.php @@ -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;