Files
nianxx-h5/src/i18n/modules/common/zh-CN.ts
duanshuwen a8ae315e9f feat(login): add phone and Google login page with i18n
Add complete login flow with phone verification and country picker.
Add login-related translations for en-US, zh-CN and th-TH locales.
Add country calling codes constants and selection utility function.
Register Vant UI component type definitions for TypeScript.
Update development environment authentication token.
2026-06-01 21:57:12 +08:00

43 lines
893 B
TypeScript

export default {
actions: {
cancel: "取消",
confirm: "确认",
retry: "重试",
},
errors: {
network: "网络异常,请稍后重试",
},
login: {
method: {
google: "谷歌账号登录",
phone: "手机号验证码登录",
},
fields: {
country: "国家/区号",
phone: "手机号",
code: "验证码",
},
placeholders: {
selectCountry: "请选择国家/区号",
phone: "请输入手机号",
code: "请输入验证码",
},
dividersText: "或",
actions: {
sendCode: "获取验证码",
login: "登录",
},
errors: {
missingPhone: "请输入手机号",
missingCode: "请输入验证码",
},
tips: {
smsApiMissing: "验证码发送接口未接入",
},
},
state: {
empty: "暂无数据",
loading: "加载中...",
},
} as const;