fix: unify terminology for consumer and player roles

This commit is contained in:
zetaloop
2026-02-20 20:11:06 +08:00
parent b9859438d8
commit 4079d97f0f
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ import { Card, CardContent, CardFooter, CardHeader } from "@/components/ui/card"
import { mockPosts } from "@/lib/mock-data" import { mockPosts } from "@/lib/mock-data"
const roleLabels: Record<string, string> = { const roleLabels: Record<string, string> = {
consumer: "玩家", consumer: "消费者",
player: "打手", player: "打手",
owner: "店主", owner: "店主",
} }
+1 -1
View File
@@ -11,7 +11,7 @@ import { Textarea } from "@/components/ui/textarea"
import { mockComments, mockOrders, mockPosts } from "@/lib/mock-data" import { mockComments, mockOrders, mockPosts } from "@/lib/mock-data"
const roleLabels: Record<string, string> = { const roleLabels: Record<string, string> = {
consumer: "玩家", consumer: "消费者",
player: "打手", player: "打手",
owner: "店主", owner: "店主",
} }
+1 -1
View File
@@ -80,7 +80,7 @@ export default async function ShopPage({ params }: PageProps) {
<div className="flex items-center gap-1"> <div className="flex items-center gap-1">
<Users className="w-4 h-4" /> <Users className="w-4 h-4" />
<span className="font-medium">{shop.playerCount}</span> <span className="font-medium">{shop.playerCount}</span>
<span className="text-muted-foreground"></span> <span className="text-muted-foreground"></span>
</div> </div>
</div> </div>
</div> </div>