Make WordPress Core

Changeset 34921


Ignore:
Timestamp:
10/07/2015 11:53:35 PM (9 years ago)
Author:
SergeyBiryukov
Message:

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

Fixes #34203.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-manager.php

    r34320 r34921  
    13901390    public function get_document_title_template() {
    13911391        if ( $this->is_theme_active() ) {
    1392             $document_title_tmpl = _x( 'Customize: %s', 'Placeholder is the document title from the preview' );
     1392            /* translators: %s: document title from the preview */
     1393            $document_title_tmpl = __( 'Customize: %s' );
    13931394        } else {
    1394             $document_title_tmpl = _x( 'Live Preview: %s', 'Placeholder is the document title from the preview' );
     1395            /* translators: %s: document title from the preview */
     1396            $document_title_tmpl = __( 'Live Preview: %s' );
    13951397        }
    13961398        $document_title_tmpl = html_entity_decode( $document_title_tmpl, ENT_QUOTES, 'UTF-8' ); // Because exported to JS and assigned to document.title.
Note: See TracChangeset for help on using the changeset viewer.