Posted by lund.mikkel on August 14, 2012 at 1:36pm
3 followers
| Project: | Simplenews |
| Version: | 7.x-1.x-dev |
| Component: | Miscellaneous |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
The translation of some time spans collide with translations using format_plural:
'#options' => array(
0 => t('Immediate'),
1 => t('1 day'),
7 => t('1 week'),
14 => t('2 weeks'),
)Due to the format_plural of both '1 day' and '1 week' the translations already exist. I suggest changing the code to:
'#options' => array(
0 => t('Immediate'),
1 => format_plural(1, '1 day', '@count days'),
7 => format_plural(1, '1 week', '@count weeks'),
14 => format_plural(2, '1 week', '@count weeks'),
)I'll try to submit a patch in the comments...
Comments
#1
Patch
#2
Thanks, commited and pushed.
#3
Automatically closed -- issue fixed for 2 weeks with no activity.