parseGetText can't parse zope.app catalogs (fr and zh_CN)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 3 |
Won't Fix
|
Undecided
|
Unassigned | ||
zope.i18n |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
When I attempt to use GettextImportFilter to parse the gettext translation catalogs in zope.app for fr and zh_CN, I get the following tracebacks (the first is fr, the second is zh_CN):
Traceback (most recent call last):
File "./generate-
filter.
File "/usr/lib/
result = parseGetText(
File "/usr/lib/
raise ParseError(3, pointer + 1)
ParseError: state 3, line 4382
Traceback (most recent call last):
File "./generate-
filter.
File "/usr/lib/
result = parseGetText(
File "/usr/lib/
raise ParseError(3, pointer + 1)
ParseError: state 3, line 268
Both errors occur when a blank line is found at the beginning of a 'msgstr' portion in a gettext file.
Changed in zope3: | |
status: | New → Won't Fix |
Just to clarify, when I say "blank line", I mean "quoted empty string".