feat:添加中英文切换按钮

This commit is contained in:
Zhukj
2025-12-19 14:20:58 +08:00
parent 5b37e00b98
commit e77bdc0359
12 changed files with 402 additions and 267 deletions

View File

@@ -1,6 +1,5 @@
export const lang = {
// 底部选项卡
// 底部选项卡(中文)
tabBar: {
home: '首页',
category: '分类',
@@ -8,9 +7,8 @@ export const lang = {
member: '个人中心'
},
//公共
// 公共文字
common: {
//语言包名称
name: '中文',
mescrollTextInOffset: '下拉刷新',
mescrollTextOutOffset: '释放更新',
@@ -18,6 +16,22 @@ export const lang = {
goodsRecommendTitle: '猜你喜欢',
currencySymbol: '¥',
submit: '提交',
langSwitchBtn: '中文' // 新增:语言切换按钮文字(中文),最后一个属性不加逗号
langSwitchBtn: 'EN',
// App.vue弹窗翻译
updateTip: '更新提示',
updateContent: '新版本已经准备好,是否重启应用?',
networkTip: '网络失去连接',
networkContent: '请检查网络连接', // 关键:这里加逗号!
// 首页多语言字段
siteName: '站点名称',
welcomeMsg: '欢迎关注',
followOfficialAccount: '关注公众号',
followMoreInfo: '关注了解更多',
iKnow: '我知道了',
confirmStore: '请确认门店',
reposition: '重新定位',
currentStore: '当前门店',
confirmEnter: '确认进入',
chooseOtherStore: '选择其他门店'
}
}
}