From 7e672e8f4d3a73214eee8638784f9059c8e2a8e5 Mon Sep 17 00:00:00 2001 From: Sergei Maertens Date: Mon, 25 Nov 2024 14:38:54 +0100 Subject: [PATCH 1/2] :hammer: [open-formulieren/open-forms#4849] Fix script to extract translations .js and .jsx files must be considered now. --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 0c7e8db82..1dd2f6e10 100644 --- a/package.json +++ b/package.json @@ -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", From e98e2be3753e09ee96f909d42b466feb31c39b49 Mon Sep 17 00:00:00 2001 From: Sergei Maertens Date: Mon, 25 Nov 2024 14:40:36 +0100 Subject: [PATCH 2/2] :globe_with_meridians: [open-formulieren/open-forms#4849] Update Dutch translations --- src/i18n/messages/nl.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i18n/messages/nl.json b/src/i18n/messages/nl.json index b0f07e185..ff87a0823 100644 --- a/src/i18n/messages/nl.json +++ b/src/i18n/messages/nl.json @@ -127,7 +127,7 @@ "originalDefault": "Invalid enum value. Expected {expected}, received {received}." }, "7v8PR6": { - "defaultMessage": "Your session has expired. Click here to restart.", + "defaultMessage": "Je sessie is verlopen. Klik hier om opnieuw te beginnen.", "description": "Session expired error message", "originalDefault": "Your session has expired. Click here to restart." },