grunt-pot
grunt-pot copied to clipboard
Not recognizing package name and version header options
Runnig grunt-pot on Windows with gettext-0.14.4 installed. Xgettext does not recognize --package-version and --package-name options.
Running "pot:files" (pot) task Destination: lang/roots.pot Warning: Command failed: xgettext: unrecognized option --package-name=roots Try (null) --help for more information. Use --force to continue.
Aborted due to warnings.
If I comment corresponding lines in pot.js
file, task runs without errors.
I have the same issue. Commenting the same lines in pot.js has fixed the problem.
Instead of modifying the source code, assigning false to both package_name and package_version bugfixes this issue as well - but is no real solution.