#8324 closed defect (bug) (fixed)
__ngettext confused by formatted numbers
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 2.7 | Priority: | normal |
| Severity: | normal | Version: | 2.7 |
| Component: | Administration | Keywords: | has-patch __ngettext plural |
| Focuses: | Cc: |
Description
As pointed out here, numbers starting with 1 and a comma, such as "1,234", confuse ngettext into thinking they're singular, so it ends up saying "1,234 Post" instead of "1,234 Posts".
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
(In [9856]) Pass unformatted number to ngettext, props filosofo, fixes #8324