feat: add home page and refactor workspace entry UI

This commit is contained in:
saturn
2026-03-23 17:45:17 +08:00
parent a6ad11b9c4
commit 4e469074e0
48 changed files with 2970 additions and 453 deletions

View File

@@ -3,7 +3,8 @@
"subtitle": "Defaults to the global settings. You can customize models for this project only — changes apply to this project only.",
"saved": "Saved",
"autoSave": "Auto-save",
"visualStyle": "Visual Style",
"visualSettings": "Visual Settings",
"visualStyle": "Art Style",
"modelParams": "Model Parameters",
"aspectRatio": "Aspect Ratio",
"ttsSettings": "TTS Settings",

15
messages/en/home.json Normal file
View File

@@ -0,0 +1,15 @@
{
"title": "Quick Start",
"subtitle": "Describe your story and let AI generate cinematic short dramas",
"inputPlaceholder": "Enter your story idea, novel excerpt, or script outline...",
"startCreation": "Start Creating",
"recentProjects": "Recent Projects",
"viewAll": "View All Projects",
"noProjects": "No projects yet. Start your first creation from above!",
"ago": {
"justNow": "Just now",
"minutesAgo": "{n}m ago",
"hoursAgo": "{n}h ago",
"daysAgo": "{n}d ago"
}
}

View File

@@ -123,8 +123,8 @@
"5_4": "Horizontal · Banner",
"21_9": "Ultrawide · Cinema feel"
},
"visualStyle": "Visual Style",
"visualStyleHint": "Pick a style that matches your audience — e.g. Realistic for liveaction, Anime for 2D content",
"visualStyle": "Art Style",
"visualStyleHint": "Choose an art style that fits your project — e.g. Realistic for live-action, Anime for 2D content",
"currentConfigSummary": "Current config: {ratio} · {style}. All subsequent generations will use this combo.",
"assetLibraryRatioNote": "Asset library ratios are not affected",
"moreConfig": "For more configuration options, click the 「 Settings」 button in the top right",
@@ -134,7 +134,16 @@
},
"creating": "AI Creating...",
"ready": "✓ Configuration complete, ready for next step",
"pleaseInput": "Please enter script content first"
"pleaseInput": "Please enter script content first",
"longTextDetection": {
"title": "🚀 Smart Episode Splitting Recommended",
"description": "Detected ~{count} characters. Processing long text as a single episode may reduce output quality.",
"strongRecommend": "We strongly recommend using Smart Split. AI will automatically identify chapters, split into episodes, and process them in parallel for significantly better results.",
"continueAnyway": "Continue as single episode",
"smartSplit": "Smart Split",
"smartSplitRecommend": "Recommended",
"singleEpisodeWarning": "All content will be processed as one episode"
}
},
"execution": {
"selectEpisode": "Please select an episode first",

View File

@@ -0,0 +1,77 @@
{
"pageTitle": "Homepage Redesign Test",
"switchVariant": "Switch Layout",
"currentVariant": "Current Layout",
"inputPlaceholder": "Describe the story you want to create...",
"startCreation": "Start Creating",
"recentProjects": "Recent Projects",
"viewAll": "View All",
"noRecentProjects": "No recent projects",
"latestUpdate": "Latest Update",
"style": "Style",
"ratio": "Ratio",
"quality": "Quality",
"model": "Model",
"styles": {
"anime": "Anime",
"realistic": "Realistic",
"watercolor": "Watercolor",
"cyberpunk": "Cyberpunk",
"ghibli": "Ghibli",
"ink": "Ink Wash"
},
"ratios": {
"r16_9": "16:9 Landscape",
"r9_16": "9:16 Portrait",
"r1_1": "1:1 Square",
"r4_3": "4:3 Classic"
},
"qualities": {
"standard": "Standard",
"high": "High",
"ultra": "Ultra"
},
"quickActions": {
"title": "Quick Start",
"fromNovel": "Import from Novel",
"fromScript": "Create from Script",
"fromScratch": "Start from Scratch",
"fromTemplate": "Use Template"
},
"mockProject": {
"name1": "Campus Youth Story",
"desc1": "A romantic tale about high school life",
"name2": "Star Trek Journal",
"desc2": "A space adventure sci-fi short drama",
"name3": "Ancient Xianxia Chronicles",
"desc3": "Love and rivalry in a cultivation world",
"name4": "Urban Encounters",
"desc4": "Wondrous encounters in a modern city",
"name5": "The Last Travelers",
"desc5": "A survival journey in a post-apocalyptic world"
},
"variantNames": {
"v1": "Grid Cards",
"v2": "Horizontal Scroll",
"v3": "Compact List",
"v4": "Featured First",
"v5": "Minimal List"
},
"variantDescs": {
"v1": "Standard 5-column grid with system card style",
"v2": "Horizontal scrollable cards with snap",
"v3": "Single-row list with left-right info",
"v4": "Large first card + small card grid",
"v5": "Minimal dot-list matching input width"
},
"episodes": "Episodes",
"images": "Images",
"videos": "Videos",
"updated": "Updated",
"ago": {
"justNow": "Just now",
"minutesAgo": "{n}m ago",
"hoursAgo": "{n}h ago",
"daysAgo": "{n}d ago"
}
}

View File

@@ -3,7 +3,8 @@
"subtitle": "默认沿用设置中心的全局配置,也可为当前项目单独自定义,修改仅对本项目生效。",
"saved": "已保存",
"autoSave": "自动保存",
"visualStyle": "视觉风格",
"visualSettings": "画面设置",
"visualStyle": "画面风格",
"modelParams": "模型参数",
"aspectRatio": "画面比例",
"ttsSettings": "旁白配置",

15
messages/zh/home.json Normal file
View File

@@ -0,0 +1,15 @@
{
"title": "快速开始",
"subtitle": "描述你想要创作的故事AI 为你智能生成影视短剧",
"inputPlaceholder": "输入你的故事创意、小说片段或剧本大纲...",
"startCreation": "开始创作",
"recentProjects": "最近项目",
"viewAll": "查看全部项目",
"noProjects": "还没有项目,从上方开始你的第一个创作吧",
"ago": {
"justNow": "刚刚",
"minutesAgo": "{n}分钟前",
"hoursAgo": "{n}小时前",
"daysAgo": "{n}天前"
}
}

View File

@@ -123,8 +123,8 @@
"5_4": "横屏 · Banner",
"21_9": "超宽 · 电影感"
},
"visualStyle": "视觉风格",
"visualStyleHint": "根据受众选择画面风格,例如:真人风格适合写实剧情,动漫风格适合二次元内容",
"visualStyle": "画面风格",
"visualStyleHint": "选择画面风格,不同风格适合不同类型的作品",
"currentConfigSummary": "当前配置:{ratio} · {style},后续生成都会使用此组合",
"assetLibraryRatioNote": "资产库比例不受影响",
"moreConfig": "更多配置请点击右上角「 配置」按钮",
@@ -134,7 +134,16 @@
},
"creating": "AI 创作中...",
"ready": "✓ 配置完成,可以进入下一步",
"pleaseInput": "请先输入剧本内容"
"pleaseInput": "请先输入剧本内容",
"longTextDetection": {
"title": "🚀 建议使用智能分集",
"description": "检测到文本约 {count} 字,长文本直接作为单集处理可能导致生成效果不佳。",
"strongRecommend": "强烈建议使用智能分集AI 将自动识别章节结构,拆分为多集并行处理,显著提升生成质量和效率。",
"continueAnyway": "仍然单集创作",
"smartSplit": "智能分集",
"smartSplitRecommend": "推荐",
"singleEpisodeWarning": "单集模式下,所有内容将作为一集处理"
}
},
"execution": {
"selectEpisode": "请先选择剧集",

View File

@@ -0,0 +1,77 @@
{
"pageTitle": "首页重设计测试",
"switchVariant": "切换排版",
"currentVariant": "当前排版",
"inputPlaceholder": "描述你想要创作的故事...",
"startCreation": "开始创作",
"recentProjects": "最近项目",
"viewAll": "查看全部",
"noRecentProjects": "暂无最近项目",
"latestUpdate": "最近更新",
"style": "风格",
"ratio": "比例",
"quality": "质量",
"model": "模型",
"styles": {
"anime": "日系动漫",
"realistic": "写实风格",
"watercolor": "水彩风格",
"cyberpunk": "赛博朋克",
"ghibli": "吉卜力",
"ink": "国风水墨"
},
"ratios": {
"r16_9": "16:9 横屏",
"r9_16": "9:16 竖屏",
"r1_1": "1:1 方形",
"r4_3": "4:3 经典"
},
"qualities": {
"standard": "标准",
"high": "高清",
"ultra": "超清"
},
"quickActions": {
"title": "快速开始",
"fromNovel": "从小说导入",
"fromScript": "从剧本创建",
"fromScratch": "空白创建",
"fromTemplate": "模板创建"
},
"mockProject": {
"name1": "校园青春物语",
"desc1": "一段关于高中生活的浪漫故事",
"name2": "星际迷航记",
"desc2": "太空冒险科幻短剧",
"name3": "古风仙侠录",
"desc3": "修仙世界的恩怨情仇",
"name4": "都市奇缘",
"desc4": "现代都市中的奇妙遭遇",
"name5": "末日旅人",
"desc5": "后末日世界的生存之旅"
},
"variantNames": {
"v1": "网格卡片",
"v2": "横向滚动",
"v3": "紧凑列表",
"v4": "突出首项",
"v5": "极简列表"
},
"variantDescs": {
"v1": "标准5列网格系统真实卡片风格",
"v2": "一行横滚大卡片,可滑动查看",
"v3": "单行式列表,信息左右分布",
"v4": "首个项目大卡片+右侧小卡片网格",
"v5": "和输入框同宽的极简圆点行"
},
"episodes": "章节",
"images": "图片",
"videos": "视频",
"updated": "更新于",
"ago": {
"justNow": "刚刚",
"minutesAgo": "{n}分钟前",
"hoursAgo": "{n}小时前",
"daysAgo": "{n}天前"
}
}