Files
vmall/apps/mall/locales/shell.ts
T
Chengdong Zhang 21e99bb52b feat(mall): classic B2B2C PC storefront with fixed mock API layer
- 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
2026-09-17 19:13:29 +08:00

80 lines
2.2 KiB
TypeScript

// Shell chrome: top bar, header/search/nav, category menu, footer.
export default {
en: {
shell: {
officialSite: "Official Site",
mallHome: "Mall Home",
contact: "Contact Us",
about: "About Us",
login: "Sign in",
register: "Register",
welcome: "Welcome,",
userCenter: "My Account",
logout: "Sign out",
sellerJoin: "Sell on VMall",
mobile: "Mobile",
appDownload: "App",
city: "San Francisco",
searchPlaceholder: "phones, laptops, clothing",
myMall: "My VMall",
myCart: "My Cart",
allCategories: "All Categories",
nav: {
home: "Home",
stores: "Stores",
seckill: "Flash Sale",
collective: "Group Buy",
integral: "Points Mall",
help: "Help Center",
},
footer: {
v1: "Fortune-500 quality",
v2: "7-day returns, 15-day exchanges",
v3: "Free shipping over $99",
v4: "448 service centers nationwide",
copyright: "VMall Demo Mall — all content is fixed mock data.",
icp: "Mock ICP 2026-0001",
},
backToTop: "Top",
},
},
zh: {
shell: {
officialSite: "官网首页",
mallHome: "商城首页",
contact: "联系我们",
about: "关于我们",
login: "登录",
register: "注册",
welcome: "欢迎您,",
userCenter: "个人中心",
logout: "退出登录",
sellerJoin: "商家入驻",
mobile: "手机端",
appDownload: "APP下载",
city: "旧金山",
searchPlaceholder: "手机 笔记本电脑 衣服",
myMall: "我的商城",
myCart: "我的购物车",
allCategories: "全部商品分类",
nav: {
home: "首页",
stores: "店铺街",
seckill: "秒杀",
collective: "拼团",
integral: "积分商城",
help: "帮助中心",
},
footer: {
v1: "500强企业 品质保证",
v2: "7天退货 15天换货",
v3: "满99美元免运费",
v4: "448家维修网点 全国联保",
copyright: "VMall 演示商城 —— 所有内容均为固定 mock 数据。",
icp: "模拟备案号 2026-0001",
},
backToTop: "顶部",
},
},
};