gulp-jade-l10n-extractor

1.0.2 • Public • Published

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

Package Sidebar

Install

npm i gulp-jade-l10n-extractor

Weekly Downloads

2

Version

1.0.2

License

MIT

Last publish

Collaborators

  • vhpoet