I18N: Use better context for comment statuses.
See #35054. git-svn-id: https://develop.svn.wordpress.org/trunk@35902 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3068a5b333
commit
4e130ed78f
|
@ -82,9 +82,9 @@ if ( $comment->comment_post_ID > 0 ):
|
|||
|
||||
<fieldset class="misc-pub-section misc-pub-comment-status" id="comment-status-radio">
|
||||
<legend class="screen-reader-text"><?php _e( 'Comment status' ); ?></legend>
|
||||
<label class="approved"><input type="radio"<?php checked( $comment->comment_approved, '1' ); ?> name="comment_status" value="1" /><?php /* translators: comment type radio button */ _ex('Approved', 'adjective') ?></label><br />
|
||||
<label class="waiting"><input type="radio"<?php checked( $comment->comment_approved, '0' ); ?> name="comment_status" value="0" /><?php /* translators: comment type radio button */ _ex('Pending', 'adjective') ?></label><br />
|
||||
<label class="spam"><input type="radio"<?php checked( $comment->comment_approved, 'spam' ); ?> name="comment_status" value="spam" /><?php /* translators: comment type radio button */ _ex('Spam', 'adjective'); ?></label>
|
||||
<label class="approved"><input type="radio"<?php checked( $comment->comment_approved, '1' ); ?> name="comment_status" value="1" /><?php _ex( 'Approved', 'comment status' ); ?></label><br />
|
||||
<label class="waiting"><input type="radio"<?php checked( $comment->comment_approved, '0' ); ?> name="comment_status" value="0" /><?php _ex( 'Pending', 'comment status' ); ?></label><br />
|
||||
<label class="spam"><input type="radio"<?php checked( $comment->comment_approved, 'spam' ); ?> name="comment_status" value="spam" /><?php _ex( 'Spam', 'comment status' ); ?></label>
|
||||
</fieldset>
|
||||
|
||||
<div class="misc-pub-section curtime misc-pub-curtime">
|
||||
|
|
|
@ -231,13 +231,10 @@ function get_comments( $args = '' ) {
|
|||
*/
|
||||
function get_comment_statuses() {
|
||||
$status = array(
|
||||
'hold' => __('Unapproved'),
|
||||
/* translators: comment status */
|
||||
'approve' => _x('Approved', 'adjective'),
|
||||
/* translators: comment status */
|
||||
'spam' => _x('Spam', 'adjective'),
|
||||
/* translators: comment status */
|
||||
'trash' => _x('Trash', 'adjective'),
|
||||
'hold' => __( 'Unapproved' ),
|
||||
'approve' => _x( 'Approved', 'comment status' ),
|
||||
'spam' => _x( 'Spam', 'comment status' ),
|
||||
'trash' => _x( 'Trash', 'comment status' ),
|
||||
);
|
||||
|
||||
return $status;
|
||||
|
|
Loading…
Reference in New Issue