aboutsummaryrefslogtreecommitdiff
path: root/src/xz/file_io.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2023-07-18 14:35:33 +0300
committerLasse Collin <lasse.collin@tukaani.org>2023-07-18 14:37:07 +0300
commit97851be2c6c64494f23c3a735601c13d4387820b (patch)
tree7541e73a8d7b6b65da569e0367ed72ca073a0ec4 /src/xz/file_io.c
parentliblzma: Tweak #if condition in memcmplen.h. (diff)
downloadxz-97851be2c6c64494f23c3a735601c13d4387820b.tar.xz
xz: Make "%s: %s" translatable because French needs "%s : %s".
Diffstat (limited to '')
-rw-r--r--src/xz/file_io.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xz/file_io.c b/src/xz/file_io.c
index 29f46ea7..a181b531 100644
--- a/src/xz/file_io.c
+++ b/src/xz/file_io.c
@@ -602,7 +602,7 @@ io_open_src_real(file_pair *pair)
if (!follow_symlinks) {
struct stat st;
if (lstat(pair->src_name, &st)) {
- message_error("%s: %s", pair->src_name,
+ message_error(_("%s: %s"), pair->src_name,
strerror(errno));
return true;
@@ -676,7 +676,7 @@ io_open_src_real(file_pair *pair)
// Something else than O_NOFOLLOW failing
// (assuming that the race conditions didn't
// confuse us).
- message_error("%s: %s", pair->src_name,
+ message_error(_("%s: %s"), pair->src_name,
strerror(errno));
return true;
@@ -766,7 +766,7 @@ io_open_src_real(file_pair *pair)
return false;
error_msg:
- message_error("%s: %s", pair->src_name, strerror(errno));
+ message_error(_("%s: %s"), pair->src_name, strerror(errno));
error:
(void)close(pair->src_fd);
return true;
@@ -937,7 +937,7 @@ io_open_dest_real(file_pair *pair)
pair->dest_fd = open(pair->dest_name, flags, mode);
if (pair->dest_fd == -1) {
- message_error("%s: %s", pair->dest_name,
+ message_error(_("%s: %s"), pair->dest_name,
strerror(errno));
free(pair->dest_name);
return true;