Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wp-pot/gulp-wp-pot
Gulp plugin to generate pot file for WordPress plugins and themes
https://github.com/wp-pot/gulp-wp-pot
gulp hacktoberfest poedit pot translator wordpress wp-pot
Last synced: 13 days ago
JSON representation
Gulp plugin to generate pot file for WordPress plugins and themes
- Host: GitHub
- URL: https://github.com/wp-pot/gulp-wp-pot
- Owner: wp-pot
- License: mit
- Created: 2015-06-04T11:13:27.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-10-08T18:06:38.000Z (about 1 month ago)
- Last Synced: 2024-10-12T15:16:27.885Z (about 1 month ago)
- Topics: gulp, hacktoberfest, poedit, pot, translator, wordpress, wp-pot
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/gulp-wp-pot
- Size: 1.14 MB
- Stars: 70
- Watchers: 4
- Forks: 9
- Open Issues: 11
-
Metadata Files:
- Readme: readme.md
- Contributing: contributing.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# gulp-wp-pot
## Information
[![npm version](https://badge.fury.io/js/gulp-wp-pot.svg)](https://www.npmjs.com/package/gulp-wp-pot) [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/wp-pot/gulp-wp-pot/Node%20CI/master)](https://github.com/wp-pot/gulp-wp-pot/actions) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/wp-pot/gulp-wp-pot/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/wp-pot/gulp-wp-pot/?branch=master) [![Code Coverage](https://scrutinizer-ci.com/g/wp-pot/gulp-wp-pot/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/wp-pot/gulp-wp-pot/?branch=master)
| Package | gulp-wp-pot |
| ----------- | ---------------------------------------------------- |
| Description | Gulp wrapper for [wp-pot](https://github.com/wp-pot/wp-pot). Generates pot files for WordPress plugins and themes. |## Like my work and want to say thanks?
Do it here:## Install
```
$ npm install --save-dev gulp-wp-pot
```## Example usage with [Gulp](http://github.com/gulpjs/gulp)
```js
var gulp = require('gulp');
var wpPot = require('gulp-wp-pot');gulp.task('default', function () {
return gulp.src('src/*.php')
.pipe(wpPot( {
domain: 'domain',
package: 'Example project'
} ))
.pipe(gulp.dest('file.pot'));
});
```## wpPot({options})
See available options in the wp-pot readme, https://github.com/wp-pot/wp-pot#options
All options except src and writeFile is passed to wp-pot.## Related
- [wp-pot](https://github.com/wp-pot/wp-pot) - API for this module
- [wp-pot-cli](https://github.com/wp-pot/wp-pot-cli) - Run wp-pot via cli command## License
MIT © [Rasmus Bengtsson](https://github.com/rasmusbe) | Initial work by [Willy Bahuaud](https://github.com/willybahuaud)