]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
xz: Translate the second "%s: " in message.c since French needs "%s : ".
authorLasse Collin <lasse.collin@tukaani.org>
Tue, 18 Jul 2023 14:37:33 +0000 (17:37 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Tue, 18 Jul 2023 14:37:33 +0000 (17:37 +0300)
This string is used to print a filename when using "xz -v" and
stderr isn't a terminal.

src/xz/message.c

index 8caba65069ccca94d2efcd937c84994b785d7316..a87f864d795b445f139e46c05eca5350cc04b689 100644 (file)
@@ -668,7 +668,7 @@ progress_flush(bool finished)
                                cols[4]);
        } else {
                // The filename is always printed.
-               fprintf(stderr, "%s: ", filename);
+               fprintf(stderr, _("%s: "), filename);
 
                // Percentage is printed only if we didn't finish yet.
                if (!finished) {