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.
This commit is contained in:
zetaloop
2026-02-22 10:34:55 +08:00
parent 519fb92c34
commit d0d21fa935
4 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -101,7 +101,7 @@ function OrderListContent({ currentRole, userId }: { currentRole: UserRole; user
<h1 className="text-2xl font-bold"></h1>
<Badge variant="outline" className="text-xs">
{currentRole === "consumer"
? "消费者视角"
? "客户视角"
: currentRole === "player"
? "打手视角"
: "店主视角"}
@@ -134,8 +134,8 @@ function OrderListContent({ currentRole, userId }: { currentRole: UserRole; user
{currentRole === "consumer"
? `打手: ${order.playerName}`
: currentRole === "player"
? `消费者: ${order.consumerName}`
: `消费者: ${order.consumerName} · 打手: ${order.playerName}`}
? `客户: ${order.consumerName}`
: `客户: ${order.consumerName} · 打手: ${order.playerName}`}
</p>
</CardHeader>
<CardContent>