bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Syntax error with "lone" #| msgctxt ?


From: Jean-Christophe Helary
Subject: Syntax error with "lone" #| msgctxt ?
Date: Tue, 5 Jul 2022 22:10:50 +0900

I have PO files that I am translating in OmegaT. A number of items come with #| 
msgtxt data. For ex.

#: path
#, fuzzy
#| msgctxt "context"
#| msgid "old message ID"
msgid "new message ID"
msgstr "old message string"

After translation in OmegaT, the translated file becomes:

#: path
#| msgctxt "context"
msgid "new message ID"
msgstr "new message string"

When this file is opened in POEdit, a syntax error is generated because of the 
remnant

#| msgctxt "context"

part.

I've checked the PO format documentation on the GNU site, and I'm not seeing 
any reference to potential syntax errors there.

https://www.gnu.org/software/gettext/manual/html_node/PO-Files.html

Am I missing something ?

-- 
Jean-Christophe Helary @brandelune
https://mac4translators.blogspot.com
https://sr.ht/~brandelune/omegat-as-a-book/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]