Re: printversion could be more translation-friendly
On Mon, 27 May 2002, Wichert Akkerman wrote:
> Previously Santiago Vila wrote:
> > if (fputs(_("Debian GNU/Linux `"), stdout) < 0) werr("stdout");
> > if (fputs(DPKG, stdout) < 0) werr("stdout");
> > if (fputs(_("' package management program version "), stdout) < 0) werr("stdo\ut");
>
> Actually looking at this a bit more we can't change it, the string
> has to be split like that so we can put the DPKG define in there
> while still allowing it to be translated.
I don't understand. Do you mean you can't use a %s inside a printf to show
the value of DPKG? If so, why not? If not, what do you mean?
Please note that by doing this in dpkg-deb/main.c:46 and main/query.c:430
you are in fact disallowing it to be translated.
--
To UNSUBSCRIBE, email to debian-dpkg-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: