Le 26/02/2011 11:09, Philippe Houdoin a écrit :
There are possible and not too complicated solutions to make named arguments work. I'd like to use them. Using printf like syntax is like going back in the 1970s...It supports reordering of arguments but you need to explicitly give each argument a position number, in the format string. See: http://linux.die.net/man/3/printfI know, but translators don't get that much info from the argument number when it comes to translate "before doing %$1s, you must %$2s!", while the *meaning* of each argument could leads to a better translation eventually changing the order. Named arguments can vehicle such meaning. And make the code more easier to understand, too. One can argue that B_TRANSLATE_COMMENT() too, though.
-- Adrien.