Add xgettext task to extract translatable messages
The task was lost by changeset 1e23c5d90e13 issue6414 review38291002
This commit is contained in:
1 parent
c549a3aeb8
commit
0e8e6921c9
1 file changed
+4
@@ -149,6 +149,10 @@ module.exports = function(grunt) {
|
||||
grunt.loadNpmTasks('grunt-shell');
|
||||
grunt.task.run(['shell:msgmerge']);
|
||||
});
|
||||
grunt.registerTask('xgettext', ' Extracts translatable messages', function() {
|
||||
grunt.loadNpmTasks('grunt-xgettext');
|
||||
grunt.task.run(['xgettext']);
|
||||
});
|
||||
grunt.registerTask('test', 'Run tests', function() {
|
||||
grunt.loadNpmTasks('grunt-contrib-concat');
|
||||
grunt.loadNpmTasks('grunt-contrib-jshint');
|
||||
|
||||
Reference in new issue
Block a user