aboutsummaryrefslogtreecommitdiff
path: root/src/xz/coder.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/coder.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 '')
-rw-r--r--src/xz/coder.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xz/coder.c b/src/xz/coder.c
index 3fefded9..143fd99a 100644
--- a/src/xz/coder.c
+++ b/src/xz/coder.c
@@ -1055,7 +1055,7 @@ coder_init(file_pair *pair)
strm.avail_out = 0;
while ((ret = lzma_code(&strm, LZMA_RUN))
== LZMA_UNSUPPORTED_CHECK)
- message_warning("%s: %s", pair->src_name,
+ message_warning(_("%s: %s"), pair->src_name,
message_strm(ret));
// With --single-stream lzma_code won't wait for
@@ -1071,7 +1071,7 @@ coder_init(file_pair *pair)
}
if (ret != LZMA_OK) {
- message_error("%s: %s", pair->src_name, message_strm(ret));
+ message_error(_("%s: %s"), pair->src_name, message_strm(ret));
if (ret == LZMA_MEMLIMIT_ERROR)
message_mem_needed(V_ERROR, lzma_memusage(&strm));
@@ -1371,10 +1371,10 @@ coder_normal(file_pair *pair)
// wrong and we print an error. Otherwise it's just
// a warning and coding can continue.
if (stop) {
- message_error("%s: %s", pair->src_name,
+ message_error(_("%s: %s"), pair->src_name,
message_strm(ret));
} else {
- message_warning("%s: %s", pair->src_name,
+ message_warning(_("%s: %s"), pair->src_name,
message_strm(ret));
// When compressing, all possible errors set