WordPress.org

Make WordPress Core

Ticket #27406: 27406.5.diff

File 27406.5.diff, 1.5 KB (added by michalzuber, 3 years ago)

Missing text for translation

  • src/wp-includes/class-wp-customize-section.php

     
    240240                ?> 
    241241                <li id="accordion-section-<?php echo esc_attr( $this->id ); ?>" class="control-section control-panel accordion-section"> 
    242242                        <h3 class="accordion-section-title" tabindex="0"><?php echo esc_html( $this->title ); ?></h3> 
    243                         <span class="control-panel-back" tabindex="-1"><span class="screen-reader-text">Back to Customize</span></span> 
     243                        <span class="control-panel-back" tabindex="-1"><span class="screen-reader-text"><?php _e( 'Back to Customize' ); ?></span></span> 
    244244                        <ul class="accordion-sub-container control-panel-content"> 
    245245                                <li class="accordion-section control-section<?php if ( empty( $this->description ) ) echo ' cannot-expand'; ?>"> 
    246246                                        <div class="accordion-section-title" tabindex="0"> 
    247247                                                <span class="preview-notice"><?php 
    248                                                         /* translators: %s is the panel title in the Customize/Live Preview pane */ 
    249                                                         echo sprintf( 'You are customizing %s', '<strong class="panel-title">' . esc_html( $this->title ) . '</strong>' ); 
     248                                                        echo sprintf( _x( 'You are customizing %s', '%s is the panel title in the Customize/Live Preview pane' ), '<strong class="panel-title">' . esc_html( $this->title ) . '</strong>' ); 
    250249                                                ?></span> 
    251250                                        </div> 
    252251                                        <?php if ( ! empty( $this->description ) ) : ?>