grunt-pot icon indicating copy to clipboard operation
grunt-pot copied to clipboard

Not recognizing package name and version header options

Open andriiryzhkov opened this issue 10 years ago • 2 comments

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.

andriiryzhkov avatar Jan 03 '15 14:01 andriiryzhkov

I have the same issue. Commenting the same lines in pot.js has fixed the problem.

sdum avatar Dec 10 '15 14:12 sdum

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.

TimVevida avatar Jul 05 '16 13:07 TimVevida