Skip to content

Commit dfa67c5

Browse files
li-jianlilijianli
andauthored
feat: add intl zh-HK (#1564)
* feat: add intl zh-HK * chore: add changelog --------- Co-authored-by: lijianli <[email protected]>
1 parent e75ce51 commit dfa67c5

File tree

3 files changed

+76
-0
lines changed

3 files changed

+76
-0
lines changed

.changeset/lucky-nights-brush.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@ant-design/web3-common': minor
3+
---
4+
5+
chore: Add zh-HK locale support
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
export { default as en_US } from './en_US';
22
export { default as zh_CN } from './zh_CN';
3+
export { default as zh_HK } from './zh_HK';
34
export { default as defaultLocale } from './default';
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
import type { RequiredLocale } from '../types';
2+
3+
const localeValues: RequiredLocale = {
4+
ConnectButton: {
5+
connect: '連接錢包',
6+
disconnect: '斷開連接',
7+
copyAddress: '複製地址',
8+
copied: '已複製!',
9+
walletAddress: '錢包地址',
10+
moreWallets: '更多錢包',
11+
sign: '簽名',
12+
},
13+
ConnectModal: {
14+
title: '連接錢包',
15+
guideTitle: '什麼是錢包?',
16+
guideInfos1Title: '管理私鑰和資產',
17+
guideInfos1Desc: '管理私鑰以及對應鏈地址的資產',
18+
guideInfos2Title: '協助你連接 DApp',
19+
guideInfos2Desc: '授權 DApp 獲取你的地址,類似登入',
20+
guideInfos3Title: '調用智能合約',
21+
guideInfos3Desc: '通過授權私鑰簽名,與鏈上智能合約互動',
22+
guideInfosGetWalletBtnText: '獲取錢包',
23+
guideInfosMoreLinkText: '了解更多',
24+
getWalletBtnText: '獲取',
25+
getWalletUniversalProtocolBtnText: '更多',
26+
getWalletPanelTitle: '獲取錢包',
27+
getWalletPanelInfoDesc: '在左側選擇錢包,以開始使用不同的錢包服務商。',
28+
qrCodePanelTitleForDownload: '下載 {walletName}',
29+
qrCodePanelTitleForScan: '使用 {walletName} 掃描',
30+
qrCodePanelTitleForUniversalProtocol: '使用你的錢包掃描',
31+
qrCodePanelLinkForDownload: '點擊前往下載頁面',
32+
qrCodePanelLinkForConnect: '點擊直接連接',
33+
qrCodePanelDownloadTipForReady: '掃描二維碼下載錢包。',
34+
qrCodePanelDownloadTipForNotReady: '暫無',
35+
qrCodePanelUniversalProtocolTipForNotReady: '不了解',
36+
walletCardPanelTitle: '獲取 {selectedWalletName}',
37+
walletCardAppTitle: '在手機使用 {selectedWalletName}',
38+
walletCardAppDesc: '使用移動錢包探索以太坊世界。',
39+
walletCardExtensionTitle: '在 {selectedExtensionBrowserName} 瀏覽器中使用 {selectedWalletName}',
40+
guideTipTitle: '第一次使用加密錢包?',
41+
guideTipLearnMoreLinkText: '了解更多',
42+
walletPanelPlugin: '插件',
43+
walletListEmpty: '未發現任何錢包',
44+
walletConnectSuccess: '錢包已連接!',
45+
getWalletTipsTitle: '沒有找到你想要的?',
46+
getWalletTipsDesc: '在左側選擇新的錢包開始吧',
47+
linkWallet: '連接',
48+
walletConnecting: '連接中...',
49+
walletSigning: '簽名中...',
50+
},
51+
NFTCard: {
52+
actionText: '立即購買',
53+
},
54+
Address: {
55+
copyTips: '複製地址',
56+
copiedTips: '地址已複製!',
57+
},
58+
TokenSelect: {
59+
placeholder: '請選擇代幣',
60+
},
61+
CryptoInput: {
62+
placeholder: '請輸入代幣數量',
63+
maxButtonText: '最大',
64+
},
65+
PayPanel: {
66+
tips: '請掃描二維碼或複製地址',
67+
},
68+
};
69+
70+
export default localeValues;

0 commit comments

Comments
 (0)