🌐 Include theme.json; patterns/ in translation scan command (#3076)

This commit is contained in:
strarsis
2023-12-08 17:25:42 +01:00
committed by GitHub
parent 00691cbeac
commit 2208c11c62

View File

@@ -12,7 +12,7 @@
"dev": "bud dev",
"build": "bud build",
"translate": "yarn translate:pot && yarn translate:update",
"translate:pot": "wp i18n make-pot . ./resources/lang/sage.pot --include=\"app,resources\"",
"translate:pot": "wp i18n make-pot . ./resources/lang/sage.pot --include=\"theme.json,patterns,app,resources\"",
"translate:update": "wp i18n update-po ./resources/lang/sage.pot ./resources/lang/*.po",
"translate:compile": "yarn translate:mo && yarn translate:js",
"translate:js": "wp i18n make-json ./resources/lang --pretty-print",