i18n: 补充多语言文案并优化英文tabbar命名
1. 为支付模块新增未获取到支付信息的多语言文案 2. 为通用模块新增网络错误、视频号播放限制、提交/加载相关文案 3. 优化英文环境底部tabbar的命名为更自然的首字母大写形式
This commit is contained in:
4832
lang-bundle.json
4832
lang-bundle.json
File diff suppressed because it is too large
Load Diff
@@ -2,10 +2,10 @@ export const lang = {
|
|||||||
|
|
||||||
// 底部选项卡
|
// 底部选项卡
|
||||||
tabBar: {
|
tabBar: {
|
||||||
home: 'index',
|
home: 'Home',
|
||||||
category: 'category',
|
category: 'Category',
|
||||||
cart: 'cart',
|
cart: 'Cart',
|
||||||
member: 'member',
|
member: 'Me',
|
||||||
},
|
},
|
||||||
|
|
||||||
//公共
|
//公共
|
||||||
@@ -57,6 +57,7 @@ export const lang = {
|
|||||||
// diy custom page (diy-specific copy, generic HTTP errors reuse http.*)
|
// diy custom page (diy-specific copy, generic HTTP errors reuse http.*)
|
||||||
diy: {
|
diy: {
|
||||||
networkErrorTitle: 'Notice',
|
networkErrorTitle: 'Notice',
|
||||||
|
networkError: 'Network error, please try again later',
|
||||||
retry: 'Retry',
|
retry: 'Retry',
|
||||||
noDiyData: 'Custom page data not configured',
|
noDiyData: 'Custom page data not configured',
|
||||||
locationNotAvailable: 'Location not available',
|
locationNotAvailable: 'Location not available',
|
||||||
@@ -111,6 +112,7 @@ export const lang = {
|
|||||||
notSupported: 'Current environment does not support WeChat Channel',
|
notSupported: 'Current environment does not support WeChat Channel',
|
||||||
missingFields: 'Missing required field: {field}',
|
missingFields: 'Missing required field: {field}',
|
||||||
playFailed: 'WeChat video playback failed!',
|
playFailed: 'WeChat video playback failed!',
|
||||||
|
wechatMpOnly: 'WeChat Channel only plays in WeChat Mini Program',
|
||||||
},
|
},
|
||||||
|
|
||||||
// uniapp utility functions
|
// uniapp utility functions
|
||||||
@@ -256,7 +258,14 @@ export const lang = {
|
|||||||
addToCartFailMin: 'Minimum purchase quantity not met',
|
addToCartFailMin: 'Minimum purchase quantity not met',
|
||||||
addToCartFailStock: 'Insufficient Stock',
|
addToCartFailStock: 'Insufficient Stock',
|
||||||
|
|
||||||
// 咨询
|
// generic submit/version/loading text (key lives in root because common.js's lang object IS the common namespace)
|
||||||
|
submitSuccess: 'Submit Success',
|
||||||
|
submitFail: 'Submit Failed',
|
||||||
|
versionInfo: 'Version Info',
|
||||||
|
commitId: 'Commit ID',
|
||||||
|
buildTime: 'Build Time',
|
||||||
|
loading: 'Loading...',
|
||||||
|
|
||||||
consult: 'Consult Now',
|
consult: 'Consult Now',
|
||||||
consultSuccess: 'Consultation Successful',
|
consultSuccess: 'Consultation Successful',
|
||||||
consultFail: 'Consultation Failed',
|
consultFail: 'Consultation Failed',
|
||||||
|
|||||||
@@ -3,5 +3,6 @@ export const lang = {
|
|||||||
title: 'Payment Method',
|
title: 'Payment Method',
|
||||||
paymentAmount: 'Payment Amount',
|
paymentAmount: 'Payment Amount',
|
||||||
confirmPayment: 'Confirm Payment',
|
confirmPayment: 'Confirm Payment',
|
||||||
seeOrder: 'View Order'
|
seeOrder: 'View Order',
|
||||||
|
payInfoNotFound: 'Payment info not found!'
|
||||||
}
|
}
|
||||||
@@ -64,6 +64,7 @@ export const lang = {
|
|||||||
// diy 自定义页面(diy 专属文案,通用网络/接口错误复用 http.*)
|
// diy 自定义页面(diy 专属文案,通用网络/接口错误复用 http.*)
|
||||||
diy: {
|
diy: {
|
||||||
networkErrorTitle: '提示',
|
networkErrorTitle: '提示',
|
||||||
|
networkError: '网络异常,请稍后重试',
|
||||||
retry: '重试',
|
retry: '重试',
|
||||||
noDiyData: '未配置自定义页面数据',
|
noDiyData: '未配置自定义页面数据',
|
||||||
locationNotAvailable: '未获取到定位',
|
locationNotAvailable: '未获取到定位',
|
||||||
@@ -111,6 +112,7 @@ export const lang = {
|
|||||||
notSupported: '当前环境不支持微信视频号',
|
notSupported: '当前环境不支持微信视频号',
|
||||||
missingFields: '缺少必要字段: {field}',
|
missingFields: '缺少必要字段: {field}',
|
||||||
playFailed: '微信视频播放失败!',
|
playFailed: '微信视频播放失败!',
|
||||||
|
wechatMpOnly: '视频号仅支持在微信小程序环境中播放',
|
||||||
},
|
},
|
||||||
|
|
||||||
// uniapp 工具函数
|
// uniapp 工具函数
|
||||||
@@ -254,6 +256,14 @@ export const lang = {
|
|||||||
addToCartFailMin: '已达到最小购买数量',
|
addToCartFailMin: '已达到最小购买数量',
|
||||||
addToCartFailStock: '库存不足',
|
addToCartFailStock: '库存不足',
|
||||||
|
|
||||||
|
// 通用提交/版本/loading 文案(原本该走 common.* 命名空间,因 common.js 整体即 common namespace,放在 root)
|
||||||
|
submitSuccess: '提交成功',
|
||||||
|
submitFail: '提交失败',
|
||||||
|
versionInfo: '版本信息',
|
||||||
|
commitId: '提交 ID',
|
||||||
|
buildTime: '构建时间',
|
||||||
|
loading: '加载中...',
|
||||||
|
|
||||||
consult: '立即咨询',
|
consult: '立即咨询',
|
||||||
consultSuccess: '咨询成功',
|
consultSuccess: '咨询成功',
|
||||||
consultFail: '咨询失败',
|
consultFail: '咨询失败',
|
||||||
|
|||||||
@@ -3,5 +3,6 @@ export const lang = {
|
|||||||
title: '支付方式',
|
title: '支付方式',
|
||||||
paymentAmount: '支付金额',
|
paymentAmount: '支付金额',
|
||||||
confirmPayment: '确认支付',
|
confirmPayment: '确认支付',
|
||||||
seeOrder: '查看订单'
|
seeOrder: '查看订单',
|
||||||
|
payInfoNotFound: '未获取到支付信息!'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user