Issue 5464: msgfmt.py does not work with plural form
Created on 2009-03-09 21:47 by steve_geo, last changed 2022-04-11 14:56 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| de.po | steve_geo, 2009-03-09 21:47 | Example PO file with plural form | ||
| Messages (2) | |||
|---|---|---|---|
| msg83407 - (view) | Author: Stephen George (steve_geo) | Date: 2009-03-09 21:46 | |
It seems that C:\Python26\Tools\i18n\msgfmt.py does not work with PO
files that use plural form. Get the following error.
ERROR Traceback (most recent call last):
File "C:\Python26\Tools\i18n\msgfmt.py", line 203, in <module>
main()
File "C:\Python26\Tools\i18n\msgfmt.py", line 199, in main
make(filename, outfile)
File "C:\Python26\Tools\i18n\msgfmt.py", line 151, in make
l = eval(l)
File "<string>", line 1
_plural "%d generations"
^
SyntaxError: invalid syntax
|
|||
| msg107084 - (view) | Author: Martin v. Löwis (loewis) * ![]() |
Date: 2010-06-04 18:15 | |
This is now fixed in r81697 and r81698. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:56:46 | admin | set | github: 49714 |
| 2010-06-11 16:26:47 | eric.araujo | set | nosy:
+ eric.araujo stage: resolved |
| 2010-06-04 18:15:20 | loewis | set | status: open -> closed resolution: fixed messages: + msg107084 versions: + Python 3.2, - Python 2.6 |
| 2010-05-11 20:48:03 | terry.reedy | set | versions: + Python 2.7 |
| 2009-03-09 23:21:27 | loewis | set | priority: high assignee: loewis nosy: + loewis |
| 2009-03-09 21:47:03 | steve_geo | create | |
