- Mock adapter implementing @vmall/shared ApiClient (localStorage-persisted cart/orders/invoices), runtime switch via mockApi flag (default on) - Fixed bilingual mock catalog: 3-level categories, 24 products w/ SKUs, stores, brands, banners, floors, seckill/collective/integral, comments, coupons, addresses, seeded orders/shipments/invoices - B2B2C mall shell: top bar, logo/search/cart header, dark nav + category mega-menu, value-prop footer, back-to-top; 1200px grid, #ca151e theme - UI primitives replacing element-plus: carousel, pagination, breadcrumb, qty stepper, rating stars, modal, tabs, step bar, product card - Pages: home floors, search (filters/sort/paging), goods detail (SKU picker, store rail, review tabs), cart -> checkout -> pay -> success, auth pages, user center (dashboard/orders/addresses/favorites/coupons/ invoices), stores, seckill, collective, integral - i18n split into per-domain locale modules (en+zh) - OpenSpec change mall-pc-storefront-replica archived; all specs green
73 lines
2.8 KiB
TypeScript
73 lines
2.8 KiB
TypeScript
export default {
|
|
en: {
|
|
auth: {
|
|
loginTitle: "Account sign in",
|
|
registerTitle: "Create account",
|
|
forgotTitle: "Reset password",
|
|
loginTab: "Account sign in",
|
|
registerTab: "Create account",
|
|
forgotTab: "Forgot password",
|
|
emailPlaceholder: "Enter your email",
|
|
passwordPlaceholder: "Enter your password",
|
|
newPassword: "New password",
|
|
displayNamePlaceholder: "Enter your display name",
|
|
confirmPassword: "Confirm password",
|
|
confirmPasswordPlaceholder: "Enter your password again",
|
|
smsCode: "Verification code",
|
|
smsCodePlaceholder: "Enter the code",
|
|
getCode: "Get code",
|
|
codeCountdown: "Retry in {n}s",
|
|
loginAction: "Sign in",
|
|
registerAction: "Create account",
|
|
resetAction: "Reset password",
|
|
forgotPassword: "Forgot password?",
|
|
noAccount: "Don't have an account?",
|
|
haveAccount: "Already have an account?",
|
|
registerNow: "Create one now",
|
|
loginNow: "Sign in now",
|
|
resetSuccess: "Password reset",
|
|
resetSuccessHint: "Your password has been reset. Sign in with your new password.",
|
|
validationRequired: "Please complete all required fields.",
|
|
validationEmail: "Enter a valid email address.",
|
|
validationPassword: "Password must be at least 6 characters.",
|
|
validationMismatch: "Passwords do not match.",
|
|
requestFailed: "Unable to complete this request. Please try again.",
|
|
},
|
|
},
|
|
zh: {
|
|
auth: {
|
|
loginTitle: "账号登录",
|
|
registerTitle: "注册账号",
|
|
forgotTitle: "忘记密码",
|
|
loginTab: "账号登录",
|
|
registerTab: "注册账号",
|
|
forgotTab: "忘记密码",
|
|
emailPlaceholder: "请输入邮箱",
|
|
passwordPlaceholder: "请输入密码",
|
|
newPassword: "新密码",
|
|
displayNamePlaceholder: "请输入昵称",
|
|
confirmPassword: "确认密码",
|
|
confirmPasswordPlaceholder: "请再次输入密码",
|
|
smsCode: "验证码",
|
|
smsCodePlaceholder: "请输入验证码",
|
|
getCode: "获取验证码",
|
|
codeCountdown: "{n} 秒后重试",
|
|
loginAction: "登录",
|
|
registerAction: "注册",
|
|
resetAction: "重置密码",
|
|
forgotPassword: "忘记密码?",
|
|
noAccount: "还没有账号?",
|
|
haveAccount: "已有账号?",
|
|
registerNow: "立即注册",
|
|
loginNow: "立即登录",
|
|
resetSuccess: "密码重置成功",
|
|
resetSuccessHint: "您的密码已重置,请使用新密码登录。",
|
|
validationRequired: "请填写所有必填项。",
|
|
validationEmail: "请输入有效的邮箱地址。",
|
|
validationPassword: "密码至少需要 6 位。",
|
|
validationMismatch: "两次输入的密码不一致。",
|
|
requestFailed: "操作失败,请稍后重试。",
|
|
},
|
|
},
|
|
};
|