We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Awesome package. No doubt about it. First of all, Thanks to you a lot.
Here are my config lines... const config = { babel: { presets: ['@babel/preset-env'] }, wp_textdomain: { src: [ '**/*', '!.git/**', '!node_modules/**', '!.browserslistrc', '!.eslintrc', '!.gitignore', '!gulpfile.js', '!package.json', '!package-lock.json', '!phpcs.xml' ], }, };
const config = { babel: { presets: ['@babel/preset-env'] }, wp_textdomain: { src: [ '**/*', '!.git/**', '!node_modules/**', '!.browserslistrc', '!.eslintrc', '!.gitignore', '!gulpfile.js', '!package.json', '!package-lock.json', '!phpcs.xml' ], }, };
Gulp task making...
gulp.task('textdomain', function() { return gulp .src( config.wp_textdomain.src ) .pipe( wptextdomain( '**/*.php', { domain: 'woo-feed', //Specify allowed domain(s) fix: true, keywords: [ //List keyword specifications '__:1,2d', '_e:1,2d', '_x:1,2c,3d', 'esc_html__:1,2d', 'esc_html_e:1,2d', 'esc_html_x:1,2c,3d', 'esc_attr__:1,2d', 'esc_attr_e:1,2d', 'esc_attr_x:1,2c,3d', '_ex:1,2c,3d', '_n:1,2,4d', '_nx:1,2,4c,5d', '_n_noop:1,2,3d', '_nx_noop:1,2,3c,4d' ], })); });
The error shows like below...
please fix it out..
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Awesome package. No doubt about it. First of all, Thanks to you a lot.
Here are my config lines...
const config = { babel: { presets: ['@babel/preset-env'] }, wp_textdomain: { src: [ '**/*', '!.git/**', '!node_modules/**', '!.browserslistrc', '!.eslintrc', '!.gitignore', '!gulpfile.js', '!package.json', '!package-lock.json', '!phpcs.xml' ], }, };
Gulp task making...
gulp.task('textdomain', function() { return gulp .src( config.wp_textdomain.src ) .pipe( wptextdomain( '**/*.php', { domain: 'woo-feed', //Specify allowed domain(s) fix: true, keywords: [ //List keyword specifications '__:1,2d', '_e:1,2d', '_x:1,2c,3d', 'esc_html__:1,2d', 'esc_html_e:1,2d', 'esc_html_x:1,2c,3d', 'esc_attr__:1,2d', 'esc_attr_e:1,2d', 'esc_attr_x:1,2c,3d', '_ex:1,2c,3d', '_n:1,2,4d', '_nx:1,2,4c,5d', '_n_noop:1,2,3d', '_nx_noop:1,2,3c,4d' ], })); });
The error shows like below...
please fix it out..
The text was updated successfully, but these errors were encountered: