Make WordPress Core

Ticket #16406: 16406.diff

File 16406.diff, 1.5 KB (added by nacin, 14 years ago)
  • wp-includes/admin-bar.php

     
    246246        }
    247247
    248248        if ( current_user_can( 'upload_files' ) )
    249                 $actions[ 'media-new.php' ] = array( __( 'Media' ), 'upload_files', 'new-media' );
     249                $actions[ 'media-new.php' ] = array( _x( 'Media', 'add new from admin bar' ), 'upload_files', 'new-media' );
    250250
    251251        if ( current_user_can( 'manage_links' ) )
    252                 $actions[ 'link-add.php' ] = array( __( 'Link' ), 'manage_links', 'new-link' );
     252                $actions[ 'link-add.php' ] = array( _x( 'Link', 'add new from admin bar' ), 'manage_links', 'new-link' );
    253253
    254254        if ( current_user_can( 'create_users' ) || current_user_can( 'promote_users' ) )
    255                 $actions[ 'user-new.php' ] = array( __( 'User' ), 'create_users', 'new-user' );
     255                $actions[ 'user-new.php' ] = array( _x( 'User', 'add new from admin bar' ), 'create_users', 'new-user' );
    256256
    257257        if ( ! is_multisite() && current_user_can( 'install_themes' ) )
    258                 $actions[ 'theme-install.php' ] = array( __( 'Theme' ), 'install_themes', 'new-theme' );
     258                $actions[ 'theme-install.php' ] = array( _x( 'Theme', 'add new from admin bar' ), 'install_themes', 'new-theme' );
    259259
    260260        if ( ! is_multisite() && current_user_can( 'install_plugins' ) )
    261                 $actions[ 'plugin-install.php' ] = array( __( 'Plugin' ), 'install_plugins', 'new-plugin' );
     261                $actions[ 'plugin-install.php' ] = array( _x( 'Plugin', 'add new from admin bar' ), 'install_plugins', 'new-plugin' );
    262262                       
    263263        if ( empty( $actions ) )
    264264                return;