[Xfce-i18n] order switching in translation
Mike Massonnet
mmassonnet at gmail.com
Tue Nov 11 12:24:16 CET 2008
Le Tue, 11 Nov 2008 00:37:41 +0200,
Samed Beyribey <ras0ir at eventualis.org> a écrit :
> 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.
Woops! Thanks for noticing this.
> Regards,
> Samed.
Mike
More information about the Xfce-i18n
mailing list