Make WordPress Core


Ignore:
Timestamp:
05/30/2012 04:57:44 PM (13 years ago)
Author:
nacin
Message:

Theme Customizer: Add the theme name to the 'You are previewing' string in the left pane, using a placeholder. props SergeyBiryukov, xibe. fixes #20782.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/customize.php

    r20940 r20955  
    6969            <div id="customize-info" class="customize-section<?php if ( $cannot_expand ) echo ' cannot-expand'; ?>">
    7070                <div class="customize-section-title">
    71                     <span class="preview-notice"><?php _e('You are previewing'); ?></span>
    72                     <strong class="theme-name"><?php echo $wp_customize->theme()->display('Name'); ?></strong>
     71                    <span class="preview-notice"><?php
     72                        /* translators: %s is the theme name in the Customize/Live Preview pane */
     73                        echo sprintf( __( 'You are previewing %s' ), '<strong class="theme-name">' . $wp_customize->theme()->display('Name') . '</strong>' );
     74                    ?></span>
    7375                </div>
    7476                <?php if ( ! $cannot_expand ) : ?>
Note: See TracChangeset for help on using the changeset viewer.