Uploaded image for project: 'Zeta Components'
  1. Zeta Components
  2. ZETACOMP-2

Extractor does not extract comment

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

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;

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jeromer Jérôme Renard
            wascou Maxime THOMAS - Wascou.org
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified

                Slack

                  Issue deployment