Skip to content

Commit

Permalink
🔨 [open-formulieren/open-forms#4849] Fix script to extract translations
Browse files Browse the repository at this point in the history
.js and .jsx files must be considered now.
  • Loading branch information
sergei-maertens committed Nov 25, 2024
1 parent f4a8e1a commit 7e672e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@
"test:storybook": "test-storybook --coverage",
"clean": "rimraf dist/*",
"prepare-package": "node scripts/prepare-package.js",
"makemessages-en": "formatjs extract 'src/**/*.js' --format scripts/i18n-formatter.js --out-file src/i18n/messages/en.json --id-interpolation-pattern '[sha512:contenthash:base64:6]'",
"makemessages-nl": "formatjs extract 'src/**/*.js' --format scripts/i18n-formatter.js --out-file src/i18n/messages/nl.json --id-interpolation-pattern '[sha512:contenthash:base64:6]'",
"makemessages-en": "formatjs extract 'src/**/*.{js,jsx}' --format scripts/i18n-formatter.js --out-file src/i18n/messages/en.json --id-interpolation-pattern '[sha512:contenthash:base64:6]'",
"makemessages-nl": "formatjs extract 'src/**/*.{js,jsx}' --format scripts/i18n-formatter.js --out-file src/i18n/messages/nl.json --id-interpolation-pattern '[sha512:contenthash:base64:6]'",
"makemessages": "npm run makemessages-nl && npm run makemessages-en",
"compilemessages": "formatjs compile-folder --ast src/i18n/messages src/i18n/compiled",
"build:design-tokens": "npm run build --workspace=design-tokens",
Expand Down

0 comments on commit 7e672e8

Please sign in to comment.