feat(kol-web): add i18n keys for KOL profile page

This commit is contained in:
2026-04-18 14:08:22 +08:00
parent ccf7f8080b
commit 4026aa7dad
2 changed files with 44 additions and 0 deletions
+22
View File
@@ -84,6 +84,7 @@ const enUS = {
kolWorkspace: "KOL Workspace",
kolManage: "Prompt Management",
kolDashboard: "Dashboard",
kolProfile: "Profile",
},
auth: {
welcomeBack: "Welcome back",
@@ -232,6 +233,27 @@ const enUS = {
byPackage: "By package",
trend: "Trend",
},
profile: {
title: "KOL Profile",
subtitle: "These fields are shown in the KOL Marketplace and are separate from your account settings.",
persona: {
displayNameLabel: "Display name",
displayNamePlaceholder: "Enter your public display name",
bioLabel: "Bio",
bioPlaceholder: "A short intro for your subscribers",
avatarLabel: "Avatar",
avatarHint: "PNG/JPG/GIF/WebP, up to 2 MB",
avatarUploading: "Uploading avatar…",
saveSuccess: "Updated",
saveError: "Failed to update",
displayNameRequired: "Display name is required",
displayNameTooLong: "Display name must be at most 40 characters",
bioTooLong: "Bio must be at most 500 characters",
avatarInvalidType: "Only PNG/JPG/GIF/WebP are supported",
avatarTooLarge: "Avatar size cannot exceed 2 MB",
notActive: "You are not an active KOL",
},
},
},
workspace: {
eyebrow: "Dashboard",
+22
View File
@@ -84,6 +84,7 @@ const zhCN = {
kolWorkspace: "KOL 工作台",
kolManage: "提示词管理",
kolDashboard: "数据看板",
kolProfile: "个人主页",
},
auth: {
welcomeBack: "欢迎回来",
@@ -232,6 +233,27 @@ const zhCN = {
byPackage: "按包维度",
trend: "趋势",
},
profile: {
title: "KOL 个人主页",
subtitle: "此处信息公开展示在 KOL 市场,与账号设置无关",
persona: {
displayNameLabel: "显示名",
displayNamePlaceholder: "请输入你的展示名",
bioLabel: "简介",
bioPlaceholder: "写一句你希望订阅者看到的自我介绍",
avatarLabel: "头像",
avatarHint: "支持 PNG/JPG/GIF/WebP,最大 2 MB",
avatarUploading: "正在上传头像…",
saveSuccess: "已更新",
saveError: "更新失败",
displayNameRequired: "请填写显示名",
displayNameTooLong: "显示名最多 40 个字符",
bioTooLong: "简介最多 500 个字符",
avatarInvalidType: "仅支持 PNG/JPG/GIF/WebP",
avatarTooLarge: "头像大小不能超过 2 MB",
notActive: "你当前不是活跃的 KOL",
},
},
},
workspace: {
eyebrow: "Dashboard",