wp-cli / i18n-command

Provides internationalization tools for WordPress projects.
MIT License
96 stars 52 forks source link

Add file references for plugin/theme headers #377

Closed swissspidy closed 6 months ago

swissspidy commented 7 months ago

Fixes #376

swissspidy commented 7 months ago

FYI @ocean90 — would like to know if you think this makes sense or not.

swissspidy commented 7 months ago

Yeah I thought about that as well. Always thought that requires a more complex solution (see #65) but maybe using PREG_OFFSET_CAPTURE would suffice (see this SO post). I'll see how feasible it is and otherwise will file a follow-up issue.

Edit: simply reopened and repurposed #65

swissspidy commented 6 months ago

@wp-cli/committers would appreciate a quick review here so I can merge this