Changeset 10680 for trunk/wp-admin/includes/dashboard.php
- Timestamp:
- 03/02/2009 07:20:19 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/dashboard.php
r10666 r10680 527 527 //$actions['quickedit'] = '<a onclick="commentReply.open(\''.$comment->comment_ID.'\',\''.$comment->comment_post_ID.'\',\'edit\');return false;" class="vim-q" title="'.__('Quick Edit').'" href="#">' . __('Quick Edit') . '</a>'; 528 528 $actions['reply'] = '<a onclick="commentReply.open(\''.$comment->comment_ID.'\',\''.$comment->comment_post_ID.'\');return false;" class="vim-r hide-if-no-js" title="'.__('Reply to this comment').'" href="#">' . __('Reply') . '</a>'; 529 $actions['spam'] = "<a href='$spam_url' class='delete:the-comment-list:comment-$comment->comment_ID::spam=1 vim-s vim-destructive' title='" . __( 'Mark this comment as spam' ) . "'>" . _c( 'Spam|verb' ) . '</a>';529 $actions['spam'] = "<a href='$spam_url' class='delete:the-comment-list:comment-$comment->comment_ID::spam=1 vim-s vim-destructive' title='" . __( 'Mark this comment as spam' ) . "'>" . /* translators: mark as spam link */ _x( 'Spam', 'verb' ) . '</a>'; 530 530 $actions['delete'] = "<a href='$delete_url' class='delete:the-comment-list:comment-$comment->comment_ID delete vim-d vim-destructive'>" . __('Delete') . '</a>'; 531 531 … … 567 567 $type = wp_specialchars( $type ); 568 568 ?> 569 570 <h4 class="comment-meta"><?php printf( _ _( '%1$s on %2$s' ), "<strong>$type</strong>", $comment_post_link ); ?></h4>569 <?php /* translators: %1$s is type of comment, %2$s is link to the post */ ?> 570 <h4 class="comment-meta"><?php printf( _x( '%1$s on %2$s', 'dashboard' ), "<strong>$type</strong>", $comment_post_link ); ?></h4> 571 571 <p class="comment-author"><?php comment_author_link(); ?></p> 572 572 … … 631 631 632 632 if ( $link ) 633 $text = _c( '%1$s linked here <a href="%2$s">saying</a>, "%3$s"|feed_display' ); 633 /* translators: incoming links feed, %1$s is other person, %3$s is content */ 634 $text = __( '%1$s linked here <a href="%2$s">saying</a>, "%3$s"' ); 634 635 else 635 $text = _c( '%1$s linked here saying, "%3$s"|feed_display' ); 636 /* translators: incoming links feed, %1$s is other person, %3$s is content */ 637 $text = __( '%1$s linked here saying, "%3$s"' ); 636 638 637 639 if ( $show_date ) { 638 640 if ( $show_author || $show_summary ) 639 $text .= _c( ' on %4$s|feed_display' ); 641 /* translators: incoming links feed, %4$s is the date */ 642 $text .= ' ' . __( 'on %4$s' ); 640 643 $date = wp_specialchars( strip_tags( $item->get_date() ) ); 641 644 $date = strtotime( $date ); … … 643 646 } 644 647 645 echo "\t<li>" . sprintf( _c( "$text|feed_display" ), $publisher, $link, $content, $date ) . "</li>\n";648 echo "\t<li>" . sprintf( $text, $publisher, $link, $content, $date ) . "</li>\n"; 646 649 } 647 650
Note: See TracChangeset
for help on using the changeset viewer.