Make WordPress Core

Ticket #18096: 18096.2.patch

File 18096.2.patch, 1.9 KB (added by SergeyBiryukov, 12 years ago)
  • wp-admin/menu.php

     
    5959        $submenu['upload.php'][10] = array( _x('Add New', 'file'), 'upload_files', 'media-new.php');
    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' );
    6565        $submenu['link-manager.php'][15] = array( __('Link Categories'), 'manage_categories', 'edit-tags.php?taxonomy=link_category' );
  • wp-includes/default-widgets.php

     
    105105
    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                }
    111111
     
    140140                <p>
    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 ) {
    146146                        echo '<option value="' . intval($link_cat->term_id) . '"'