Closed (fixed)
Project:
Translation template extractor
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
10 Jun 2014 at 07:37 UTC
Updated:
27 Sep 2014 at 23:03 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
gábor hojtsyErm, is that the new string structure used by twig then? Why was "token." added? What other things are possible there?
Comment #2
herom commentedNo, "token" wasn't anything specific. It could be any {{ object.property }} printed in the twig code.
Better example from the {% trans %} change record:
Twig Source
Generated Translation string
Before:
Now:
Comment #3
gábor hojtsyOk, can you update the test than to include multiple token providers, not just 'token'? I think that would make understanding the intention better. Now that the variable is $token in the parsing code and also in the twig file is misleading/confusing. Thanks!
Comment #4
herom commentedtest updated.
Comment #5
gábor hojtsyLooks great, thanks.
Comment #7
gábor hojtsyRight status.
Comment #10
SebCorbin commentedPorted to 7.x-3.x as it has been branched directly from 6.x-3.x