Make WordPress Core


Ignore:
Timestamp:
05/03/2010 08:37:07 PM (14 years ago)
Author:
nbachiyski
Message:

Differentiate spam strings by subject: comments, sites, and users. Props dimadin. Fixes #13199

File:
1 edited

Legend:

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

    r14374 r14407  
    317317<?php endif; ?>
    318318<?php if ( 'all' == $comment_status || 'approved' == $comment_status || 'moderated' == $comment_status ): ?>
    319 <option value="spam"><?php _e('Mark as Spam'); ?></option>
     319<option value="spam"><?php echo _x('Mark as Spam', 'comment'); ?></option>
    320320<?php endif; ?>
    321321<?php if ( 'trash' == $comment_status ): ?>
    322322<option value="untrash"><?php _e('Restore'); ?></option>
    323323<?php elseif ( 'spam' == $comment_status ): ?>
    324 <option value="unspam"><?php _e('Not Spam'); ?></option>
     324<option value="unspam"><?php echo _x('Not Spam', 'comment'); ?></option>
    325325<?php endif; ?>
    326326<?php if ( 'trash' == $comment_status || 'spam' == $comment_status || !EMPTY_TRASH_DAYS ): ?>
     
    414414<?php endif; ?>
    415415<?php if ( 'all' == $comment_status || 'approved' == $comment_status || 'moderated' == $comment_status ): ?>
    416 <option value="spam"><?php _e('Mark as Spam'); ?></option>
     416<option value="spam"><?php echo _x('Mark as Spam', 'comment'); ?></option>
    417417<?php endif; ?>
    418418<?php if ( 'trash' == $comment_status ): ?>
     
    422422<option value="delete"><?php _e('Delete Permanently'); ?></option>
    423423<?php elseif ( 'spam' == $comment_status ): ?>
    424 <option value="unspam"><?php _e('Not Spam'); ?></option>
     424<option value="unspam"><?php echo _x('Not Spam', 'comment'); ?></option>
    425425<?php else: ?>
    426426<option value="trash"><?php _e('Move to Trash'); ?></option>
Note: See TracChangeset for help on using the changeset viewer.