From: Lasse Collin Date: Sat, 4 Jan 2025 11:44:12 +0000 (+0200) Subject: xz: Translate a Windows-specific string X-Git-Tag: v5.7.1alpha~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7313c01d9b8db71ffb61dc1dd7c4ea928824b4b;p=thirdparty%2Fxz.git 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. --- 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.