Extract localization strings from js files

This commit is contained in:
Dmitriy Simushev 2014-08-18 09:23:15 +00:00
parent 17d7014da9
commit 46a8345de2

View File

@ -165,6 +165,13 @@ gulp.task('generate-pot', function() {
{name: 'getlocal'}
]
})),
gulp.src(config.jsPath + '/source/**/*.js', {base: config.mibewPath})
.pipe(xgettext({
language: 'JavaScript',
keywords: [
{name: 'trans'}
]
})),
gulp.src([
config.chatStylesPath + '/default/templates_src/**/*.handlebars',
config.pageStylesPath + '/default/templates_src/**/*.handlebars'