Skip to content

Commit

Permalink
🎨Use rich text formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
AuroraHuang22 committed Jul 8, 2024
1 parent a42c288 commit 74ee268
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 6 additions & 4 deletions src/components/authcore-dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,12 @@ export const AuthcoreDialog: FC<AuthcoreDialogProps> = ({
{isHideSocialLogin && (
<div className="lk-flex lk-flex-col lk-flex-col lk-w-full lk-items-center lk-gap-y-2 lk-mt-[12px]">
<p className="lk-text-like-gray lk-text-center lk-w-full lk-text-[12px]">
<FormattedMessage id="wallet_connect_hint_reset_password"/>
<span className='lk-text-like-green'>
<FormattedMessage id="wallet_connect_hint_reset_password_highlight"/>
</span>
<FormattedMessage
id="wallet_connect_hint_reset_password"
values={{
span: chunks => <span className="lk-text-like-green">{chunks}</span>,
}}
/>
</p>
</div>
)}
Expand Down
3 changes: 1 addition & 2 deletions src/i18n/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
"wallet_connect_header_title_open_app": "Launch App",
"wallet_connect_header_title_scan_qrcode": "Scan QR Code",
"wallet_connect_hint_approve": "Please approve the connection request in the app by clicking the button below.",
"wallet_connect_hint_reset_password": "If you can't find your login method",
"wallet_connect_hint_reset_password_highlight": "reset your password.",
"wallet_connect_hint_reset_password": "If you can't find your login method,<span>reset your password.</span>",
"wallet_connect_hint_scan_qrcode_cosmostation_mobile": "Please scan the QR code with Cosmostation Mobile Wallet app",
"wallet_connect_hint_scan_qrcode_keplr_mobile": "Please scan the QR code with Keplr Mobile Wallet app",
"wallet_connect_hint_scan_qrcode_liker_land_app": "Please scan the QR code with Liker Land app",
Expand Down
3 changes: 1 addition & 2 deletions src/i18n/translations/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
"wallet_connect_header_title_open_app": "啟動 App",
"wallet_connect_header_title_scan_qrcode": "掃描二維碼",
"wallet_connect_hint_approve": "請點擊以下按鈕打開 App 並批准連接請求。",
"wallet_connect_hint_reset_password": "若找不到您原先的登入方式,請",
"wallet_connect_hint_reset_password_highlight": "重設密碼",
"wallet_connect_hint_reset_password": "若找不到您原先的登入方式,請<span>重設密碼</span>",
"wallet_connect_hint_scan_qrcode_cosmostation_mobile": "請使用 Cosmostation Mobile Wallet app 掃描二維碼",
"wallet_connect_hint_scan_qrcode_keplr_mobile": "請使用 Keplr Mobile app 掃描二維碼",
"wallet_connect_hint_scan_qrcode_liker_land_app": "請使用 Liker Land app 掃描二維碼",
Expand Down

0 comments on commit 74ee268

Please sign in to comment.