feat(reviews): order-line reviews with merchant reply and platform moderation (add-product-reviews)

This commit is contained in:
Chengdong Zhang
2026-09-24 16:38:05 +08:00
parent 473d19d089
commit c532f87b03
34 changed files with 2055 additions and 36 deletions
+36
View File
@@ -11,6 +11,7 @@ export const enExtra = {
shopProfile: "Shop profile",
aftersales: "After-sales",
freightTemplates: "Freight templates",
reviews: "Reviews",
},
shop: {
profileSaved: "Shop profile saved.",
@@ -259,6 +260,23 @@ export const enExtra = {
cancelled: "Cancelled",
},
},
review: {
title: "Product reviews",
product: "Product",
buyer: "Buyer",
rating: "Rating",
content: "Review",
createdAt: "Reviewed at",
replyStatus: "Reply status",
replied: "Replied",
unreplied: "Not replied",
reply: "Reply",
replyPlaceholder: "Type the reply to this customer…",
replyAt: "Replied at",
replySaved: "Reply sent.",
replyConflict: "This review already has a reply; the latest state is shown below.",
replyRequired: "Reply text is required.",
},
} as Record<string, unknown>;
export const zhExtra = {
@@ -269,6 +287,7 @@ export const zhExtra = {
coupons: "优惠券",
flashSales: "秒杀",
groupBuying: "拼团",
reviews: "评价",
shopProfile: "店铺资料",
aftersales: "售后",
freightTemplates: "运费模板",
@@ -518,4 +537,21 @@ export const zhExtra = {
cancelled: "已取消",
},
},
review: {
title: "商品评价",
product: "商品",
buyer: "买家",
rating: "星级",
content: "评价内容",
createdAt: "评价时间",
replyStatus: "回复状态",
replied: "已回复",
unreplied: "未回复",
reply: "回复",
replyPlaceholder: "输入给买家的回复…",
replyAt: "回复时间",
replySaved: "回复已发送。",
replyConflict: "该评价已有回复,已为你展示最新状态。",
replyRequired: "回复内容不能为空。",
},
} as Record<string, unknown>;