[
https://issues.apache.org/jira/browse/ZETACOMP-2?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jérôme Renard closed ZETACOMP-2.
--------------------------------
Resolution: Fixed
Assignee: Jérôme Renard
Fixed in rev. 1153790
> Extractor does not extract comment
> ----------------------------------
>
> Key: ZETACOMP-2
> URL: https://issues.apache.org/jira/browse/ZETACOMP-2
> Project: Zeta Components
> Issue Type: Bug
> Components: TemplateTranslationTiein
> Environment: All
> Reporter: Maxime THOMAS - Wascou.org
> Assignee: Jérôme Renard
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> If I run the extractor against tpl files containing the following code, the
> comment are not extracted.
> {tr_context "bla"}
> {tr "blabla" comment "blibli"}
> In the file "visitors/string_extracter.php" and in the function
> "visitTranslationTstNode", fix the following line :
> $comment = $node->comment ? $node->comment->accept($this)->value :
> null;
> By :
> $comment = $node->comment ? $node->comment->value : null;
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira