Skip to content

Commit

Permalink
Re-add i18n related scripts/tasks (#2958)
Browse files Browse the repository at this point in the history
Scripts were accidentally removed in PR #2643.
  • Loading branch information
strarsis authored Feb 8, 2022
1 parent 85366ae commit 9857121
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@
"lint": "npm run lint:js && npm run lint:css",
"lint:js": "eslint resources/scripts",
"lint:css": "stylelint \"resources/**/*.{css,scss,vue}\"",
"test": "npm run lint"
"test": "npm run lint",
"translate": "npm run translate:pot && npm run translate:js",
"translate:pot": "wp i18n make-pot . ./resources/lang/sage.pot --ignore-domain --include=\"app,resources\"",
"translate:js": "wp i18n make-json ./resources/lang --pretty-print"
},
"devDependencies": {
"@roots/bud": "^5.2.0",
Expand Down

0 comments on commit 9857121

Please sign in to comment.