feat(admin,shop-admin): content/brand management + merchant shop profile (add-content-admin-ui)

This commit is contained in:
Chengdong Zhang
2026-09-23 14:27:00 +08:00
parent 9a749e2551
commit 93e5a05d48
22 changed files with 930 additions and 22 deletions
+42
View File
@@ -8,6 +8,8 @@ export const enExtra = {
nav: {
pointsProducts: "Points products",
pointsOrders: "Point redemptions",
content: "Content",
brands: "Brands",
},
admin: {
dashboardTitle: "Platform overview",
@@ -67,6 +69,25 @@ export const enExtra = {
fulfilled: "Fulfilled",
cancelled: "Cancelled",
},
contentBanners: "Banners",
contentPromos: "Promotions",
contentQuickLinks: "Quick links",
contentFloorAdverts: "Floor adverts",
contentImage: "Image URL",
contentUrl: "Destination URL",
contentLabelEn: "Label (English)",
contentLabelZh: "Label (中文)",
contentGlyph: "Icon SVG path",
contentAddRow: "Add row",
contentSaved: "Saved.",
contentBannerInvalid: "Image and destination URL are required.",
contentImageRequired: "Image URL is required.",
contentQuickLinkInvalid: "Both labels, URL and icon are required.",
brandSlug: "Slug",
brandSlugInvalid: "Use lowercase letters, numbers, and dashes only.",
brandNameRequired: "Both language names are required.",
brandSlugDuplicate: "Duplicate slug.",
brandsSaved: "Brands saved.",
},
} as const;
@@ -78,6 +99,8 @@ export const zhExtra = {
nav: {
pointsProducts: "积分商品",
pointsOrders: "积分兑换单",
content: "内容",
brands: "品牌",
},
admin: {
dashboardTitle: "平台概览",
@@ -137,5 +160,24 @@ export const zhExtra = {
fulfilled: "已发货",
cancelled: "已取消",
},
contentBanners: "横幅",
contentPromos: "促销位",
contentQuickLinks: "快捷入口",
contentFloorAdverts: "楼层广告",
contentImage: "图片链接",
contentUrl: "跳转链接",
contentLabelEn: "名称(英文)",
contentLabelZh: "名称(中文)",
contentGlyph: "图标 SVG 路径",
contentAddRow: "添加一行",
contentSaved: "已保存。",
contentBannerInvalid: "图片和跳转链接均为必填项。",
contentImageRequired: "图片链接为必填项。",
contentQuickLinkInvalid: "中英文名称、链接和图标均为必填项。",
brandSlug: "别名",
brandSlugInvalid: "仅允许小写字母、数字和连字符。",
brandNameRequired: "中英文名称均为必填项。",
brandSlugDuplicate: "别名重复。",
brandsSaved: "品牌已保存。",
},
} as const;