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 17:34:18 +0300
commitbe644042c3066d8e7a2834f989671ba74d27f749 (patch)
treed6b4877f637e0f13465a5ccbef1a22227f542136 /src/xz/args.c
parentliblzma: Tweak #if condition in memcmplen.h. (diff)
downloadxz-be644042c3066d8e7a2834f989671ba74d27f749.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 8b943530..2732ae08 100644
--- a/src/xz/args.c
+++ b/src/xz/args.c
@@ -609,7 +609,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));
}