Skip to content

Commit

Permalink
feat: add locales package
Browse files Browse the repository at this point in the history
  • Loading branch information
wuzhenbin committed Aug 29, 2023
1 parent aec6b81 commit ce883d6
Show file tree
Hide file tree
Showing 16 changed files with 17 additions and 52 deletions.
4 changes: 2 additions & 2 deletions packages/bridge-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"lint": "pnpm exec eslint './**/*.{js,ts,svelte}' --ignore-path .eslintignore",
"lint:fix": "pnpm exec eslint --fix './**/*.{js,ts,svelte}' --ignore-path .eslintignore",
"generate-abi": "pnpm exec wagmi generate",
"vercel:mainnet": "cp src/pages/home/HomeMainnet.svelte src/pages/home/Home.svelte && cp vercel.mainnet.json .vercel/project.json && cp .env.mainnet .env && vercel --prod",
"vercel:testnet": "cp src/pages/home/HomeTestnet.svelte src/pages/home/Home.svelte && cp vercel.testnet.json .vercel/project.json && cp .env.testnet .env && vercel --prod"
"vercel:mainnet": "cp vercel.mainnet.json .vercel/project.json && cp .env.mainnet .env && vercel --prod",
"vercel:testnet": "cp vercel.testnet.json .vercel/project.json && cp .env.testnet .env && vercel --prod"
},
"devDependencies": {
"@babel/preset-env": "^7.16.0",
Expand Down
1 change: 1 addition & 0 deletions packages/bridge-ui/src/locales/de.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 1 addition & 0 deletions packages/bridge-ui/src/locales/es.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 1 addition & 0 deletions packages/bridge-ui/src/locales/fr.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 1 addition & 0 deletions packages/bridge-ui/src/locales/id.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 1 addition & 0 deletions packages/bridge-ui/src/locales/it.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 1 addition & 0 deletions packages/bridge-ui/src/locales/ja.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 1 addition & 0 deletions packages/bridge-ui/src/locales/ko.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 1 addition & 0 deletions packages/bridge-ui/src/locales/nl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 1 addition & 0 deletions packages/bridge-ui/src/locales/pt.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 1 addition & 0 deletions packages/bridge-ui/src/locales/ro.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 1 addition & 0 deletions packages/bridge-ui/src/locales/ru.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 1 addition & 0 deletions packages/bridge-ui/src/locales/tr.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 1 addition & 0 deletions packages/bridge-ui/src/locales/vi.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
51 changes: 1 addition & 50 deletions packages/bridge-ui/src/locales/zh_CN.json
Original file line number Diff line number Diff line change
@@ -1,50 +1 @@
{
"home": {
"title": "Wannsee Bridge",
"selectToken": "Select Token",
"to": "To",
"bridge": "Bridge",
"approve": "Approve"
},
"test": {
"hello": "你好世界"
},
"bridgeForm": {
"fieldLabel": "数量",
"maxLabel": "最高",
"balance": "余额",
"processingFeeLabel": "交易费用",
"bridge": "桥接",
"approve": "授权"
},
"nav": {
"connect": "Connect Wallet"
},
"transaction": {
"pending": "Pending",
"claim": "Claim",
"retry": "Retry",
"release": "Release",
"claimed": "Claimed",
"released": "Released",
"failed": "Failed"
},
"toast": {
"transactionSent": "Transaction sent",
"transactionCompleted": "Transaction completed!",
"errorWrongNetwork": "You are connected to the wrong chain in your wallet",
"errorSendingTransaction": "Error sending transaction",
"errorDisconnecting": "Could not disconnect",
"errorInsufficientBalance": "Insufficient ETH balance",
"errorCheckingAllowance": "Error checking allowance",
"fundsClaimed": "Funds claimed successfully!",
"fundsReleased": "Funds released successfully!"
},
"switchChainModal": {
"title": "Not on the right network",
"subtitle": "Your current network is not supported. Please select one:"
},
"connectModal": {
"title": "Connect Wallet"
}
}
{}
1 change: 1 addition & 0 deletions packages/bridge-ui/src/locales/zh_TW.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}

0 comments on commit ce883d6

Please sign in to comment.