d0d21fa935
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.
19 lines
450 B
TypeScript
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: "店主",
|
|
}
|