You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please remark that the first and the 5th lines contain a # comment followed by a space (# ) and not just a #
When lingui reads and updates such .po files, the trailing space is stripped out (that is, the lines # become #).
Describe the bug
The .po files downloaded from Transifex start with some translator comments, for example:
Please remark that the first and the 5th lines contain a
#
comment followed by a space (#
) and not just a#
When lingui reads and updates such .po files, the trailing space is stripped out (that is, the lines
#
become#
).As per the gettext specs, translator comments always start with a
#
followed by a space:So, lingui should keep those trailing spaces
To Reproduce
lingui extract
#
followed by a space)lingui extract
again#
NOT followed by a spaceExpected behavior
Lines
#
should still be#
and not#
when lingui regenerates them.The text was updated successfully, but these errors were encountered: