sending absolute value to format_plural avoids this

Files: 
CommentFileSizeAuthor
#2 format_plural_absolutes-1124448-2.patch974 byteselky
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch format_plural_absolutes-1124448-2.patch. This may be a -p0 (old style) patch, which is no longer supported by the testbots.
[ View ]
#1 format_plural_absolutes-1124448-1.patch1.6 KBelky
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch format_plural_absolutes-1124448-1.patch. This may be a -p0 (old style) patch, which is no longer supported by the testbots.
[ View ]

Comments

Status:Active» Needs review
StatusFileSize
new1.6 KB
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch format_plural_absolutes-1124448-1.patch. This may be a -p0 (old style) patch, which is no longer supported by the testbots.
[ View ]

StatusFileSize
new974 bytes
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch format_plural_absolutes-1124448-2.patch. This may be a -p0 (old style) patch, which is no longer supported by the testbots.
[ View ]

Rerolled patch to get rid of the other changes not relevant to this issue

Status:Needs review» Fixed

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

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.

As I expected, it's not an easy fix to put through core. http://drupal.org/node/1131926

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.