Danek Duvall wrote:
> On Wed, Feb 04, 2009 at 07:35:42PM -0800, [email protected] wrote:
>
>> http://cr.opensolaris.org/~johansen/webrev-6332/
>
> In pull.py, the _() function needs to wrap just the literal string there,
> and not the arguments to %, or the translation won't ever work.
Not only that, named format specifiers need to be used anytime more than
one exists in a string:
_("%(fmri)s is an illegal fmri: %(error)s") % { "fmri": pkgfmri, "error": e)
...because not every language uses the same sentence structure (i.e.
subject verb object, etc.).
Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss