Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

feat(chat): add welcome view when no LM provider is connected

Etienne Lescot28ac92682832
diff --git a/src/components/ai-edition/ChatWelcome.test.tsx b/src/components/ai-edition/ChatWelcome.test.tsx
new file mode 100644
index 000000000..5902d6c47
--- /dev/null
+++ b/src/components/ai-edition/ChatWelcome.test.tsx
@@ -0,0 +1,91 @@
+// ChatWelcome guards the "no provider connected" empty state.
+//
+// Two things matter here:
+// 1. the welcome card is fully localized — every locale must render the
+// CTA and the disclaimer, not fall back to a key like "chat.welcome.cta"
+// 2. the CTA opens the provider settings dialog (whatever the parent
+// decided to do, it just has to fire the callback)
+
+import "@testing-library/jest-dom";
+import { cleanup, fireEvent, render, screen } from "@testing-library/react";
+import type { ReactElement } from "react";
+import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
+import { I18nProvider } from "@/contexts/I18nContext";
+import { LOCALE_STORAGE_KEY } from "@/i18n/config";
+import { ChatWelcome } from "./ChatWelcome";
+
+function renderIn(locale: string, ui: ReactElement) {
+ localStorage.setItem(LOCALE_STORAGE_KEY, locale);
+ return render(<I18nProvider>{ui}</I18nProvider>);
+}
+
+beforeEach(() => {
+ localStorage.clear();
+});
+
+afterEach(() => {
+ cleanup();
+ localStorage.clear();
+});
+
+describe("ChatWelcome", () => {
+ it("renders the English welcome card with the CTA and disclaimer", () => {
+ const onOpen = vi.fn();
+ renderIn("en", <ChatWelcome onOpenProviderSettings={onOpen} />);
+
+ expect(screen.getByRole("heading", { name: /bring your own ai/i })).toBeInTheDocument();
+ expect(screen.getByText(/talk.*language model/i)).toBeInTheDocument();
+ // The 3 feature lines are inside a <ul>; query them by text so we know
+ // they actually reach the DOM, not just an unused i18n key.
+ expect(screen.getByText(/cut silences/i)).toBeInTheDocument();
+ expect(screen.getByText(/add captions/i)).toBeInTheDocument();
+ expect(screen.getByText(/rewrite a section/i)).toBeInTheDocument();
+ expect(screen.getByText(/transcript will be sent/i)).toBeInTheDocument();
+ });
+
+ it("invokes the onOpenProviderSettings callback when the CTA is clicked", () => {
+ const onOpen = vi.fn();
+ renderIn("en", <ChatWelcome onOpenProviderSettings={onOpen} />);
+
+ const cta = screen.getByTestId("chat-welcome-cta");
+ expect(cta).toBeInTheDocument();
+ fireEvent.click(cta);
+
+ expect(onOpen).toHaveBeenCalledTimes(1);
+ });
+
+ it("renders the French welcome card with translated copy", () => {
+ renderIn("fr", <ChatWelcome onOpenProviderSettings={vi.fn()} />);
+
+ expect(screen.getByRole("heading", { name: /apportez votre ia/i })).toBeInTheDocument();
+ expect(screen.getByText(/configurer un fournisseur/i)).toBeInTheDocument();
+ // Disclaimer must NOT be the English fallback
+ expect(screen.queryByText(/transcript will be sent/i)).not.toBeInTheDocument();
+ expect(screen.getByText(/transcription de votre vidéo/i)).toBeInTheDocument();
+ });
+
+ it("renders the Spanish welcome card with translated copy", () => {
+ renderIn("es", <ChatWelcome onOpenProviderSettings={vi.fn()} />);
+
+ expect(screen.getByText(/configurar un proveedor/i)).toBeInTheDocument();
+ expect(screen.getByText(/transcripción de tu vídeo/i)).toBeInTheDocument();
+ });
+
+ it("renders the Japanese welcome card with translated copy", () => {
+ renderIn("ja-JP", <ChatWelcome onOpenProviderSettings={vi.fn()} />);
+
+ expect(screen.getByText(/プロバイダーを設定/)).toBeInTheDocument();
+ // The Japanese disclaimer uses 「動画」 — guard against the English
+ // fallback by asserting the locale-specific substring is present.
+ expect(screen.getByText(/動画の文字起こし/)).toBeInTheDocument();
+ });
+
+ it("exposes the welcome region to assistive tech", () => {
+ renderIn("en", <ChatWelcome onOpenProviderSettings={vi.fn()} />);
+
+ // The component marks itself as a region with the title as its
+ // accessible name — screen readers announce the title on focus.
+ const region = screen.getByRole("region", { name: /bring your own ai/i });
+ expect(region).toBeInTheDocument();
+ });
+});
diff --git a/src/components/ai-edition/ChatWelcome.tsx b/src/components/ai-edition/ChatWelcome.tsx
new file mode 100644
index 000000000..3012b01c5
--- /dev/null
+++ b/src/components/ai-edition/ChatWelcome.tsx
@@ -0,0 +1,69 @@
+// Welcome view for the LM chat panel.
+//
+// Shown in the chat body when no LLM provider is connected (whether the user
+// has just installed the app, or used to have a provider and removed all
+// credentials). It explains what the chat can do, then routes the user to the
+// provider settings dialog with a single CTA. A small disclaimer under the
+// button makes it clear that, once a provider IS connected, the video's
+// transcript will be sent to it.
+//
+// We deliberately do NOT keep the prior "no messages yet" placeholder in this
+// branch — without a provider there is no way to send a first message, so the
+// hint would be a dead end. The regular `chat.emptyState` line still appears
+// for the brief window where a provider is connected but no messages have
+// been exchanged yet.
+
+import { ArrowRight, Info, Sparkles } from "lucide-react";
+import { useScopedT } from "@/contexts/I18nContext";
+import styles from "./NewEditorShell.module.css";
+
+interface ChatWelcomeProps {
+ /** Open the provider settings modal so the user can pick + connect one. */
+ onOpenProviderSettings: () => void;
+}
+
+export function ChatWelcome({ onOpenProviderSettings }: ChatWelcomeProps) {
+ const t = useScopedT("editor");
+
+ return (
+ <div className={styles.chatWelcome} role="region" aria-label={t("chat.welcome.title")}>
+ <header className={styles.chatWelcomeHero}>
+ <span className={styles.chatWelcomeIcon} aria-hidden="true">
+ <Sparkles size={20} />
+ </span>
+ <h2 className={styles.chatWelcomeTitle}>{t("chat.welcome.title")}</h2>
+ <p className={styles.chatWelcomeSubtitle}>{t("chat.welcome.subtitle")}</p>
+ </header>
+
+ <ul className={styles.chatWelcomeFeatures}>
+ <li className={styles.chatWelcomeFeature}>
+ <span className={styles.chatWelcomeFeatureDot} aria-hidden="true" />
+ <span>{t("chat.welcome.feature1")}</span>
+ </li>
+ <li className={styles.chatWelcomeFeature}>
+ <span className={styles.chatWelcomeFeatureDot} aria-hidden="true" />
+ <span>{t("chat.welcome.feature2")}</span>
+ </li>
+ <li className={styles.chatWelcomeFeature}>
+ <span className={styles.chatWelcomeFeatureDot} aria-hidden="true" />
+ <span>{t("chat.welcome.feature3")}</span>
+ </li>
+ </ul>
+
+ <button
+ type="button"
+ className={styles.chatWelcomeCta}
+ onClick={onOpenProviderSettings}
+ data-testid="chat-welcome-cta"
+ >
+ {t("chat.welcome.cta")}
+ <ArrowRight size={14} />
+ </button>
+
+ <p className={styles.chatWelcomeDisclaimer}>
+ <Info size={12} className={styles.chatWelcomeDisclaimerIcon} aria-hidden="true" />
+ <span>{t("chat.welcome.disclaimer")}</span>
+ </p>
+ </div>
+ );
+}
diff --git a/src/components/ai-edition/LeftPanel.tsx b/src/components/ai-edition/LeftPanel.tsx
index 4812c3968..0884f29f4 100644
--- a/src/components/ai-edition/LeftPanel.tsx
+++ b/src/components/ai-edition/LeftPanel.tsx
@@ -21,6 +21,7 @@ import {
PROVIDER_DEFINITIONS,
type ReasoningEffort,
} from "../../../electron/ai-edition/provider-registry";
+import { ChatWelcome } from "./ChatWelcome";
import { computeBudget } from "./chatBudget";
import { ChatHistoryModal, SourceTranscriptModal } from "./Modals";
import styles from "./NewEditorShell.module.css";
@@ -770,6 +771,15 @@ function ChatStripPanel() {
const send = async (overrideText?: string) => {
const text = (overrideText ?? input).trim();
if (!projectId || !text || busy) return;
+ // ponytail: no connected provider = nothing to talk to. Bounce the user
+ // to the settings modal instead of sending a doomed request and
+ // surfacing a generic LLM error. The composer is also disabled in this
+ // state, but Enter-to-send could still slip through (e.g. focus
+ // restored via shortcut), so the check lives here too.
+ if (connectedProviders.length === 0) {
+ setSettingsOpen(true);
+ return;
+ }
setInput("");
setBusy(true);
// ponytail: pre-seed the user message so the rewind ↩ button is
@@ -1405,7 +1415,9 @@ function ChatStripPanel() {
</div>
<div className={styles.panelBody} ref={scrollRef}>
- {messages.length === 0 ? (
+ {connectedProviders.length === 0 ? (
+ <ChatWelcome onOpenProviderSettings={() => setSettingsOpen(true)} />
+ ) : messages.length === 0 ? (
<p
style={{
font: "400 12px var(--font-body)",
@@ -1568,8 +1580,13 @@ function ChatStripPanel() {
<div className={styles.chatInput}>
<textarea
- placeholder={t("chat.composerPlaceholder")}
+ placeholder={
+ connectedProviders.length === 0
+ ? t("chat.composerDisabledNoProvider")
+ : t("chat.composerPlaceholder")
+ }
value={input}
+ disabled={connectedProviders.length === 0}
onChange={(e) => setInput(e.target.value)}
onKeyDown={(e) => {
if (e.key === "Enter" && !e.shiftKey) {
@@ -1681,10 +1698,14 @@ function ChatStripPanel() {
<button
type="button"
className={styles.sendBtn}
- title={t("chat.sendTitle")}
+ title={
+ connectedProviders.length === 0
+ ? t("chat.composerDisabledNoProvider")
+ : t("chat.sendTitle")
+ }
aria-label={t("chat.send")}
onClick={() => void send()}
- disabled={busy || !input.trim()}
+ disabled={busy || !input.trim() || connectedProviders.length === 0}
>
<svg
width={14}
diff --git a/src/components/ai-edition/NewEditorShell.module.css b/src/components/ai-edition/NewEditorShell.module.css
index 8ce46a1aa..7da864548 100644
--- a/src/components/ai-edition/NewEditorShell.module.css
+++ b/src/components/ai-edition/NewEditorShell.module.css
@@ -2117,3 +2117,116 @@
.backBtn:hover { background: var(--surface-3); }
.backBtn:disabled { opacity: 0.5; cursor: not-allowed; }
+/* ─── chat welcome (no provider connected) ──────────────────────── */
+.chatWelcome {
+ display: flex;
+ flex-direction: column;
+ align-items: stretch;
+ gap: var(--sp-3);
+ padding: var(--sp-4) var(--sp-4) var(--sp-3);
+ text-align: left;
+ /* The .panelBody parent already centers, but a slightly tighter card
+ keeps the welcome readable when the rail is at its narrowest. */
+}
+
+.chatWelcomeHero {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ text-align: center;
+ gap: 6px;
+ padding: 4px 0 0;
+}
+
+.chatWelcomeIcon {
+ display: inline-grid;
+ place-items: center;
+ width: 40px;
+ height: 40px;
+ border-radius: 12px;
+ background: var(--accent-soft);
+ color: var(--accent);
+ margin-bottom: 4px;
+}
+
+.chatWelcomeTitle {
+ margin: 0;
+ font: 600 14px/1.3 var(--font-body);
+ color: var(--fg);
+ letter-spacing: -0.01em;
+}
+
+.chatWelcomeSubtitle {
+ margin: 0;
+ font: 400 12px/1.5 var(--font-body);
+ color: var(--muted);
+ max-width: 32ch;
+}
+
+.chatWelcomeFeatures {
+ list-style: none;
+ margin: 0;
+ padding: 10px 12px;
+ display: flex;
+ flex-direction: column;
+ gap: 6px;
+ background: var(--surface);
+ border: 1px solid var(--border-soft);
+ border-radius: var(--r-md);
+}
+
+.chatWelcomeFeature {
+ display: flex;
+ align-items: flex-start;
+ gap: 8px;
+ font: 400 12px/1.45 var(--font-body);
+ color: var(--fg-2);
+}
+
+.chatWelcomeFeatureDot {
+ flex: 0 0 auto;
+ margin-top: 6px;
+ width: 5px;
+ height: 5px;
+ border-radius: 50%;
+ background: var(--accent);
+ opacity: 0.85;
+}
+
+.chatWelcomeCta {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ gap: 6px;
+ width: 100%;
+ height: 34px;
+ border-radius: var(--r-md);
+ background: var(--accent);
+ color: var(--accent-on);
+ border: 1px solid var(--accent);
+ font: 600 12.5px var(--font-body);
+ cursor: pointer;
+ transition: filter 120ms ease, background 120ms ease;
+}
+.chatWelcomeCta:hover { filter: brightness(0.95); }
+.chatWelcomeCta:focus-visible {
+ outline: none;
+ box-shadow: var(--focus-ring);
+}
+
+.chatWelcomeDisclaimer {
+ margin: 0;
+ display: flex;
+ align-items: flex-start;
+ gap: 6px;
+ font: 400 10.5px/1.45 var(--font-body);
+ color: var(--muted);
+}
+
+.chatWelcomeDisclaimerIcon {
+ flex: 0 0 auto;
+ margin-top: 2px;
+ color: var(--muted);
+ opacity: 0.8;
+}
+
diff --git a/src/i18n/locales/ar/editor.json b/src/i18n/locales/ar/editor.json
index ac05bc552..4e05f4643 100644
--- a/src/i18n/locales/ar/editor.json
+++ b/src/i18n/locales/ar/editor.json
@@ -256,6 +256,15 @@
"addSkipRange": "إضافة نطاق تخطٍّ",
"skipButtonShort": "+ تخطٍّ",
"emptyState": "لا توجد رسائل بعد. اطلب من الوكيل قص الصمت أو تقليص الوقفات أو إضافة ترجمات.",
+ "welcome": {
+ "title": "أحضر ذكاءك الاصطناعي الخاص",
+ "subtitle": "تعمل المحادثة على تعديل الفيديو عبر التحدث إلى نموذج لغوي. اختر المزوّد الذي تثق به واربط مفتاح API للبدء.",
+ "feature1": "اقطع الصمت، اضغط الوقفات، أزل الكلمات الحشوية",
+ "feature2": "أضف ترجمات، كبّر الكاميرا، أنشئ عنواناً",
+ "feature3": "أعد كتابة قسم، أو أعِد صياغته، أو قسّم مقطعاً عند الطلب",
+ "cta": "إعداد مزوّد",
+ "disclaimer": "سيُرسَل نصّ فيديوك إلى المزوّد الذي تختاره. لا يُشارَك شيء قبل أن تربط مزوّداً."
+ },
"authorUser": "أنت",
"authorAssistant": "OpenScreen",
"rewindToMessage": "إعادة الضبط إلى هذه الرسالة",
@@ -265,6 +274,7 @@
"appliedPrefix": "تم التطبيق:",
"thinking": "جارٍ التفكير…",
"composerPlaceholder": "صف التعديل الذي تريده.",
+ "composerDisabledNoProvider": "اربط مزوّداً لبدء المحادثة.",
"modelLabel": "النموذج",
"reasoningEffortLabel": "جهد الاستدلال",
"sendTitle": "إرسال (Enter)",
diff --git a/src/i18n/locales/en/editor.json b/src/i18n/locales/en/editor.json
index a49ba8024..5806e3adc 100644
--- a/src/i18n/locales/en/editor.json
+++ b/src/i18n/locales/en/editor.json
@@ -256,6 +256,15 @@
"addSkipRange": "Add skip range",
"skipButtonShort": "+ skip",
"emptyState": "No messages yet. Ask the agent to cut silences, tighten pauses, or add captions.",
+ "welcome": {
+ "title": "Bring your own AI",
+ "subtitle": "The chat edits your video by talking to a language model. Pick a provider you trust and connect an API key to get started.",
+ "feature1": "Cut silences, tighten pauses, drop filler words",
+ "feature2": "Add captions, zoom on the camera, generate a title",
+ "feature3": "Rewrite a section, rephrase, or split a clip on request",
+ "cta": "Set up a provider",
+ "disclaimer": "Your video's transcript will be sent to the provider you choose. Nothing is shared until you connect one."
+ },
"authorUser": "You",
"authorAssistant": "OpenScreen",
"rewindToMessage": "Rewind to this message",
@@ -265,6 +274,7 @@
"appliedPrefix": "applied:",
"thinking": "Thinking…",
"composerPlaceholder": "Describe the edit you want.",
+ "composerDisabledNoProvider": "Set up a provider to start chatting.",
"modelLabel": "Model",
"reasoningEffortLabel": "Reasoning effort",
"sendTitle": "Send (Enter)",
diff --git a/src/i18n/locales/es/editor.json b/src/i18n/locales/es/editor.json
index ef8b25337..d7c2df0bf 100644
--- a/src/i18n/locales/es/editor.json
+++ b/src/i18n/locales/es/editor.json
@@ -256,6 +256,15 @@
"addSkipRange": "Añadir rango de salto",
"skipButtonShort": "+ salto",
"emptyState": "Aún no hay mensajes. Pide al agente que corte silencios, ajuste pausas o añada subtítulos.",
+ "welcome": {
+ "title": "Trae tu propia IA",
+ "subtitle": "El chat edita tu vídeo hablando con un modelo de lenguaje. Elige el proveedor que prefieras y conecta una clave de API para empezar.",
+ "feature1": "Corta silencios, aprieta pausas, elimina muletillas",
+ "feature2": "Añade subtítulos, hace zoom a la cámara, genera un título",
+ "feature3": "Reescribe una sección, reformula o divide un clip bajo pedido",
+ "cta": "Configurar un proveedor",
+ "disclaimer": "La transcripción de tu vídeo se enviará al proveedor que elijas. No se comparte nada hasta que conectes uno."
+ },
"authorUser": "Tú",
"authorAssistant": "OpenScreen",
"rewindToMessage": "Rebobinar a este mensaje",
@@ -265,6 +274,7 @@
"appliedPrefix": "aplicado:",
"thinking": "Pensando…",
"composerPlaceholder": "Describe la edición que quieres.",
+ "composerDisabledNoProvider": "Configura un proveedor para empezar a chatear.",
"modelLabel": "Modelo",
"reasoningEffortLabel": "Esfuerzo de razonamiento",
"sendTitle": "Enviar (Intro)",
diff --git a/src/i18n/locales/fr/editor.json b/src/i18n/locales/fr/editor.json
index 13e3ec803..e3a8dbb35 100644
--- a/src/i18n/locales/fr/editor.json
+++ b/src/i18n/locales/fr/editor.json
@@ -256,6 +256,15 @@
"addSkipRange": "Ajouter une plage à ignorer",
"skipButtonShort": "+ saut",
"emptyState": "Aucun message pour l'instant. Demandez à l'agent de couper les silences, resserrer les pauses ou ajouter des sous-titres.",
+ "welcome": {
+ "title": "Apportez votre IA",
+ "subtitle": "Le chat édite votre vidéo en discutant avec un modèle de langage. Choisissez le fournisseur auquel vous faites confiance et connectez une clé API pour commencer.",
+ "feature1": "Couper les silences, resserrer les pauses, supprimer les tics de langage",
+ "feature2": "Ajouter des sous-titres, zoomer sur la caméra, générer un titre",
+ "feature3": "Réécrire une section, reformuler ou découper un clip à la demande",
+ "cta": "Configurer un fournisseur",
+ "disclaimer": "La transcription de votre vidéo sera envoyée au fournisseur que vous choisissez. Rien n'est partagé tant que vous n'en connectez pas un."
+ },
"authorUser": "Vous",
"authorAssistant": "OpenScreen",
"rewindToMessage": "Revenir à ce message",
@@ -265,6 +274,7 @@
"appliedPrefix": "appliqué :",
"thinking": "Réflexion en cours…",
"composerPlaceholder": "Décrivez la modification souhaitée.",
+ "composerDisabledNoProvider": "Configurez un fournisseur pour commencer à discuter.",
"modelLabel": "Modèle",
"reasoningEffortLabel": "Effort de raisonnement",
"sendTitle": "Envoyer (Entrée)",
diff --git a/src/i18n/locales/it/editor.json b/src/i18n/locales/it/editor.json
index 57fd8c608..fe0638f79 100644
--- a/src/i18n/locales/it/editor.json
+++ b/src/i18n/locales/it/editor.json
@@ -256,6 +256,15 @@
"addSkipRange": "Aggiungi intervallo da saltare",
"skipButtonShort": "+ salto",
"emptyState": "Nessun messaggio ancora. Chiedi all'agente di tagliare i silenzi, stringere le pause o aggiungere sottotitoli.",
+ "welcome": {
+ "title": "Porta la tua IA",
+ "subtitle": "La chat modifica il tuo video parlando con un modello linguistico. Scegli il fornitore di cui ti fidi e collega una chiave API per iniziare.",
+ "feature1": "Taglia i silenzi, stringi le pause, elimina le parole superflue",
+ "feature2": "Aggiungi sottotitoli, ingrandisci la camera, genera un titolo",
+ "feature3": "Riscrivi una sezione, riformula o dividi un clip su richiesta",
+ "cta": "Configura un fornitore",
+ "disclaimer": "La trascrizione del tuo video verrà inviata al fornitore che scegli. Nulla viene condiviso finché non ne colleghi uno."
+ },
"authorUser": "Tu",
"authorAssistant": "OpenScreen",
"rewindToMessage": "Riavvolgi a questo messaggio",
@@ -265,6 +274,7 @@
"appliedPrefix": "applicato:",
"thinking": "Sto pensando…",
"composerPlaceholder": "Descrivi la modifica che desideri.",
+ "composerDisabledNoProvider": "Configura un fornitore per iniziare a chattare.",
"modelLabel": "Modello",
"reasoningEffortLabel": "Sforzo di ragionamento",
"sendTitle": "Invia (Invio)",
diff --git a/src/i18n/locales/ja-JP/editor.json b/src/i18n/locales/ja-JP/editor.json
index 3091d525d..2e87b27f1 100644
--- a/src/i18n/locales/ja-JP/editor.json
+++ b/src/i18n/locales/ja-JP/editor.json
@@ -256,6 +256,15 @@
"addSkipRange": "スキップ範囲を追加",
"skipButtonShort": "+ スキップ",
"emptyState": "まだメッセージはありません。エージェントに無音のカット、間の調整、字幕の追加を依頼してみましょう。",
+ "welcome": {
+ "title": "自分のAIを持ち込もう",
+ "subtitle": "チャットは言語モデルと会話しながら動画を編集します。信頼できるプロバイダーを選んで API キーを接続すれば始められます。",
+ "feature1": "無音部分をカットし、間を詰め、つなぎ言葉を削除",
+ "feature2": "字幕を追加し、カメラをズームし、タイトルを生成",
+ "feature3": "セクションを言い換えたり、書き直したり、クリップを分割",
+ "cta": "プロバイダーを設定",
+ "disclaimer": "動画の文字起こしは、選択したプロバイダーに送信されます。接続するまでは何も共有されません。"
+ },
"authorUser": "あなた",
"authorAssistant": "OpenScreen",
"rewindToMessage": "このメッセージまで巻き戻す",
@@ -265,6 +274,7 @@
"appliedPrefix": "適用済み:",
"thinking": "考え中…",
"composerPlaceholder": "希望する編集内容を記述してください。",
+ "composerDisabledNoProvider": "チャットを始めるにはプロバイダーを設定してください。",
"modelLabel": "モデル",
"reasoningEffortLabel": "推論の労力",
"sendTitle": "送信(Enter)",
diff --git a/src/i18n/locales/ko-KR/editor.json b/src/i18n/locales/ko-KR/editor.json
index 92bae19ed..b50fd002d 100644
--- a/src/i18n/locales/ko-KR/editor.json
+++ b/src/i18n/locales/ko-KR/editor.json
@@ -256,6 +256,15 @@
"addSkipRange": "건너뛸 구간 추가",
"skipButtonShort": "+ 건너뛰기",
"emptyState": "아직 메시지가 없습니다. 에이전트에게 무음 구간 자르기, 일시정지 조이기, 자막 추가를 요청해 보세요.",
+ "welcome": {
+ "title": "내 AI를 가져오세요",
+ "subtitle": "채팅은 언어 모델과 대화하며 영상을 편집합니다. 신뢰하는 공급자를 골라 API 키를 연결하면 시작할 수 있습니다.",
+ "feature1": "무음을 잘라내고, 끊김을 줄이며, 군더더기 말을 지웁니다",
+ "feature2": "자막을 추가하고, 카메라를 확대하며, 제목을 만듭니다",
+ "feature3": "원하는 대로 구간을 다시 쓰고, 표현을 바꾸거나 클립을 나눕니다",
+ "cta": "공급자 설정",
+ "disclaimer": "영상 전사본은 선택한 공급자에게 전송됩니다. 공급자를 연결하기 전까지는 아무것도 공유되지 않습니다."
+ },
"authorUser": "나",
"authorAssistant": "OpenScreen",
"rewindToMessage": "이 메시지로 되감기",
@@ -265,6 +274,7 @@
"appliedPrefix": "적용됨:",
"thinking": "생각 중…",
"composerPlaceholder": "원하는 편집 내용을 설명하세요.",
+ "composerDisabledNoProvider": "대화를 시작하려면 공급자를 설정하세요.",
"modelLabel": "모델",
"reasoningEffortLabel": "추론 노력 수준",
"sendTitle": "보내기 (Enter)",
diff --git a/src/i18n/locales/pt-BR/editor.json b/src/i18n/locales/pt-BR/editor.json
index 5f8b95b7d..dfdc18cfe 100644
--- a/src/i18n/locales/pt-BR/editor.json
+++ b/src/i18n/locales/pt-BR/editor.json
@@ -256,6 +256,15 @@
"addSkipRange": "Adicionar intervalo a pular",
"skipButtonShort": "+ pular",
"emptyState": "Ainda não há mensagens. Peça ao agente para cortar silêncios, apertar pausas ou adicionar legendas.",
+ "welcome": {
+ "title": "Traga a sua própria IA",
+ "subtitle": "O chat edita o seu vídeo conversando com um modelo de linguagem. Escolha o fornecedor em que confia e conecte uma chave de API para começar.",
+ "feature1": "Corta silêncios, aperta pausas, remove vícios de linguagem",
+ "feature2": "Adiciona legendas, aplica zoom na câmera, gera um título",
+ "feature3": "Reescreve uma seção, reformula ou divide um clipe sob pedido",
+ "cta": "Configurar um fornecedor",
+ "disclaimer": "A transcrição do seu vídeo será enviada ao fornecedor que escolher. Nada é compartilhado até você conectar um."
+ },
"authorUser": "Você",
"authorAssistant": "OpenScreen",
"rewindToMessage": "Rebobinar até esta mensagem",
@@ -265,6 +274,7 @@
"appliedPrefix": "aplicado:",
"thinking": "Pensando…",
"composerPlaceholder": "Descreva a edição que você quer.",
+ "composerDisabledNoProvider": "Configure um fornecedor para começar a conversar.",
"modelLabel": "Modelo",
"reasoningEffortLabel": "Esforço de raciocínio",
"sendTitle": "Enviar (Enter)",
diff --git a/src/i18n/locales/ru/editor.json b/src/i18n/locales/ru/editor.json
index 924f25732..f2861918b 100644
--- a/src/i18n/locales/ru/editor.json
+++ b/src/i18n/locales/ru/editor.json
@@ -256,6 +256,15 @@
"addSkipRange": "Добавить диапазон пропуска",
"skipButtonShort": "+ пропуск",
"emptyState": "Пока нет сообщений. Попросите агента вырезать паузы, уплотнить их или добавить субтитры.",
+ "welcome": {
+ "title": "Подключите свой ИИ",
+ "subtitle": "Чат редактирует видео через языковую модель. Выберите провайдера, которому доверяете, и подключите API-ключ, чтобы начать.",
+ "feature1": "Вырезает тишину, сокращает паузы, убирает слова-паразиты",
+ "feature2": "Добавляет субтитры, зум на камеру, генерирует заголовок",
+ "feature3": "Переписывает раздел, перефразирует или разрезает клип по запросу",
+ "cta": "Настроить провайдера",
+ "disclaimer": "Транскрипция вашего видео будет отправлена выбранному провайдеру. Пока вы не подключите провайдера, ничего не отправляется."
+ },
"authorUser": "Вы",
"authorAssistant": "OpenScreen",
"rewindToMessage": "Откатить к этому сообщению",
@@ -265,6 +274,7 @@
"appliedPrefix": "применено:",
"thinking": "Думаю…",
"composerPlaceholder": "Опишите нужную правку.",
+ "composerDisabledNoProvider": "Подключите провайдера, чтобы начать чат.",
"modelLabel": "Модель",
"reasoningEffortLabel": "Уровень рассуждений",
"sendTitle": "Отправить (Enter)",
diff --git a/src/i18n/locales/tr/editor.json b/src/i18n/locales/tr/editor.json
index 233b2ee23..e5054501b 100644
--- a/src/i18n/locales/tr/editor.json
+++ b/src/i18n/locales/tr/editor.json
@@ -256,6 +256,15 @@
"addSkipRange": "Atlama aralığı ekle",
"skipButtonShort": "+ atla",
"emptyState": "Henüz mesaj yok. Aracıdan sessizlikleri kesmesini, duraklamaları sıkılaştırmasını veya altyazı eklemesini isteyin.",
+ "welcome": {
+ "title": "Kendi yapay zekanızı getirin",
+ "subtitle": "Sohbet, videonuzu bir dil modeliyle konuşarak düzenler. Güvendiğiniz sağlayıcıyı seçin ve başlamak için bir API anahtarı bağlayın.",
+ "feature1": "Sessizlikleri keser, duraklamaları sıkılaştırır, dolgu kelimeleri kaldırır",
+ "feature2": "Altyazı ekler, kameraya yakınlaştırır, başlık üretir",
+ "feature3": "Bir bölümü yeniden yazar, ifadeyi değiştirir veya klibi isteğe göre böler",
+ "cta": "Sağlayıcı kur",
+ "disclaimer": "Videonuzun transkripsiyonu seçtiğiniz sağlayıcıya gönderilecek. Bir sağlayıcı bağlamadan hiçbir şey paylaşılmaz."
+ },
"authorUser": "Siz",
"authorAssistant": "OpenScreen",
"rewindToMessage": "Bu mesaja geri sar",
@@ -265,6 +274,7 @@
"appliedPrefix": "uygulandı:",
"thinking": "Düşünüyor…",
"composerPlaceholder": "İstediğiniz düzenlemeyi tanımlayın.",
+ "composerDisabledNoProvider": "Sohbete başlamak için bir sağlayıcı kurun.",
"modelLabel": "Model",
"reasoningEffortLabel": "Akıl yürütme çabası",
"sendTitle": "Gönder (Enter)",
diff --git a/src/i18n/locales/vi/editor.json b/src/i18n/locales/vi/editor.json
index 2142564f9..e79a60ac4 100644
--- a/src/i18n/locales/vi/editor.json
+++ b/src/i18n/locales/vi/editor.json
@@ -256,6 +256,15 @@
"addSkipRange": "Thêm khoảng bỏ qua",
"skipButtonShort": "+ bỏ qua",
"emptyState": "Chưa có tin nhắn nào. Yêu cầu tác nhân cắt khoảng lặng, rút ngắn khoảng dừng hoặc thêm phụ đề.",
+ "welcome": {
+ "title": "Mang theo AI của bạn",
+ "subtitle": "Chat chỉnh sửa video của bạn bằng cách trò chuyện với một mô hình ngôn ngữ. Hãy chọn nhà cung cấp bạn tin tưởng và kết nối khóa API để bắt đầu.",
+ "feature1": "Cắt khoảng lặng, rút ngắn nhịp nghỉ, loại bỏ từ đệm",
+ "feature2": "Thêm phụ đề, zoom vào camera, tạo tiêu đề",
+ "feature3": "Viết lại một đoạn, diễn đạt khác hoặc tách clip theo yêu cầu",
+ "cta": "Thiết lập nhà cung cấp",
+ "disclaimer": "Bản chép lời video sẽ được gửi đến nhà cung cấp bạn chọn. Không có gì được chia sẻ cho đến khi bạn kết nối một nhà cung cấp."
+ },
"authorUser": "Bạn",
"authorAssistant": "OpenScreen",
"rewindToMessage": "Tua lại đến tin nhắn này",
@@ -265,6 +274,7 @@
"appliedPrefix": "đã áp dụng:",
"thinking": "Đang suy nghĩ…",
"composerPlaceholder": "Mô tả chỉnh sửa bạn muốn.",
+ "composerDisabledNoProvider": "Hãy thiết lập nhà cung cấp để bắt đầu trò chuyện.",
"modelLabel": "Mô hình",
"reasoningEffortLabel": "Mức độ suy luận",
"sendTitle": "Gửi (Enter)",
diff --git a/src/i18n/locales/zh-CN/editor.json b/src/i18n/locales/zh-CN/editor.json
index b6eba1054..d0bea6829 100644
--- a/src/i18n/locales/zh-CN/editor.json
+++ b/src/i18n/locales/zh-CN/editor.json
@@ -256,6 +256,15 @@
"addSkipRange": "添加跳过范围",
"skipButtonShort": "+ 跳过",
"emptyState": "暂无消息。可以让代理剪掉静音、收紧停顿或添加字幕。",
+ "welcome": {
+ "title": "自带你的 AI",
+ "subtitle": "聊天通过与语言模型对话来编辑你的视频。选择你信任的提供方并连接一个 API 密钥即可开始。",
+ "feature1": "剪掉静音、收紧停顿、去除口头禅",
+ "feature2": "添加字幕、为镜头变焦、生成标题",
+ "feature3": "按需重写章节、换种说法或拆分片段",
+ "cta": "设置提供方",
+ "disclaimer": "你视频的转录文本将发送到你选择的提供方。在你连接之前不会共享任何内容。"
+ },
"authorUser": "你",
"authorAssistant": "OpenScreen",
"rewindToMessage": "回退到此消息",
@@ -265,6 +274,7 @@
"appliedPrefix": "已应用:",
"thinking": "思考中…",
"composerPlaceholder": "描述你想要的编辑内容。",
+ "composerDisabledNoProvider": "请先设置一个提供方再开始聊天。",
"modelLabel": "模型",
"reasoningEffortLabel": "推理强度",
"sendTitle": "发送(回车)",
diff --git a/src/i18n/locales/zh-TW/editor.json b/src/i18n/locales/zh-TW/editor.json
index e1cb07102..c3ee62bb2 100644
--- a/src/i18n/locales/zh-TW/editor.json
+++ b/src/i18n/locales/zh-TW/editor.json
@@ -256,6 +256,15 @@
"addSkipRange": "新增跳過範圍",
"skipButtonShort": "+ 跳過",
"emptyState": "尚無訊息。可以請代理剪掉靜音、收緊停頓或加入字幕。",
+ "welcome": {
+ "title": "自帶你的 AI",
+ "subtitle": "聊天透過與語言模型對話來編輯你的影片。選擇你信任的提供者並連接一個 API 金鑰即可開始。",
+ "feature1": "剪輯靜音、收緊停頓、去除口頭禪",
+ "feature2": "新增字幕、為鏡頭變焦、產生標題",
+ "feature3": "依需求重寫段落、換種說法或分割片段",
+ "cta": "設定提供者",
+ "disclaimer": "你影片的轉錄文字會送到你選擇的提供者。在你連接之前不會分享任何內容。"
+ },
"authorUser": "你",
"authorAssistant": "OpenScreen",
"rewindToMessage": "倒轉至此訊息",
@@ -265,6 +274,7 @@
"appliedPrefix": "已套用:",
"thinking": "思考中…",
"composerPlaceholder": "描述你想要的編輯內容。",
+ "composerDisabledNoProvider": "請先設定一個提供者再開始聊天。",
"modelLabel": "模型",
"reasoningEffortLabel": "推理強度",
"sendTitle": "傳送(Enter)",