diff options
| author | JustCarmen <carmen@justcarmen.nl> | 2014-12-24 12:24:17 +0100 |
|---|---|---|
| committer | JustCarmen <carmen@justcarmen.nl> | 2014-12-24 12:34:15 +0100 |
| commit | 598c74cc5a63be4958b76450f32a107e359a3226 (patch) | |
| tree | df608252bccab0e627d4dce11a7b9fc55303e087 /modules_v3 | |
| parent | e48c4276ad7bbc1de892c6142821c3c48df8c1a7 (diff) | |
| download | webtrees-598c74cc5a63be4958b76450f32a107e359a3226.tar.gz webtrees-598c74cc5a63be4958b76450f32a107e359a3226.tar.bz2 webtrees-598c74cc5a63be4958b76450f32a107e359a3226.zip | |
Fix recent changes module text if no facts found.
Diffstat (limited to 'modules_v3')
| -rw-r--r-- | modules_v3/recent_changes/module.php | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |
