Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue5464

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:msgfmt.py does not work with plural form
Type:behaviorStage:resolved
Components:Demos and ToolsVersions:Python 3.2, Python 2.7
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To: loewisNosy List: eric.araujo, loewis, steve_geo
Priority:highKeywords:

Created on2009-03-09 21:47 bysteve_geo, last changed2022-04-11 14:56 byadmin. This issue is nowclosed.

Files
File nameUploadedDescriptionEdit
de.posteve_geo,2009-03-09 21:47Example 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 POfiles 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)*(Python committer)Date: 2010-06-04 18:15
This is now fixed inr81697 andr81698.
History
DateUserActionArgs
2022-04-11 14:56:46adminsetgithub: 49714
2010-06-11 16:26:47eric.araujosetnosy: +eric.araujo

stage: resolved
2010-06-04 18:15:20loewissetstatus: open -> closed
resolution: fixed
messages: +msg107084

versions: + Python 3.2, - Python 2.6
2010-05-11 20:48:03terry.reedysetversions: + Python 2.7
2009-03-09 23:21:27loewissetpriority: high
assignee:loewis

nosy: +loewis
2009-03-09 21:47:03steve_geocreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp