1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

xz: Translate also the string used to print the program name.

French needs a space before a colon, e.g. "xz : foo error".
This commit is contained in:
Lasse Collin 2011-05-21 15:12:10 +03:00
parent 841dc1f891
commit 1931175eea

View file

@ -726,7 +726,11 @@ vmessage(enum message_verbosity v, const char *fmt, va_list ap)
progress_flush(false);
fprintf(stderr, "%s: ", progname);
// TRANSLATORS: This is the program name in the beginning
// of the line in messages. Usually it becomes "xz: ".
// This is a translatable string because French needs
// a space before a colon.
fprintf(stderr, _("%s: "), progname);
vfprintf(stderr, fmt, ap);
fputc('\n', stderr);