From a7313c01d9b8db71ffb61dc1dd7c4ea928824b4b Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Sat, 4 Jan 2025 13:44:12 +0200 Subject: [PATCH] xz: Translate a Windows-specific string Originally I thought that native Windows builds wouldn't be translated but nowadays at least MSYS2 ships such binaries. --- src/xz/file_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xz/file_io.c b/src/xz/file_io.c index d8a7597b..9c4d6ac8 100644 --- a/src/xz/file_io.c +++ b/src/xz/file_io.c @@ -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.