feat: add and optimize multiple multilingual language packs
1. 新增拼团、砍价、分销、支付、地址、账户等多业务场景的中英文本地化文案 2. 替换项目中硬编码的文本为多语言调用,统一前端页面文案展示 3. 新增多个业务组件的国际化语言配置文件
This commit is contained in:
20
lang/en-us/pay/cashier.js
Normal file
20
lang/en-us/pay/cashier.js
Normal file
@@ -0,0 +1,20 @@
|
||||
export const lang = {
|
||||
pay: {
|
||||
cashier: {
|
||||
// Pay button
|
||||
confirmPay: 'Confirm Payment',
|
||||
// Empty states
|
||||
noPayMethodConfigured: 'No payment method configured!',
|
||||
orderAlreadyPaid: 'This order has been paid',
|
||||
noPayInfo: 'Payment information not found',
|
||||
// Payment methods
|
||||
alipay: 'Alipay',
|
||||
wechatpay: 'WeChat Pay',
|
||||
// Messages
|
||||
pleaseSelectPayMethod: 'Please select a payment method!',
|
||||
paying: 'Processing payment...',
|
||||
paymentCancelled: 'Payment cancelled',
|
||||
paymentFailed: 'Payment failed, reason: {reason}',
|
||||
}
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user