🌐 Include theme.json; patterns/ in translation scan command (#3076)
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user