diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2023-07-18 14:35:33 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2023-07-18 17:34:18 +0300 |
commit | be644042c3066d8e7a2834f989671ba74d27f749 (patch) | |
tree | d6b4877f637e0f13465a5ccbef1a22227f542136 /src/xz/list.c | |
parent | liblzma: Tweak #if condition in memcmplen.h. (diff) | |
download | xz-be644042c3066d8e7a2834f989671ba74d27f749.tar.xz |
xz: Make "%s: %s" translatable because French needs "%s : %s".
Diffstat (limited to '')
-rw-r--r-- | src/xz/list.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/xz/list.c b/src/xz/list.c index 90799bd2..86c3a762 100644 --- a/src/xz/list.c +++ b/src/xz/list.c @@ -366,7 +366,7 @@ parse_indexes(xz_file_info *xfi, file_pair *pair) hardware_memlimit_get(MODE_LIST), (uint64_t)(pair->src_st.st_size)); if (ret != LZMA_OK) { - message_error("%s: %s", pair->src_name, message_strm(ret)); + message_error(_("%s: %s"), pair->src_name, message_strm(ret)); return true; } @@ -412,7 +412,7 @@ parse_indexes(xz_file_info *xfi, file_pair *pair) } default: - message_error("%s: %s", pair->src_name, + message_error(_("%s: %s"), pair->src_name, message_strm(ret)); // If the error was too low memory usage limit, @@ -474,7 +474,7 @@ parse_block_header(file_pair *pair, const lzma_index_iter *iter, break; case LZMA_OPTIONS_ERROR: - message_error("%s: %s", pair->src_name, + message_error(_("%s: %s"), pair->src_name, message_strm(LZMA_OPTIONS_ERROR)); return true; @@ -578,7 +578,8 @@ parse_block_header(file_pair *pair, const lzma_index_iter *iter, // Check if the stringification succeeded. if (str_ret != LZMA_OK) { - message_error("%s: %s", pair->src_name, message_strm(str_ret)); + message_error(_("%s: %s"), pair->src_name, + message_strm(str_ret)); return true; } @@ -586,7 +587,7 @@ parse_block_header(file_pair *pair, const lzma_index_iter *iter, data_error: // Show the error message. - message_error("%s: %s", pair->src_name, + message_error(_("%s: %s"), pair->src_name, message_strm(LZMA_DATA_ERROR)); return true; } |