[Xfce-i18n] order switching in translation

Abel Martín abel.martin.ruiz at gmail.com
Mon Nov 10 23:20:56 CET 2008


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

>
>        -brian
>



More information about the Xfce-i18n mailing list