Sha256: db1bf76127480e1e747e4d553debfcc3265efa5c5f9afcb97f5173bb961a396b

Contents?: true

Size: 1.15 KB

Versions: 10

Compression:

Stored size: 1.15 KB

Contents

module.exports = function (grunt) {
    grunt.initConfig({
        nggettext_extract: {
            pot: {
                files: {
                    'app/assets/locales/templates.pot': ['app/views/angular/**/*.html',
                                                        'app/views/angular/**/*.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

10 entries across 10 versions & 2 rubygems

Version Path
faalis-1.0.0 lib/generators/faalis/templates/i18n/Gruntfile.js.erb
dashstrap-1.1.0 lib/tasks/grunt/Gruntfile.js
dashstrap-1.0.0 lib/tasks/grunt/Gruntfile.js
dashstrap-0.2.3 lib/tasks/grunt/Gruntfile.js
faalis-1.0.0.alpha4 lib/generators/faalis/templates/i18n/Gruntfile.js.erb
dashstrap-0.2.2 lib/tasks/grunt/Gruntfile.js
faalis-1.0.0.alpha3 lib/generators/faalis/templates/i18n/Gruntfile.js.erb
dashstrap-0.2.1 lib/tasks/grunt/Gruntfile.js
dashstrap-0.2.0 lib/tasks/grunt/Gruntfile.js
faalis-1.0.0.alpha2 lib/generators/faalis/templates/i18n/Gruntfile.js.erb