feat: 新增多语言配置并优化语言加载逻辑

1. 新增多个页面的中英文多语言词条,包括会员卡协议、积分商品、收银台等
2. 新增退款商品选择、微信支付、电子名片等页面的语言包
3. 优化lang.js语言加载逻辑,支持蛇形命名转换和多路径匹配,完善$lang调用兼容处理
This commit is contained in:
2026-06-27 09:07:51 +08:00
parent 84f5cd4568
commit bf4fe97aa3
29 changed files with 245 additions and 8 deletions

View File

@@ -1,6 +1,7 @@
export const lang = {
pay: {
cashier: {
title: 'Cashier',
// Pay button
confirmPay: 'Confirm Payment',
// Empty states

10
lang/en-us/pay/wx_pay.js Normal file
View File

@@ -0,0 +1,10 @@
export const lang = {
title: 'WeChat Pay',
openInBrowserTip: 'Tap the top-right menu and open in browser',
pay: {
wxPay: {
title: 'WeChat Pay',
openInBrowserTip: 'Tap the top-right menu and open in browser'
}
}
};