[Po4a-devel] <!--#include ...> regression in Po4a 0.33

Kaloian Doganov kaloian at doganov.org
Mon Mar 10 21:16:47 UTC 2008


All my XHTML files start with the following line:

    <!--#include virtual="/server/header.html" -->

Which I do not want to be translated, neither the specified file parsed
and included.  Unfortunately, Po4a 0.33 started [1] to treat this line
as translatable content which goes to the resulting POT file:

    # type: Content of: outside any tag (error?)
    #: ../../philosophy/po/java-trap.proto:1
    msgid "<!--#include virtual=\"/server/header.html\" -->"
    msgstr ""

How can I supress this behaviour and get those comments untranslatable
again?


[1] The last version before 0.33 that I've tried was CVS snapshot
    2008-01-29, and there was no such problem there.




More information about the Po4a-devel mailing list