feat:添加中英文切换按钮
This commit is contained in:
@@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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: '选择其他门店'
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user