WP Punk
WP Punk

Reputation: 1444

wppot gulp change path

I have next compiled code:

#: path/from/gulp-folder/to/project-folder/tpl.default.php:121
msgid "Email"
msgstr ""

But I need:

#: tpl.default.php:121
msgid "Email"
msgstr ""

My gulp task:

return gulp.src( pathToProject + '/**/*' )
    .pipe(sort())
    .pipe(wpPot( {
        domain        : text_domain,
        package       : packageName,
        bugReport     : bugReport,
        lastTranslator: lastTranslator,
        team          : team
} ))
.pipe(gulp.dest('/languages/'))

How I can change this compiled code?

Upvotes: 1

Views: 34

Answers (0)

Related Questions