diff --git a/webapp/boards/i18n/en.json b/webapp/boards/i18n/en.json index a913658a73..2fe9b2c5fa 100644 --- a/webapp/boards/i18n/en.json +++ b/webapp/boards/i18n/en.json @@ -453,4 +453,4 @@ "tutorial_tip.ok": "Next", "tutorial_tip.out": "Opt out of these tips.", "tutorial_tip.seen": "Seen this before?" -} \ No newline at end of file +} diff --git a/webapp/boards/package.json b/webapp/boards/package.json index 4ec669e8bf..6a16614cd5 100644 --- a/webapp/boards/package.json +++ b/webapp/boards/package.json @@ -4,7 +4,6 @@ "private": true, "description": "", "scripts": { - "i18n-extract": "formatjs extract \"src/**/*.{ts,tsx}\" --ignore \"**/*.d.ts\" --out-file i18n/tmp.json && formatjs compile i18n/tmp.json --out-file i18n/en.json && npx rimraf i18n/tmp.json", "build": "webpack --mode=production", "build:watch": "webpack --mode=production --watch", "start:product": "webpack serve --mode=development", @@ -18,6 +17,7 @@ "check-types": "tsc -b", "check-types:fix": "npm run check-types -- --noEmit --fix", "check": "npm run check-lint && npm run check-style", + "i18n-extract": "formatjs extract \"src/**/*.{ts,tsx}\" --ignore \"**/*.d.ts\" --id-interpolation-pattern '[sha512:contenthash:base64:6]' --format simple --out-file i18n/en.json", "fix": "npm run check-lint:fix && npm run check-style:fix", "test": "cross-env TZ=Etc/UTC jest", "test:watch": "cross-env TZ=Etc/UTC jest --watch", diff --git a/webapp/playbooks/i18n/en.json b/webapp/playbooks/i18n/en.json index 98383c74e6..a87fb63adc 100644 --- a/webapp/playbooks/i18n/en.json +++ b/webapp/playbooks/i18n/en.json @@ -607,4 +607,4 @@ "zx0myy": "Participants", "zxj2Gh": "Last updated {time}", "zz6ObK": "Restore" -} \ No newline at end of file +} diff --git a/webapp/playbooks/package.json b/webapp/playbooks/package.json index 9de10ef9bb..57b00f521a 100644 --- a/webapp/playbooks/package.json +++ b/webapp/playbooks/package.json @@ -124,7 +124,7 @@ "test:debug": "cross-env TZ=Etc/UTC jest --forceExit --detectOpenHandles --verbose", "test-ci": "cross-env TZ=Etc/UTC jest --ci --maxWorkers=100%", "check-types": "tsc -b", - "extract": "formatjs extract 'src/**/*.{ts,tsx}' --ignore \"**/*.d.ts\" --out-file i18n/temp.json --id-interpolation-pattern '[sha512:contenthash:base64:6]' && formatjs compile 'i18n/temp.json' --out-file i18n/en.json && rm i18n/temp.json", + "i18n-extract": "formatjs extract \"src/**/*.{ts,tsx}\" --ignore \"**/*.d.ts\" --id-interpolation-pattern '[sha512:contenthash:base64:6]' --format simple --out-file i18n/en.json", "graphql": "graphql-codegen --config graphql_gen.ts", "report-unused-exports": "ts-prune", "build:product": "webpack --mode=production",