Skip to content

Commit

Permalink
fix: style
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsimao committed Jan 30, 2025
1 parent e2809c8 commit 6a2f06f
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 16 deletions.
10 changes: 7 additions & 3 deletions apps/evm/src/components/TurnstileModal/TurnstileModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,14 @@ const TurnstileModal = () => {
onClose={() => store.setState((s) => ({ ...s, shared: { ...s.shared, turnstile: { isOpen: false } } }))}
>
<ModalHeader>
<Trans>Verify You&apos;re Human</Trans>
<Trans>Verify you are human</Trans>
</ModalHeader>
<ModalBody padding='even'>
<Turnstile siteKey={process.env.NEXT_PUBLIC_TURNSTILE_SITE_KEY} onSuccess={handleSuccess} />
<ModalBody>
<Turnstile
siteKey={process.env.NEXT_PUBLIC_TURNSTILE_SITE_KEY}
style={{ display: 'flex', justifyContent: 'center', alignItems: 'center' }}
onSuccess={handleSuccess}
/>
</ModalBody>
</Modal>
);
Expand Down
16 changes: 10 additions & 6 deletions apps/evm/src/locales/en.po
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ msgstr "Close"
msgid "Collect Babylon Points on BOB"
msgstr "Collect Babylon Points on BOB"

#: src/app/[lang]/sign-up/SignUp.tsx:107
#: src/app/[lang]/sign-up/SignUp.tsx:140
msgid "Combining liquidity and security from Bitcoin and Ethereum. Mainnet live!"
msgstr "Combining liquidity and security from Bitcoin and Ethereum. Mainnet live!"

Expand Down Expand Up @@ -908,7 +908,7 @@ msgstr "If you already own BTC LSTs on other chains, you can bridge them over to
msgid "Input"
msgstr "Input"

#: src/app/[lang]/sign-up/SignUp.tsx:116
#: src/app/[lang]/sign-up/SignUp.tsx:149
msgid "Invalid referral code. You can try again, or proceed without one."
msgstr "Invalid referral code. You can try again, or proceed without one."

Expand Down Expand Up @@ -1290,7 +1290,7 @@ msgstr "Please note:"
msgid "Points"
msgstr "Points"

#: src/app/[lang]/sign-up/SignUp.tsx:103
#: src/app/[lang]/sign-up/SignUp.tsx:136
msgid "POWERED BY BTC & ETH"
msgstr "POWERED BY BTC & ETH"

Expand Down Expand Up @@ -1520,7 +1520,7 @@ msgstr "Solv XP"
msgid "Something went wrong. Please try again later."
msgstr "Something went wrong. Please try again later."

#: src/app/[lang]/sign-up/SignUp.tsx:73
#: src/app/[lang]/sign-up/SignUp.tsx:86
#: src/components/LoginButton/LoginButton.tsx:29
#: src/components/SignUpButton/SignUpButton.tsx:42
msgid "Something went wrong. Please try connecting your wallet again."
Expand Down Expand Up @@ -1657,7 +1657,7 @@ msgstr "Start Harvesting"

#: src/app/[lang]/fusion/components/OpSuperuserModal/OpSuperuserModal.tsx:55
#: src/app/[lang]/fusion/components/UserInfo/UserInfo.tsx:376
#: src/app/[lang]/sign-up/SignUp.tsx:128
#: src/app/[lang]/sign-up/SignUp.tsx:161
msgid "Start Harvesting Spice"
msgstr "Start Harvesting Spice"

Expand Down Expand Up @@ -1771,7 +1771,7 @@ msgstr "The campaign will run until 1st February."
msgid "The final season"
msgstr "The final season"

#: src/app/[lang]/sign-up/SignUp.tsx:100
#: src/app/[lang]/sign-up/SignUp.tsx:133
msgid "THE FIRST HYBRID L2"
msgstr "THE FIRST HYBRID L2"

Expand Down Expand Up @@ -1999,6 +1999,10 @@ msgstr "Username"
msgid "Using the official bridge usually takes 7 days. For faster withdrawals we recommend using a 3rd party bridge for supported tokens (ETH, WBTC, USDT, USDC)."
msgstr "Using the official bridge usually takes 7 days. For faster withdrawals we recommend using a 3rd party bridge for supported tokens (ETH, WBTC, USDT, USDC)."

#: src/components/TurnstileModal/TurnstileModal.tsx:23
msgid "Verify you are human"
msgstr "Verify you are human"

#: src/app/[lang]/(bridge)/components/TransactionList/TransactionList.tsx:133
#~ msgid "View All Transactions"
#~ msgstr "View All Transactions"
Expand Down
14 changes: 7 additions & 7 deletions apps/evm/src/locales/zh.po
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ msgstr ""
msgid "Collect Babylon Points on BOB"
msgstr ""

#: src/app/[lang]/sign-up/SignUp.tsx:107
#: src/app/[lang]/sign-up/SignUp.tsx:140
msgid "Combining liquidity and security from Bitcoin and Ethereum. Mainnet live!"
msgstr "结合比特币和以太坊的流动性和安全性。= 主网已上线!。"

Expand Down Expand Up @@ -1078,7 +1078,7 @@ msgstr ""
#~ msgid "Input Token"
#~ msgstr ""

#: src/app/[lang]/sign-up/SignUp.tsx:116
#: src/app/[lang]/sign-up/SignUp.tsx:149
msgid "Invalid referral code. You can try again, or proceed without one."
msgstr ""

Expand Down Expand Up @@ -1513,7 +1513,7 @@ msgstr "请注意:"
msgid "Points"
msgstr ""

#: src/app/[lang]/sign-up/SignUp.tsx:103
#: src/app/[lang]/sign-up/SignUp.tsx:136
msgid "POWERED BY BTC & ETH"
msgstr "比特币 + 以太坊共同驱动"

Expand Down Expand Up @@ -1764,7 +1764,7 @@ msgstr ""
msgid "Something went wrong. Please try again later."
msgstr ""

#: src/app/[lang]/sign-up/SignUp.tsx:73
#: src/app/[lang]/sign-up/SignUp.tsx:86
#: src/components/LoginButton/LoginButton.tsx:29
#: src/components/SignUpButton/SignUpButton.tsx:42
msgid "Something went wrong. Please try connecting your wallet again."
Expand Down Expand Up @@ -1943,7 +1943,7 @@ msgstr "开始收获"

#: src/app/[lang]/fusion/components/OpSuperuserModal/OpSuperuserModal.tsx:55
#: src/app/[lang]/fusion/components/UserInfo/UserInfo.tsx:376
#: src/app/[lang]/sign-up/SignUp.tsx:128
#: src/app/[lang]/sign-up/SignUp.tsx:161
msgid "Start Harvesting Spice"
msgstr "开始收获Spice"

Expand Down Expand Up @@ -2089,7 +2089,7 @@ msgstr ""
msgid "The final season"
msgstr "最终季 - 不容错过!"

#: src/app/[lang]/sign-up/SignUp.tsx:100
#: src/app/[lang]/sign-up/SignUp.tsx:133
msgid "THE FIRST HYBRID L2"
msgstr "首个混合型二层"

Expand Down Expand Up @@ -2393,7 +2393,7 @@ msgstr ""
#~ msgstr ""

#: src/components/TurnstileModal/TurnstileModal.tsx:23
msgid "Verify You're Human"
msgid "Verify you are human"
msgstr ""

#: src/app/[lang]/wallet/Wallet.tsx:29
Expand Down

0 comments on commit 6a2f06f

Please sign in to comment.