WordPress.org

Make WordPress Core

Changeset 19202


Ignore:
Timestamp:
11/07/11 17:28:20 (3 years ago)
Author:
nacin
Message:

Context for 'All Links'. props SergeyBiryukov, pavelevap. fixes #18096.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/menu.php

    r18632 r19202  
    6060 
    6161$menu[15] = array( __('Links'), 'manage_links', 'link-manager.php', '', 'menu-top menu-icon-links', 'menu-links', 'div' ); 
    62     $submenu['link-manager.php'][5] = array( __('All Links'), 'manage_links', 'link-manager.php' ); 
     62    $submenu['link-manager.php'][5] = array( _x('All Links', 'admin menu'), 'manage_links', 'link-manager.php' ); 
    6363    /* translators: add new links */ 
    6464    $submenu['link-manager.php'][10] = array( _x('Add New', 'link'), 'manage_links', 'link-add.php' ); 
  • trunk/wp-includes/default-widgets.php

    r18785 r19202  
    106106        if ( is_admin() && !$category ) { 
    107107            // Display All Links widget as such in the widgets screen 
    108             echo $before_widget . $before_title. __('All Links') . $after_title . $after_widget; 
     108            echo $before_widget . $before_title . _x('All Links', 'links widget') . $after_title . $after_widget; 
    109109            return; 
    110110        } 
     
    141141        <label for="<?php echo $this->get_field_id('category'); ?>" class="screen-reader-text"><?php _e('Select Link Category'); ?></label> 
    142142        <select class="widefat" id="<?php echo $this->get_field_id('category'); ?>" name="<?php echo $this->get_field_name('category'); ?>"> 
    143         <option value=""><?php _e('All Links'); ?></option> 
     143        <option value=""><?php _ex('All Links', 'links widget'); ?></option> 
    144144        <?php 
    145145        foreach ( $link_cats as $link_cat ) { 
Note: See TracChangeset for help on using the changeset viewer.