Changeset 12789 for trunk/wp-admin/includes/template.php
- Timestamp:
- 01/21/2010 09:37:43 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/template.php (modified) (12 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r12783 r12789 1064 1064 $users_opt = array('include' => $authors, 'name' => 'post_author', 'class'=> 'authors', 'multi' => 1, 'echo' => 0); 1065 1065 if ( $bulk ) 1066 $users_opt['show_option_none'] = __(' - No Change -');1066 $users_opt['show_option_none'] = __('— No Change —'); 1067 1067 $authors_dropdown = '<label>'; 1068 1068 $authors_dropdown .= '<span class="title">' . __( 'Author' ) . '</span>'; … … 1125 1125 $dropdown_args = array('selected' => $post->post_parent, 'name' => 'post_parent', 'show_option_none' => __('Main Page (no parent)'), 'option_none_value' => 0, 'sort_column'=> 'menu_order, post_title'); 1126 1126 if ( $bulk ) 1127 $dropdown_args['show_option_no_change'] = __(' - No Change -');1127 $dropdown_args['show_option_no_change'] = __('— No Change —'); 1128 1128 $dropdown_args = apply_filters('quick_edit_dropdown_pages_args', $dropdown_args); 1129 1129 wp_dropdown_pages($dropdown_args); … … 1144 1144 <select name="page_template"> 1145 1145 <?php if ( $bulk ) : ?> 1146 <option value="-1"><?php _e(' - No Change -'); ?></option>1146 <option value="-1"><?php _e('— No Change —'); ?></option> 1147 1147 <?php endif; // $bulk ?> 1148 1148 <option value="default"><?php _e( 'Default Template' ); ?></option> … … 1166 1166 <span class="title"><?php _e( 'Comments' ); ?></span> 1167 1167 <select name="comment_status"> 1168 <option value=""><?php _e(' - No Change -'); ?></option>1168 <option value=""><?php _e('— No Change —'); ?></option> 1169 1169 <option value="open"><?php _e('Allow'); ?></option> 1170 1170 <option value="closed"><?php _e('Do not allow'); ?></option> … … 1175 1175 <span class="title"><?php _e( 'Pings' ); ?></span> 1176 1176 <select name="ping_status"> 1177 <option value=""><?php _e(' - No Change -'); ?></option>1177 <option value=""><?php _e('— No Change —'); ?></option> 1178 1178 <option value="open"><?php _e('Allow'); ?></option> 1179 1179 <option value="closed"><?php _e('Do not allow'); ?></option> … … 1204 1204 <select name="_status"> 1205 1205 <?php if ( $bulk ) : ?> 1206 <option value="-1"><?php _e(' - No Change -'); ?></option>1206 <option value="-1"><?php _e('— No Change —'); ?></option> 1207 1207 <?php endif; // $bulk ?> 1208 1208 <?php if ( $can_publish ) : // Contributors only get "Unpublished" and "Pending Review" ?> … … 1225 1225 <span class="title"><?php _e( 'Sticky' ); ?></span> 1226 1226 <select name="sticky"> 1227 <option value="-1"><?php _e( ' - No Change -' ); ?></option>1227 <option value="-1"><?php _e( '— No Change —' ); ?></option> 1228 1228 <option value="sticky"><?php _e( 'Sticky' ); ?></option> 1229 1229 <option value="unsticky"><?php _e( 'Not Sticky' ); ?></option> … … 1965 1965 break; 1966 1966 case 'email': 1967 $r .= "<td $attributes><a href='mailto:$email' title='" . sprintf( __(' e-mail: %s' ), $email ) . "'>$email</a></td>";1967 $r .= "<td $attributes><a href='mailto:$email' title='" . sprintf( __('E-mail: %s' ), $email ) . "'>$email</a></td>"; 1968 1968 break; 1969 1969 case 'role': … … 2147 2147 echo "<td $attributes>"; 2148 2148 echo '<div id="submitted-on">'; 2149 printf( __( '<a href="%1$s">%2$s at %3$s</a>' ), $comment_url, get_comment_date( __('Y/m/d') ), get_comment_date( __( 'g:ia' ) ) ); 2149 /* translators: 2: comment date, 3: comment time */ 2150 printf( __( '<a href="%1$s">%2$s at %3$s</a>' ), $comment_url, 2151 /* translators: comment date format. See http://php.net/date */ get_comment_date( __('Y/m/d') ), 2152 /* translators: comment time format. See http://php.net/date */ get_comment_date( get_option( 'time_format' ) ) ); 2150 2153 2151 2154 if ( $comment->comment_parent ) { … … 2153 2156 $parent_link = esc_url( get_comment_link( $comment->comment_parent ) ); 2154 2157 $name = apply_filters( 'get_comment_author', $parent->comment_author ); // there's no API function for this 2155 printf( __( ' |In reply to <a href="%1$s">%2$s</a>.' ), $parent_link, $name );2158 printf( ' | '.__( 'In reply to <a href="%1$s">%2$s</a>.' ), $parent_link, $name ); 2156 2159 } 2157 2160 … … 2545 2548 natcasesort($keys); 2546 2549 ?> 2547 <p><strong><?php _e( 'Add new custom field:' ) ?></strong></p>2550 <p><strong><?php _e( 'Add New Custom Field:' ) ?></strong></p> 2548 2551 <table id="newmeta"> 2549 2552 <thead> … … 2559 2562 <?php if ( $keys ) { ?> 2560 2563 <select id="metakeyselect" name="metakeyselect" tabindex="7"> 2561 <option value="#NONE#"><?php _e( ' - Select -' ); ?></option>2564 <option value="#NONE#"><?php _e( '— Select —' ); ?></option> 2562 2565 <?php 2563 2566
Note: See TracChangeset
for help on using the changeset viewer.