[Xfce-i18n] order switching in translation

Samed Beyribey ras0ir at eventualis.org
Mon Nov 10 23:37:41 CET 2008


Mon, 10 Nov 2008 23:20:56 +0100 tarihinde
"Abel Martín" <abel.martin.ruiz at gmail.com> şunu yazmıştınız:

> On Mon, Nov 10, 2008 at 9:02 PM, Brian J. Tarricone <kelnos at xfce.org>
> wrote:
> > Mike Massonnet wrote:
> >
> >> Here is a quick example:
> >> msgid "%s/%s space left on %s (%s)"
> >>
> >> If you prefer to specify the drive first for your translation:
> >> msgstr "The device $3%s ($4%s) has $1%s/$2%s space left"
> >>
> >> You append the %<format> with a $<position>.
> >       ^^^^^^
> > Prepend, of course ^_^.
> 
> I'm not sure but I think the right way would be something like this:
> msgstr "The device %3$s (%4$s) has %1$s/%2$s space left"
> 
> http://www.gnu.org/software/gettext/manual/html_node/gettext_toc.html#c_002dformat-Flag
> 
Yeah, i've just noticed it. Thanks for the information.
msgstr "The device %3$s (%4$s) has %1$s/%2$s space left" is the correct
way.
Regards,
Samed.
> >
> >        -brian
> >
> _______________________________________________
> Xfce-i18n mailing list
> Xfce-i18n at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce-i18n
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce-i18n/attachments/20081111/e880b588/attachment.pgp>


More information about the Xfce-i18n mailing list