Changeset 33436
- Timestamp:
- 07/26/2015 11:35:47 PM (9 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/comment.php
r32974 r33436 70 70 71 71 if ( !$comment = get_comment( $comment_id ) ) 72 comment_footer_die( __( 'Oops, no comment with this ID.') . sprintf(' <a href="%s">' . __('Go back') . '</a>.', 'javascript:history.go(-1)') );72 comment_footer_die( __( 'Invalid comment ID.' ) . sprintf(' <a href="%s">' . __('Go back') . '</a>.', 'javascript:history.go(-1)') ); 73 73 74 74 if ( !current_user_can( 'edit_comment', $comment_id ) ) … … 124 124 case 'spam' : 125 125 $caution_msg = __('You are about to mark the following comment as spam:'); 126 $button = _ _('Mark as Spam');126 $button = _x( 'Mark as Spam', 'comment' ); 127 127 break; 128 128 case 'trash' : … … 178 178 <?php } ?> 179 179 <tr> 180 <th scope="row"><?php _e( 'In Response To' ); ?></th>180 <th scope="row"><?php /* translators: column name or table row header */ _e( 'In Response To' ); ?></th> 181 181 <td> 182 182 <?php … … 253 253 254 254 if ( !$comment = get_comment($comment_id) ) 255 comment_footer_die( __( 'Oops, no comment with this ID.') . sprintf(' <a href="%s">' . __('Go back') . '</a>.', 'edit-comments.php') );255 comment_footer_die( __( 'Invalid comment ID.' ) . sprintf(' <a href="%s">' . __('Go back') . '</a>.', 'edit-comments.php') ); 256 256 if ( !current_user_can( 'edit_comment', $comment->comment_ID ) ) 257 257 comment_footer_die( __('You are not allowed to edit comments on this post.') ); -
trunk/src/wp-admin/edit-comments.php
r32974 r33436 162 162 switch ( $error ) { 163 163 case 1 : 164 $error_msg = __( ' Oops, no comment with thisID.' );164 $error_msg = __( 'Invalid comment ID.' ); 165 165 break; 166 166 case 2 : -
trunk/src/wp-admin/includes/class-wp-comments-list-table.php
r33270 r33436 358 358 $columns['comment'] = _x( 'Comment', 'column name' ); 359 359 360 if ( !$post_id ) 361 $columns['response'] = _x( 'In Response To', 'column name' ); 360 if ( ! $post_id ) { 361 /* translators: column name or table row header */ 362 $columns['response'] = __( 'In Response To' ); 363 } 362 364 363 365 return $columns;
Note: See TracChangeset
for help on using the changeset viewer.