aboutsummaryrefslogtreecommitdiff
path: root/src/xz/list.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xz/list.c')
-rw-r--r--src/xz/list.c11
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;
}