Fix loading of makepot
task for pot translation file generation
This commit is contained in:
@ -60,6 +60,9 @@ module.exports = function (grunt) {
|
||||
}
|
||||
});
|
||||
|
||||
grunt.loadNpmTasks('grunt-shell');
|
||||
grunt.loadNpmTasks( 'grunt-wp-i18n' );
|
||||
|
||||
// set base
|
||||
grunt.file.setBase(base_path);
|
||||
|
||||
@ -77,4 +80,4 @@ module.exports = function (grunt) {
|
||||
grunt.registerTask('pushpot', ['shell:txpush']);
|
||||
grunt.registerTask('update', ['makepot', 'shell:txpush']);
|
||||
}
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user