]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
xz: Translate a Windows-specific string
authorLasse Collin <lasse.collin@tukaani.org>
Sat, 4 Jan 2025 11:44:12 +0000 (13:44 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Sat, 4 Jan 2025 15:37:39 +0000 (17:37 +0200)
Originally I thought that native Windows builds wouldn't be translated
but nowadays at least MSYS2 ships such binaries.

src/xz/file_io.c

index d8a7597babedc5c415f39c0a107e2793914a11fe..9c4d6ac8e3552bae531d81ac5ed7b4ad7e0fe6c6 100644 (file)
@@ -895,7 +895,7 @@ io_open_dest_real(file_pair *pair)
        // With fstat()/_fstat64() it works.
        else if (pair->dest_fd != STDOUT_FILENO
                        && !S_ISREG(pair->dest_st.st_mode)) {
-               message_error("%s: Destination is not a regular file",
+               message_error(_("%s: Destination is not a regular file"),
                                tuklib_mask_nonprint(pair->dest_name));
 
                // dest_fd needs to be reset to -1 to keep io_close() working.