Skip to content

Commit 4f16cb6

Browse files
committed
fix
1 parent 7c3f240 commit 4f16cb6

File tree

3 files changed

+18
-21
lines changed
  • packages/thirdweb/src/react/web/wallets

3 files changed

+18
-21
lines changed

packages/thirdweb/src/react/web/wallets/injected/locale/zh.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,22 @@ import type { InjectedWalletLocale } from "./types.js";
66
const injectedWalletLocaleZh = (wallet: string): InjectedWalletLocale => ({
77
connectionScreen: {
88
failed: "连接失败",
9-
inProgress: "等待确认",
9+
inProgress: "等待用户确认",
1010
instruction: `请在 ${wallet} 中接受连接请求`,
1111
retry: "重试",
1212
},
1313
download: {
14-
android: " Google Play 下载",
14+
android: " Google Play 下载",
1515
chrome: "下载 Chrome 扩展",
16-
iOS: " App Store 下载",
16+
iOS: " App Store 下载",
1717
},
1818
getStartedLink: `没有 ${wallet}?`,
1919
getStartedScreen: {
2020
instruction: `扫描二维码下载 ${wallet} 应用`,
2121
},
2222
scanScreen: {
23-
instruction: `使用 ${wallet} 应用扫描二维码以连接`,
23+
instruction: ` ${wallet} 扫描二维码连接`,
2424
},
2525
});
2626

27-
export default injectedWalletLocaleZh;
27+
export default injectedWalletLocaleZh;

packages/thirdweb/src/react/web/wallets/shared/locale/zh.ts

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,15 @@ export default {
44
createPassword: {
55
confirmation: "我已保存密码",
66
failedToSetPassword: "设置密码失败",
7-
inputPlaceholder: "输入您的密码",
8-
instruction:
9-
"为您的账户设置密码。从新设备连接时需要此密码。",
10-
saveInstruction: "请务必保存密码",
7+
inputPlaceholder: "输入密码",
8+
instruction: "为账户设置密码。使用新设备登录时需要此密码。",
9+
saveInstruction: "请妥善保存密码",
1110
submitButton: "设置密码",
1211
title: "创建密码",
1312
},
1413
emailLoginScreen: {
15-
enterCodeSendTo: "输入发送至以下地址的验证码",
16-
enterRecoveryCode:
17-
"输入您首次注册时发送至邮箱的恢复码",
14+
enterCodeSendTo: "输入发送至您邮箱的验证码",
15+
enterRecoveryCode: "输入您首次注册时邮箱收到的恢复码",
1816
failedToSendCode: "发送验证码失败",
1917
invalidCode: "验证码无效",
2018
invalidCodeOrRecoveryCode: "验证码或恢复码无效",
@@ -25,7 +23,7 @@ export default {
2523
verify: "验证",
2624
},
2725
emailPlaceholder: "邮箱地址",
28-
emailRequired: "邮箱地址为必填项",
26+
emailRequired: "请输入邮箱地址",
2927
enterPassword: {
3028
inputPlaceholder: "输入您的密码",
3129
instruction: "输入您账户的密码",
@@ -35,27 +33,26 @@ export default {
3533
},
3634
invalidEmail: "邮箱地址无效",
3735
invalidPhone: "手机号码无效",
38-
linkWallet: "关联钱包",
36+
linkWallet: "连接钱包",
3937
loginAsGuest: "以访客身份继续",
40-
maxAccountsExceeded:
41-
"账户数量已达上限。请联系应用开发者。",
38+
maxAccountsExceeded: "账户数量已达上限。请联系应用开发者。",
4239
or: "或",
4340
passkey: "通行密钥",
4441
phonePlaceholder: "手机号码",
4542
phoneRequired: "手机号码为必填项",
4643
signIn: "登录",
4744
signInWithApple: "Apple",
4845
signInWithDiscord: "Discord",
49-
signInWithEmail: "使用邮箱登录",
46+
signInWithEmail: "邮箱登录",
5047
signInWithFacebook: "Facebook",
5148
signInWithGoogle: "Google",
5249
signInWithPhone: "使用手机号登录",
5350
signInWithWallet: "使用钱包登录",
5451
socialLoginScreen: {
5552
failed: "登录失败",
56-
instruction: "在弹出窗口中登录您的账户",
53+
instruction: "请在弹窗中登录账户",
5754
retry: "重试",
5855
title: "登录",
5956
},
6057
submitEmail: "继续",
61-
} satisfies InAppWalletLocale;
58+
} satisfies InAppWalletLocale;

packages/thirdweb/src/react/web/wallets/smartWallet/locale/zh.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ const smartWalletLocalZh: SmartWalletLocale = {
55
failedToConnect: "连接智能账户失败",
66
wrongNetworkScreen: {
77
failedToSwitch: "网络切换失败",
8-
subtitle: "您的钱包未连接到所需的网络",
8+
subtitle: "钱包未连接至所需网络",
99
title: "网络错误",
1010
},
1111
};
1212

13-
export default smartWalletLocalZh;
13+
export default smartWalletLocalZh;

0 commit comments

Comments
 (0)