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

git-svn-id: http://svn.automattic.com/wordpress/trunk@18247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2011-06-10 22:13:26 +00:00
parent 9d31daac05
commit 12dd9113cb
7 changed files with 11 additions and 11 deletions

View File

@ -83,7 +83,7 @@ $side_meta_boxes = do_meta_boxes( 'link', 'side', $link );
<div id="post-body">
<div id="post-body-content">
<div id="namediv" class="stuffbox">
<h3><label for="link_name"><?php _e('Name') ?></label></h3>
<h3><label for="link_name"><?php _ex('Name', 'link name') ?></label></h3>
<div class="inside">
<input type="text" name="link_name" size="30" tabindex="1" value="<?php echo esc_attr($link->link_name); ?>" id="link_name" />
<p><?php _e('Example: Nifty blogging software'); ?></p>

View File

@ -77,7 +77,7 @@ class WP_Links_List_Table extends WP_List_Table {
function get_columns() {
return array(
'cb' => '<input type="checkbox" />',
'name' => __( 'Name' ),
'name' => _x( 'Name', 'link name' ),
'url' => __( 'URL' ),
'categories' => __( 'Categories' ),
'rel' => __( 'Relationship' ),

View File

@ -138,7 +138,7 @@ class WP_Plugin_Install_List_Table extends WP_List_Table {
function get_columns() {
return array(
'name' => __( 'Name' ),
'name' => _x( 'Name', 'plugin name' ),
'version' => __( 'Version' ),
'rating' => __( 'Rating' ),
'description' => __( 'Description' ),

View File

@ -97,7 +97,7 @@ class WP_Terms_List_Table extends WP_List_Table {
$columns = array(
'cb' => '<input type="checkbox" />',
'name' => __( 'Name' ),
'name' => _x( 'Name', 'term name' ),
'description' => __( 'Description' ),
'slug' => __( 'Slug' ),
);
@ -336,7 +336,7 @@ class WP_Terms_List_Table extends WP_List_Table {
<h4><?php _e( 'Quick Edit' ); ?></h4>
<label>
<span class="title"><?php _e( 'Name' ); ?></span>
<span class="title"><?php _ex( 'Name', 'term name' ); ?></span>
<span class="input-text-wrap"><input type="text" name="name" class="ptitle" value="" /></span>
</label>
<?php if ( !global_terms_enabled() ) { ?>

View File

@ -425,7 +425,7 @@ function list_meta( $meta ) {
<table id="list-table" style="display: none;">
<thead>
<tr>
<th class="left">' . __( 'Name' ) . '</th>
<th class="left">' . _x( 'Name', 'meta name' ) . '</th>
<th>' . __( 'Value' ) . '</th>
</tr>
</thead>
@ -440,7 +440,7 @@ function list_meta( $meta ) {
<table id="list-table">
<thead>
<tr>
<th class="left"><?php _e( 'Name' ) ?></th>
<th class="left"><?php _ex( 'Name', 'meta name' ) ?></th>
<th><?php _e( 'Value' ) ?></th>
</tr>
</thead>
@ -535,7 +535,7 @@ function meta_form() {
<table id="newmeta">
<thead>
<tr>
<th class="left"><label for="metakeyselect"><?php _e( 'Name' ) ?></label></th>
<th class="left"><label for="metakeyselect"><?php _ex( 'Name', 'meta name' ) ?></label></th>
<th><label for="metavalue"><?php _e( 'Value' ) ?></label></th>
</tr>
</thead>

View File

@ -213,7 +213,7 @@ if ( current_user_can('edit_themes') && count( $broken_themes ) ) {
<table id="broken-themes">
<tr>
<th><?php _e('Name'); ?></th>
<th><?php _ex('Name', 'theme name'); ?></th>
<th><?php _e('Description'); ?></th>
</tr>
<?php

View File

@ -320,7 +320,7 @@ colorpicker_palette_title:"' . mce_escape( __('Palette colors') ) . '",
colorpicker_named_tab:"' . mce_escape( __('Named') ) . '",
colorpicker_named_title:"' . mce_escape( __('Named colors') ) . '",
colorpicker_color:"' . mce_escape( __('Color:') ) . '",
colorpicker_name:"' . mce_escape( __('Name:') ) . '",
colorpicker_name:"' . mce_escape( _x('Name:', 'html attribute') ) . '",
charmap_title:"' . mce_escape( __('Select custom character') ) . '",
image_title:"' . mce_escape( __('Insert/edit image') ) . '",
image_src:"' . mce_escape( __('Image URL') ) . '",
@ -363,7 +363,7 @@ preview:"' . mce_escape( __('Preview') ) . '",
constrain_proportions:"' . mce_escape( __('Constrain proportions') ) . '",
type:"' . mce_escape( __('Type') ) . '",
id:"' . mce_escape( __('Id') ) . '",
name:"' . mce_escape( __('Name') ) . '",
name:"' . mce_escape( _x('Name', 'html attribute') ) . '",
class_name:"' . mce_escape( __('Class') ) . '",
vspace:"' . mce_escape( __('V-Space') ) . '",
hspace:"' . mce_escape( __('H-Space') ) . '",