Initial commit: clean project structure
- Backend: FastAPI + SQLAlchemy + Celery (Python 3.11+) - Frontend: Vue 3 + TypeScript + Pinia + Tailwind - Admin Frontend: separate Vue 3 app for management - Docker Compose: 9 services orchestration - Specs: design prototypes, memory system PRD, product roadmap Cleanup performed: - Removed temporary debug scripts from backend root - Removed deprecated admin_app.py (embedded UI) - Removed duplicate docs from admin-frontend - Updated .gitignore for Vite cache and egg-info
This commit is contained in:
154
admin-frontend/src/locales/en.json
Normal file
154
admin-frontend/src/locales/en.json
Normal file
@@ -0,0 +1,154 @@
|
||||
{
|
||||
"app": {
|
||||
"title": "DreamWeaver",
|
||||
"navHome": "Home",
|
||||
"navMyStories": "My Stories",
|
||||
"navProfiles": "Profiles",
|
||||
"navUniverses": "Universes",
|
||||
"navAdmin": "Providers Admin"
|
||||
},
|
||||
"home": {
|
||||
"heroTitle": "Weave magical",
|
||||
"heroTitleHighlight": "bedtime stories for your child",
|
||||
"heroSubtitle": "AI-powered personalized stories for children aged 3-8, making every bedtime magical",
|
||||
"heroCta": "Start Creating",
|
||||
"heroCtaSecondary": "Learn More",
|
||||
"heroPreviewTitle": "Bunny's Brave Adventure",
|
||||
"heroPreviewText": "In a forest kissed by morning dew, there lived a little white bunny named Cotton...",
|
||||
|
||||
"trustStoriesCreated": "Stories Created",
|
||||
"trustFamilies": "Families Trust Us",
|
||||
"trustSatisfaction": "Satisfaction",
|
||||
|
||||
"featuresTitle": "Why Choose DreamWeaver",
|
||||
"featuresSubtitle": "We combine AI technology with educational principles to create unique stories for every child",
|
||||
"feature1Title": "AI-Powered Creation",
|
||||
"feature1Desc": "Enter a few keywords, and AI instantly creates an imaginative original story for your child",
|
||||
"feature2Title": "Personalized Memory",
|
||||
"feature2Desc": "The system remembers your child's preferences and growth, making stories more tailored over time",
|
||||
"feature3Title": "Beautiful AI Illustrations",
|
||||
"feature3Desc": "Automatically generate unique cover illustrations for each story, bringing them to life",
|
||||
"feature4Title": "Warm Voice Narration",
|
||||
"feature4Desc": "Professional AI narration with a warm voice to accompany your child into sweet dreams",
|
||||
"feature5Title": "Educational Themes",
|
||||
"feature5Desc": "Courage, friendship, sharing, honesty... naturally weaving positive values into stories",
|
||||
"feature6Title": "Story Universe",
|
||||
"feature6Desc": "Create your own world where beloved characters continue their adventures across stories",
|
||||
|
||||
"howItWorksTitle": "How It Works",
|
||||
"howItWorksSubtitle": "Four steps to start your magical story journey",
|
||||
"step1Title": "Enter Ideas",
|
||||
"step1Desc": "Input keywords, characters, or simple ideas",
|
||||
"step2Title": "AI Creates",
|
||||
"step2Desc": "AI generates a unique story based on your input",
|
||||
"step3Title": "Enrich Content",
|
||||
"step3Desc": "Auto-generate beautiful illustrations and audio",
|
||||
"step4Title": "Share Stories",
|
||||
"step4Desc": "Save and tell stories to your child anytime",
|
||||
|
||||
"showcaseTitle": "Designed for Parents",
|
||||
"showcaseSubtitle": "Simple to use, powerful features",
|
||||
"showcaseFeature1": "Intuitive interface, generate stories in seconds",
|
||||
"showcaseFeature2": "Multi-child profile management with separate memories",
|
||||
"showcaseFeature3": "Story history saved forever, revisit precious moments",
|
||||
"showcaseFeature4": "Bilingual support to nurture language skills",
|
||||
|
||||
"testimonialsTitle": "What Parents Say",
|
||||
"testimonialsSubtitle": "Real feedback from our users",
|
||||
"testimonial1Text": "Every night before bed, my daughter wants a new story. DreamWeaver saves me from making up stories, and the quality is amazing!",
|
||||
"testimonial1Name": "Sarah M.",
|
||||
"testimonial1Role": "Parent of 5-year-old girl",
|
||||
"testimonial2Text": "The personalization is incredible! It remembers my son loves dinosaurs and space, and every story hits his interests perfectly.",
|
||||
"testimonial2Name": "Michael T.",
|
||||
"testimonial2Role": "Parent of 6-year-old boy",
|
||||
"testimonial3Text": "The voice narration is fantastic! Even when traveling, I can tell stories remotely. The voice is warm and natural, my daughter loves it.",
|
||||
"testimonial3Name": "Jennifer L.",
|
||||
"testimonial3Role": "Parent of 4-year-old girl",
|
||||
|
||||
"faqTitle": "Frequently Asked Questions",
|
||||
"faq1Question": "What age is DreamWeaver suitable for?",
|
||||
"faq1Answer": "We're designed for children aged 3-8. Story content, language difficulty, and educational themes are all optimized for this age group.",
|
||||
"faq2Question": "Are the generated stories safe?",
|
||||
"faq2Answer": "Absolutely safe. All stories go through content filtering to ensure they're appropriate for children and convey positive values.",
|
||||
"faq3Question": "Can I customize story characters?",
|
||||
"faq3Answer": "Yes! You can set preferences in your child's profile, or specify character names and traits when creating. AI will incorporate them into the story.",
|
||||
"faq4Question": "Will stories repeat?",
|
||||
"faq4Answer": "No. Every story is originally generated by AI in real-time. Even with the same keywords, you'll get different stories each time.",
|
||||
"faq5Question": "What languages are supported?",
|
||||
"faq5Answer": "Currently we support Chinese and English. You can switch interface language anytime, and stories will adjust accordingly.",
|
||||
|
||||
"ctaTitle": "Ready to Create Magic for Your Child?",
|
||||
"ctaSubtitle": "Start now and let AI weave unique stories for your child's growth",
|
||||
"ctaButton": "Start Creating Free",
|
||||
"ctaNote": "No credit card required",
|
||||
|
||||
"createModalTitle": "Create New Story",
|
||||
"inputTypeKeywords": "Keywords",
|
||||
"inputTypeStory": "Polish Story",
|
||||
"selectProfile": "Select Child Profile",
|
||||
"selectProfileOptional": "(Optional)",
|
||||
"selectUniverse": "Select Story Universe",
|
||||
"noProfile": "No profile",
|
||||
"noUniverse": "No universe",
|
||||
"noUniverseHint": "No universe for this profile yet. Create one in Story Universe.",
|
||||
"inputLabel": "Enter Keywords",
|
||||
"inputLabelStory": "Enter Your Story",
|
||||
"inputPlaceholder": "e.g., bunny, forest, courage, friendship...",
|
||||
"inputPlaceholderStory": "Enter the story you want to polish...",
|
||||
"themeLabel": "Select Educational Theme",
|
||||
"themeOptional": "(Optional)",
|
||||
"themeCourage": "Courage",
|
||||
"themeFriendship": "Friendship",
|
||||
"themeSharing": "Sharing",
|
||||
"themeHonesty": "Honesty",
|
||||
"themePersistence": "Persistence",
|
||||
"themeTolerance": "Tolerance",
|
||||
"themeCustom": "Or custom...",
|
||||
"errorEmpty": "Please enter content",
|
||||
"errorLogin": "Please login first",
|
||||
"generating": "Weaving your story...",
|
||||
"loginFirst": "Please Login",
|
||||
"startCreate": "Create Magic Story"
|
||||
},
|
||||
"stories": {
|
||||
"myStories": "My Stories",
|
||||
"view": "View",
|
||||
"delete": "Delete",
|
||||
"confirmDelete": "Are you sure to delete this story?",
|
||||
"noStories": "No stories yet."
|
||||
},
|
||||
"storyDetail": {
|
||||
"back": "Back",
|
||||
"generateImage": "Generate Cover",
|
||||
"playAudio": "Play Audio",
|
||||
"modeGenerated": "Generated",
|
||||
"modeEnhanced": "Enhanced"
|
||||
},
|
||||
"admin": {
|
||||
"title": "Provider Management",
|
||||
"reload": "Reload Cache",
|
||||
"create": "Create",
|
||||
"edit": "Edit",
|
||||
"save": "Save",
|
||||
"clear": "Clear",
|
||||
"delete": "Delete",
|
||||
"name": "Name",
|
||||
"type": "Type",
|
||||
"adapter": "Adapter",
|
||||
"model": "Model",
|
||||
"apiBase": "API Base",
|
||||
"timeout": "Timeout (ms)",
|
||||
"retries": "Max Retries",
|
||||
"weight": "Weight",
|
||||
"priority": "Priority",
|
||||
"configRef": "Config Ref",
|
||||
"enabled": "Enabled",
|
||||
"actions": "Actions"
|
||||
},
|
||||
"common": {
|
||||
"enabled": "Enabled",
|
||||
"disabled": "Disabled",
|
||||
"confirm": "Confirm",
|
||||
"cancel": "Cancel"
|
||||
}
|
||||
}
|
||||
154
admin-frontend/src/locales/zh.json
Normal file
154
admin-frontend/src/locales/zh.json
Normal file
@@ -0,0 +1,154 @@
|
||||
{
|
||||
"app": {
|
||||
"title": "梦语织机",
|
||||
"navHome": "首页",
|
||||
"navMyStories": "我的故事",
|
||||
"navProfiles": "孩子档案",
|
||||
"navUniverses": "故事宇宙",
|
||||
"navAdmin": "供应商管理"
|
||||
},
|
||||
"home": {
|
||||
"heroTitle": "为孩子编织",
|
||||
"heroTitleHighlight": "专属的童话梦境",
|
||||
"heroSubtitle": "AI 智能创作个性化成长故事,陪伴 3-8 岁孩子的每一个美好夜晚",
|
||||
"heroCta": "开始创作",
|
||||
"heroCtaSecondary": "了解更多",
|
||||
"heroPreviewTitle": "小兔子的勇气冒险",
|
||||
"heroPreviewText": "在一片被晨露打湿的森林里,住着一只名叫棉花的小白兔...",
|
||||
|
||||
"trustStoriesCreated": "故事已创作",
|
||||
"trustFamilies": "家庭信赖",
|
||||
"trustSatisfaction": "满意度",
|
||||
|
||||
"featuresTitle": "为什么选择梦语织机",
|
||||
"featuresSubtitle": "我们用 AI 技术和教育理念,为每个孩子打造独一无二的成长故事",
|
||||
"feature1Title": "AI 智能创作",
|
||||
"feature1Desc": "输入几个关键词,AI 即刻为您的孩子创作一个充满想象力的原创故事",
|
||||
"feature2Title": "个性化记忆",
|
||||
"feature2Desc": "系统记住孩子的喜好和成长轨迹,故事越来越懂 TA",
|
||||
"feature3Title": "精美 AI 插画",
|
||||
"feature3Desc": "为每个故事自动生成独特的精美封面插画,让故事更加生动",
|
||||
"feature4Title": "温暖语音朗读",
|
||||
"feature4Desc": "专业级 AI 配音,温暖的声音陪伴孩子进入甜美梦乡",
|
||||
"feature5Title": "教育主题融入",
|
||||
"feature5Desc": "勇气、友谊、分享、诚实...在故事中自然传递正向价值观",
|
||||
"feature6Title": "故事宇宙",
|
||||
"feature6Desc": "创建专属世界观,让喜爱的角色在不同故事中持续冒险",
|
||||
|
||||
"howItWorksTitle": "如何使用",
|
||||
"howItWorksSubtitle": "四步开启奇妙故事之旅",
|
||||
"step1Title": "输入灵感",
|
||||
"step1Desc": "输入关键词、角色或简单想法",
|
||||
"step2Title": "AI 创作",
|
||||
"step2Desc": "AI 根据输入生成专属故事",
|
||||
"step3Title": "丰富内容",
|
||||
"step3Desc": "自动生成精美插画和语音",
|
||||
"step4Title": "分享故事",
|
||||
"step4Desc": "保存收藏,随时为孩子讲述",
|
||||
|
||||
"showcaseTitle": "专为家长设计",
|
||||
"showcaseSubtitle": "简单易用,功能强大",
|
||||
"showcaseFeature1": "直观的创作界面,几秒即可生成故事",
|
||||
"showcaseFeature2": "多孩子档案管理,每个孩子独立记忆",
|
||||
"showcaseFeature3": "故事历史永久保存,随时回顾美好时光",
|
||||
"showcaseFeature4": "支持中英双语,培养语言能力",
|
||||
|
||||
"testimonialsTitle": "家长们怎么说",
|
||||
"testimonialsSubtitle": "来自真实用户的反馈",
|
||||
"testimonial1Text": "每晚睡前,女儿都要听一个新故事。梦语织机让我不再为编故事发愁,而且故事质量真的很高!",
|
||||
"testimonial1Name": "小雨妈妈",
|
||||
"testimonial1Role": "5岁女孩家长",
|
||||
"testimonial2Text": "最惊喜的是个性化功能,系统记住了儿子喜欢恐龙和太空,每个故事都能戳中他的兴趣点。",
|
||||
"testimonial2Name": "航航爸爸",
|
||||
"testimonial2Role": "6岁男孩家长",
|
||||
"testimonial3Text": "语音朗读功能太棒了!出差时也能远程给孩子讲故事,声音温暖自然,孩子很喜欢。",
|
||||
"testimonial3Name": "朵朵妈妈",
|
||||
"testimonial3Role": "4岁女孩家长",
|
||||
|
||||
"faqTitle": "常见问题",
|
||||
"faq1Question": "梦语织机适合多大的孩子?",
|
||||
"faq1Answer": "我们专为 3-8 岁儿童设计,故事内容、语言难度和教育主题都针对这个年龄段优化。",
|
||||
"faq2Question": "生成的故事安全吗?",
|
||||
"faq2Answer": "绝对安全。所有故事都经过内容过滤,确保适合儿童阅读,传递积极正向的价值观。",
|
||||
"faq3Question": "可以自定义故事角色吗?",
|
||||
"faq3Answer": "可以!您可以在孩子档案中设置喜好,或在创作时指定角色名称、特点,AI 会将其融入故事。",
|
||||
"faq4Question": "故事会重复吗?",
|
||||
"faq4Answer": "不会。每个故事都是 AI 实时原创生成的,即使使用相同关键词,也会产生不同的故事。",
|
||||
"faq5Question": "支持哪些语言?",
|
||||
"faq5Answer": "目前支持中文和英文,您可以随时切换界面语言,故事也会相应调整。",
|
||||
|
||||
"ctaTitle": "准备好为孩子创造魔法了吗?",
|
||||
"ctaSubtitle": "立即开始,让 AI 为您的孩子编织独一无二的成长故事",
|
||||
"ctaButton": "免费开始创作",
|
||||
"ctaNote": "无需信用卡,立即体验",
|
||||
|
||||
"createModalTitle": "创作新故事",
|
||||
"inputTypeKeywords": "关键词创作",
|
||||
"inputTypeStory": "故事润色",
|
||||
"selectProfile": "选择孩子档案",
|
||||
"selectProfileOptional": "(可选)",
|
||||
"selectUniverse": "选择故事宇宙",
|
||||
"noProfile": "不使用档案",
|
||||
"noUniverse": "不选择宇宙",
|
||||
"noUniverseHint": "当前档案暂无宇宙,可在「故事宇宙」中创建",
|
||||
"inputLabel": "输入关键词",
|
||||
"inputLabelStory": "输入您的故事",
|
||||
"inputPlaceholder": "例如:小兔子, 森林, 勇气, 友谊...",
|
||||
"inputPlaceholderStory": "在这里输入您想要润色的故事...",
|
||||
"themeLabel": "选择教育主题",
|
||||
"themeOptional": "(可选)",
|
||||
"themeCourage": "勇气",
|
||||
"themeFriendship": "友谊",
|
||||
"themeSharing": "分享",
|
||||
"themeHonesty": "诚实",
|
||||
"themePersistence": "坚持",
|
||||
"themeTolerance": "包容",
|
||||
"themeCustom": "或自定义...",
|
||||
"errorEmpty": "请输入内容",
|
||||
"errorLogin": "请先登录",
|
||||
"generating": "正在编织故事...",
|
||||
"loginFirst": "请先登录",
|
||||
"startCreate": "开始创作魔法故事"
|
||||
},
|
||||
"stories": {
|
||||
"myStories": "我的故事",
|
||||
"view": "查看",
|
||||
"delete": "删除",
|
||||
"confirmDelete": "确定删除这个故事吗?",
|
||||
"noStories": "暂无故事。"
|
||||
},
|
||||
"storyDetail": {
|
||||
"back": "返回",
|
||||
"generateImage": "生成封面",
|
||||
"playAudio": "播放音频",
|
||||
"modeGenerated": "生成",
|
||||
"modeEnhanced": "润色"
|
||||
},
|
||||
"admin": {
|
||||
"title": "供应商管理",
|
||||
"reload": "重载缓存",
|
||||
"create": "创建",
|
||||
"edit": "编辑",
|
||||
"save": "保存",
|
||||
"clear": "清空",
|
||||
"delete": "删除",
|
||||
"name": "名称",
|
||||
"type": "类型",
|
||||
"adapter": "适配器",
|
||||
"model": "模型",
|
||||
"apiBase": "API Base",
|
||||
"timeout": "超时 (ms)",
|
||||
"retries": "最大重试",
|
||||
"weight": "权重",
|
||||
"priority": "优先级",
|
||||
"configRef": "Config Ref",
|
||||
"enabled": "启用",
|
||||
"actions": "操作"
|
||||
},
|
||||
"common": {
|
||||
"enabled": "启用",
|
||||
"disabled": "停用",
|
||||
"confirm": "确认",
|
||||
"cancel": "取消"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user