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,22 +1,37 @@
export const lang = {
// 底部选项卡
// 底部选项卡(英文)
tabBar: {
home: 'index',
category: 'category',
cart: 'cart',
member: 'member',
home: 'Home',
category: 'Category',
cart: 'Cart',
member: 'Member Center'
},
//公共
// 公共文字
common: {
//语言包名称
name: '英文',
mescrollTextInOffset: 'pull to refresh',
mescrollTextOutOffset: 'Loading...',
name: 'English',
mescrollTextInOffset: 'Pull down to refresh',
mescrollTextOutOffset: 'Release to update',
mescrollEmpty: "No data available",
goodsRecommendTitle: 'Guess you like',
goodsRecommendTitle: 'You May Also Like',
currencySymbol: '¥',
langSwitchBtn: 'EN' // 新增:语言切换按钮文字(英文)
submit: 'Submit',
langSwitchBtn: '中文',
// App.vue弹窗翻译
updateTip: 'Update Tip',
updateContent: 'The new version is ready, do you want to restart the app?',
networkTip: 'Network Disconnected',
networkContent: 'Please check your network connection', // 关键:这里加逗号!
// 首页多语言字段
siteName: 'Site Name',
welcomeMsg: 'Welcome to follow',
followOfficialAccount: 'Follow Official Account',
followMoreInfo: 'Follow for more information',
iKnow: 'I know',
confirmStore: 'Please confirm the store',
reposition: 'Reposition',
currentStore: 'Current Store',
confirmEnter: 'Confirm to enter',
chooseOtherStore: 'Choose other stores'
}
}
}