1.0.2 • Published 9 years ago

gulp-jade-l10n-extractor v1.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

gulp-jade-l10n-extractor

Extracts l10n strings from jade files to a gettext .pot file

Install

$ npm install --save-dev gulp-jade-l10n-extractor

Usage

var gulp = require('gulp');
var jadeL10nExtractor = require('gulp-jade-l10n-extractor');

gulp.task('default', function () {
  return gulp.src('templates/*.jade')
    .pipe(jadeL10nExtractor({
      filename: 'messages.pot'
    }))
    .pipe(gulp.dest('l10n/templates'));
});

API

jadeL10nExtractor(options)

rev.manifest(path, options)

options

filename

Type: string

gettext file name

License

MIT © Vahe Hovhannisyan