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

Nicolas François nicolas.francois at centraliens.net
Sat Mar 15 01:37:30 UTC 2008


Hello,

On Mon, Mar 10, 2008 at 11:16:47PM +0200, kaloian at doganov.org wrote:
> 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?

I've fixed it is CVS (the comments will only be translated if the
includessi option is set).

I will release a new version this week-end.
(With a fix for the installation path)

Best Regards,
-- 
Nekral



More information about the Po4a-devel mailing list