#8324 closed defect (bug) (fixed)
__ngettext confused by formatted numbers
| Reported by: | filosofo | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.7 |
| Component: | Administration | Version: | 2.7 |
| Severity: | normal | Keywords: | has-patch __ngettext plural |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [9856]) Pass unformatted number to ngettext, props filosofo, fixes #8324