Related to this:

On Sun, August 2, 2009 2:05 pm, [email protected] wrote:
> Fixed incorrect translations (using wrong number of %s-es)
(...)
>      'ca':u'Robot: Afegint [[Categoria:%s]]',
> -    'cs':u'Robot přidal kategorii [[Kategorie:%s|%s]]',
> +    'cs':u'Robot přidal [[Kategorie:%s]]',
>      'da':u'Robot: Tilføjer [[Kategori:%s]]',

I think it would be better to use named substitution
(i.e. u'Robot: Afegint [[Categoria:%(cat)s]]', which makes it possible to
have 'cs':u'Robot přidal kategorii [[Kategorie:%(cat)s|%(cat)s]]'),
but I am not sure how big the effect will be on existing scripts. Would it
be OK to introduce a possibly breaking change, or should some sort of
wrapper be thought of?

-Merlijn


_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to