From 598c74cc5a63be4958b76450f32a107e359a3226 Mon Sep 17 00:00:00 2001 From: JustCarmen Date: Wed, 24 Dec 2014 12:24:17 +0100 Subject: Fix recent changes module text if no facts found. --- modules_v3/recent_changes/module.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules_v3') diff --git a/modules_v3/recent_changes/module.php b/modules_v3/recent_changes/module.php index bb051cadea..edca0c13bd 100644 --- a/modules_v3/recent_changes/module.php +++ b/modules_v3/recent_changes/module.php @@ -74,7 +74,7 @@ class recent_changes_WT_Module extends WT_Module implements WT_Module_Block { $content = ''; // Print block content if (count($found_facts) == 0) { - $content .= WT_I18N::translate('There have been no changes within the last %s days.', WT_I18N::number($days)); + $content .= WT_I18N::plural('There have been no changes within the last %s day.', 'There have been no changes within the last %s days.', $days, WT_I18N::number($days)); } else { ob_start(); switch ($infoStyle) { -- cgit v1.3