pseudo translation tool creates uncompilable PO files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Invalid
|
High
|
Unassigned |
Bug Description
Attempting to compile PO files generated by the pseudo translation tool results in the following error
CommandError: Execution of msgfmt failed: /opt/stack/
msgfmt: found 1 fatal error
The problem message appears to be
#: openstack_
#, python-format
msgid ""
"The requested instance cannot be launched as you only have %(avail)i of "
"your quota available. "
msgid_plural ""
"The requested %(req)i instances cannot be launched as you only have "
"%(avail)i of your quota available."
msgstr[0] ""
"[~0:The requested instance cannot be launched as you only have %(avail)i "
"of your quota available. ~您好яшçあ~
It seems that that Babel really wants the translated string to have the substitution variables from msgid_plural, but the string is based on msgid
Changed in horizon: | |
milestone: | none → newton-1 |
importance: | Undecided → High |
Changed in horizon: | |
milestone: | newton-1 → newton-2 |
Changed in horizon: | |
milestone: | newton-2 → newton-3 |
tags: | removed: mitaka-backport-potential |
Changed in horizon: | |
assignee: | nobody → Rob Cresswell (robcresswell) |
Fix proposed to branch: master /review. openstack. org/298379
Review: https:/