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
When I open this first example in Poedit 3 (6387), it does not highlight the message as needing translation (orange colored), like I expect. It seems like the formatting of the flag line is responsible for this behaviour, since Poedit behaves as I expect when using the flags
…should for pragmatic reason also be the reference implementation, GNU gettext. Which always use the space.
Therefore, my interpretation is that Poedit should treat whitespaces as optional and highlight the message in all the examples I gave.
I agree, and will accept a PR addressing this. Given that it only is an issue with atypical/nonstandard PO files, I'm unlikely to find time for it myself anytime soon, though. Thanks!
Here is a PO message example:
When I open this first example in Poedit 3 (6387), it does not highlight the message as needing translation (orange colored), like I expect. It seems like the formatting of the flag line is responsible for this behaviour, since Poedit behaves as I expect when using the flags
(note the extra whitespace) and
My references concerning the PO format are https://www.gnu.org/software/gettext/manual/html_node/PO-Files.html and http://pology.nedohodnik.net/doc/user/en_US/ch-poformat.html, and both specify that the flags line is a comma-separated list of keywords, whithout clarifying if whitespaces are mandatory. Therefore, my interpretation is that Poedit should treat whitespaces as optional and highlight the message in all the examples I gave.
The text was updated successfully, but these errors were encountered: