Fix singular/plural translation collision, props nbachiyski and Kuba Zwolinski, fixes #8154
git-svn-id: http://svn.automattic.com/wordpress/trunk@10478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c15f74b209
commit
af04dea7db
|
@ -3237,7 +3237,7 @@ function _post_states($post) {
|
||||||
if ( 'draft' == $post->post_status && 'draft' != $post_status )
|
if ( 'draft' == $post->post_status && 'draft' != $post_status )
|
||||||
$post_states[] = __('Draft');
|
$post_states[] = __('Draft');
|
||||||
if ( 'pending' == $post->post_status && 'pending' != $post_status )
|
if ( 'pending' == $post->post_status && 'pending' != $post_status )
|
||||||
$post_states[] = __('Pending');
|
$post_states[] = _c('Pending|post state');
|
||||||
|
|
||||||
if ( ! empty($post_states) ) {
|
if ( ! empty($post_states) ) {
|
||||||
$state_count = count($post_states);
|
$state_count = count($post_states);
|
||||||
|
|
Loading…
Reference in New Issue