Closed (fixed)
Project:
Vote Up/Down
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
12 Apr 2011 at 07:35 UTC
Updated:
3 May 2011 at 19:51 UTC
Jump to comment: Most recent file
sending absolute value to format_plural avoids this
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | format_plural_absolutes-1124448-2.patch | 974 bytes | elky |
| #1 | format_plural_absolutes-1124448-1.patch | 1.6 KB | elky |
Comments
Comment #1
elky commentedComment #2
elky commentedRerolled patch to get rid of the other changes not relevant to this issue
Comment #3
marvil07 commentedGood 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
Comment #4
elky commentedGlad 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.
Comment #5
elky commentedAs I expected, it's not an easy fix to put through core. http://drupal.org/node/1131926