From 0b519036efe075c357235fe93039c53d22c9dfb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Sun, 29 Dec 2024 12:57:27 +0000 Subject: [PATCH] Fix pot file name --- check-translations.sh | 2 +- convert_csv.sh | 2 +- gulpfile.js | 2 +- languages/{en_GB.pot => mollie-payments-for-woocommerce.pot} | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename languages/{en_GB.pot => mollie-payments-for-woocommerce.pot} (100%) diff --git a/check-translations.sh b/check-translations.sh index bfbce4f46..2f5dc6529 100644 --- a/check-translations.sh +++ b/check-translations.sh @@ -1,7 +1,7 @@ #! /bin/bash #copy potFile -cp en_GB.pot en_GB.po +cp mollie-payments-for-woocommerce.pot en_GB.po echo "en_GB.po created" #remove header sed -i '' -e '1,17d' en_GB.po diff --git a/convert_csv.sh b/convert_csv.sh index 26fe95e95..bf7b12c36 100755 --- a/convert_csv.sh +++ b/convert_csv.sh @@ -2,7 +2,7 @@ cd languages || exit -POT_FILE="en_GB.pot" +POT_FILE="mollie-payments-for-woocommerce.pot" CSV_DIR="untranslated_csv" LANG_EXT=("-de_DE" "-de_DE_formal" "-es_ES" "-fr_FR" "-it_IT" "-nl_NL" "-nl_NL_formal" "-nl_BE" "-nl_BE_formal") diff --git a/gulpfile.js b/gulpfile.js index bd3565166..f72fe0269 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -278,7 +278,7 @@ function _archive({baseDir, buildDir, distDir, packageVersion, packageName}) { function _generatePotFile ({buildDir, langDir}) { return async function generatePotFile (done) { wpPot({ - destFile: `languages/en_GB.pot`, + destFile: `languages/mollie-payments-for-woocommerce.pot`, includePOTCreationDate: false, src: [ `mollie-payments-for-woocommerce.php`, diff --git a/languages/en_GB.pot b/languages/mollie-payments-for-woocommerce.pot similarity index 100% rename from languages/en_GB.pot rename to languages/mollie-payments-for-woocommerce.pot