feat(i18n): add full multi-language support for app modules
Add new i18n modules for booking, goods, order, and service features across en-US, zh-CN, th-TH locales Extend existing quick module translations with new card, date, and page title strings Replace all hardcoded static text in UI components with vue-i18n translation hooks Update the main i18n registry and login page language switching to support the new translations
This commit is contained in:
@@ -1,12 +1,79 @@
|
||||
export default {
|
||||
actions: {
|
||||
askMore: "继续追问",
|
||||
book: "预定",
|
||||
buy: "购买",
|
||||
cancel: "取消",
|
||||
callPhone: "拨打电话",
|
||||
confirm: "确认",
|
||||
fillIn: "前往填写",
|
||||
generate: "生成",
|
||||
goPay: "去支付",
|
||||
logout: "退出登录",
|
||||
navigation: "导航",
|
||||
payNow: "立即支付",
|
||||
retry: "重试",
|
||||
submit: "提交",
|
||||
viewDetail: "查看详情",
|
||||
},
|
||||
calendar: {
|
||||
title: "日历选择",
|
||||
stayDateHint: "选择住宿日期,以下价格为单晚参考价",
|
||||
weekdays: {
|
||||
monday: "一",
|
||||
tuesday: "二",
|
||||
wednesday: "三",
|
||||
thursday: "四",
|
||||
friday: "五",
|
||||
saturday: "六",
|
||||
sunday: "日",
|
||||
},
|
||||
monthTitle: "{year}年{month}月",
|
||||
labels: {
|
||||
stayAndLeave: "住/离",
|
||||
checkIn: "入住",
|
||||
checkOut: "离店",
|
||||
},
|
||||
errors: {
|
||||
disabledDate: "该日期不可选",
|
||||
dateUnavailable: "所选日期不可预订,请重新选择",
|
||||
stockUnavailable: "所选日期库存不足,请选择其他日期",
|
||||
sameDate: "离店日期不能与入住日期相同",
|
||||
maxRange: "预定时间不能超过28天",
|
||||
missingPrice: "所选区间包含无价格日期,请重新选择",
|
||||
rangeStockUnavailable: "所选区间包含库存不足的日期,请重新选择",
|
||||
},
|
||||
},
|
||||
dateRange: {
|
||||
checkIn: "入住",
|
||||
nights: "晚",
|
||||
checkOut: "离店",
|
||||
roomDetails: "房间详情",
|
||||
useDate: "使用日期",
|
||||
},
|
||||
errors: {
|
||||
loadFailedRetry: "加载失败,点击重试",
|
||||
network: "网络异常,请稍后重试",
|
||||
},
|
||||
form: {
|
||||
name: "姓 名",
|
||||
namePlaceholder: "请输入姓名",
|
||||
phone: "手机号",
|
||||
phonePlaceholder: "请输入手机号",
|
||||
visitorDefault: "游客1",
|
||||
},
|
||||
labels: {
|
||||
account: "账号",
|
||||
language: "语言",
|
||||
},
|
||||
locales: {
|
||||
zhCN: "中文",
|
||||
enUS: "English",
|
||||
thTH: "ภาษาไทย",
|
||||
zhShort: "中",
|
||||
enShort: "EN",
|
||||
thShort: "TH",
|
||||
},
|
||||
login: {
|
||||
method: {
|
||||
google: "谷歌账号登录",
|
||||
@@ -35,8 +102,24 @@ export default {
|
||||
smsApiMissing: "验证码发送接口未接入",
|
||||
},
|
||||
},
|
||||
module: {
|
||||
imageDetail: "图片详情",
|
||||
},
|
||||
qrcode: {
|
||||
emptyContent: "二维码内容不能为空",
|
||||
saveSuccess: "二维码保存成功",
|
||||
},
|
||||
refund: {
|
||||
policy: "取消政策",
|
||||
rules: "退订规则",
|
||||
},
|
||||
state: {
|
||||
empty: "暂无数据",
|
||||
loading: "加载中...",
|
||||
noMore: "没有更多了",
|
||||
},
|
||||
summary: {
|
||||
price: "价格",
|
||||
discount: "折扣优惠",
|
||||
},
|
||||
} as const;
|
||||
|
||||
Reference in New Issue
Block a user