Closed brazabr closed 7 years ago
@brazabr I've committed a fix to the master branch, give it a try and let me know if it resolves the problem for you.
@toolstack Yes, I tested now and it is working. It worked both on new project as well as updating the existing one.
Ok, I'll do a release later today on it.
Resolved with version 0.7 release.
I installed this plugin and setup it to extract the source files from GitHub repositories.
When the originals are extracted, every reference to the source file has a prefix with the repository name + tag/branch.
For example: If I type something like this:
https://github.com/user/repo/archive/0.3.0.zip
Every source file reference includes arepo-0.3.0/
prefix to the%file%
template tag when building the link to the source file which makes an invalid link (404 on GitHub).The system works fine if I import the originals from the POT file.
According to our discussion on Slack, the problem is related to the starting folder to extract translations after downloading the archive: https://github.com/toolstack/gp-auto-extract/blob/master/gp-auto-extract.php#L130-L151