From d94ed1a843fd3585d1fbb3857d851067384ea3be Mon Sep 17 00:00:00 2001 From: Ron Rennick Date: Wed, 10 Apr 2024 16:59:47 -0300 Subject: [PATCH] update makepot command to use include vs exclude (#46287) * update makepot command to use include vs exclude * add the changelog --------- Co-authored-by: Ron Rennick --- plugins/woocommerce/changelog/fix-38192 | 4 ++++ plugins/woocommerce/composer.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 plugins/woocommerce/changelog/fix-38192 diff --git a/plugins/woocommerce/changelog/fix-38192 b/plugins/woocommerce/changelog/fix-38192 new file mode 100644 index 0000000000000..202ba436b065e --- /dev/null +++ b/plugins/woocommerce/changelog/fix-38192 @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +update makepot command to use include vs exclude diff --git a/plugins/woocommerce/composer.json b/plugins/woocommerce/composer.json index aad399f8eb909..80650d6ff1f9c 100644 --- a/plugins/woocommerce/composer.json +++ b/plugins/woocommerce/composer.json @@ -113,7 +113,7 @@ "phpcbf -p" ], "makepot-audit": [ - "wp --allow-root i18n make-pot . --exclude=\".github,.wordpress-org,bin,sample-data,node_modules,tests\" --slug=woocommerce" + "wp --allow-root i18n make-pot . --include=\"woocommerce.php,client,i18n,includes,lib,packages,patterns,src,templates\" --slug=woocommerce" ], "makepot": [ "@makepot-audit --skip-audit"