新增模板预览功能

This commit is contained in:
puke
2025-10-28 14:39:49 +08:00
committed by puke
parent 3d8cbe72e2
commit 29588370ee
5 changed files with 132 additions and 1 deletions

View File

@@ -76,6 +76,20 @@
"template.modern": "Modern",
"template.neon": "Neon",
"template.custom_help": "💡 Custom: Place .html files in templates/ folder",
"template.preview_title": "🔍 Preview Template",
"template.preview_param_title": "Title",
"template.preview_param_text": "Text",
"template.preview_param_image": "Image Path",
"template.preview_param_width": "Width",
"template.preview_param_height": "Height",
"template.preview_default_title": "AI Changes Content Creation",
"template.preview_default_text": "Artificial intelligence is transforming the way we create content, making it easy for everyone to produce professional-grade videos.",
"template.preview_button": "🖼️ Generate Preview",
"template.preview_generating": "Generating template preview...",
"template.preview_success": "✅ Preview generated successfully!",
"template.preview_failed": "❌ Preview failed: {error}",
"template.preview_image_help": "Supports local path or URL",
"template.preview_caption": "Template Preview: {template}",
"video.title": "🎬 Video Settings",
"video.frames": "Scenes",

View File

@@ -76,6 +76,20 @@
"template.modern": "现代",
"template.neon": "霓虹",
"template.custom_help": "💡 自定义:将 .html 文件放入 templates/ 文件夹",
"template.preview_title": "🔍 预览模板",
"template.preview_param_title": "标题",
"template.preview_param_text": "文本",
"template.preview_param_image": "图片路径",
"template.preview_param_width": "宽度",
"template.preview_param_height": "高度",
"template.preview_default_title": "AI 改变内容创作",
"template.preview_default_text": "人工智能正在改变内容创作的方式,让每个人都能轻松制作专业级视频。",
"template.preview_button": "🖼️ 生成预览",
"template.preview_generating": "正在生成模板预览...",
"template.preview_success": "✅ 预览生成成功!",
"template.preview_failed": "❌ 预览失败:{error}",
"template.preview_image_help": "支持本地路径或 URL",
"template.preview_caption": "模板预览:{template}",
"video.title": "🎬 视频设置",
"video.frames": "分镜数",