Skip to content

Commit

Permalink
fix: pot file slug
Browse files Browse the repository at this point in the history
  • Loading branch information
abaicus committed May 17, 2024
1 parent 9035cea commit 27788de
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"php": ">=5.6"
},
"scripts": {
"pot": "./vendor/bin/wp i18n make-pot . languages/jadro.pot --exclude=deploy,vendor --headers='{\"POT-Creation-Date\":\"\"}'",
"pot": "./vendor/bin/wp i18n make-pot . languages/jadro.pot --exclude=deploy,vendor --headers='{\"POT-Creation-Date\":\"\"}' --slug=jadro",
"pc:info": "@php ./vendor/bin/phpcs -i",
"pc:config": "@php ./vendor/bin/phpcs --config-show",
"lint": "@php ./vendor/bin/phpcs --report-full --report-summary .",
Expand Down
11 changes: 4 additions & 7 deletions languages/jadro.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# This file is distributed under the GNU General Public License v2 or later.
msgid ""
msgstr ""
"Project-Id-Version: Jadro 1.0.1\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/theme/jadrowp\n"
"Project-Id-Version: Jadro 1.0.2\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/theme/jadro\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
Expand All @@ -22,7 +22,8 @@ msgid "Jadro"
msgstr ""

#. Theme URI of the theme
msgid "https://jadrowp.com/"
#: patterns/footer.php:101
msgid "https://wpshout.com/jadro/"
msgstr ""

#. Description of the theme
Expand Down Expand Up @@ -223,10 +224,6 @@ msgstr ""
msgid "Terms &amp; Conditions"
msgstr ""

#: patterns/footer.php:101
msgid "https://wpshout.com/jadro/"
msgstr ""

#. translators: 1: Theme name, 2: Theme author.
#: patterns/footer.php:110
msgid "Powered by WordPress"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"version": "easy-replace-in-files",
"ready": "pnpm run version && pnpm run pot && shx rm -rf assets/ && pnpm run prod && pnpm run rtl",
"predeploy": "pnpm run ready",
"deploy": "shx rm -rf deploy/ && shx mkdir deploy && copy-files-from-to --silent && shx cp theme.json ./deploy/temp/ && cd deploy/ && cross-var shx mv temp $npm_package_name && cross-var bestzip ../$npm_package_name.zip * && cd .. && cross-var shx mv $npm_package_name.zip deploy/"
"deploy": "pnpm run predeploy && shx rm -rf deploy/ && shx mkdir deploy && copy-files-from-to --silent && shx cp theme.json ./deploy/temp/ && cd deploy/ && cross-var shx mv temp $npm_package_name && cross-var bestzip ../$npm_package_name.zip * && cd .. && cross-var shx mv $npm_package_name.zip deploy/"
},
"browserslist": "> 1%, not dead",
"rtlcssConfig": {
Expand Down

0 comments on commit 27788de

Please sign in to comment.