Make WordPress Core

Changeset 18247


Ignore:
Timestamp:
06/10/2011 10:13:26 PM (14 years ago)
Author:
azaozz
Message:

Add context to _e('Name'), props valentinas, fixes #16531

Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-link-form.php

    r17975 r18247  
    8484<div id="post-body-content">
    8585<div id="namediv" class="stuffbox">
    86 <h3><label for="link_name"><?php _e('Name') ?></label></h3>
     86<h3><label for="link_name"><?php _ex('Name', 'link name') ?></label></h3>
    8787<div class="inside">
    8888    <input type="text" name="link_name" size="30" tabindex="1" value="<?php echo esc_attr($link->link_name); ?>" id="link_name" />
  • trunk/wp-admin/includes/class-wp-links-list-table.php

    r17771 r18247  
    7878        return array(
    7979            'cb'         => '<input type="checkbox" />',
    80             'name'       => __( 'Name' ),
     80            'name'       => _x( 'Name', 'link name' ),
    8181            'url'        => __( 'URL' ),
    8282            'categories' => __( 'Categories' ),
  • trunk/wp-admin/includes/class-wp-plugin-install-list-table.php

    r17435 r18247  
    139139    function get_columns() {
    140140        return array(
    141             'name'        => __( 'Name' ),
     141            'name'        => _x( 'Name', 'plugin name' ),
    142142            'version'     => __( 'Version' ),
    143143            'rating'      => __( 'Rating' ),
  • trunk/wp-admin/includes/class-wp-terms-list-table.php

    r18194 r18247  
    9898        $columns = array(
    9999            'cb'          => '<input type="checkbox" />',
    100             'name'        => __( 'Name' ),
     100            'name'        => _x( 'Name', 'term name' ),
    101101            'description' => __( 'Description' ),
    102102            'slug'        => __( 'Slug' ),
     
    337337
    338338                <label>
    339                     <span class="title"><?php _e( 'Name' ); ?></span>
     339                    <span class="title"><?php _ex( 'Name', 'term name' ); ?></span>
    340340                    <span class="input-text-wrap"><input type="text" name="name" class="ptitle" value="" /></span>
    341341                </label>
  • trunk/wp-admin/includes/template.php

    r17994 r18247  
    426426    <thead>
    427427    <tr>
    428         <th class="left">' . __( 'Name' ) . '</th>
     428        <th class="left">' . _x( 'Name', 'meta name' ) . '</th>
    429429        <th>' . __( 'Value' ) . '</th>
    430430    </tr>
     
    441441    <thead>
    442442    <tr>
    443         <th class="left"><?php _e( 'Name' ) ?></th>
     443        <th class="left"><?php _ex( 'Name', 'meta name' ) ?></th>
    444444        <th><?php _e( 'Value' ) ?></th>
    445445    </tr>
     
    536536<thead>
    537537<tr>
    538 <th class="left"><label for="metakeyselect"><?php _e( 'Name' ) ?></label></th>
     538<th class="left"><label for="metakeyselect"><?php _ex( 'Name', 'meta name' ) ?></label></th>
    539539<th><label for="metavalue"><?php _e( 'Value' ) ?></label></th>
    540540</tr>
  • trunk/wp-admin/themes.php

    r18231 r18247  
    214214<table id="broken-themes">
    215215    <tr>
    216         <th><?php _e('Name'); ?></th>
     216        <th><?php _ex('Name', 'theme name'); ?></th>
    217217        <th><?php _e('Description'); ?></th>
    218218    </tr>
  • trunk/wp-includes/js/tinymce/langs/wp-langs.php

    r17625 r18247  
    321321colorpicker_named_title:"' . mce_escape( __('Named colors') ) . '",
    322322colorpicker_color:"' . mce_escape( __('Color:') ) . '",
    323 colorpicker_name:"' . mce_escape( __('Name:') ) . '",
     323colorpicker_name:"' . mce_escape( _x('Name:', 'html attribute') ) . '",
    324324charmap_title:"' . mce_escape( __('Select custom character') ) . '",
    325325image_title:"' . mce_escape( __('Insert/edit image') ) . '",
     
    364364type:"' . mce_escape( __('Type') ) . '",
    365365id:"' . mce_escape( __('Id') ) . '",
    366 name:"' . mce_escape( __('Name') ) . '",
     366name:"' . mce_escape( _x('Name', 'html attribute') ) . '",
    367367class_name:"' . mce_escape( __('Class') ) . '",
    368368vspace:"' . mce_escape( __('V-Space') ) . '",
Note: See TracChangeset for help on using the changeset viewer.