[wp-polyglots] "Drafts (xx)" doesn't get translated
Peter Westwood
peter.westwood at ftwr.co.uk
Sun Nov 9 12:15:54 GMT 2008
Xavier Borderie wrote:
> In my test trunk blog, page /wp-admin/edit.php (latest version), under
> the Edit Posts title, I'm seeing
> * Tous (4) |
> * Publié (1) |
> * Drafts (3)
>
> ...whereas it should be
>
> * Tous (4) |
> * Publié (1) |
> * Brouillons (3)
>
> Looking at my PO file, I see the line correctly translated, but also a
> potential bug:
> Original singular form is: Draft <span class=\"count\">(%s)</span>
> Original plural form is: Drafts</a> <span class=\"count\">(%s)</span>
> (note the </a> closing tag).
>
> Using "Brouillons</a> <span class=\"count\">(%s)</span>" doesn't fix it
>
> Does anyone else is seeing this issue?
>
>
>
The original string for that is different now since [9556]
Maybe that is the issue:
wp-admin/includes/post.php:729-735
$post_stati = array( // array( adj, noun )
'publish' => array(__('Published'), __('Published
posts'), __ngettext_noop('Published <span class="count">(%s)</span>',
'Published <span class="count">(%s)</span>')),
'future' => array(__('Scheduled'), __('Scheduled
posts'), __ngettext_noop('Scheduled <span class="count">(%s)</span>',
'Scheduled <span class="count">(%s)</span>')),
'pending' => array(__('Pending Review'), __('Pending
posts'), __ngettext_noop('Pending Review <span
class="count">(%s)</span>', 'Pending Review <span
class="count">(%s)</span>')),
'draft' => array(__('Draft'), _c('Drafts|manage posts
header'), __ngettext_noop('Draft <span class="count">(%s)</span>',
'Drafts <span class="count">(%s)</span>')),
'private' => array(__('Private'), __('Private posts'),
__ngettext_noop('Private <span class="count">(%s)</span>', 'Private
<span class="count">(%s)</span>')),
);
westi
--
Peter Westwood
http://blog.ftwr.co.uk | http://westi.wordpress.com
C53C F8FC 8796 8508 88D6 C950 54F4 5DCD A834 01C5
More information about the wp-polyglots
mailing list