Last active
October 5, 2020 03:47
-
-
Save grappler/10187003 to your computer and use it in GitHub Desktop.
https://webtranslateit.com/en/docs/web_translate_it_client/ / http://docs.transifex.com/developer/client/ Run this command in the folder to install all of the files needed. `npm install --save-dev`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function(grunt) { | |
require('load-grunt-tasks')(grunt); | |
// Project configuration. | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
exec: { | |
update_po: { | |
cmd: 'tx pull -a --minimum-perc=100' | |
} | |
}, | |
po2mo: { | |
files: { | |
src: 'languages/*.po', | |
expand: true, | |
}, | |
} | |
}); | |
// Default task(s). | |
grunt.registerTask( 'default', [ 'exec', 'po2mo' ] ); | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "grapplerulrich", | |
"version": "1.0.0", | |
"devDependencies": { | |
"grunt": "~0.4.1", | |
"grunt-po2mo": "~0.1.0", | |
"load-grunt-tasks": "~0.2.0", | |
"grunt-exec": "~0.4.5" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment