AI-native knowledge base & Evernote/Obsidian alternative with instant sync & native MCP. Free on Cloudflare or self-hosted via Docker.
HTML ai-agentcloudflarecloudflare-d1cloudflare-r2cloudflare-workersdockerelectronevernoteevernote-alternativeknowledge-basemcpnote-takingobsidian-alternativeoffline-firstpersonal-knowledge-basepwaself-hostedsqlitetiptapweb-clipper
feat(speech): show the download tool on the subtitle settings page
tianma-ifb963ae54d87c
diff --git a/apps/web/src/components/settings/SpeechTranscriptionCard.test.mjs b/apps/web/src/components/settings/SpeechTranscriptionCard.test.mjsindex 029762ad..66a9f2bc 100644--- a/apps/web/src/components/settings/SpeechTranscriptionCard.test.mjs+++ b/apps/web/src/components/settings/SpeechTranscriptionCard.test.mjs@@ -62,7 +62,8 @@ const renderCard = async (settings, demoMode = false) => {describe("speech transcription settings card", () => {test("lists every saved speech service and the one used for extraction", async () => {const html = await renderCard(saved);- expect(html).toContain("语音识别");+ expect(html).toContain("语音识别模型配置");+ expect(html).not.toContain("语音识别服务当前主要用于视频字幕识别");expect(html).toContain("默认语音模型");expect(html).toContain("添加模型服务");expect(html).toContain("Groq");@@ -88,6 +89,12 @@ describe("speech transcription settings card", () => {expect(html).toContain("还没有语音识别服务");expect(html).toContain("默认语音模型");expect(html).toContain("添加模型服务");+ expect(html).toContain("yt-dlp 复用的浏览器登录状态");+ expect(html).not.toContain("提取字幕下载音频时");+ expect(html).toContain("yt-dlp 版本");+ expect(html).toContain("尚未下载");+ expect(html).toContain("yt-dlp 路径");+ expect(html).toContain("未知");});test("is its own settings page under models and agents", () => {@@ -102,6 +109,14 @@ describe("speech transcription settings card", () => {expect(pane.indexOf('key: "ai"')).toBeLessThan(pane.indexOf('key: "mcp"'));expect(pane.indexOf('key: "mcp"')).toBeLessThan(pane.indexOf('key: "speech"'));expect(card).toContain("createAiTranscriptionProvider");+ expect(card).not.toContain("speechTranscription.description");+ expect(card).toContain("speechTranscription.cookieBrowser");+ expect(card).not.toContain("cookieBrowserHint");+ const localToolStart = card.lastIndexOf("rounded-lg border border-slate-200 bg-card divide-y", card.indexOf('id="video-cookie-browser"'));+ const localToolEnd = card.indexOf('t("systemInfo.ytDlpPath")');+ expect(localToolStart).toBeGreaterThan(-1);+ expect(localToolStart).toBeLessThan(localToolEnd);+ expect(card.slice(localToolStart, localToolEnd)).toContain('t("systemInfo.ytDlpVersion")');expect(card).toContain("speechTranscription.standard");expect(card).toContain('value="openai-compatible"');expect(provider).toContain("apiKey.trim() ? { apiKey: apiKey.trim() } : {}");diff --git a/apps/web/src/components/settings/SpeechTranscriptionCard.tsx b/apps/web/src/components/settings/SpeechTranscriptionCard.tsxindex 28ded90a..c02130d8 100644--- a/apps/web/src/components/settings/SpeechTranscriptionCard.tsx+++ b/apps/web/src/components/settings/SpeechTranscriptionCard.tsx@@ -6,7 +6,7 @@ import { useTranslation } from "react-i18next";import { aiErrorMessage } from "@/components/settings/ai-provider-options";import { SpeechProviderCard } from "@/components/settings/SpeechProviderCard";import { Button } from "@/components/ui/button";-import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";+import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";import {Dialog,DialogContent,@@ -19,7 +19,6 @@ import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "@/components/ui/tooltip";import { api } from "@/lib/api";import {- SETTINGS_CARD_DESCRIPTION_CLASSNAME,SETTINGS_CARD_HEADER_CLASSNAME,SETTINGS_CARD_ICON_CLASSNAME,SETTINGS_CARD_TITLE_CLASSNAME,@@ -34,6 +33,50 @@ const emptyDraft = {initialModelId: "",};+type YtDlpStatus = {+ state: "idle" | "checking" | "downloading" | "ready" | "failed";+ version: string | null;+ path: string;+ errorCode: string | null;+ httpStatus: number | null;+};++const ytDlpReason = (+ t: (key: string, options?: Record<string, string>) => string,+ status: YtDlpStatus,+) => {+ if (!status.errorCode) return "";+ if (status.errorCode === "http") {+ return t("systemInfo.ytDlpErrors.http", { status: String(status.httpStatus ?? "") });+ }+ const key = `systemInfo.ytDlpErrors.${status.errorCode}`;+ const translated = t(key);+ return translated === key ? t("systemInfo.ytDlpFailed") : translated;+};++const ytDlpVersionValue = (+ t: (key: string, options?: Record<string, string>) => string,+ status: YtDlpStatus | undefined,+) => {+ if (!status || status.state === "idle" || status.state === "checking") {+ return status?.version || t("systemInfo.ytDlpMissing");+ }+ const reason = ytDlpReason(t, status);+ if (status.state === "downloading") {+ return status.version+ ? t("systemInfo.ytDlpUpdating", { version: status.version })+ : t("systemInfo.ytDlpDownloading");+ }+ if (status.state === "failed") return reason || t("systemInfo.ytDlpFailed");+ if (status.errorCode && status.version) {+ return t("systemInfo.ytDlpUpdateFailed", {+ version: status.version,+ reason: reason || t("systemInfo.ytDlpFailed"),+ });+ }+ return status.version || t("systemInfo.ytDlpMissing");+};+export const SpeechTranscriptionCard = ({ demoMode }: { demoMode: boolean }) => {const { t } = useTranslation();const queryClient = useQueryClient();@@ -47,8 +90,16 @@ export const SpeechTranscriptionCard = ({ demoMode }: { demoMode: boolean }) =>queryFn: () => window.edgeeverDesktop!.videoCookieBrowser(),enabled: desktop,});+ const ytDlpStatusQuery = useQuery({+ queryKey: ["desktop-yt-dlp-status"],+ queryFn: () => window.edgeeverDesktop!.ytDlpStatus(),+ enabled: desktop,+ refetchInterval: 30_000,+ retry: 1,+ });const [showAdd, setShowAdd] = useState(false);const [draft, setDraft] = useState(emptyDraft);+ const [previewBrowser, setPreviewBrowser] = useState<VideoCookieBrowser | null>(null);const settings = settingsQuery.data;const providers = settings?.providers ?? [];@@ -88,6 +139,13 @@ export const SpeechTranscriptionCard = ({ demoMode }: { demoMode: boolean }) =>queryClient.setQueryData(["video-cookie-browser"], saved.browser);},});+ const browserNotice = desktop+ ? (cookieBrowserMutation.isSuccess ? cookieBrowserMutation.data.browser : null)+ : previewBrowser;+ const ytDlpStatus = ytDlpStatusQuery.data;+ const ytDlpFailed = ytDlpStatusQuery.isError || ytDlpStatus?.state === "failed" || (ytDlpStatus?.state === "ready" && Boolean(ytDlpStatus.errorCode));+ const ytDlpVersion = ytDlpStatusQuery.isError ? t("systemInfo.ytDlpFailed") : ytDlpVersionValue(t, ytDlpStatus);+ const ytDlpPath = ytDlpStatus?.path || t("systemInfo.unknown");const addDisabledReason = readOnly? t("speechTranscription.demoDisabled"): !encryptionConfigured@@ -108,9 +166,6 @@ export const SpeechTranscriptionCard = ({ demoMode }: { demoMode: boolean }) =><AudioLines className={SETTINGS_CARD_ICON_CLASSNAME} />{t("speechTranscription.title")}</CardTitle>- <CardDescription className={SETTINGS_CARD_DESCRIPTION_CLASSNAME}>- {t("speechTranscription.description")}- </CardDescription></CardHeader><CardContent className="grid gap-5 p-4 pt-0 sm:px-5 sm:pb-5">{settingsQuery.isLoading ? (@@ -194,43 +249,58 @@ export const SpeechTranscriptionCard = ({ demoMode }: { demoMode: boolean }) =>)}</section>{readOnly ? <p className="text-xs leading-5 text-slate-500">{t("speechTranscription.demoDisabled")}</p> : null}- {desktop ? (- <div className="grid gap-1.5">- <label className="grid gap-1.5 text-xs font-normal leading-5 text-slate-700" htmlFor="video-cookie-browser">- {t("speechTranscription.cookieBrowser")}- </label>- <Select- value={cookieBrowserQuery.data ?? "chrome"}- onValueChange={(value) => cookieBrowserMutation.mutate(value as VideoCookieBrowser)}- disabled={cookieBrowserQuery.isLoading || cookieBrowserMutation.isPending}- >- <SelectTrigger id="video-cookie-browser" className="h-10 bg-card">- <SelectValue />- </SelectTrigger>- <SelectContent>- {VIDEO_COOKIE_BROWSERS.map((browser) => (- <SelectItem key={browser} value={browser}>- {t(`speechTranscription.cookieBrowsers.${browser}`)}- </SelectItem>- ))}- <SelectItem value="none">{t("speechTranscription.cookieBrowserNone")}</SelectItem>- </SelectContent>- </Select>- <p className="text-xs font-normal leading-4 text-slate-500">{t("speechTranscription.cookieBrowserHint")}</p>- {cookieBrowserMutation.isSuccess ? (+ <section className="overflow-hidden rounded-lg border border-slate-200 bg-card divide-y divide-slate-100">+ <div className="grid gap-2 px-4 py-3">+ <div className="flex items-center justify-between gap-3">+ <label className={`${SETTINGS_ITEM_TITLE_CLASSNAME} min-w-0`} htmlFor="video-cookie-browser">+ {t("speechTranscription.cookieBrowser")}+ </label>+ <div className="w-56 max-w-[60%] shrink-0 sm:w-72">+ <Select+ value={(desktop ? cookieBrowserQuery.data : previewBrowser) ?? "chrome"}+ onValueChange={(value) => {+ const browser = value as VideoCookieBrowser;+ if (desktop) cookieBrowserMutation.mutate(browser);+ else setPreviewBrowser(browser);+ }}+ disabled={desktop && (cookieBrowserQuery.isLoading || cookieBrowserMutation.isPending)}+ >+ <SelectTrigger id="video-cookie-browser" className="h-8 bg-card text-xs">+ <SelectValue />+ </SelectTrigger>+ <SelectContent>+ {VIDEO_COOKIE_BROWSERS.map((browser) => (+ <SelectItem key={browser} value={browser}>+ {t(`speechTranscription.cookieBrowsers.${browser}`)}+ </SelectItem>+ ))}+ <SelectItem value="none">{t("speechTranscription.cookieBrowserNone")}</SelectItem>+ </SelectContent>+ </Select>+ </div>+ </div>+ {browserNotice ? (<p className="text-xs font-medium text-emerald-700">- {cookieBrowserMutation.data.browser === "none"+ {browserNotice === "none"? t("speechTranscription.cookieBrowserOff"): t("speechTranscription.cookieBrowserApplied", {- browser: t(`speechTranscription.cookieBrowsers.${cookieBrowserMutation.data.browser}`),+ browser: t(`speechTranscription.cookieBrowsers.${browserNotice}`),})}</p>) : null}- {cookieBrowserQuery.isError || cookieBrowserMutation.isError ? (+ {desktop && (cookieBrowserQuery.isError || cookieBrowserMutation.isError) ? (<p className="text-xs font-medium text-rose-600" role="alert">{t("speechTranscription.cookieBrowserFailed")}</p>) : null}</div>- ) : null}+ <div className="flex items-center justify-between gap-3 px-4 py-3">+ <p className={SETTINGS_ITEM_TITLE_CLASSNAME}>{t("systemInfo.ytDlpVersion")}</p>+ <p className={`text-right text-xs font-medium leading-5 ${ytDlpFailed ? "text-rose-600" : "text-slate-900"}`}>{ytDlpVersion}</p>+ </div>+ <div className="flex items-start justify-between gap-3 px-4 py-3">+ <p className={SETTINGS_ITEM_TITLE_CLASSNAME}>{t("systemInfo.ytDlpPath")}</p>+ <p className="max-w-[60%] break-all text-right font-mono text-xs leading-5 text-slate-900">{ytDlpPath}</p>+ </div>+ </section><Dialog open={showAdd} onOpenChange={handleAddDialogChange}><DialogContent className="max-h-[calc(100vh-2rem)] overflow-y-auto sm:max-w-lg"><formdiff --git a/apps/web/src/components/settings/SystemInfoPanel.test.mjs b/apps/web/src/components/settings/SystemInfoPanel.test.mjsindex 14e71a85..1a1230de 100644--- a/apps/web/src/components/settings/SystemInfoPanel.test.mjs+++ b/apps/web/src/components/settings/SystemInfoPanel.test.mjs@@ -37,17 +37,17 @@ describe("system information diagnostic fields", () => {expect(feedbackSource).toContain("clientRuntime: clientRuntimeQuery.data");});- test("shows the desktop yt-dlp version and local path", () => {- expect(source).toContain('t("systemInfo.ytDlpVersion")');- expect(source).toContain('t("systemInfo.ytDlpPath")');- expect(source).toContain("desktopBridge!.ytDlpStatus()");- expect(source).toContain("ytDlpVersionValue");- expect(source).toContain("localOnly: true");- expect(source).toContain("breakAll: true");- expect(source).toContain("desktopAvailable");- expect(source).toContain('t("systemInfo.ytDlpMissing")');- expect(source).toContain("refetchInterval: 30_000");- expect(source).not.toContain('ytDlpStatus?.state === "downloading"');+ test("leaves the yt-dlp version and path on the speech settings page", () => {+ const speech = readFileSync(new URL("./SpeechTranscriptionCard.tsx", import.meta.url), "utf8");+ expect(source).not.toContain("ytDlpStatus");+ expect(source).not.toContain('t("systemInfo.ytDlpVersion")');+ expect(speech).toContain('t("systemInfo.ytDlpVersion")');+ expect(speech).toContain('t("systemInfo.ytDlpPath")');+ expect(speech).toContain("ytDlpStatus()");+ expect(speech).toContain("ytDlpVersionValue");+ expect(speech).toContain('t("systemInfo.ytDlpMissing")');+ expect(speech).toContain("refetchInterval: 30_000");+ expect(speech).not.toContain('ytDlpStatus?.state === "downloading"');});test("includes current screen resolution", () => {diff --git a/apps/web/src/components/settings/SystemInfoPanel.tsx b/apps/web/src/components/settings/SystemInfoPanel.tsxindex 805572b3..4c228e8d 100644--- a/apps/web/src/components/settings/SystemInfoPanel.tsx+++ b/apps/web/src/components/settings/SystemInfoPanel.tsx@@ -33,50 +33,6 @@ export type SystemInfoItem = {breakAll?: boolean;};-type YtDlpStatus = {- state: "idle" | "checking" | "downloading" | "ready" | "failed";- version: string | null;- path: string;- errorCode: string | null;- httpStatus: number | null;-};--const ytDlpReason = (- t: (key: string, options?: Record<string, string>) => string,- status: YtDlpStatus,-) => {- if (!status.errorCode) return "";- if (status.errorCode === "http") {- return t("systemInfo.ytDlpErrors.http", { status: String(status.httpStatus ?? "") });- }- const key = `systemInfo.ytDlpErrors.${status.errorCode}`;- const translated = t(key);- return translated === key ? t("systemInfo.ytDlpFailed") : translated;-};--const ytDlpVersionValue = (- t: (key: string, options?: Record<string, string>) => string,- status: YtDlpStatus | undefined,-) => {- if (!status || status.state === "idle" || status.state === "checking") {- return status?.version || t("systemInfo.ytDlpMissing");- }- const reason = ytDlpReason(t, status);- if (status.state === "downloading") {- return status.version- ? t("systemInfo.ytDlpUpdating", { version: status.version })- : t("systemInfo.ytDlpDownloading");- }- if (status.state === "failed") return reason || t("systemInfo.ytDlpFailed");- if (status.errorCode && status.version) {- return t("systemInfo.ytDlpUpdateFailed", {- version: status.version,- reason: reason || t("systemInfo.ytDlpFailed"),- });- }- return status.version || t("systemInfo.ytDlpMissing");-};-type InstanceSystemDiagnostics = Pick<InstanceHealth, "build" | "containerImageSource" | "deployment" | "deploymentVersionCreatedAt" | "migration" | "objectStorageProvider" | "storage"> & {runtime?: string | null;};@@ -356,13 +312,6 @@ export const SystemInfoPanel = ({ active = true }: { active?: boolean }) => {refetchInterval: (query) => query.state.data?.state === "available" ? 1_000 : false,retry: 1,});- const ytDlpStatusQuery = useQuery({- queryKey: ["desktop-yt-dlp-status"],- queryFn: () => desktopBridge!.ytDlpStatus(),- enabled: active && desktopAvailable,- refetchInterval: 30_000,- retry: 1,- });useEffect(() => {if (active) markSeen();}, [active, markSeen]);@@ -400,28 +349,6 @@ export const SystemInfoPanel = ({ active = true }: { active?: boolean }) => {? syncDiagnosticsQuery.data.error + syncDiagnosticsQuery.data.conflict: null;- if (desktopAvailable) {- const clientGroup = groups.find((group) => group.id === "client");- const ytDlpStatus = ytDlpStatusQuery.data;- clientGroup?.items.push(- {- label: t("systemInfo.ytDlpVersion"),- value: ytDlpStatusQuery.isError ? t("systemInfo.ytDlpFailed") : ytDlpVersionValue(t, ytDlpStatus),- mono: true,- status: ytDlpStatusQuery.isError || ytDlpStatus?.state === "failed" || (ytDlpStatus?.state === "ready" && ytDlpStatus.errorCode)- ? "failed"- : "default",- },- {- label: t("systemInfo.ytDlpPath"),- value: ytDlpStatus?.path || t("systemInfo.unknown"),- mono: true,- colSpan: "full",- localOnly: true,- breakAll: true,- },- );- }groups.push({id: "connection",title: t("systemInfo.connectionSection"),@@ -470,8 +397,6 @@ export const SystemInfoPanel = ({ active = true }: { active?: boolean }) => {syncDiagnosticsQuery.data,t,viewportRevision,- ytDlpStatusQuery.data,- ytDlpStatusQuery.isError,]);const releaseTag = release ? getReleaseTagForVersion(release.version) : null;const releaseUrl = releaseTagdiff --git a/docs/video-clip-spec.zh-CN.md b/docs/video-clip-spec.zh-CN.mdindex d4c525a4..0b05dcee 100644--- a/docs/video-clip-spec.zh-CN.md+++ b/docs/video-clip-spec.zh-CN.md@@ -35,14 +35,14 @@## 模型怎么配置-聊天模型在设置 → 模型与代理。语音识别是左侧单独的一项,两套配置互不替代。本机 Agent 那一排不参与视频笔记。+聊天模型在设置 → 模型与代理。字幕识别是左侧单独的一项,两套配置互不替代。本机 Agent 那一排不参与视频笔记。**AI 模型服务**是原来的聊天模型。它只在「这一页有字幕」时使用,读的是字幕文本,用来写总结、大纲和要点。它不听音频。没配默认模型时,有字幕的笔记照常保存,只是没有总结。-**语音识别**是左侧单独的一项,管法和 AI 模型服务一样。可以添加多套服务。每一套有名称、兼容标准、接口地址、API Token、一个或多个模型,以及自己的启用开关。目前的兼容标准是 OpenAI,以后可以再加其他厂商。上面的默认语音模型决定提取字幕用哪一个。新添加的服务不会换掉当前默认模型。没有默认模型,或默认模型那套服务停用了,桌面端不会去下载音频。+**字幕识别**是左侧单独的一项,里面配置语音识别模型,管法和 AI 模型服务一样。可以添加多套服务。每一套有名称、兼容标准、接口地址、API Token、一个或多个模型,以及自己的启用开关。目前的兼容标准是 OpenAI,以后可以再加其他厂商。上面的默认语音模型决定提取字幕用哪一个。新添加的服务不会换掉当前默认模型。没有默认模型,或默认模型那套服务停用了,桌面端不会去下载音频。请求发到所选服务地址下的 `/audio/transcriptions`。Token 加密存在实例上,设置页读不回原文。真正调用时,由已登录的桌面端取用,音频也从这台电脑直接发给该接口,不经过笔记服务器。-桌面端的这一页还可以选下载时用哪个浏览器的登录状态。默认是 Chrome,也可以改成其他浏览器,或改成不使用。这个选择只留在这台电脑上,不会上传。网页版没有浏览器这一项,因为网页不下载音频。+设置里可以选下载时用哪个浏览器的登录状态,网页和桌面都能看到。默认是 Chrome,也可以改成其他浏览器,或改成不使用。真正记住这个选择的是桌面端,选择只留在这台电脑上,不会上传。网页上改一项只用来查看界面。同一页也显示本机下载工具的版本和路径;浏览器里没有这个工具时,版本显示尚未下载。接口要兼容 OpenAI 的语音转写:用 Bearer Token,提交音频文件和模型 ID。聊天模型的地址不能填在这里。diff --git a/packages/shared/src/i18n/en-US.ts b/packages/shared/src/i18n/en-US.tsindex d18d6a1c..3b5ec593 100644--- a/packages/shared/src/i18n/en-US.ts+++ b/packages/shared/src/i18n/en-US.ts@@ -942,7 +942,7 @@ export const enUS = {general: "General",shortcuts: "Shortcuts",ai: "Models and agents",- speech: "Speech transcription",+ speech: "Subtitle recognition",mcp: "API / MCP",data: "Import & Export",advanced: "Advanced",@@ -1170,8 +1170,7 @@ export const enUS = {savedCredentialsUnavailableBadge: "Re-enter API key",},speechTranscription: {- title: "Speech transcription",- description: "Speech transcription is currently used mainly to recognize subtitles in videos.",+ title: "Speech recognition model settings",baseUrl: "Endpoint URL",baseUrlPlaceholder: "https://api.example.com/v1",baseUrlHint: "Requests go to /audio/transcriptions under this URL.",@@ -1209,8 +1208,7 @@ export const enUS = {savedCredentialsUnavailable: "The saved speech token cannot be decrypted. Open this service and enter it again.",statusOn: "On",statusOff: "Off",- cookieBrowser: "Browser sign-in",- cookieBrowserHint: "When subtitle extraction downloads audio, it uses the account already signed in to this browser on this computer. That sign-in stays on this computer and is not uploaded. The system may ask for permission the first time. If the browser is missing or access is refused, extraction fails; choose another browser, or choose None.",+ cookieBrowser: "Browser sign-in reused by yt-dlp",cookieBrowserNone: "None",cookieBrowserApplied: "Later downloads will use the {{browser}} sign-in.",cookieBrowserOff: "Later downloads will not use a browser sign-in.",diff --git a/packages/shared/src/i18n/ja.ts b/packages/shared/src/i18n/ja.tsindex 69edf3b6..89d6d33f 100644--- a/packages/shared/src/i18n/ja.ts+++ b/packages/shared/src/i18n/ja.ts@@ -942,7 +942,7 @@ export const ja = {general: "一般",shortcuts: "ショートカット",ai: "モデルとエージェント",- speech: "音声認識",+ speech: "字幕認識",mcp: "API / MCP",data: "インポートとエクスポート",advanced: "詳細",@@ -1170,8 +1170,7 @@ export const ja = {savedCredentialsUnavailableBadge: "API Key を再入力",},speechTranscription: {- title: "音声認識",- description: "音声認識サービスは、現在主に動画の字幕認識に使います。",+ title: "音声認識モデル設定",baseUrl: "エンドポイント URL",baseUrlPlaceholder: "https://api.example.com/v1",baseUrlHint: "リクエストはこの URL 配下の /audio/transcriptions に送られます。",@@ -1209,8 +1208,7 @@ export const ja = {savedCredentialsUnavailable: "保存済みの音声認識トークンを復号できません。このサービスを開いて、トークンを入力し直してください。",statusOn: "有効",statusOff: "無効",- cookieBrowser: "ブラウザのログイン状態",- cookieBrowserHint: "字幕抽出で音声をダウンロードするとき、このパソコンのそのブラウザにログイン済みのアカウントを使います。ログイン状態はこのパソコンだけに残り、アップロードしません。初回はシステムが許可を求めることがあります。ブラウザが無い、または読み取りを拒否された場合は抽出に失敗します。別のブラウザか「使わない」を選んでください。",+ cookieBrowser: "yt-dlp が再利用するブラウザのログイン状態",cookieBrowserNone: "使わない",cookieBrowserApplied: "これ以降のダウンロードは {{browser}} のログイン状態を使います。",cookieBrowserOff: "これ以降のダウンロードはブラウザのログイン状態を使いません。",diff --git a/packages/shared/src/i18n/pl.ts b/packages/shared/src/i18n/pl.tsindex 141ffde4..c543cef5 100644--- a/packages/shared/src/i18n/pl.ts+++ b/packages/shared/src/i18n/pl.ts@@ -942,7 +942,7 @@ export const pl = {general: "Ogólne",shortcuts: "Skróty",ai: "Modele i agenci",- speech: "Rozpoznawanie mowy",+ speech: "Rozpoznawanie napisów",mcp: "API / MCP",data: "Import i eksport",advanced: "Zaawansowane",@@ -1170,8 +1170,7 @@ export const pl = {savedCredentialsUnavailableBadge: "Wpisz ponownie klucz API",},speechTranscription: {- title: "Rozpoznawanie mowy",- description: "Usługa rozpoznawania mowy służy obecnie głównie do rozpoznawania napisów w filmach.",+ title: "Ustawienia modeli rozpoznawania mowy",baseUrl: "Adres interfejsu",baseUrlPlaceholder: "https://api.example.com/v1",baseUrlHint: "Żądanie trafia na /audio/transcriptions pod tym adresem.",@@ -1209,8 +1208,7 @@ export const pl = {savedCredentialsUnavailable: "Nie można odszyfrować zapisanego tokenu rozpoznawania mowy. Otwórz tę usługę i wpisz token ponownie.",statusOn: "Włączone",statusOff: "Wyłączone",- cookieBrowser: "Logowanie w przeglądarce",- cookieBrowserHint: "Gdy wyodrębnianie napisów pobiera dźwięk, używa konta zalogowanego w tej przeglądarce na tym komputerze. Logowanie zostaje na tym komputerze i nie jest wysyłane. System może raz zapytać o zgodę. Jeśli przeglądarki nie ma albo odmówi dostępu, wyodrębnianie się nie uda; wybierz inną albo „Nie używaj”.",+ cookieBrowser: "Logowanie przeglądarki używane przez yt-dlp",cookieBrowserNone: "Nie używaj",cookieBrowserApplied: "Kolejne pobrania użyją logowania {{browser}}.",cookieBrowserOff: "Kolejne pobrania nie użyją logowania w przeglądarce.",diff --git a/packages/shared/src/i18n/zh-CN.ts b/packages/shared/src/i18n/zh-CN.tsindex e2c84b97..93acfe3b 100644--- a/packages/shared/src/i18n/zh-CN.ts+++ b/packages/shared/src/i18n/zh-CN.ts@@ -942,7 +942,7 @@ export const zhCN = {general: "常规设置",shortcuts: "快捷键",ai: "模型与代理",- speech: "语音识别",+ speech: "字幕识别",mcp: "API / MCP",data: "导入导出",advanced: "高级设置",@@ -1170,8 +1170,7 @@ export const zhCN = {savedCredentialsUnavailableBadge: "需重新填写密钥",},speechTranscription: {- title: "语音识别",- description: "语音识别服务当前主要用于视频字幕识别。",+ title: "语音识别模型配置",baseUrl: "接口地址",baseUrlPlaceholder: "https://api.example.com/v1",baseUrlHint: "请求会发到该地址下的 /audio/transcriptions。",@@ -1209,8 +1208,7 @@ export const zhCN = {savedCredentialsUnavailable: "已保存的语音识别 Token 无法解密,请打开该服务并重新填写。",statusOn: "已开启",statusOff: "未开启",- cookieBrowser: "浏览器登录状态",- cookieBrowserHint: "提取字幕下载音频时,默认使用这台电脑上该浏览器里已经登录的账号。登录状态只在本机使用,不会上传。第一次读取时,系统可能会询问是否允许。如果这个浏览器没安装,或系统拒绝读取,这次提取会失败,可以改选别的,或选「不使用」。",+ cookieBrowser: "yt-dlp 复用的浏览器登录状态",cookieBrowserNone: "不使用",cookieBrowserApplied: "之后的下载会使用 {{browser}} 的登录状态。",cookieBrowserOff: "之后的下载不使用浏览器登录状态。",