diff options
| author | Greg Roach <fisharebest@gmail.com> | 2015-03-13 21:20:27 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2015-03-13 21:20:27 +0000 |
| commit | def7396feef704dd6afe2d14d1f35be4213617a6 (patch) | |
| tree | 6cb235bef5d6cc29a30c81a0c81c8d0cf5f343a5 /app/Module/YahrzeitModule.php | |
| parent | 273ecdde71843d20fb563ae6ca24ba8b4b2e0d8b (diff) | |
| download | webtrees-def7396feef704dd6afe2d14d1f35be4213617a6.tar.gz webtrees-def7396feef704dd6afe2d14d1f35be4213617a6.tar.bz2 webtrees-def7396feef704dd6afe2d14d1f35be4213617a6.zip | |
Numbers need to be strings for I18N
Diffstat (limited to 'app/Module/YahrzeitModule.php')
| -rw-r--r-- | app/Module/YahrzeitModule.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Module/YahrzeitModule.php b/app/Module/YahrzeitModule.php index 51f4c921f7..415d7edd9a 100644 --- a/app/Module/YahrzeitModule.php +++ b/app/Module/YahrzeitModule.php @@ -247,7 +247,7 @@ class YahrzeitModule extends Module implements ModuleBlockInterface { echo I18N::translate('Number of days to show'); echo '</td><td class="optionbox">'; echo '<input type="text" name="days" size="2" value="' . $days . '">'; - echo ' <em>', I18N::plural('maximum %d day', 'maximum %d days', 30, 30), '</em>'; + echo ' <em>', I18N::plural('maximum %s day', 'maximum %s days', 30, I18N::number(30)), '</em>'; echo '</td></tr>'; echo '<tr><td class="descriptionbox wrap width33">'; |
