Sha256: bddde6d41c4e4f6166cba32fae08deab6d3fd7fb0e215fd191a3acde38332ea9
Contents?: true
Size: 1.17 KB
Versions: 2
Compression:
Stored size: 1.17 KB
Contents
module.exports = function (grunt) { grunt.initConfig({ nggettext_extract: { pot: { files: { 'app/assets/locales/templates.pot': ['app/views/angularjs_templates/**/*.html', 'app/views/angularjs_templates/**/*.html.erb', 'app/assets/javascripts/**/*.js', 'app/assets/javascripts/**/*.js', 'app/assets/javascripts/**/*.coffee', 'app/assets/javascripts/**/*.coffee.erb'] } } }, nggettext_compile: { all: { options: { module: "Dashboard" }, files: { 'app/assets/javascripts/locales/translations.fa.js': ['app/assets/locales/*.fa.pot'] } } } }); grunt.loadNpmTasks('grunt-angular-gettext'); grunt.registerTask('default', ['nggettext_extract', 'nggettext_compile']); };
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
dashstrap-0.1.0 | lib/tasks/grunt/Gruntfile.js |
faalis-1.0.0.alpha1 | lib/generators/faalis/templates/i18n/Gruntfile.js.erb |