fix: unify terminology for consumer and player roles
This commit is contained in:
@@ -7,7 +7,7 @@ import { Card, CardContent, CardFooter, CardHeader } from "@/components/ui/card"
|
||||
import { mockPosts } from "@/lib/mock-data"
|
||||
|
||||
const roleLabels: Record<string, string> = {
|
||||
consumer: "玩家",
|
||||
consumer: "消费者",
|
||||
player: "打手",
|
||||
owner: "店主",
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ import { Textarea } from "@/components/ui/textarea"
|
||||
import { mockComments, mockOrders, mockPosts } from "@/lib/mock-data"
|
||||
|
||||
const roleLabels: Record<string, string> = {
|
||||
consumer: "玩家",
|
||||
consumer: "消费者",
|
||||
player: "打手",
|
||||
owner: "店主",
|
||||
}
|
||||
|
||||
@@ -80,7 +80,7 @@ export default async function ShopPage({ params }: PageProps) {
|
||||
<div className="flex items-center gap-1">
|
||||
<Users className="w-4 h-4" />
|
||||
<span className="font-medium">{shop.playerCount}</span>
|
||||
<span className="text-muted-foreground">陪玩师</span>
|
||||
<span className="text-muted-foreground">打手</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user