aboutsummaryrefslogtreecommitdiff
path: root/src/xz/args.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/args.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 'src/xz/args.c')
-rw-r--r--src/xz/args.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xz/args.c b/src/xz/args.c
index b831946f..17e778c5 100644
--- a/src/xz/args.c
+++ b/src/xz/args.c
@@ -527,7 +527,10 @@ parse_real(args_info *args, int argc, char **argv)
args->files_file = fopen(optarg,
c == OPT_FILES ? "r" : "rb");
if (args->files_file == NULL)
- message_fatal("%s: %s", optarg,
+ // TRANSLATORS: This is a translatable
+ // string because French needs a space
+ // before the colon ("%s : %s").
+ message_fatal(_("%s: %s"), optarg,
strerror(errno));
}