Make WordPress Core

Changeset 52580


Ignore:
Timestamp:
01/15/2022 08:42:56 AM (3 years ago)
Author:
audrasjb
Message:

Administration: Replace "Current theme" with "Active theme" in user facing strings.

This change replaces "Current theme" with "Active theme" in user-facing strings. It brings better consistency across the Administration.

Props Presskopp, audrasjb, costdev.
Fixes #54770.

Location:
trunk/src
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-custom-image-header.php

    r52285 r52580  
    818818            wp_die(
    819819                '<h1>' . __( 'Something went wrong.' ) . '</h1>' .
    820                 '<p>' . __( 'The current theme does not support uploading a custom header image.' ) . '</p>',
     820                '<p>' . __( 'The active theme does not support uploading a custom header image.' ) . '</p>',
    821821                403
    822822            );
     
    10041004            wp_die(
    10051005                '<h1>' . __( 'Something went wrong.' ) . '</h1>' .
    1006                 '<p>' . __( 'The current theme does not support uploading a custom header image.' ) . '</p>',
     1006                '<p>' . __( 'The active theme does not support uploading a custom header image.' ) . '</p>',
    10071007                403
    10081008            );
     
    10151015            wp_die(
    10161016                '<h1>' . __( 'Something went wrong.' ) . '</h1>' .
    1017                 '<p>' . __( 'The current theme does not support a flexible sized header image.' ) . '</p>',
     1017                '<p>' . __( 'The active theme does not support a flexible sized header image.' ) . '</p>',
    10181018                403
    10191019            );
  • trunk/src/wp-admin/includes/class-theme-installer-skin.php

    r52204 r52580  
    246246
    247247        $table  = '<table class="update-from-upload-comparison"><tbody>';
    248         $table .= '<tr><th></th><th>' . esc_html_x( 'Current', 'theme' ) . '</th><th>' . esc_html_x( 'Uploaded', 'theme' ) . '</th></tr>';
     248        $table .= '<tr><th></th><th>' . esc_html_x( 'Active', 'theme' ) . '</th><th>' . esc_html_x( 'Uploaded', 'theme' ) . '</th></tr>';
    249249
    250250        $is_same_theme = true; // Let's consider only these rows.
     
    328328                $warning = sprintf(
    329329                    /* translators: %s: Documentation URL. */
    330                     __( 'You are uploading an older version of a current theme. You can continue to install the older version, but be sure to <a href="%s">back up your database and files</a> first.' ),
     330                    __( 'You are uploading an older version of the active theme. You can continue to install the older version, but be sure to <a href="%s">back up your database and files</a> first.' ),
    331331                    __( 'https://wordpress.org/support/article/wordpress-backups/' )
    332332                );
     
    346346                '<a class="button button-primary update-from-upload-overwrite" href="%s" target="_parent">%s</a>',
    347347                wp_nonce_url( add_query_arg( 'overwrite', $overwrite, $this->url ), 'theme-upload' ),
    348                 _x( 'Replace current with uploaded', 'theme' )
     348                _x( 'Replace active with uploaded', 'theme' )
    349349            );
    350350        } else {
  • trunk/src/wp-admin/includes/class-theme-upgrader.php

    r52351 r52580  
    9393        $this->strings['parent_theme_not_found'] = sprintf( __( '<strong>The parent theme could not be found.</strong> You will need to install the parent theme, %s, before you can use this child theme.' ), '<strong>%s</strong>' );
    9494        /* translators: %s: Theme error. */
    95         $this->strings['current_theme_has_errors'] = __( 'The current theme has the following error: "%s".' );
     95        $this->strings['current_theme_has_errors'] = __( 'The active theme has the following error: "%s".' );
    9696
    9797        if ( ! empty( $this->skin->overwrite ) ) {
  • trunk/src/wp-admin/includes/class-walker-nav-menu-edit.php

    r52204 r52580  
    233233                        <?php _e( 'Description' ); ?><br />
    234234                        <textarea id="edit-menu-item-description-<?php echo $item_id; ?>" class="widefat edit-menu-item-description" rows="3" cols="20" name="menu-item-description[<?php echo $item_id; ?>]"><?php echo esc_html( $menu_item->description ); // textarea_escaped ?></textarea>
    235                         <span class="description"><?php _e( 'The description will be displayed in the menu if the current theme supports it.' ); ?></span>
     235                        <span class="description"><?php _e( 'The description will be displayed in the menu if the active theme supports it.' ); ?></span>
    236236                    </label>
    237237                </p>
  • trunk/src/wp-admin/includes/class-wp-site-health.php

    r52351 r52580  
    635635                        sprintf(
    636636                            /* translators: 1: The currently active theme. 2: The active theme's parent theme. */
    637                             __( 'To enhance your site&#8217;s security, you should consider removing any themes you&#8217;re not using. You should keep your current theme, %1$s, and %2$s, its parent theme.' ),
     637                            __( 'To enhance your site&#8217;s security, you should consider removing any themes you&#8217;re not using. You should keep your active theme, %1$s, and %2$s, its parent theme.' ),
    638638                            $active_theme->name,
    639639                            $active_theme->parent()->name
     
    654654                        sprintf(
    655655                            /* translators: 1: The default theme for WordPress. 2: The currently active theme. 3: The active theme's parent theme. */
    656                             __( 'To enhance your site&#8217;s security, you should consider removing any themes you&#8217;re not using. You should keep %1$s, the default WordPress theme, %2$s, your current theme, and %3$s, its parent theme.' ),
     656                            __( 'To enhance your site&#8217;s security, you should consider removing any themes you&#8217;re not using. You should keep %1$s, the default WordPress theme, %2$s, your active theme, and %3$s, its parent theme.' ),
    657657                            $default_theme ? $default_theme->name : WP_DEFAULT_THEME,
    658658                            $active_theme->name,
  • trunk/src/wp-admin/includes/class-wp-themes-list-table.php

    r48545 r52580  
    130130        printf(
    131131            /* translators: %s: Network title. */
    132             __( 'Only the current theme is available to you. Contact the %s administrator for information about accessing additional themes.' ),
     132            __( 'Only the active theme is available to you. Contact the %s administrator for information about accessing additional themes.' ),
    133133            get_site_option( 'site_name' )
    134134        );
  • trunk/src/wp-admin/includes/theme.php

    r52422 r52580  
    832832                <div class="theme-info">
    833833                    <# if ( data.active ) { #>
    834                         <span class="current-label"><?php _e( 'Current Theme' ); ?></span>
     834                        <span class="current-label"><?php _e( 'Active Theme' ); ?></span>
    835835                    <# } #>
    836836                    <h2 class="theme-name">{{{ data.name }}}<span class="theme-version">
  • trunk/src/wp-admin/themes.php

    r52545 r52580  
    134134        '<ul><li>' . __( 'Hover or tap to see Activate and Live Preview buttons' ) . '</li>' .
    135135        '<li>' . __( 'Click on the theme to see the theme name, version, author, description, tags, and the Delete link' ) . '</li>' .
    136         '<li>' . __( 'Click Customize for the current theme or Live Preview for any other theme to see a live preview' ) . '</li></ul>' .
    137         '<p>' . __( 'The current theme is displayed highlighted as the first theme.' ) . '</p>' .
     136        '<li>' . __( 'Click Customize for the active theme or Live Preview for any other theme to see a live preview' ) . '</li></ul>' .
     137        '<p>' . __( 'The active theme is displayed highlighted as the first theme.' ) . '</p>' .
    138138        '<p>' . __( 'The search for installed themes will search for terms in their name, description, author, or tag.' ) . ' <span id="live-search-desc">' . __( 'The search results will be updated as you type.' ) . '</span></p>';
    139139
     
    956956            <div class="theme-info">
    957957                <# if ( data.active ) { #>
    958                     <span class="current-label"><?php _e( 'Current Theme' ); ?></span>
     958                    <span class="current-label"><?php _e( 'Active Theme' ); ?></span>
    959959                <# } #>
    960960                <h2 class="theme-name">{{{ data.name }}}<span class="theme-version">
  • trunk/src/wp-includes/class-wp-recovery-mode-email-service.php

    r50654 r52580  
    339339            'theme' => sprintf(
    340340                /* translators: 1: Current active theme name. 2: Current active theme version. */
    341                 __( 'Current theme: %1$s (version %2$s)' ),
     341                __( 'Active theme: %1$s (version %2$s)' ),
    342342                $theme->get( 'Name' ),
    343343                $theme->get( 'Version' )
  • trunk/src/wp-includes/customize/class-wp-customize-nav-menu-item-control.php

    r47364 r52580  
    131131                    <?php _e( 'Description' ); ?><br />
    132132                    <textarea id="edit-menu-item-description-{{ data.menu_item_id }}" class="widefat edit-menu-item-description" rows="3" cols="20" name="menu-item-description">{{ data.description }}</textarea>
    133                     <span class="description"><?php _e( 'The description will be displayed in the menu if the current theme supports it.' ); ?></span>
     133                    <span class="description"><?php _e( 'The description will be displayed in the menu if the active theme supports it.' ); ?></span>
    134134                </label>
    135135            </p>
Note: See TracChangeset for help on using the changeset viewer.