Extracts l10n strings from jade files to a gettext .pot file
MIT License
Extracts l10n strings from jade files to a gettext .pot file
$ npm install --save-dev gulp-jade-l10n-extractor
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'));
});
Type: string
gettext file name
MIT © Vahe Hovhannisyan