You are viewing a plain text version of this content. The canonical link for it is here.
Posted to zeta-issues@incubator.apache.org by "Tobias Schlitt (JIRA)" <ji...@apache.org> on 2010/07/30 11:44:18 UTC
[jira] Updated: (ZETACOMP-2) Extractor does not extract comment
[ https://issues.apache.org/jira/browse/ZETACOMP-2?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tobias Schlitt updated ZETACOMP-2:
----------------------------------
Summary: Extractor does not extract comment (was: [TemplateTranslationTieIn] )
Priority: Major (was: Critical)
Component/s: TemplateTranslationTiein
> 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
> 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.
-
You can reply to this email to add a comment to the issue online.