This minimal test case shows two things concerning the gulp-wp-pot
/wp-pot
package.
If you use a translation string that has a placeholder (e.g. %s
or %1$s
) in multiple files, the plugin extracts these correctly.
But it outputs the comment for each time is was used, so there are duplicates filling up the resulting .pot file.
See result.pot
, lines 17-18.