重构webui的布局

This commit is contained in:
puke
2025-10-30 11:18:13 +08:00
parent ff7e1b42f7
commit 713b90c176
3 changed files with 96 additions and 56 deletions

View File

@@ -5,8 +5,10 @@
"app.subtitle": "打造专属你的视频创作引擎",
"section.content_input": "📖 内容输入",
"section.audio_settings": "🔊 声音设置",
"section.visual_settings": "🎨 画面设置",
"section.bgm": "🎵 背景音乐",
"section.tts": "🎤 语音合成",
"section.image": "🎨 插图生成",
"section.template": "📐 分镜模板",
"section.video_generation": "🎬 生成视频",
"input_mode.topic": "💡 主题",
@@ -40,16 +42,18 @@
"voice.previewing": "正在生成语音预览...",
"voice.preview_failed": "预览失败:{error}",
"style.title": "🎨 插图设置",
"style.workflow": "生图工作流",
"style.workflow_help": "💡 自定义:将 image_xxx.json 放入 workflows/selfhost/ 或 workflows/runninghub/ 文件夹",
"style.prompt_prefix": "风格提示词前缀",
"style.workflow": "工作流选择",
"style.workflow_what": "决定视频中每帧插图的生成方式和效果(如使用 FLUX、SD 等模型)",
"style.workflow_how": "将 image_xxx.json 工作流文件放入 workflows/selfhost/(本地 ComfyUI或 workflows/runninghub/(云端)文件夹",
"style.prompt_prefix": "提示词前缀",
"style.prompt_prefix_what": "自动添加到所有图片提示词前面,统一控制插图风格(如:卡通风格、写实风格等)",
"style.prompt_prefix_how": "直接在下方输入框填写风格描述。若要永久保存,需编辑 config.yaml 文件",
"style.prompt_prefix_placeholder": "输入风格前缀(留空则使用配置文件默认值)",
"style.prompt_prefix_help": "此文本将自动添加到所有图像生成提示词之前。要永久修改,请编辑 config.yaml",
"style.custom": "自定义",
"style.description": "风格描述",
"style.description_placeholder": "描述您想要的插图风格(任何语言)...",
"style.preview_title": "🔍 预览风格",
"style.preview_title": "预览风格",
"style.test_prompt": "测试提示词",
"style.test_prompt_help": "输入测试提示词来预览风格效果",
"style.preview": "🖼️ 生成预览",
@@ -61,12 +65,13 @@
"style.final_prompt_label": "最终提示词",
"style.generated_prompt": "生成的提示词:{prompt}",
"template.title": "📐 分镜模板",
"template.selector": "模板选择",
"template.default": "默认",
"template.modern": "现代",
"template.neon": "霓虹",
"template.custom_help": "💡 自定义:将 .html 文件放入 templates/ 文件夹",
"template.preview_title": "🔍 预览模板",
"template.what": "控制视频每一帧的视觉布局和设计风格(标题、文本、图片的排版样式)",
"template.how": "将 .html 模板文件放入 templates/ 文件夹即可自动识别。支持自定义 CSS 样式",
"template.preview_title": "预览模板",
"template.preview_param_title": "标题",
"template.preview_param_text": "文本",
"template.preview_param_image": "图片路径",
@@ -87,11 +92,12 @@
"video.frames_label": "分镜数:{n}",
"video.frames_fixed_mode_hint": "💡 固定模式:分镜数由脚本实际段落数决定",
"bgm.title": "🎵 背景音乐",
"bgm.selector": "音乐选择",
"bgm.none": "🔇 无背景音乐",
"bgm.preview": "▶ 试听音乐",
"bgm.preview_failed": "❌ 音乐文件未找到:{file}",
"bgm.custom_help": "💡 自定义:将音频文件放入 bgm/ 文件夹",
"bgm.what": "为视频添加背景音乐,让视频更有氛围感和专业性",
"bgm.how": "将音频文件MP3/WAV/FLAC 等)放入 bgm/ 文件夹即可自动识别",
"btn.generate": "🎬 生成视频",
"btn.save_config": "💾 保存配置",
@@ -155,10 +161,10 @@
"settings.comfyui.runninghub_api_key": "RunningHub API 密钥",
"settings.comfyui.runninghub_api_key_help": "访问 https://runninghub.ai 注册并获取 API Key",
"tts.title": "🎤 TTS 工作流",
"tts.workflow": "TTS 工作流",
"tts.workflow_help": "💡 自定义:将 tts_xxx.json 放入 workflows/selfhost/ 或 workflows/runninghub/ 文件夹",
"tts.preview_title": "🔍 预览 TTS",
"tts.selector": "工作流选择",
"tts.what": "将旁白文本转换为真人般的自然语音",
"tts.how": "将 tts_xxx.json 工作流文件放入 workflows/selfhost/(本地 ComfyUI或 workflows/runninghub/(云端)文件夹",
"tts.preview_title": "预览 TTS",
"tts.preview_text": "预览文本",
"tts.preview_text_placeholder": "输入要试听的文本...",
"tts.preview_button": "🔊 生成预览",
@@ -177,6 +183,10 @@
"label.required": "(必需)",
"label.optional": "(可选)",
"help.feature_description": "💡 功能说明",
"help.what": "作用",
"help.how": "自定义方式",
"language.select": "🌐 语言"
}
}