Posted by maynich on January 11, 2007 at 1:17pm
| Project: | Drupal core |
| Version: | 5.x-dev |
| Component: | locale.module |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (cannot reproduce) |
Issue Summary
Loaded content:
msgid "1 item"
msgid_plural "@count items"
msgstr[0] "@count tr0"
msgstr[1] "@count tr1"
msgstr[2] "@count tr2"
When extracting .po you see regular adding [2]
msgid "1 item"
msgid_plural "@count items"
msgstr[0] "@count tr0"
msgstr[1] "@count tr1"
msgstr[2] "@count[2] tr2"
build 2001-jan-10
Comments
#1
can you make a sample PO file available? Attach it to the issue.
#2
see attached file
#3
Hm, as far as I see, _locale_export_remove_plural() should remove that too. Could you please try editing line 1187 to say $i > 0 instead of $i > 1? That is the line before _locale_export_remove_plural() gets called. There is probably some indenxing problem there. Thanks!
#4
http://api.drupal.org/api/drupal/includes--locale.inc/function/_locale_e... just removes the plural number at all times now.