From: Lasse Collin Date: Sat, 21 May 2011 12:12:10 +0000 (+0300) Subject: xz: Translate also the string used to print the program name. X-Git-Tag: v5.0.3~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1931175eea6d09c0845d6e8e334a7333647f11c0;p=xz xz: Translate also the string used to print the program name. French needs a space before a colon, e.g. "xz : foo error". --- diff --git a/src/xz/message.c b/src/xz/message.c index e128cf57..80c86a49 100644 --- a/src/xz/message.c +++ b/src/xz/message.c @@ -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);