aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Iuri Rezende Souza <riuri@rocketmail.com>2014-08-24 12:33:56 -0300
committerGravatar David Adam <zanchey@ucc.gu.uwa.edu.au>2014-09-04 23:00:22 +0800
commit6e133c90e84ecc59d459eacd9a866516eeaa04f8 (patch)
treea7955cd391c2bf154b0b7487f8e9957f2b25c1eb
parent4b7dc525b854207e627f5eb9d1fe25111eca4dc1 (diff)
pager: translate additional strings
-rw-r--r--pager.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/pager.cpp b/pager.cpp
index 57f93184..8d19c9bd 100644
--- a/pager.cpp
+++ b/pager.cpp
@@ -606,21 +606,21 @@ bool pager_t::completion_try_print(size_t cols, const wcstring &prefix, const co
if (rendering->remaining_to_disclose == 1)
{
/* I don't expect this case to ever happen */
- progress_text = format_string(L"%lsand 1 more row", ellipsis_string);
+ progress_text = format_string(_(L"%lsand 1 more row"), ellipsis_string);
}
else if (rendering->remaining_to_disclose > 1)
{
- progress_text = format_string(L"%lsand %lu more rows", ellipsis_string, (unsigned long)rendering->remaining_to_disclose);
+ progress_text = format_string(_(L"%lsand %lu more rows"), ellipsis_string, (unsigned long)rendering->remaining_to_disclose);
}
else if (start_row > 0 || stop_row < row_count)
{
/* We have a scrollable interface. The +1 here is because we are zero indexed, but want to present things as 1-indexed. We do not add 1 to stop_row or row_count because these are the "past the last value" */
- progress_text = format_string(L"rows %lu to %lu of %lu", start_row + 1, stop_row, row_count);
+ progress_text = format_string(_(L"rows %lu to %lu of %lu"), start_row + 1, stop_row, row_count);
}
else if (completion_infos.empty() && ! unfiltered_completion_infos.empty())
{
/* Everything is filtered */
- progress_text = L"(no matches)";
+ progress_text = _(L"(no matches)");
}
if (! progress_text.empty())