[wp-polyglots] Some i18n issues with development version

Francesc Hervada-Sala francesc at hervada.org
Sat Feb 16 11:26:19 GMT 2008


Hello all,

thank you Lloyd Budd, Mohd Tarmizi for the information. I've just submited 2 
patches under Ticket #5865 and #5877.

There is one issue I would like to get a second opinion about at this mailing 
list before submitting a patch.

wp-admin/index.php:73
$sentence = sprintf( __( 'You have %1$s, contained within %2$s and %3$s.' ), 
$post_type_text, $cats_text, $tags_text );

$post_type_text can be singular/plural, therefore the whole sentence can be 
singular/plural, too.
In my language the word form "contained" in this sentence changes depending 
upon whether $post_type_text is singular or plural.

Would you change this to the following?
$sentence = sprintf( __ngettext( 'You have %1$s, contained within %2$s 
and %3$s.', 'You have %1$s, contained within %2$s and %3$s.', 
$post_type_text, $cats_text, $tags_text) );

Best regards,

Francesc

Am Freitag, 15. Februar 2008 20:46:47 schrieb Mohd Tarmizi:
> Of course there is.
>
> http://codex.wordpress.org/Reporting_Bugs
>
> Francesc Hervada-Sala wrote:
> > Hello,
> >
> > open a ticket or submit a patch? I would like to, if I knew how! :-)
> > Is there an explanation or introduction anywhere on the codex?
> >
> > Regards,
> >
> > Francesc
> >
> > Am Freitag, 15. Februar 2008 17:46:50 schrieb Lloyd Budd:
> >> On Thu, Feb 14, 2008 at 10:48 PM, Francesc Hervada-Sala
> >>
> >> <francesc at hervada.org> wrote:
> >>> Hello,
> >>>
> >>>  I have found some issues while translating the latest trunk version.
> >>> See the list below. Is it useful such a list? Should I prepare diffs
> >>> and submit them? Or should I wait till the beta version?
> >>
> >> Please do file tickets, one per page is usually preferred. Patches are
> >> even better!
> >>
> >> Thank you,
> >
> > _______________________________________________
> > wp-polyglots mailing list
> > wp-polyglots at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-polyglots
>
> _______________________________________________
> wp-polyglots mailing list
> wp-polyglots at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-polyglots




More information about the wp-polyglots mailing list