Files
vmall/apps/mall/locales/shell.ts
T
james 9904696e76 feat: wave 2 migration (P3, P5, P7 openspec changes)
Implements, verifies, and archives the three remaining Wave 2 changes from
openspec/MIGRATION-PLAN.md.

- add-wallet-settlement (P3): demo recharge, guarded withdrawal freeze and
  one-time admin review, paginated own fund entries, idempotent per-shop
  weekly/monthly settlement statements with commission rate and one-time
  payout confirmation.
- add-merchant-onboarding (P5): personal/enterprise applications with one live
  application per user, guarded review with mandatory rejection reason, and
  transactional shop + owner provisioning returning one-time credentials;
  mall onboarding/status pages and an admin review console.
- add-membership-messaging (P7): platform member levels, append-only growth
  accrual on order completion with guarded one-way leveling, order/shipment/
  refund system messages with unread/read state and soft deletion, plus the
  mall header unread badge.

Backend: migrations 0019-0023, new wallet, settlement, merchant_onboarding,
membership and messaging modules, event hooks in order/fulfillment/aftersale,
and integration suites for each. Shared contract extended and all three
frontends updated; code indexes, domain docs, backend guidelines and the
migration tracker synced.

Verification: cargo test -p vmall-api green twice consecutively; mall, admin
and shop-admin builds pass; browser smoke on every new surface; openspec
validate --all --strict green (33 passed).

The three changes share the @vmall/shared contract, the mall mock adapter and
per-app locale/nav files, so they are committed together to keep every commit
buildable.
2026-09-25 15:25:29 +00:00

82 lines
2.3 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",
sellerJoin: "Become a Seller",
},
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",
sellerJoin: "成为商家",
},
backToTop: "顶部",
},
},
};