mirror of
https://github.com/Mibew/mibew.git
synced 2025-03-03 18:38:31 +03:00
Extract localization strings from js files
This commit is contained in:
parent
17d7014da9
commit
46a8345de2
@ -165,6 +165,13 @@ gulp.task('generate-pot', function() {
|
|||||||
{name: 'getlocal'}
|
{name: 'getlocal'}
|
||||||
]
|
]
|
||||||
})),
|
})),
|
||||||
|
gulp.src(config.jsPath + '/source/**/*.js', {base: config.mibewPath})
|
||||||
|
.pipe(xgettext({
|
||||||
|
language: 'JavaScript',
|
||||||
|
keywords: [
|
||||||
|
{name: 'trans'}
|
||||||
|
]
|
||||||
|
})),
|
||||||
gulp.src([
|
gulp.src([
|
||||||
config.chatStylesPath + '/default/templates_src/**/*.handlebars',
|
config.chatStylesPath + '/default/templates_src/**/*.handlebars',
|
||||||
config.pageStylesPath + '/default/templates_src/**/*.handlebars'
|
config.pageStylesPath + '/default/templates_src/**/*.handlebars'
|
||||||
|
Loading…
Reference in New Issue
Block a user