WordPress.org

Make WordPress Core

Ticket #8638: differentiate-approved-translations.diff

File differentiate-approved-translations.diff, 1.1 KB (added by nbachiyski, 5 years ago)
  • wp-includes/comment.php

     
    252252function get_comment_statuses( ) { 
    253253        $status = array( 
    254254                'hold'          => __('Unapproved'), 
    255                 'approve'       => __('Approved'), 
     255                'approve'       => _c('Approved|adjective'), 
    256256                'spam'          => _c('Spam|adjective'), 
    257257        ); 
    258258 
  • wp-admin/includes/dashboard.php

     
    229229 
    230230        // Approved Comments 
    231231        $num = number_format_i18n($num_comm->approved); 
    232         $text = __ngettext( 'Approved', 'Approved', $num_comm->approved ); 
     232        $text = _nc( 'Approved|Right Now', 'Approved', $num_comm->approved ); 
    233233        if ( current_user_can( 'moderate_comments' ) ) { 
    234234                $num = "<a href='edit-comments.php?comment_status=approved'>$num</a>"; 
    235235                $text = "<a class='approved' href='edit-comments.php?comment_status=approved'>$text</a>";