Ticket #28123: combine_theme_install_strings.patch
File combine_theme_install_strings.patch, 2.1 KB (added by , 10 years ago) |
---|
-
wp-admin/includes/class-wp-theme-install-list-table.php
40 40 $tabs['dashboard'] = __( 'Search' ); 41 41 if ( 'search' == $tab ) 42 42 $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' ); 45 45 //$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' ); 48 48 49 49 $nonmenu_tabs = array( 'theme-information' ); // Valid actions to perform which do not have a Menu item. 50 50 -
wp-admin/theme-install.php
120 120 121 121 <div class="theme-navigation"> 122 122 <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> 126 126 <div class="theme-top-filters"> 127 127 <!-- <span class="theme-filter" data-filter="photoblogging">Photography</span> 128 128 <span class="theme-filter" data-filter="responsive-layout">Responsive</span> -->