Posted by elky on April 12, 2011 at 7:35am
3 followers
| Project: | Vote Up/Down |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | elky |
| Status: | closed (fixed) |
Issue Summary
sending absolute value to format_plural avoids this
Comments
#1
#2
Rerolled patch to get rid of the other changes not relevant to this issue
#3
Good catch!
The point is that if format_plural receives a -1 it takes the plural form, WTF?
Patch committed to 6.x-2.x, 6.x-3.x and 7.x-1.x.
Thanks
#4
Glad to be of assistance!
I'm actually at some point going to poke core with a patch (or you can if you like, I don't mind!) The linguistic nuances of format_plural are somewhat contentiously debated though.
#5
As I expected, it's not an easy fix to put through core. http://drupal.org/node/1131926
#6
Automatically closed -- issue fixed for 2 weeks with no activity.