Skip to content

利用 AI 大模型和自动化工作流,根据主题或关键词一键生成高清短视频。Generate HD short videos from a topic or keyword with an automated AI workflow.

fix(i18n): complete secondary translations

harry07039c25f8214e0e
diff --git a/test/services/test_webui_i18n.py b/test/services/test_webui_i18n.py
index 4cb56024..35d358ea 100644
--- a/test/services/test_webui_i18n.py
+++ b/test/services/test_webui_i18n.py
@@ -1,7 +1,8 @@
import ast
import json
-from pathlib import Path
+import re
import unittest
+from pathlib import Path
from app.utils import utils
@@ -11,6 +12,13 @@ WEBUI_MAIN = ROOT_DIR / "webui" / "Main.py"
I18N_DIR = ROOT_DIR / "webui" / "i18n"
LLM_PROVIDER_TIPS_PREFIX = "llm_provider_tips."
TTS_PROVIDER_TIPS_PREFIX = "tts_provider_tips."
+SECONDARY_LOCALES = ("de", "es", "id", "pt", "ru", "tr", "vi")
+PROVIDER_TIPS_PREFIXES = (
+ LLM_PROVIDER_TIPS_PREFIX,
+ TTS_PROVIDER_TIPS_PREFIX,
+)
+FORMAT_PLACEHOLDER_PATTERN = re.compile(r"(?<!\{)\{([a-zA-Z_][a-zA-Z0-9_]*)\}(?!\})")
+MARKDOWN_URL_PATTERN = re.compile(r"\[[^\]]+\]\((https?://[^)]+)\)")
class _TrKeyVisitor(ast.NodeVisitor):
@@ -34,6 +42,21 @@ def _load_translation(locale):
return data.get("Translation", {})
+def _required_translation_keys(translations):
+ """返回二级语言必须维护的 key,Provider 长说明统一回退英文。"""
+ return {key for key in translations if not key.startswith(PROVIDER_TIPS_PREFIXES)}
+
+
+def _format_placeholders(value):
+ """提取运行时格式化变量,防止翻译遗漏或误改变量名。"""
+ return set(FORMAT_PLACEHOLDER_PATTERN.findall(value))
+
+
+def _markdown_urls(value):
+ """提取 Markdown 链接目标,允许翻译链接文字但不允许改坏地址。"""
+ return set(MARKDOWN_URL_PATTERN.findall(value))
+
+
class TestWebuiI18n(unittest.TestCase):
def test_saved_ui_language_takes_priority_over_browser_locale(self):
language = utils.resolve_ui_language(
@@ -72,46 +95,59 @@ class TestWebuiI18n(unittest.TestCase):
self.assertEqual(sorted(visitor.keys - en_keys), [])
- def test_russian_locale_covers_english_locale(self):
- en_keys = set(_load_translation("en"))
- ru_keys = set(_load_translation("ru"))
- # Provider 配置说明只维护中英文,俄语及其它 locale 运行时统一回退英文。
- # 这里排除动态 tips key,避免继续复制一整套不会被读取的英文文案。
- required_en_keys = {
- key
- for key in en_keys
- if not key.startswith(
- (LLM_PROVIDER_TIPS_PREFIX, TTS_PROVIDER_TIPS_PREFIX)
- )
- }
-
- self.assertEqual(sorted(required_en_keys - ru_keys), [])
-
- def test_russian_locale_does_not_duplicate_provider_tips(self):
- ru_keys = set(_load_translation("ru"))
-
- self.assertEqual(
- sorted(
- key for key in ru_keys if key.startswith(LLM_PROVIDER_TIPS_PREFIX)
- ),
- [],
- )
-
- self.assertEqual(
- sorted(
- key for key in ru_keys if key.startswith(TTS_PROVIDER_TIPS_PREFIX)
- ),
- [],
- )
-
- def test_russian_locale_covers_static_webui_labels(self):
+ def test_secondary_locales_cover_english_locale(self):
+ en_translations = _load_translation("en")
+ required_en_keys = _required_translation_keys(en_translations)
+
+ for locale in SECONDARY_LOCALES:
+ with self.subTest(locale=locale):
+ locale_keys = set(_load_translation(locale))
+ self.assertEqual(sorted(required_en_keys - locale_keys), [])
+
+ def test_secondary_locales_do_not_duplicate_provider_tips(self):
+ # Provider 配置长说明只维护中英文,其它语言运行时回退英文。
+ # 禁止复制这些 key,避免出现不会持续维护的半翻译内容。
+ for locale in SECONDARY_LOCALES:
+ with self.subTest(locale=locale):
+ locale_keys = set(_load_translation(locale))
+ duplicated_keys = sorted(
+ key for key in locale_keys if key.startswith(PROVIDER_TIPS_PREFIXES)
+ )
+ self.assertEqual(duplicated_keys, [])
+
+ def test_secondary_locales_cover_static_webui_labels(self):
tree = ast.parse(WEBUI_MAIN.read_text(encoding="utf-8"))
visitor = _TrKeyVisitor()
visitor.visit(tree)
- ru_keys = set(_load_translation("ru"))
-
- self.assertEqual(sorted(visitor.keys - ru_keys), [])
+ for locale in SECONDARY_LOCALES:
+ with self.subTest(locale=locale):
+ locale_keys = set(_load_translation(locale))
+ self.assertEqual(sorted(visitor.keys - locale_keys), [])
+
+ def test_secondary_locales_preserve_format_placeholders(self):
+ en_translations = _load_translation("en")
+
+ for locale in SECONDARY_LOCALES:
+ locale_translations = _load_translation(locale)
+ for key in _required_translation_keys(en_translations):
+ with self.subTest(locale=locale, key=key):
+ self.assertEqual(
+ _format_placeholders(locale_translations[key]),
+ _format_placeholders(en_translations[key]),
+ )
+
+ def test_secondary_locales_preserve_markdown_urls(self):
+ en_translations = _load_translation("en")
+
+ for locale in SECONDARY_LOCALES:
+ locale_translations = _load_translation(locale)
+ for key in _required_translation_keys(en_translations):
+ with self.subTest(locale=locale, key=key):
+ self.assertEqual(
+ _markdown_urls(locale_translations[key]),
+ _markdown_urls(en_translations[key]),
+ )
def test_script_language_options_include_russian(self):
tree = ast.parse(WEBUI_MAIN.read_text(encoding="utf-8"))
diff --git a/webui/i18n/de.json b/webui/i18n/de.json
index b8a31505..9300832b 100644
--- a/webui/i18n/de.json
+++ b/webui/i18n/de.json
@@ -9,7 +9,7 @@
"Login Error": "Anmeldefehler",
"Incorrect username or password": "Falscher Benutzername oder Passwort",
"Please enter your username and password": "Bitte geben Sie Ihren Benutzernamen und Ihr Passwort ein",
- "Video Script Settings": "**Drehbuch / Topic des Videos**",
+ "Video Script Settings": "**Skripteinstellungen**",
"Video Subject": "Videothema",
"Video Subject Placeholder": "Beispiel: Wie KI den Alltag verändert",
"Script Language": "Skriptsprache",
@@ -31,28 +31,28 @@
"Please Enter the Video Subject First": "Bitte geben Sie zuerst das Videothema ein",
"Task Manager": "Aufgabenverwaltung",
"Update Available": "Neue Version v{version}",
- "No Tasks Yet": "No tasks yet",
- "No Tasks Match Filter": "No tasks match the selected filter",
- "All Tasks": "All",
- "Task Status Filter": "Task status filter",
- "Task Status Complete": "Completed",
- "Task Status Failed": "Failed",
- "Task Status Processing": "Processing",
- "Task Status History": "History",
+ "No Tasks Yet": "Noch keine Aufgaben",
+ "No Tasks Match Filter": "Keine Aufgaben entsprechen dem Filter",
+ "All Tasks": "Alle",
+ "Task Status Filter": "Aufgabenstatus filtern",
+ "Task Status Complete": "Abgeschlossen",
+ "Task Status Failed": "Fehlgeschlagen",
+ "Task Status Processing": "In Bearbeitung",
+ "Task Status History": "Verlauf",
"Task Status": "Status",
- "Recent Tasks": "Recent Tasks",
- "Task Subject": "Subject",
- "Task Updated At": "Updated",
- "Task Progress": "Progress",
- "Task Actions": "Actions",
- "Play Video": "Play",
- "Play": "Play",
- "Open": "Open",
- "Delete": "Delete",
- "Delete Task": "Delete Task",
- "Task Deleted": "Task deleted",
- "Task Delete Failed": "Failed to delete task",
- "Open Task Folder": "Open Folder",
+ "Recent Tasks": "Letzte Aufgaben",
+ "Task Subject": "Thema",
+ "Task Updated At": "Aktualisiert",
+ "Task Progress": "Fortschritt",
+ "Task Actions": "Aktionen",
+ "Play Video": "Abspielen",
+ "Play": "Abspielen",
+ "Open": "Öffnen",
+ "Delete": "Löschen",
+ "Delete Task": "Aufgabe löschen",
+ "Task Deleted": "Aufgabe gelöscht",
+ "Task Delete Failed": "Aufgabe konnte nicht gelöscht werden",
+ "Open Task Folder": "Ordner öffnen",
"Generating Video Script and Keywords": "KI generiert ein Drehbuch und Schlüsselwörter...",
"Generating Video Keywords": "KI generiert Video-Schlüsselwörter...",
"Video Keywords": "Video-Keywords (Englisch, optional)",
@@ -64,15 +64,19 @@
"Video Transition Mode": "Video Übergangsmodus",
"None": "Kein Übergang",
"Shuffle": "Zufällige Übergänge",
- "FadeIn": "FadeIn",
- "FadeOut": "FadeOut",
- "SlideIn": "SlideIn",
- "SlideOut": "SlideOut",
+ "FadeIn": "Einblenden",
+ "FadeOut": "Ausblenden",
+ "SlideIn": "Hereingleiten",
+ "SlideOut": "Herausgleiten",
+ "ZoomIn": "Heranzoomen",
+ "ZoomOut": "Herauszoomen",
"Video Ratio": "Video-Seitenverhältnis",
- "Portrait": "Portrait 9:16",
+ "Portrait": "Hochformat 9:16",
"Landscape": "Landschaft 16:9",
"Clip Duration": "Max. Dauer pro Clip (Sek.)",
"Clip Duration Help": "Legt die Dauer jedes verwendeten Clips fest, nicht die Gesamtlänge des Videos.",
+ "Clip Speed": "Clip-Geschwindigkeit",
+ "Clip Speed Help": "Passt nur die Wiedergabegeschwindigkeit des Bildmaterials an. Sprachspur, Untertitel und maximale Ausgabedauer jedes Clips bleiben unverändert.",
"Number of Videos Generated Simultaneously": "Videos pro Durchlauf",
"Match Materials to Script Order": "Bilder an Skriptreihenfolge anpassen",
"Match Materials to Script Order Help": "Erstellt Suchbegriffe und ordnet Material nach dem Skript, damit die Bilder dem Sprechertext folgen.",
@@ -81,8 +85,8 @@
"Video Encoder Help": "Erweiterte Option. Standard folgt der stabilen App-Vorgabe, derzeit libx264. Wenn ein Hardware-Encoder nicht verfügbar ist, fällt die App automatisch auf libx264 zurück.",
"Audio Settings": "**Audio Einstellungen**",
"Voiceover Mode": "Vertonungsmodus",
- "Automatic Voiceover": "Auto",
- "Upload Voiceover": "Upload",
+ "Automatic Voiceover": "Automatisch",
+ "Upload Voiceover": "Hochladen",
"No Voiceover": "Keine",
"No Voice Selected": "Keine Stimme ausgewählt",
"Voiceover Service": "Sprachdienst",
@@ -96,8 +100,8 @@
"Please Upload Voiceover File First": "Bitte laden Sie zuerst eine Vertonungsdatei hoch",
"Background Music Source": "Quelle der Hintergrundmusik",
"Speech Synthesis": "Stimme (passend zur Skriptsprache)",
- "Speech Region": "Region(:red[Erforderlich,[Region abrufen](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices)])",
- "Speech Key": "API-Schlüssel(:red[Erforderlich,[API-Schlüssel abrufen](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices)])",
+ "Speech Region": "Region (:red[Erforderlich, [Region abrufen](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices)])",
+ "Speech Key": "API-Schlüssel (:red[Erforderlich, [API-Schlüssel abrufen](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices)])",
"Speech Volume": "Stimmenlautstärke",
"Speech Rate": "Sprechtempo",
"Custom Audio File": "Benutzerdefinierte Audiodatei",
@@ -107,7 +111,7 @@
"Female": "Weiblich",
"Background Music": "Hintergrundmusik",
"No Background Music": "Ohne Hintergrundmusik",
- "Random Background Music": "Zufällig erzeugte Hintergrundmusik",
+ "Random Background Music": "Zufällige Hintergrundmusik",
"Custom Background Music": "Benutzerdefinierte Hintergrundmusik",
"Sonilo Background Music": "Sonilo videobasierte Musik",
"Sonilo API Key": "Sonilo API-Schlüssel ([Schlüssel abrufen](https://platform.sonilo.com/))",
@@ -121,6 +125,11 @@
"Sonilo Connection Test Failed": "Sonilo-Verbindung fehlgeschlagen: {error}",
"Sonilo BGM Fallback Warning": "Video {index} wurde ohne Sonilo-Hintergrundmusik erstellt, weil die Musikanfrage fehlgeschlagen ist.",
"Custom Background Music File": "Pfad der eigenen Musik",
+ "Upload Background Music": "Hintergrundmusik hochladen",
+ "Upload Background Music Help": "Laden Sie eine MP3-, M4A-, AAC-, WAV-, FLAC-, OGG-, OPUS- oder WMA-Datei bis 30 MB hoch. Sie wird beim Start der Videoerstellung dauerhaft gespeichert.",
+ "Background Music Ready": "Hintergrundmusik ist bereit",
+ "Invalid Background Music": "Laden Sie eine gültige, unterstützte Hintergrundmusikdatei bis 30 MB hoch.",
+ "Background Music Validation Failed": "Die Hintergrundmusik konnte nicht geprüft werden, da FFmpeg oder der Speicher nicht verfügbar ist. Prüfen Sie die Serverprotokolle.",
"Background Music Volume": "Hintergrundmusik-Lautstärke",
"Subtitle Settings": "**Untertitel-Einstellungen**",
"Enable Subtitles": "Untertitel aktivieren",
@@ -158,10 +167,13 @@
"Pixabay API Key": "Pixabay API-Schlüssel ([API-Schlüssel abrufen](https://pixabay.com/api/docs/#api_search_videos))",
"LLM Provider": "KI-Modellanbieter",
"Recommended": "empfohlen",
+ "llm_provider_label.moonshot": "Kimi / Moonshot AI (empfohlen)",
"API Key": "API-Schlüssel (:red[Erforderlich])",
"Base Url": "Basis-URL",
"Account ID": "Konto-ID (Aus dem Cloudflare-Dashboard)",
"Model Name": "Modellname",
+ "Groq Model List Load Failed": "Die Groq-Modellliste kann derzeit nicht geladen werden. Sie können den Modellnamen weiterhin manuell eingeben; er wird bei der Erstellung geprüft.",
+ "Groq API Key Required for Model List": "Fügen Sie einen Groq API-Schlüssel hinzu, um verfügbare Modelle automatisch zu laden.",
"Secret Key": "Geheimer Schlüssel",
"Please Enter the LLM API Key": "Bitte geben Sie den **KI-Modell API-Schlüssel** ein",
"Please Enter the Pexels API Key": "Bitte geben Sie den **Pexels API-Schlüssel** ein",
@@ -181,10 +193,16 @@
"TTS Provider": "Sprachsynthese-Anbieter auswählen",
"TTS Servers": "TTS-Server",
"No voices available for the selected TTS server. Please select another server.": "Keine Stimmen für den ausgewählten TTS-Server verfügbar. Bitte wählen Sie einen anderen Server.",
- "SiliconFlow API Key": "SiliconFlow API-Schlüssel",
+ "SiliconFlow API Key": "SiliconFlow API-Schlüssel [Schlüssel abrufen](https://cloud.siliconflow.cn/account/ak)",
"MiMo API Key": "Xiaomi-MiMo-API-Schlüssel [Hier abrufen](https://platform.xiaomimimo.com/docs/zh-CN/quick-start/first-api-call)",
"ElevenLabs API Key": "ElevenLabs API-Schlüssel",
"ElevenLabs Model": "ElevenLabs-Modell",
+ "Chatterbox Base URL": "Chatterbox-Basis-URL",
+ "Chatterbox API Key": "Chatterbox API-Schlüssel",
+ "Chatterbox Model": "Chatterbox-Modell",
+ "Chatterbox Voices": "Chatterbox-Stimmen",
+ "Chatterbox Base URL Placeholder": "http://localhost:4123/v1",
+ "Chatterbox Voices Placeholder": "default-Female, narrator-Male",
"Hide Log": "Protokoll ausblenden",
"Hide Basic Settings": "Basis-Einstellungen ausblenden\n\nWenn diese Option deaktiviert ist, wird die Basis-Einstellungen-Leiste nicht auf der Seite angezeigt.\n\nWenn Sie sie erneut anzeigen möchten, setzen Sie `hide_config = false` in `config.toml`",
"LLM Settings": "**LLM-Einstellungen**",
diff --git a/webui/i18n/es.json b/webui/i18n/es.json
index e4fd2691..6fc9077d 100644
--- a/webui/i18n/es.json
+++ b/webui/i18n/es.json
@@ -14,9 +14,9 @@
"Video Subject Placeholder": "Ejemplo: Cómo la IA cambia la vida cotidiana",
"Script Language": "Idioma del guion",
"Advanced Script Settings": "Configuración avanzada del guion",
- "Script Paragraph Number": "Número de párrafos del guión",
+ "Script Paragraph Number": "Número de párrafos del guion",
"Custom Script Requirements": "Requisitos personalizados del guion",
- "Custom Script Requirements Placeholder": "Ejemplo: usa un tono más ligero, estilo TikTok, dirigido a jóvenes, haz la apertura más suspense",
+ "Custom Script Requirements Placeholder": "Ejemplo: usa un tono más ligero, estilo TikTok, dirigido a jóvenes y crea una apertura más intrigante",
"Custom System Prompt": "Prompt del sistema",
"Restore Default System Prompt": "Restaurar prompt predeterminado",
"Default System Prompt Restored": "Prompt del sistema restaurado",
@@ -27,33 +27,33 @@
"Video Script": "Guion del vídeo (opcional)",
"Video Script Help": "Déjalo vacío para generarlo con IA a partir del tema del vídeo. Una puntuación adecuada ayuda a generar los subtítulos.",
"Generate Video Keywords": "Generar palabras clave con IA",
- "Please Enter the Video Subject": "Introduce primero el guión del vídeo",
+ "Please Enter the Video Subject": "Introduce primero el guion del vídeo",
"Please Enter the Video Subject First": "Introduce primero el tema del vídeo",
"Task Manager": "Gestor de tareas",
"Update Available": "Nueva versión v{version}",
- "No Tasks Yet": "No tasks yet",
- "No Tasks Match Filter": "No tasks match the selected filter",
- "All Tasks": "All",
- "Task Status Filter": "Task status filter",
- "Task Status Complete": "Completed",
- "Task Status Failed": "Failed",
- "Task Status Processing": "Processing",
- "Task Status History": "History",
- "Task Status": "Status",
- "Recent Tasks": "Recent Tasks",
- "Task Subject": "Subject",
- "Task Updated At": "Updated",
- "Task Progress": "Progress",
- "Task Actions": "Actions",
- "Play Video": "Play",
- "Play": "Play",
- "Open": "Open",
- "Delete": "Delete",
- "Delete Task": "Delete Task",
- "Task Deleted": "Task deleted",
- "Task Delete Failed": "Failed to delete task",
- "Open Task Folder": "Open Folder",
- "Generating Video Script and Keywords": "La IA está generando el guión y las palabras clave del vídeo...",
+ "No Tasks Yet": "Aún no hay tareas",
+ "No Tasks Match Filter": "Ninguna tarea coincide con el filtro",
+ "All Tasks": "Todas",
+ "Task Status Filter": "Filtrar por estado",
+ "Task Status Complete": "Completadas",
+ "Task Status Failed": "Fallidas",
+ "Task Status Processing": "En proceso",
+ "Task Status History": "Historial",
+ "Task Status": "Estado",
+ "Recent Tasks": "Tareas recientes",
+ "Task Subject": "Tema",
+ "Task Updated At": "Actualizada",
+ "Task Progress": "Progreso",
+ "Task Actions": "Acciones",
+ "Play Video": "Reproducir",
+ "Play": "Reproducir",
+ "Open": "Abrir",
+ "Delete": "Eliminar",
+ "Delete Task": "Eliminar tarea",
+ "Task Deleted": "Tarea eliminada",
+ "Task Delete Failed": "No se pudo eliminar la tarea",
+ "Open Task Folder": "Abrir carpeta",
+ "Generating Video Script and Keywords": "La IA está generando el guion y las palabras clave del vídeo...",
"Generating Video Keywords": "La IA está generando las palabras clave del vídeo...",
"Video Keywords": "Palabras clave del vídeo (inglés, opcional)",
"Video Keywords Help": "Déjalo vacío para generarlas con IA a partir del guion. Separa varias palabras clave con comas inglesas.",
@@ -64,21 +64,25 @@
"Video Transition Mode": "Modo de transición del vídeo",
"None": "Ninguna",
"Shuffle": "Mezclar",
- "FadeIn": "FadeIn",
- "FadeOut": "FadeOut",
- "SlideIn": "SlideIn",
- "SlideOut": "SlideOut",
+ "FadeIn": "Fundido de entrada",
+ "FadeOut": "Fundido de salida",
+ "SlideIn": "Deslizar hacia dentro",
+ "SlideOut": "Deslizar hacia fuera",
+ "ZoomIn": "Acercar",
+ "ZoomOut": "Alejar",
"Video Ratio": "Relación de aspecto del vídeo",
"Portrait": "Vertical 9:16",
"Landscape": "Horizontal 16:9",
"Clip Duration": "Duración máxima por clip (s)",
"Clip Duration Help": "Controla la duración de cada clip utilizado, no la duración total del vídeo.",
+ "Clip Speed": "Velocidad del clip",
+ "Clip Speed Help": "Solo ajusta la reproducción del material visual. La locución, los subtítulos y la duración máxima de salida de cada clip no cambian.",
"Number of Videos Generated Simultaneously": "Vídeos por ejecución",
"Match Materials to Script Order": "Ajustar imágenes al orden del guion",
"Match Materials to Script Order Help": "Genera términos y ordena el material según el guion para que las imágenes sigan la narración.",
"Audio Settings": "**Configuración de audio**",
"Voiceover Mode": "Modo de locución",
- "Automatic Voiceover": "Auto",
+ "Automatic Voiceover": "Automática",
"Upload Voiceover": "Subir",
"No Voiceover": "Ninguna",
"No Voice Selected": "Ninguna voz seleccionada",
@@ -118,6 +122,11 @@
"Sonilo Connection Test Failed": "Falló la conexión con Sonilo: {error}",
"Sonilo BGM Fallback Warning": "El video {index} se generó sin música de Sonilo porque falló la solicitud de música.",
"Custom Background Music File": "Ruta de música personalizada",
+ "Upload Background Music": "Subir música de fondo",
+ "Upload Background Music Help": "Sube un archivo MP3, M4A, AAC, WAV, FLAC, OGG, OPUS o WMA de hasta 30 MB. Se guardará de forma permanente al iniciar la generación del vídeo.",
+ "Background Music Ready": "La música de fondo está lista",
+ "Invalid Background Music": "Sube un archivo de música de fondo válido y compatible de hasta 30 MB.",
+ "Background Music Validation Failed": "No se pudo validar la música de fondo porque FFmpeg o el almacenamiento no están disponibles. Revisa los registros del servidor.",
"Background Music Volume": "Volumen de música de fondo",
"Subtitle Settings": "**Configuración de subtítulos**",
"Enable Subtitles": "Activar subtítulos",
@@ -135,7 +144,7 @@
"Stroke Color": "Contorno",
"Stroke Width": "Ancho de contorno",
"Enable Subtitle Background": "Fondo",
- "Subtitle Background Color": "Color",
+ "Subtitle Background Color": "Color de fondo",
"Rounded Subtitle Background": "Fondo redondeado",
"Rounded Subtitle Background Help": "Desactivado por defecto. Cuando está activado, el fondo de los subtítulos usa un estilo redondeado y translúcido que se adapta mejor al ancho del texto.",
"Subtitle Colors Are Indistinguishable": "El texto y el fondo tienen el mismo color, por lo que los subtítulos pueden no verse.",
@@ -143,7 +152,7 @@
"Restore Default Subtitle Settings": "Restaurar subtítulos",
"Default Subtitle Settings Restored": "Ajustes de subtítulos restaurados",
"Generate Video": "Generar vídeo",
- "Video Script and Subject Cannot Both Be Empty": "El tema y el guión del vídeo no pueden estar ambos vacíos",
+ "Video Script and Subject Cannot Both Be Empty": "El tema y el guion del vídeo no pueden estar ambos vacíos",
"Generating Video": "Generando vídeo, por favor espera...",
"Start Generating Video": "Comenzar a generar vídeo",
"Video Generation Completed": "Generación de vídeo completada",
@@ -155,10 +164,13 @@
"Language": "Idioma",
"LLM Provider": "Proveedor LLM",
"Recommended": "Recomendado",
- "API Key": "API Key (:red[Requerido])",
+ "llm_provider_label.moonshot": "Kimi / Moonshot AI (recomendado)",
+ "API Key": "Clave API (:red[Requerida])",
"Base Url": "URL base",
"Account ID": "ID de cuenta (Obtén desde el panel de Cloudflare)",
"Model Name": "Nombre del modelo",
+ "Groq Model List Load Failed": "No se pudo cargar la lista de modelos de Groq. Puedes introducir un modelo manualmente; se validará durante la generación.",
+ "Groq API Key Required for Model List": "Añade una clave API de Groq para cargar automáticamente los modelos disponibles.",
"Secret Key": "Clave secreta",
"Please Enter the LLM API Key": "Introduce la **API Key del LLM**",
"Please Enter the Pexels API Key": "Introduce la **API Key de Pexels**",
@@ -178,14 +190,16 @@
"TTS Provider": "Selecciona el proveedor de síntesis de voz",
"TTS Servers": "Servidores TTS",
"No voices available for the selected TTS server. Please select another server.": "No hay voces disponibles para el servidor TTS seleccionado. Selecciona otro servidor.",
- "SiliconFlow API Key": "SiliconFlow API Key [Haz clic para obtener](https://cloud.siliconflow.cn/account/ak)",
- "MiMo API Key": "Xiaomi MiMo API Key [Haz clic para obtener](https://platform.xiaomimimo.com/docs/zh-CN/quick-start/first-api-call)",
+ "SiliconFlow API Key": "Clave API de SiliconFlow [Obtener](https://cloud.siliconflow.cn/account/ak)",
+ "MiMo API Key": "Clave API de Xiaomi MiMo [Obtener](https://platform.xiaomimimo.com/docs/zh-CN/quick-start/first-api-call)",
"ElevenLabs API Key": "Clave API de ElevenLabs",
"ElevenLabs Model": "Modelo de ElevenLabs",
"Chatterbox API Key": "Clave API de Chatterbox",
"Chatterbox Base URL": "URL base de Chatterbox",
"Chatterbox Model": "Modelo de Chatterbox",
"Chatterbox Voices": "Voces de Chatterbox",
+ "Chatterbox Base URL Placeholder": "http://localhost:4123/v1",
+ "Chatterbox Voices Placeholder": "default-Female, narrator-Male",
"Hide Log": "Ocultar registro",
"Hide Basic Settings": "Ocultar configuración básica\n\nOculto, el panel de configuración básica no se mostrará en la página.\n\nSi necesitas mostrarlo de nuevo, establece `hide_config = false` en `config.toml`",
"LLM Settings": "**Configuración LLM**",
diff --git a/webui/i18n/id.json b/webui/i18n/id.json
index a74f267b..8e47a042 100644
--- a/webui/i18n/id.json
+++ b/webui/i18n/id.json
@@ -17,7 +17,7 @@
"Script Paragraph Number": "Jumlah Paragraf Skrip",
"Custom Script Requirements": "Persyaratan Skrip Khusus",
"Custom Script Requirements Placeholder": "Contoh: gunakan nada ringan, cocok untuk gaya TikTok, target penonton muda, buat pembukaan lebih menegangkan",
- "Custom System Prompt": "System Prompt",
+ "Custom System Prompt": "Prompt Sistem",
"Restore Default System Prompt": "Pulihkan Prompt Bawaan",
"Default System Prompt Restored": "System prompt bawaan dipulihkan",
"Preview Final Prompt": "Pratinjau Prompt Akhir",
@@ -31,28 +31,28 @@
"Please Enter the Video Subject First": "Harap masukkan subjek video terlebih dahulu",
"Task Manager": "Manajemen Tugas",
"Update Available": "Versi baru v{version}",
- "No Tasks Yet": "No tasks yet",
- "No Tasks Match Filter": "No tasks match the selected filter",
- "All Tasks": "All",
- "Task Status Filter": "Task status filter",
- "Task Status Complete": "Completed",
- "Task Status Failed": "Failed",
- "Task Status Processing": "Processing",
- "Task Status History": "History",
+ "No Tasks Yet": "Belum ada tugas",
+ "No Tasks Match Filter": "Tidak ada tugas yang sesuai dengan filter",
+ "All Tasks": "Semua",
+ "Task Status Filter": "Filter status tugas",
+ "Task Status Complete": "Selesai",
+ "Task Status Failed": "Gagal",
+ "Task Status Processing": "Diproses",
+ "Task Status History": "Riwayat",
"Task Status": "Status",
- "Recent Tasks": "Recent Tasks",
- "Task Subject": "Subject",
- "Task Updated At": "Updated",
- "Task Progress": "Progress",
- "Task Actions": "Actions",
- "Play Video": "Play",
- "Play": "Play",
- "Open": "Open",
- "Delete": "Delete",
- "Delete Task": "Delete Task",
- "Task Deleted": "Task deleted",
- "Task Delete Failed": "Failed to delete task",
- "Open Task Folder": "Open Folder",
+ "Recent Tasks": "Tugas terbaru",
+ "Task Subject": "Topik",
+ "Task Updated At": "Diperbarui",
+ "Task Progress": "Progres",
+ "Task Actions": "Tindakan",
+ "Play Video": "Putar",
+ "Play": "Putar",
+ "Open": "Buka",
+ "Delete": "Hapus",
+ "Delete Task": "Hapus tugas",
+ "Task Deleted": "Tugas dihapus",
+ "Task Delete Failed": "Gagal menghapus tugas",
+ "Open Task Folder": "Buka folder",
"Generating Video Script and Keywords": "AI sedang menghasilkan skrip video dan kata kunci...",
"Generating Video Keywords": "AI sedang menghasilkan kata kunci video...",
"Video Keywords": "Kata Kunci Video (Inggris, Opsional)",
@@ -64,15 +64,19 @@
"Video Transition Mode": "Mode Transisi Video",
"None": "Tidak Ada",
"Shuffle": "Acak",
- "FadeIn": "FadeIn",
- "FadeOut": "FadeOut",
- "SlideIn": "SlideIn",
- "SlideOut": "SlideOut",
+ "FadeIn": "Muncul Perlahan",
+ "FadeOut": "Menghilang Perlahan",
+ "SlideIn": "Geser Masuk",
+ "SlideOut": "Geser Keluar",
+ "ZoomIn": "Perbesar",
+ "ZoomOut": "Perkecil",
"Video Ratio": "Rasio Aspek Video",
"Portrait": "Potret 9:16",
"Landscape": "Lanskap 16:9",
"Clip Duration": "Durasi Maks. per Klip (detik)",
"Clip Duration Help": "Menentukan durasi setiap klip yang digunakan, bukan durasi total video.",
+ "Clip Speed": "Kecepatan Klip",
+ "Clip Speed Help": "Hanya menyesuaikan kecepatan materi visual. Sulih suara, subtitle, dan durasi keluaran maksimum setiap klip tidak berubah.",
"Number of Videos Generated Simultaneously": "Video per Proses",
"Match Materials to Script Order": "Cocokkan Visual dengan Urutan Skrip",
"Match Materials to Script Order Help": "Buat kata kunci dan urutkan materi mengikuti skrip agar visual sesuai dengan narasi.",
@@ -96,7 +100,7 @@
"Speech Region": "Wilayah (:red[Diperlukan, [Dapatkan Wilayah](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices)])",
"Speech Key": "Kunci API (:red[Diperlukan, [Dapatkan Kunci API](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices)])",
"Speech Volume": "Volume Suara",
- "Speech Rate": "Kecepatan Suara",
+ "Speech Rate": "Kecepatan Bicara",
"Custom Audio File": "File Audio Kustom",
"Custom audio will be used directly. TTS synthesis will be skipped for this task.": "Sulih suara yang diunggah akan digunakan langsung; sulih suara otomatis tidak dibuat.",
"No Voice": "Tidak Ada Suara (lewati sintesis suara)",
@@ -117,7 +121,12 @@
"Sonilo Connection Test Succeeded": "Koneksi Sonilo berhasil.",
"Sonilo Connection Test Failed": "Koneksi Sonilo gagal: {error}",
"Sonilo BGM Fallback Warning": "Video {index} dibuat tanpa musik Sonilo karena permintaan musik gagal.",
- "Custom Background Music File": "Path Musik Kustom",
+ "Custom Background Music File": "Jalur Musik Kustom",
+ "Upload Background Music": "Unggah Musik Latar",
+ "Upload Background Music Help": "Unggah file MP3, M4A, AAC, WAV, FLAC, OGG, OPUS, atau WMA hingga 30 MB. File akan disimpan secara permanen saat pembuatan video dimulai.",
+ "Background Music Ready": "Musik latar siap",
+ "Invalid Background Music": "Unggah file musik latar valid yang didukung, maksimal 30 MB.",
+ "Background Music Validation Failed": "Musik latar tidak dapat divalidasi karena FFmpeg atau penyimpanan tidak tersedia. Periksa log server.",
"Background Music Volume": "Volume Musik Latar",
"Subtitle Settings": "**Pengaturan Subtitle**",
"Enable Subtitles": "Aktifkan Subtitle",
@@ -155,10 +164,13 @@
"Language": "Bahasa",
"LLM Provider": "Penyedia LLM",
"Recommended": "Direkomendasikan",
+ "llm_provider_label.moonshot": "Kimi / Moonshot AI (disarankan)",
"API Key": "Kunci API (:red[Diperlukan])",
"Base Url": "URL Dasar",
"Account ID": "ID Akun (Dapatkan dari dasbor Cloudflare)",
"Model Name": "Nama Model",
+ "Groq Model List Load Failed": "Daftar model Groq tidak dapat dimuat saat ini. Anda tetap dapat memasukkan nama model secara manual; model akan divalidasi saat pembuatan.",
+ "Groq API Key Required for Model List": "Tambahkan kunci API Groq untuk memuat model yang tersedia secara otomatis.",
"Secret Key": "Kunci Rahasia",
"Please Enter the LLM API Key": "Silakan Masukkan **Kunci API LLM**",
"Please Enter the Pexels API Key": "Silakan Masukkan **Kunci API Pexels**",
@@ -182,6 +194,12 @@
"MiMo API Key": "Kunci API Xiaomi MiMo [Klik untuk mendapatkan](https://platform.xiaomimimo.com/docs/zh-CN/quick-start/first-api-call)",
"ElevenLabs API Key": "Kunci API ElevenLabs",
"ElevenLabs Model": "Model ElevenLabs",
+ "Chatterbox Base URL": "URL Dasar Chatterbox",
+ "Chatterbox API Key": "Kunci API Chatterbox",
+ "Chatterbox Model": "Model Chatterbox",
+ "Chatterbox Voices": "Suara Chatterbox",
+ "Chatterbox Base URL Placeholder": "http://localhost:4123/v1",
+ "Chatterbox Voices Placeholder": "default-Female, narrator-Male",
"Hide Log": "Sembunyikan Log",
"Hide Basic Settings": "Sembunyikan Pengaturan Dasar\n\nTersembunyi, panel pengaturan dasar tidak akan ditampilkan di halaman.\n\nJika Anda perlu menampilkannya lagi, silakan atur `hide_config = false` di `config.toml`",
"LLM Settings": "**Pengaturan LLM**",
diff --git a/webui/i18n/pt.json b/webui/i18n/pt.json
index 88ffcde6..c9c3d2c5 100644
--- a/webui/i18n/pt.json
+++ b/webui/i18n/pt.json
@@ -14,7 +14,9 @@
"Video Subject Placeholder": "Exemplo: Como a IA está mudando o cotidiano",
"Script Language": "Idioma do roteiro",
"Advanced Script Settings": "Configurações avançadas do roteiro",
+ "Script Paragraph Number": "Número de parágrafos do roteiro",
"Custom Script Requirements": "Requisitos personalizados do roteiro",
+ "Custom Script Requirements Placeholder": "Exemplo: use um tom mais leve, estilo TikTok, voltado ao público jovem e com uma abertura mais intrigante",
"Custom System Prompt": "Prompt do sistema",
"Restore Default System Prompt": "Restaurar prompt padrão",
"Default System Prompt Restored": "Prompt padrão restaurado",
@@ -29,28 +31,28 @@
"Please Enter the Video Subject First": "Insira primeiro o tema do vídeo",
"Task Manager": "Gerenciador de tarefas",
"Update Available": "Nova versão v{version}",
- "No Tasks Yet": "No tasks yet",
- "No Tasks Match Filter": "No tasks match the selected filter",
- "All Tasks": "All",
- "Task Status Filter": "Task status filter",
- "Task Status Complete": "Completed",
- "Task Status Failed": "Failed",
- "Task Status Processing": "Processing",
- "Task Status History": "History",
+ "No Tasks Yet": "Ainda não há tarefas",
+ "No Tasks Match Filter": "Nenhuma tarefa corresponde ao filtro",
+ "All Tasks": "Todas",
+ "Task Status Filter": "Filtrar por status",
+ "Task Status Complete": "Concluídas",
+ "Task Status Failed": "Falharam",
+ "Task Status Processing": "Em processamento",
+ "Task Status History": "Histórico",
"Task Status": "Status",
- "Recent Tasks": "Recent Tasks",
- "Task Subject": "Subject",
- "Task Updated At": "Updated",
- "Task Progress": "Progress",
- "Task Actions": "Actions",
- "Play Video": "Play",
- "Play": "Play",
- "Open": "Open",
- "Delete": "Delete",
- "Delete Task": "Delete Task",
- "Task Deleted": "Task deleted",
- "Task Delete Failed": "Failed to delete task",
- "Open Task Folder": "Open Folder",
+ "Recent Tasks": "Tarefas recentes",
+ "Task Subject": "Tema",
+ "Task Updated At": "Atualizada",
+ "Task Progress": "Progresso",
+ "Task Actions": "Ações",
+ "Play Video": "Reproduzir",
+ "Play": "Reproduzir",
+ "Open": "Abrir",
+ "Delete": "Excluir",
+ "Delete Task": "Excluir tarefa",
+ "Task Deleted": "Tarefa excluída",
+ "Task Delete Failed": "Falha ao excluir a tarefa",
+ "Open Task Folder": "Abrir pasta",
"Generating Video Script and Keywords": "A IA está gerando o roteiro do vídeo e as palavras-chave...",
"Generating Video Keywords": "A IA está gerando as palavras-chave do vídeo...",
"Video Keywords": "Palavras-chave do vídeo (inglês, opcional)",
@@ -62,21 +64,25 @@
"Video Transition Mode": "Modo de Transição de Vídeo",
"None": "Nenhuma Transição",
"Shuffle": "Transição Aleatória",
- "FadeIn": "FadeIn",
- "FadeOut": "FadeOut",
- "SlideIn": "SlideIn",
- "SlideOut": "SlideOut",
+ "FadeIn": "Aparecer gradualmente",
+ "FadeOut": "Desaparecer gradualmente",
+ "SlideIn": "Deslizar para dentro",
+ "SlideOut": "Deslizar para fora",
+ "ZoomIn": "Aproximar",
+ "ZoomOut": "Afastar",
"Video Ratio": "Proporção do Vídeo",
"Portrait": "Retrato 9:16",
"Landscape": "Paisagem 16:9",
"Clip Duration": "Duração máxima por clipe (s)",
"Clip Duration Help": "Define a duração de cada clipe utilizado, não a duração total do vídeo.",
+ "Clip Speed": "Velocidade do clipe",
+ "Clip Speed Help": "Ajusta apenas a reprodução do material visual. A narração, as legendas e a duração máxima de saída de cada clipe não mudam.",
"Number of Videos Generated Simultaneously": "Vídeos por execução",
"Match Materials to Script Order": "Ajustar imagens à ordem do roteiro",
"Match Materials to Script Order Help": "Gera termos e organiza os materiais conforme o roteiro para acompanhar a narração.",
"Audio Settings": "**Configurações de Áudio**",
"Voiceover Mode": "Modo de narração",
- "Automatic Voiceover": "Auto",
+ "Automatic Voiceover": "Automática",
"Upload Voiceover": "Enviar",
"No Voiceover": "Nenhuma",
"No Voice Selected": "Nenhuma voz selecionada",
@@ -92,12 +98,12 @@
"Please Upload Voiceover File First": "Envie primeiro um arquivo de narração",
"Background Music Source": "Fonte da música de fundo",
"Speech Synthesis": "Voz (idioma do roteiro)",
- "Speech Region": "Região(:red[Obrigatório,[Obter Região](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices)])",
- "Speech Key": "Chave da API(:red[Obrigatório,[Obter Chave da API](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices)])",
+ "Speech Region": "Região (:red[Obrigatória, [Obter região](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices)])",
+ "Speech Key": "Chave da API (:red[Obrigatória, [Obter chave](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices)])",
"Speech Volume": "Volume da voz",
"Speech Rate": "Velocidade da voz",
"Custom Audio File": "Áudio personalizado",
- "No Voice": "Sem voz (sem sintese de fala)",
+ "No Voice": "Sem voz (sem síntese de fala)",
"Male": "Masculino",
"Female": "Feminino",
"Background Music": "Música de Fundo",
@@ -116,6 +122,11 @@
"Sonilo Connection Test Failed": "Falha na conexão Sonilo: {error}",
"Sonilo BGM Fallback Warning": "O vídeo {index} foi gerado sem música Sonilo porque a solicitação de música falhou.",
"Custom Background Music File": "Caminho da música personalizada",
+ "Upload Background Music": "Enviar música de fundo",
+ "Upload Background Music Help": "Envie um arquivo MP3, M4A, AAC, WAV, FLAC, OGG, OPUS ou WMA de até 30 MB. Ele será salvo permanentemente quando a geração do vídeo começar.",
+ "Background Music Ready": "A música de fundo está pronta",
+ "Invalid Background Music": "Envie um arquivo de música de fundo válido e compatível de até 30 MB.",
+ "Background Music Validation Failed": "Não foi possível validar a música de fundo porque o FFmpeg ou o armazenamento não está disponível. Verifique os logs do servidor.",
"Background Music Volume": "Volume da música de fundo",
"Subtitle Settings": "**Configurações de Legendas**",
"Enable Subtitles": "Ativar Legendas",
@@ -135,6 +146,7 @@
"Enable Subtitle Background": "Fundo",
"Subtitle Background Color": "Cor",
"Rounded Subtitle Background": "Fundo arredondado",
+ "Rounded Subtitle Background Help": "Desativado por padrão. Quando ativado, o fundo das legendas usa um estilo arredondado e translúcido que se ajusta melhor à largura do texto.",
"Subtitle Colors Are Indistinguishable": "Texto e fundo usam a mesma cor, por isso as legendas podem não ficar visíveis.",
"Subtitle Font Does Not Support Text": "A fonte escolhida não suporta alguns caracteres do roteiro, por isso podem faltar legendas.",
"Restore Default Subtitle Settings": "Restaurar legendas",
@@ -152,10 +164,13 @@
"Pixabay API Key": "Chave da API do Pixabay ([Obter Chave da API](https://pixabay.com/api/docs/#api_search_videos))",
"LLM Provider": "Provedor LLM",
"Recommended": "Recomendado",
+ "llm_provider_label.moonshot": "Kimi / Moonshot AI (recomendado)",
"API Key": "Chave da API (:red[Obrigatório])",
"Base Url": "URL Base",
"Account ID": "ID da Conta (Obter no painel do Cloudflare)",
"Model Name": "Nome do Modelo",
+ "Groq Model List Load Failed": "Não foi possível carregar a lista de modelos do Groq. Você ainda pode informar um modelo manualmente; ele será validado durante a geração.",
+ "Groq API Key Required for Model List": "Adicione uma chave de API do Groq para carregar automaticamente os modelos disponíveis.",
"Secret Key": "Chave secreta",
"Please Enter the LLM API Key": "Por favor, insira a **Chave da API LLM**",
"Please Enter the Pexels API Key": "Por favor, insira a **Chave da API do Pexels**",
@@ -175,9 +190,16 @@
"TTS Provider": "Selecione o provedor de síntese de voz",
"TTS Servers": "Servidores TTS",
"No voices available for the selected TTS server. Please select another server.": "Não há vozes disponíveis para o servidor TTS selecionado. Por favor, selecione outro servidor.",
- "SiliconFlow API Key": "Chave API do SiliconFlow",
+ "SiliconFlow API Key": "Chave API do SiliconFlow [Obter](https://cloud.siliconflow.cn/account/ak)",
+ "MiMo API Key": "Chave API do Xiaomi MiMo [Obter](https://platform.xiaomimimo.com/docs/zh-CN/quick-start/first-api-call)",
"ElevenLabs API Key": "Chave API do ElevenLabs",
"ElevenLabs Model": "Modelo ElevenLabs",
+ "Chatterbox Base URL": "URL base do Chatterbox",
+ "Chatterbox API Key": "Chave API do Chatterbox",
+ "Chatterbox Model": "Modelo Chatterbox",
+ "Chatterbox Voices": "Vozes do Chatterbox",
+ "Chatterbox Base URL Placeholder": "http://localhost:4123/v1",
+ "Chatterbox Voices Placeholder": "default-Female, narrator-Male",
"Hide Log": "Ocultar Log",
"Hide Basic Settings": "Ocultar Configurações Básicas\n\nOculto, o painel de configurações básicas não será exibido na página.\n\nSe precisar exibi-lo novamente, defina `hide_config = false` em `config.toml`",
"LLM Settings": "**Configurações do LLM**",
diff --git a/webui/i18n/ru.json b/webui/i18n/ru.json
index c4fe2462..3af4470b 100644
--- a/webui/i18n/ru.json
+++ b/webui/i18n/ru.json
@@ -31,28 +31,28 @@
"Please Enter the Video Subject First": "Сначала введите тему видео",
"Task Manager": "Управление задачами",
"Update Available": "Новая версия v{version}",
- "No Tasks Yet": "No tasks yet",
- "No Tasks Match Filter": "No tasks match the selected filter",
- "All Tasks": "All",
- "Task Status Filter": "Task status filter",
- "Task Status Complete": "Completed",
- "Task Status Failed": "Failed",
- "Task Status Processing": "Processing",
- "Task Status History": "History",
- "Task Status": "Status",
- "Recent Tasks": "Recent Tasks",
- "Task Subject": "Subject",
- "Task Updated At": "Updated",
- "Task Progress": "Progress",
- "Task Actions": "Actions",
- "Play Video": "Play",
- "Play": "Play",
- "Open": "Open",
- "Delete": "Delete",
- "Delete Task": "Delete Task",
- "Task Deleted": "Task deleted",
- "Task Delete Failed": "Failed to delete task",
- "Open Task Folder": "Open Folder",
+ "No Tasks Yet": "Задач пока нет",
+ "No Tasks Match Filter": "Нет задач, соответствующих фильтру",
+ "All Tasks": "Все",
+ "Task Status Filter": "Фильтр по статусу",
+ "Task Status Complete": "Завершено",
+ "Task Status Failed": "Ошибка",
+ "Task Status Processing": "Выполняется",
+ "Task Status History": "История",
+ "Task Status": "Статус",
+ "Recent Tasks": "Недавние задачи",
+ "Task Subject": "Тема",
+ "Task Updated At": "Обновлено",
+ "Task Progress": "Ход выполнения",
+ "Task Actions": "Действия",
+ "Play Video": "Воспроизвести",
+ "Play": "Воспроизвести",
+ "Open": "Открыть",
+ "Delete": "Удалить",
+ "Delete Task": "Удалить задачу",
+ "Task Deleted": "Задача удалена",
+ "Task Delete Failed": "Не удалось удалить задачу",
+ "Open Task Folder": "Открыть папку",
"Generating Video Script and Keywords": "ИИ генерирует сценарий и ключевые слова...",
"Generating Video Keywords": "ИИ генерирует ключевые слова...",
"Video Keywords": "Ключевые слова видео (англ., необязательно)",
@@ -121,7 +121,7 @@
"Sonilo Connection Test Succeeded": "Подключение Sonilo успешно.",
"Sonilo Connection Test Failed": "Ошибка подключения Sonilo: {error}",
"Sonilo BGM Fallback Warning": "Видео {index} создано без музыки Sonilo из-за ошибки запроса музыки.",
- "Custom Background Music File": "Введите путь к файлу фоновой музыки:",
+ "Custom Background Music File": "Путь к своей музыке",
"Upload Background Music": "Загрузить фоновую музыку",
"Upload Background Music Help": "Загрузите файл MP3, M4A, AAC, WAV, FLAC, OGG, OPUS или WMA размером до 30 МБ. Он будет сохранён при запуске создания видео.",
"Background Music Ready": "Фоновая музыка готова",
@@ -161,13 +161,13 @@
"Language": "Язык",
"LLM Provider": "Провайдер LLM",
"Recommended": "рекомендуется",
- "llm_provider_label.moonshot": "Kimi / Moonshot AI (Recommended)",
+ "llm_provider_label.moonshot": "Kimi / Moonshot AI (рекомендуется)",
"API Key": "API-ключ (:red[обязательно])",
"Base Url": "Базовый URL",
"Account ID": "ID аккаунта (см. в панели Cloudflare)",
"Model Name": "Модель",
- "Groq Model List Load Failed": "Unable to load Groq model list right now. You can still enter a model name manually; it will be validated during generation.",
- "Groq API Key Required for Model List": "Add a Groq API key to load available models automatically.",
+ "Groq Model List Load Failed": "Не удалось загрузить список моделей Groq. Можно ввести модель вручную; она будет проверена при генерации.",
+ "Groq API Key Required for Model List": "Добавьте API-ключ Groq для автоматической загрузки доступных моделей.",
"Secret Key": "Секретный ключ",
"Please Enter the LLM API Key": "Введите **API-ключ LLM**",
"Please Enter the Pexels API Key": "Введите **API-ключ Pexels**",
diff --git a/webui/i18n/tr.json b/webui/i18n/tr.json
index c57a32a7..12e5d9c6 100644
--- a/webui/i18n/tr.json
+++ b/webui/i18n/tr.json
@@ -31,28 +31,28 @@
"Please Enter the Video Subject First": "Lütfen önce video konusunu girin",
"Task Manager": "Görev Yöneticisi",
"Update Available": "Yeni sürüm v{version}",
- "No Tasks Yet": "No tasks yet",
- "No Tasks Match Filter": "No tasks match the selected filter",
- "All Tasks": "All",
- "Task Status Filter": "Task status filter",
- "Task Status Complete": "Completed",
- "Task Status Failed": "Failed",
- "Task Status Processing": "Processing",
- "Task Status History": "History",
- "Task Status": "Status",
- "Recent Tasks": "Recent Tasks",
- "Task Subject": "Subject",
- "Task Updated At": "Updated",
- "Task Progress": "Progress",
- "Task Actions": "Actions",
- "Play Video": "Play",
- "Play": "Play",
- "Open": "Open",
- "Delete": "Delete",
- "Delete Task": "Delete Task",
- "Task Deleted": "Task deleted",
- "Task Delete Failed": "Failed to delete task",
- "Open Task Folder": "Open Folder",
+ "No Tasks Yet": "Henüz görev yok",
+ "No Tasks Match Filter": "Seçili filtreyle eşleşen görev yok",
+ "All Tasks": "Tümü",
+ "Task Status Filter": "Görev durumu filtresi",
+ "Task Status Complete": "Tamamlandı",
+ "Task Status Failed": "Başarısız",
+ "Task Status Processing": "İşleniyor",
+ "Task Status History": "Geçmiş",
+ "Task Status": "Durum",
+ "Recent Tasks": "Son görevler",
+ "Task Subject": "Konu",
+ "Task Updated At": "Güncellendi",
+ "Task Progress": "İlerleme",
+ "Task Actions": "İşlemler",
+ "Play Video": "Oynat",
+ "Play": "Oynat",
+ "Open": "Aç",
+ "Delete": "Sil",
+ "Delete Task": "Görevi sil",
+ "Task Deleted": "Görev silindi",
+ "Task Delete Failed": "Görev silinemedi",
+ "Open Task Folder": "Klasörü aç",
"Generating Video Script and Keywords": "Yapay zeka video senaryosu ve anahtar kelimeleri oluşturuyor...",
"Generating Video Keywords": "Yapay zeka video anahtar kelimelerini oluşturuyor...",
"Video Keywords": "Video Anahtar Kelimeleri (İngilizce, İsteğe Bağlı)",
@@ -68,11 +68,15 @@
"FadeOut": "Yavaşça Kaybolma",
"SlideIn": "Kayarak Giriş",
"SlideOut": "Kayarak Çıkış",
+ "ZoomIn": "Yakınlaştır",
+ "ZoomOut": "Uzaklaştır",
"Video Ratio": "Video En-Boy Oranı",
"Portrait": "Dikey 9:16",
"Landscape": "Yatay 16:9",
"Clip Duration": "Maks. Klip Süresi (sn.)",
"Clip Duration Help": "Toplam video süresini değil, kullanılan her klibin süresini belirler.",
+ "Clip Speed": "Klip Hızı",
+ "Clip Speed Help": "Yalnızca görsel materyalin oynatma hızını ayarlar. Seslendirme, altyazılar ve her klibin maksimum çıktı süresi değişmez.",
"Number of Videos Generated Simultaneously": "Oluşturulacak Video Sayısı",
"Match Materials to Script Order": "Görüntüleri Senaryo Sırasıyla Eşleştir",
"Match Materials to Script Order Help": "Görüntülerin anlatımı izlemesi için anahtar kelimeleri ve materyalleri senaryo sırasına göre düzenler.",
@@ -116,6 +120,11 @@
"Sonilo Connection Test Failed": "Sonilo bağlantısı başarısız: {error}",
"Sonilo BGM Fallback Warning": "Müzik isteği başarısız olduğu için {index}. video Sonilo arka plan müziği olmadan oluşturuldu.",
"Custom Background Music File": "Özel Müzik Yolu",
+ "Upload Background Music": "Arka Plan Müziği Yükle",
+ "Upload Background Music Help": "En fazla 30 MB boyutunda MP3, M4A, AAC, WAV, FLAC, OGG, OPUS veya WMA dosyası yükleyin. Video oluşturma başladığında kalıcı olarak saklanır.",
+ "Background Music Ready": "Arka plan müziği hazır",
+ "Invalid Background Music": "En fazla 30 MB boyutunda, geçerli ve desteklenen bir arka plan müziği dosyası yükleyin.",
+ "Background Music Validation Failed": "FFmpeg veya depolama kullanılamadığı için arka plan müziği doğrulanamadı. Sunucu günlüklerini kontrol edin.",
"Background Music Volume": "Arka Plan Müziği Seviyesi",
"Subtitle Settings": "**Altyazı Ayarları**",
"Enable Subtitles": "Altyazıları Etkinleştir",
@@ -153,10 +162,13 @@
"Language": "Dil",
"LLM Provider": "LLM Sağlayıcı",
"Recommended": "önerilir",
+ "llm_provider_label.moonshot": "Kimi / Moonshot AI (önerilir)",
"API Key": "API Anahtarı (:red[Gerekli])",
"Base Url": "Temel URL",
"Account ID": "Hesap Kimlik Numarası (Cloudflare panodan alın)",
"Model Name": "Model Adı",
+ "Groq Model List Load Failed": "Groq model listesi şu anda yüklenemiyor. Model adını elle girebilirsiniz; oluşturma sırasında doğrulanır.",
+ "Groq API Key Required for Model List": "Kullanılabilir modelleri otomatik yüklemek için bir Groq API anahtarı ekleyin.",
"Secret Key": "Gizli Anahtar",
"Please Enter the LLM API Key": "Lütfen **LLM API Anahtarını** Girin",
"Please Enter the Pexels API Key": "Lütfen **Pexels API Anahtarını** Girin",
@@ -180,6 +192,12 @@
"MiMo API Key": "Xiaomi MiMo API Anahtarı [Almak için tıklayın](https://platform.xiaomimimo.com/docs/zh-CN/quick-start/first-api-call)",
"ElevenLabs API Key": "ElevenLabs API Anahtarı",
"ElevenLabs Model": "ElevenLabs Modeli",
+ "Chatterbox Base URL": "Chatterbox Temel URL'si",
+ "Chatterbox API Key": "Chatterbox API Anahtarı",
+ "Chatterbox Model": "Chatterbox Modeli",
+ "Chatterbox Voices": "Chatterbox Sesleri",
+ "Chatterbox Base URL Placeholder": "http://localhost:4123/v1",
+ "Chatterbox Voices Placeholder": "default-Female, narrator-Male",
"Hide Log": "Günlüğü Gizle",
"Hide Basic Settings": "Temel Ayarları Gizle\n\nGizlendiği takdirde, temel ayarlar paneli sayfada görüntülenmeyecektir.\n\nTekrar görüntülemek için `config.toml` dosyasında `hide_config = false` olarak ayarlayın",
"LLM Settings": "**LLM Ayarları**",
diff --git a/webui/i18n/vi.json b/webui/i18n/vi.json
index 54482435..b0c14f54 100644
--- a/webui/i18n/vi.json
+++ b/webui/i18n/vi.json
@@ -17,7 +17,7 @@
"Script Paragraph Number": "Số Đoạn Kịch Bản",
"Custom Script Requirements": "Yêu Cầu Kịch Bản Tùy Chỉnh",
"Custom Script Requirements Placeholder": "Ví dụ: dùng giọng văn nhẹ nhàng hơn, phù hợp phong cách TikTok, hướng đến khán giả trẻ, mở đầu kịch tính hơn",
- "Custom System Prompt": "System Prompt",
+ "Custom System Prompt": "Prompt hệ thống",
"Restore Default System Prompt": "Khôi phục Prompt mặc định",
"Default System Prompt Restored": "Đã khôi phục system prompt mặc định",
"Preview Final Prompt": "Xem trước Prompt cuối",
@@ -31,28 +31,28 @@
"Please Enter the Video Subject First": "Vui lòng nhập chủ đề video trước",
"Task Manager": "Quản Lý Tác Vụ",
"Update Available": "Phiên bản mới v{version}",
- "No Tasks Yet": "No tasks yet",
- "No Tasks Match Filter": "No tasks match the selected filter",
- "All Tasks": "All",
- "Task Status Filter": "Task status filter",
- "Task Status Complete": "Completed",
- "Task Status Failed": "Failed",
- "Task Status Processing": "Processing",
- "Task Status History": "History",
- "Task Status": "Status",
- "Recent Tasks": "Recent Tasks",
- "Task Subject": "Subject",
- "Task Updated At": "Updated",
- "Task Progress": "Progress",
- "Task Actions": "Actions",
- "Play Video": "Play",
- "Play": "Play",
- "Open": "Open",
- "Delete": "Delete",
- "Delete Task": "Delete Task",
- "Task Deleted": "Task deleted",
- "Task Delete Failed": "Failed to delete task",
- "Open Task Folder": "Open Folder",
+ "No Tasks Yet": "Chưa có tác vụ",
+ "No Tasks Match Filter": "Không có tác vụ phù hợp với bộ lọc",
+ "All Tasks": "Tất cả",
+ "Task Status Filter": "Lọc theo trạng thái",
+ "Task Status Complete": "Hoàn tất",
+ "Task Status Failed": "Thất bại",
+ "Task Status Processing": "Đang xử lý",
+ "Task Status History": "Lịch sử",
+ "Task Status": "Trạng thái",
+ "Recent Tasks": "Tác vụ gần đây",
+ "Task Subject": "Chủ đề",
+ "Task Updated At": "Cập nhật",
+ "Task Progress": "Tiến độ",
+ "Task Actions": "Thao tác",
+ "Play Video": "Phát",
+ "Play": "Phát",
+ "Open": "Mở",
+ "Delete": "Xóa",
+ "Delete Task": "Xóa tác vụ",
+ "Task Deleted": "Đã xóa tác vụ",
+ "Task Delete Failed": "Không thể xóa tác vụ",
+ "Open Task Folder": "Mở thư mục",
"Generating Video Script and Keywords": "AI đang tạo kịch bản video và từ khóa...",
"Generating Video Keywords": "AI đang tạo từ khóa video...",
"Video Keywords": "Từ Khóa Video (Tiếng Anh, Không Bắt Buộc)",
@@ -64,15 +64,19 @@
"Video Transition Mode": "Chế Độ Chuyển Đổi Video",
"None": "Không Có Chuyển Đổi",
"Shuffle": "Chuyển Đổi Ngẫu Nhiên",
- "FadeIn": "FadeIn",
- "FadeOut": "FadeOut",
- "SlideIn": "SlideIn",
- "SlideOut": "SlideOut",
+ "FadeIn": "Mờ dần vào",
+ "FadeOut": "Mờ dần ra",
+ "SlideIn": "Trượt vào",
+ "SlideOut": "Trượt ra",
+ "ZoomIn": "Phóng to",
+ "ZoomOut": "Thu nhỏ",
"Video Ratio": "Tỷ Lệ Khung Hình Video",
"Portrait": "Dọc 9:16",
"Landscape": "Ngang 16:9",
"Clip Duration": "Thời Lượng Tối Đa Mỗi Clip (giây)",
"Clip Duration Help": "Quy định thời lượng của từng clip được sử dụng, không phải tổng thời lượng video.",
+ "Clip Speed": "Tốc độ clip",
+ "Clip Speed Help": "Chỉ điều chỉnh tốc độ phát của hình ảnh. Lời thoại, phụ đề và thời lượng đầu ra tối đa của từng clip không thay đổi.",
"Number of Videos Generated Simultaneously": "Số video mỗi lần",
"Match Materials to Script Order": "Khớp hình ảnh theo thứ tự kịch bản",
"Match Materials to Script Order Help": "Tạo từ khóa và sắp xếp tư liệu theo kịch bản để hình ảnh theo sát lời đọc.",
@@ -93,8 +97,8 @@
"Please Upload Voiceover File First": "Hãy tải tệp lồng tiếng lên trước",
"Background Music Source": "Nguồn Nhạc Nền",
"Speech Synthesis": "Giọng đọc (theo ngôn ngữ)",
- "Speech Region": "Vùng(:red[Bắt Buộc,[Lấy Vùng](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices)])",
- "Speech Key": "Khóa API(:red[Bắt Buộc,[Lấy Khóa API](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices)])",
+ "Speech Region": "Khu vực (:red[Bắt buộc, [Lấy khu vực](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices)])",
+ "Speech Key": "Khóa API (:red[Bắt buộc, [Lấy khóa](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices)])",
"Speech Volume": "Âm lượng giọng đọc",
"Speech Rate": "Tốc độ đọc",
"Custom Audio File": "Tệp Âm Thanh Tùy Chỉnh",
@@ -118,6 +122,11 @@
"Sonilo Connection Test Failed": "Kết nối Sonilo thất bại: {error}",
"Sonilo BGM Fallback Warning": "Video {index} được tạo không có nhạc Sonilo vì yêu cầu tạo nhạc thất bại.",
"Custom Background Music File": "Đường dẫn nhạc tùy chỉnh",
+ "Upload Background Music": "Tải nhạc nền lên",
+ "Upload Background Music Help": "Tải lên tệp MP3, M4A, AAC, WAV, FLAC, OGG, OPUS hoặc WMA tối đa 30 MB. Tệp sẽ được lưu lâu dài khi bắt đầu tạo video.",
+ "Background Music Ready": "Nhạc nền đã sẵn sàng",
+ "Invalid Background Music": "Hãy tải lên tệp nhạc nền hợp lệ, được hỗ trợ và không quá 30 MB.",
+ "Background Music Validation Failed": "Không thể xác thực nhạc nền vì FFmpeg hoặc bộ nhớ không khả dụng. Hãy kiểm tra nhật ký máy chủ.",
"Background Music Volume": "Âm lượng nhạc nền",
"Subtitle Settings": "**Cài Đặt Phụ Đề**",
"Enable Subtitles": "Bật Phụ Đề",
@@ -155,10 +164,13 @@
"Pixabay API Key": "Khóa API Pixabay ([Lấy Khóa API](https://pixabay.com/api/docs/#api_search_videos))",
"LLM Provider": "Nhà Cung Cấp LLM",
"Recommended": "Được đề xuất",
+ "llm_provider_label.moonshot": "Kimi / Moonshot AI (đề xuất)",
"API Key": "Khóa API (:red[Bắt Buộc])",
"Base Url": "Url Cơ Bản",
"Account ID": "ID Tài Khoản (Lấy từ bảng điều khiển Cloudflare)",
"Model Name": "Tên Mô Hình",
+ "Groq Model List Load Failed": "Hiện không thể tải danh sách mô hình Groq. Bạn vẫn có thể nhập tên mô hình thủ công; mô hình sẽ được xác thực khi tạo video.",
+ "Groq API Key Required for Model List": "Thêm khóa API Groq để tự động tải các mô hình khả dụng.",
"Secret Key": "Khóa bí mật",
"Please Enter the LLM API Key": "Vui lòng Nhập **Khóa API LLM**",
"Please Enter the Pexels API Key": "Vui lòng Nhập **Khóa API Pexels**",
@@ -178,10 +190,16 @@
"TTS Provider": "Chọn nhà cung cấp tổng hợp giọng nói",
"TTS Servers": "Máy chủ TTS",
"No voices available for the selected TTS server. Please select another server.": "Không có giọng nói nào cho máy chủ TTS đã chọn. Vui lòng chọn máy chủ khác.",
- "SiliconFlow API Key": "Khóa API SiliconFlow",
+ "SiliconFlow API Key": "Khóa API SiliconFlow [Lấy khóa](https://cloud.siliconflow.cn/account/ak)",
"MiMo API Key": "Khóa API Xiaomi MiMo [Nhấn để lấy](https://platform.xiaomimimo.com/docs/zh-CN/quick-start/first-api-call)",
"ElevenLabs API Key": "Khóa API ElevenLabs",
"ElevenLabs Model": "Mô Hình ElevenLabs",
+ "Chatterbox Base URL": "URL cơ sở Chatterbox",
+ "Chatterbox API Key": "Khóa API Chatterbox",
+ "Chatterbox Model": "Mô hình Chatterbox",
+ "Chatterbox Voices": "Giọng Chatterbox",
+ "Chatterbox Base URL Placeholder": "http://localhost:4123/v1",
+ "Chatterbox Voices Placeholder": "default-Female, narrator-Male",
"Hide Log": "Ẩn Nhật Ký",
"Hide Basic Settings": "Ẩn Cài Đặt Cơ Bản\n\nẨn, thanh cài đặt cơ bản sẽ không hiển thị trên trang web.\n\nNếu bạn muốn hiển thị lại, vui lòng đặt `hide_config = false` trong `config.toml`",
"LLM Settings": "**Cài Đặt LLM**",