I'm trying to generate a .pot file from my plugin but I it keeps failing.
Here is the error message .
D:\wamp\www\wordpress-clean\wp-content\plugins\drivers-handbook-guideline>grunt i18n
Running "addtextdomain:update_all_domains" (addtextdomain) task
Running "makepot:target" (makepot) task
Warning: Cannot read property 'pot-creation-date' of undefined Use --force to continue.
Aborted due to warnings.
Other Info :
grunt-cli v1.2.0
grunt v0.4.5
nodejs v9.11.1
If anyone would ever encounter this error from grunt.
The solution is to change the potFilename inside your GruntFile.js"test-plugin.pot" to "test-plugin-translation.pot"
I'm trying to generate a .pot file from my plugin but I it keeps failing. Here is the error message .
Other Info : grunt-cli v1.2.0 grunt v0.4.5 nodejs v9.11.1