Make WordPress Core


Ignore:
Timestamp:
11/21/2008 06:16:44 PM (17 years ago)
Author:
westi
Message:

Give context to more translations to allow for differentiation between plural noun, verb and adjective translations. Fixes #8154 props nbachiyski.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r9807 r9835  
    678678    $posts_columns = array();
    679679    $posts_columns['cb'] = '<input type="checkbox" />';
    680     $posts_columns['title'] = __('Post');
     680    $posts_columns['title'] = _c('Post|noun');
    681681    $posts_columns['author'] = __('Author');
    682682    $posts_columns['categories'] = __('Categories');
     
    765765            $_wp_column_headers[$page] = array(
    766766                'cb' => '<input type="checkbox" />',
    767                 'comment' => __('Comment'),
     767                'comment' => _c('Comment|noun'),
    768768                'author' => __('Author'),
    769769                'date' => __('Submitted'),
     
    19941994                    }
    19951995                    if ( 'spam' != $the_comment_status )
    1996                         $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' ) . "'>" . __( 'Spam' ) . '</a>';
     1996                        $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>';
    19971997                    $actions['delete'] = "<a href='$delete_url' class='delete:the-comment-list:comment-$comment->comment_ID delete vim-d vim-destructive'>" . __('Delete') . '</a>';
    19981998                    $actions['edit'] = "<a href='comment.php?action=editcomment&amp;c={$comment->comment_ID}' title='" . __('Edit comment') . "'>". __('Edit') . '</a>';
Note: See TracChangeset for help on using the changeset viewer.