Skip to content

Commit fe32641

Browse files
committed
Provide context to the strings in the Plugin and Theme installers to allow for different grammatical gender. Fixes WordPress#10100.
git-svn-id: https://develop.svn.wordpress.org/trunk@12103 602fd350-edb4-49c9-b593-d223f7449a82
1 parent deddf3c commit fe32641

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

wp-admin/plugin-install.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
if ( 'search' == $tab )
2626
$tabs['search'] = __('Search Results');
2727
$tabs['upload'] = __('Upload');
28-
$tabs['featured'] = __('Featured');
29-
$tabs['popular'] = __('Popular');
30-
$tabs['new'] = __('Newest');
31-
$tabs['updated'] = __('Recently Updated');
28+
$tabs['featured'] = _x('Featured','Plugin Installer');
29+
$tabs['popular'] = _x('Popular','Plugin Installer');
30+
$tabs['new'] = _x('Newest','Plugin Installer');
31+
$tabs['updated'] = _x('Recently Updated','Plugin Installer');
3232

3333
$nonmenu_tabs = array('plugin-information'); //Valid actions to perform which do not have a Menu item.
3434

wp-admin/theme-install.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030
if ( 'search' == $tab )
3131
$tabs['search'] = __('Search Results');
3232
$tabs['upload'] = __('Upload');
33-
$tabs['featured'] = __('Featured');
34-
//$tabs['popular'] = __('Popular');
35-
$tabs['new'] = __('Newest');
36-
$tabs['updated'] = __('Recently Updated');
33+
$tabs['featured'] = _x('Featured','Theme Installer');
34+
//$tabs['popular'] = _x('Popular','Theme Installer');
35+
$tabs['new'] = _x('Newest','Theme Installer');
36+
$tabs['updated'] = _x('Recently Updated','Theme Installer');
3737

3838
$nonmenu_tabs = array('theme-information'); //Valid actions to perform which do not have a Menu item.
3939

0 commit comments

Comments
 (0)