Make WordPress Core

Changeset 47090


Ignore:
Timestamp:
01/20/2020 02:25:13 PM (5 years ago)
Author:
SergeyBiryukov
Message:

I18N: Remove unnecessary HTML from "Active:" strings in wp-admin/themes.php.

Follow-up to [45435].

Props ramiy.
Fixes #49243.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/themes.php

    r46812 r47090  
    343343        <?php if ( $theme['active'] ) { ?>
    344344            <h2 class="theme-name" id="<?php echo $aria_name; ?>">
    345                 <?php
    346                 /* translators: %s: Theme name. */
    347                 printf( __( '<span>Active:</span> %s' ), $theme['name'] );
    348                 ?>
     345                <span><?php _ex( 'Active:', 'theme' ); ?></span> <?php echo $theme['name']; ?>
    349346            </h2>
    350347        <?php } else { ?>
     
    510507        <# if ( data.active ) { #>
    511508            <h2 class="theme-name" id="{{ data.id }}-name">
    512                 <?php
    513                 /* translators: %s: Theme name. */
    514                 printf( __( '<span>Active:</span> %s' ), '{{{ data.name }}}' );
    515                 ?>
     509                <span><?php _ex( 'Active:', 'theme' ); ?></span> {{{ data.name }}}
    516510            </h2>
    517511        <# } else { #>
  • trunk/src/wp-includes/customize/class-wp-customize-theme-control.php

    r45932 r47090  
    111111                <div class="theme-id-container">
    112112                    <h3 class="theme-name" id="{{ data.section }}-{{ data.theme.id }}-name">
    113                         <span><?php _e( 'Previewing:' ); ?></span> {{ data.theme.name }}
     113                        <span><?php _ex( 'Previewing:', 'theme' ); ?></span> {{ data.theme.name }}
    114114                    </h3>
    115115                    <div class="theme-actions">
Note: See TracChangeset for help on using the changeset viewer.