Re: Word order in translation

From: Rui Miguel Seabra (rms@multicert.com)
Date: Mon Mar 04 2002 - 10:06:47 GMT

  • Next message: Rui Miguel Seabra: "Re: KDE pasting (again)"

    On Mon, 2002-03-04 at 01:47, Pierre Abbat wrote:
    > The problem is that in the English, %s precedes %d. Is there any way to
    > handle such word order differences?

    If it is using a derivate of printf (which I am presuming), then no.
    printf(format, variables...)
    so: printf("bla bla %s ble ble %d blu blu", string, integer);

    Changing to
     printf("bla bla %d ble ble %s blu blu", string, integer);

    will result pretty badly!

    Btw, am I right in presuming we do this?
    Can there not be dramatic bugs if someone tampers the strings files?
    Are this strings sanitized before being fed as a format?

    Hugs, rms

    -- 
    + No matter how much you do, you never do enough -- unknown
    + Whatever you do will be insignificant,
    | but it is very important that you do it -- Ghandi
    + So let's do it...?
    




    This archive was generated by hypermail 2.1.4 : Mon Mar 04 2002 - 05:19:00 GMT