Commit 499ef277 authored by Moody Salem's avatar Moody Salem

fix the english translation in build

parent 1ea0769b
......@@ -39,7 +39,7 @@ jobs:
run: yarn install --frozen-lockfile
- name: Extract translations
run: "yarn lingui extract --locale en-US"
run: "yarn i18n:extract"
- name: Synchronize
uses: crowdin/github-action@1.1.0
......
......@@ -37,7 +37,7 @@ jobs:
run: yarn install --frozen-lockfile
- name: Extract translations
run: "yarn lingui extract --locale en-US"
run: "yarn i18n:extract"
- name: Synchronize
uses: crowdin/github-action@1.1.0
......
......@@ -126,7 +126,8 @@
"compile-contract-types": "yarn compile-external-abi-types && yarn compile-v3-contract-types",
"compile-external-abi-types": "typechain --target ethers-v5 --out-dir src/abis/types './src/abis/**/*.json'",
"compile-v3-contract-types": "typechain --target ethers-v5 --out-dir src/types/v3 './node_modules/@uniswap/?(v3-core|v3-periphery)/artifacts/contracts/**/*.json'",
"build": "yarn compile-contract-types && yarn i18n:compile && react-scripts build",
"build": "yarn compile-contract-types && yarn i18n:extract && yarn i18n:compile && react-scripts build",
"i18n:extract": "lingui extract --locale en-US",
"i18n:compile": "lingui compile",
"integration-test": "start-server-and-test 'serve build -l 3000' http://localhost:3000 'cypress run'",
"postinstall": "yarn compile-contract-types",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment