Closed (outdated)
Project:
Translation template extractor
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
3 Dec 2015 at 17:28 UTC
Updated:
3 Sep 2026 at 18:51 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
herom commentedModified the code to parse the Yaml files as late as possible. But, that meant some files might get parsed multiple times, so I'm also storing the last parsed parsed yaml.
Let's see if this works.
Comment #3
gábor hojtsyHow does this patch solve the issue title / summary?
Comment #4
herom commentedThis part does that.
_potx_parse_yaml_file()is called for any yaml files we see. But it used to parse the yaml files early on, before checking its name pattern. Now, we only parse it (inside theifs) when we are sure that it has one of the known file name patterns.Comment #5
heddn7.x branch of this code is not actively supported. If this is still an issue in a more modern version of drupal, feel free to re-open.