[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

printversion could be more translation-friendly



Hello. In main/main.c I see:

  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");

I wanted dpkg --version to output something like this:

Administrador de paquetes `dpkg' de Debian GNU/Linux, versión 1.9.20 (i386).

so I had to translate "Debian GNU/Linux" as "package management program"
and vice-versa so that the translation makes sense, which is really weird.

This would not be a big problem if it weren't because it happens twice more
in the source in dpkg-deb/main.c:46 and main/query.c:430.

Since they share the common string "Debian `" it's currently
impossible to translate both strings right.

I suggest a change in the source so that it reads like this or similar:

printf(_("Debian `%s' package management program version %s ...), args);

I think you get the idea.

Thanks.


--
To UNSUBSCRIBE, email to debian-dpkg-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: