#26670 closed Cleanup/optimization (fixed)
makemessages' plural form handling helper function can insert extra empty line in PO file
Reported by: | Ramiro Morales | Owned by: | Ramiro Morales |
---|---|---|---|
Component: | Internationalization | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
When it copies the plural form formula header line from Django translations it can insert a line with a triling newline:
This is mostly a correctness issue rarely seen in final PO files as makemessages usually runs
the resulting PO file through additional invocations of gettext tools which can correct the issue in case the plural forms formula PO header line is the last one.
Change History (5)
comment:1 by , 8 years ago
Description: | modified (diff) |
---|
comment:2 by , 8 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 8 years ago
Has patch: | set |
---|---|
Triage Stage: | Unreviewed → Ready for checkin |
Note:
See TracTickets
for help on using tickets.
Fixed by PR 6645 according to the commit message there.