summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2011-02-21 09:51:51 +0000
committerfisharebest <fisharebest@gmail.com>2011-02-21 09:51:51 +0000
commitcba848bec3329062a0a9924bff2e6ecf15c2a539 (patch)
tree4627b65177c356362b4b3e490479dd0b31401cf1
parentbbecbc860c646008669c10f876fce6d60a789c13 (diff)
downloadwebtrees-cba848bec3329062a0a9924bff2e6ecf15c2a539.tar.gz
webtrees-cba848bec3329062a0a9924bff2e6ecf15c2a539.tar.bz2
webtrees-cba848bec3329062a0a9924bff2e6ecf15c2a539.zip
Re-use existing translation, rather than create new one.
-rw-r--r--includes/functions/functions_print_lists.php4
1 files 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 .= "</div>"; // class='indent'
$return .= "</div>";
}
- $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 .= "<div class='warning'>" . WT_I18N::translate('Total changes exceed limit (%d)', NMAX) . "</div>";
}
@@ -1519,7 +1519,7 @@ function print_changes_table($change_ids, $sort, $show_parents=false) {
//-- table footer
$return .= "</tbody>";
$return .= "</table>";
- $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 .= "<div class='warning'>" . WT_I18N::translate('Total changes exceed limit (%d)', NMAX) . "</div>";
}