feat: 添加国际化支持,更新 RWA 申购页面和相关文本,优化用户体验

This commit is contained in:
2025-12-19 23:02:09 +07:00
parent fb8cec3027
commit 384b0855d3
5 changed files with 87 additions and 22 deletions

View File

@@ -227,6 +227,36 @@
"issueDate": "Issue Date",
"subscriptionPrice": "Subscription Price"
},
"tradeRwa": {
"tabs": {
"overview": "Overview",
"moment": "Moment"
},
"fields": {
"productCode": "Product Code",
"valuation": "Valuation",
"unitPrice": "Unit Price",
"totalSupply": "Total Supply",
"perUserLimit": "Per User Limit",
"launchDate": "Launch Date",
"subscriptionDeadline": "Subscription Deadline"
},
"units": {
"shares": "shares"
},
"about": "About",
"noDescription": "No description available.",
"subscribe": "Subscribe",
"subscribeSuccess": "Subscription successful"
},
"subscribeRwa": {
"title": "Subscribe RWA",
"maxSubscribePlaceholder": "Max quantity: {max}",
"unitPrice": "Unit Price",
"availableBalance": "Available Balance",
"confirmSubscribe": "Confirm Subscribe",
"enterQuantityError": "Please enter quantity"
},
"loading": {
"loadingMore": "Loading more..."
}

View File

@@ -6,7 +6,7 @@ export type MessageSchema = typeof enUS;
const i18n = createI18n<MessageSchema, "en-US" | "zh-CN">({
legacy: false,
locale: "zh-CN",
locale: "en-US",
fallbackLocale: "en-US",
messages: {
"en-US": enUS,

View File

@@ -227,6 +227,36 @@
"issueDate": "发行日期",
"subscriptionPrice": "申购单价"
},
"tradeRwa": {
"tabs": {
"overview": "概览",
"moment": "动态"
},
"fields": {
"productCode": "产品编号",
"valuation": "估值",
"unitPrice": "单价",
"totalSupply": "总发行量",
"perUserLimit": "每人限量",
"launchDate": "发行时间",
"subscriptionDeadline": "认购截止时间"
},
"units": {
"shares": "份"
},
"about": "About",
"noDescription": "暂无描述。",
"subscribe": "申购",
"subscribeSuccess": "申购成功"
},
"subscribeRwa": {
"title": "申购RWA",
"maxSubscribePlaceholder": "最大可申购数量: {max}",
"unitPrice": "单价",
"availableBalance": "可用余额",
"confirmSubscribe": "确认申购",
"enterQuantityError": "请输入申购数量"
},
"loading": {
"loadingMore": "加载更多..."
}