Files
juwan-frontend/lib/constants.ts
T
zetaloop d0d21fa935 chore(copy): rename consumer label to 客户
Unify user-facing role terminology by replacing 消费者 with 客户 while keeping role keys unchanged. This aligns account settings, header role switch, global role labels, and order list role text.
2026-02-22 10:34:55 +08:00

19 lines
450 B
TypeScript

import type { OrderStatus } from "./types"
export const statusLabels: Record<OrderStatus, string> = {
pending_payment: "待支付",
pending_accept: "待接单",
in_progress: "进行中",
pending_close: "待结单",
pending_review: "待评价",
disputed: "争议中",
completed: "已完成",
cancelled: "已取消",
}
export const roleLabels: Record<string, string> = {
consumer: "客户",
player: "打手",
owner: "店主",
}