Make WordPress Core

Ticket #28123: combine_theme_install_strings.patch

File combine_theme_install_strings.patch, 2.1 KB (added by pavelevap, 10 years ago)
  • wp-admin/includes/class-wp-theme-install-list-table.php

     
    4040                $tabs['dashboard'] = __( 'Search' );
    4141                if ( 'search' == $tab )
    4242                        $tabs['search'] = __( 'Search Results' );
    43                 $tabs['upload'] = __( 'Upload' );
    44                 $tabs['featured'] = _x( 'Featured','Theme Installer' );
     43                $tabs['upload'] = __( 'Upload Theme' );
     44                $tabs['featured'] = _x( 'Featured', 'Theme Installer' );
    4545                //$tabs['popular']  = _x( 'Popular','Theme Installer' );
    46                 $tabs['new']      = _x( 'Newest','Theme Installer' );
    47                 $tabs['updated']  = _x( 'Recently Updated','Theme Installer' );
     46                $tabs['new']      = _x( 'Newest', 'Theme Installer' );
     47                //$tabs['updated']  = _x( 'Recently Updated','Theme Installer' );
    4848
    4949                $nonmenu_tabs = array( 'theme-information' ); // Valid actions to perform which do not have a Menu item.
    5050
  • wp-admin/theme-install.php

     
    120120
    121121        <div class="theme-navigation">
    122122                <span class="theme-count"></span>
    123                 <a class="theme-section" href="#" data-sort="featured"><?php _ex( 'Featured', 'themes' ); ?></a>
    124                 <a class="theme-section" href="#" data-sort="popular"><?php _ex( 'Popular', 'themes' ); ?></a>
    125                 <a class="theme-section" href="#" data-sort="new"><?php _ex( 'Latest', 'themes' ); ?></a>
     123                <a class="theme-section" href="#" data-sort="featured"><?php _ex( 'Featured', 'Theme Installer' ); ?></a>
     124                <a class="theme-section" href="#" data-sort="popular"><?php _ex( 'Popular', 'Theme Installer' ); ?></a>
     125                <a class="theme-section" href="#" data-sort="new"><?php _ex( 'Newest', 'Theme Installer' ); ?></a>
    126126                <div class="theme-top-filters">
    127127                        <!-- <span class="theme-filter" data-filter="photoblogging">Photography</span>
    128128                        <span class="theme-filter" data-filter="responsive-layout">Responsive</span> -->