Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
All
Description
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;