From cba848bec3329062a0a9924bff2e6ecf15c2a539 Mon Sep 17 00:00:00 2001 From: fisharebest Date: Mon, 21 Feb 2011 09:51:51 +0000 Subject: Re-use existing translation, rather than create new one. --- includes/functions/functions_print_lists.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/functions/functions_print_lists.php b/includes/functions/functions_print_lists.php index 4283d97a89..001d43adcb 100644 --- a/includes/functions/functions_print_lists.php +++ b/includes/functions/functions_print_lists.php @@ -1382,7 +1382,7 @@ function print_changes_list($change_ids, $sort, $show_parents=false) { $return .= ""; // class='indent' $return .= ""; } - $return .= WT_I18N::translate('Showing 1 to %d of %d entries', $n,$n); + $return .= WT_I18N::translate('Showing %1$s to %2$s of %3$s', 1, $n, $n); if ($n >= NMAX) { $return .= "
" . WT_I18N::translate('Total changes exceed limit (%d)', NMAX) . "
"; } @@ -1519,7 +1519,7 @@ function print_changes_table($change_ids, $sort, $show_parents=false) { //-- table footer $return .= ""; $return .= ""; - $return .= WT_I18N::translate('Showing 1 to %d of %d entries', $n, $n); + $return .= WT_I18N::translate('Showing %1$s to %2$s of %3$s', 1, $n, $n); if ($n >= NMAX) { $return .= "
" . WT_I18N::translate('Total changes exceed limit (%d)', NMAX) . "
"; } -- cgit v1.3