rubenv / angular-gettext-tools

Tools for extracting/compiling angular-gettext strings.
http://angular-gettext.rocketeer.be/
MIT License
39 stars 129 forks source link

Add *.po file headers #154

Open StVolodymyr opened 8 years ago

StVolodymyr commented 8 years ago

Extend hardcoded headers for *.po file

grunt.initConfig({
  nggettext_extract: {
    pot: {
      options:{
        headers: {
          'Language': 'en_US'
        }
      },
      files: {
        'po/template.pot': ['src/views/*.html']
      }
    },
  },
})