知了 Cicada · 任何会议和直播的实时字幕、同声传译、AI 会议纪要,Mac、Windows、Linux、Android 免费开源。Live subtitles, interpreting and meeting notes for any call or stream, on Mac, Windows, Linux and Android.
Swift androidlinuxlive-captionsmacosmeeting-notesmenubar-appsimultaneous-interpretationspeech-recognitionsubtitlesswiftswiftuitranslationwindows
feat: Cicada now runs on Intel Macs, with Ling hearing the meeting in place of a speech model
wquguruf6334d063a26
diff --git a/Resources/en.lproj/Localizable.strings b/Resources/en.lproj/Localizable.stringsindex 680cbea..460b131 100644--- a/Resources/en.lproj/Localizable.strings+++ b/Resources/en.lproj/Localizable.strings@@ -61,6 +61,7 @@"这个服务不支持 JSON" = "This service doesn't support JSON";"换一个模型后可用" = "Available with another model";"翻译" = "Translation";+"随语音识别一步翻出;不行时换 Google" = "Translated together with transcription; falls back to Google";"整句用它;不行时换 Google、本机" = "Used for full sentences; falls back to Google, then on-device";"整句用它;不行时换 Google" = "Used for full sentences; falls back to Google";"先用 Google 翻译" = "Google Translate for now";@@ -72,6 +73,7 @@"只有 Ling" = "Ling only";"换用 Ling 才有" = "Switch to Ling to use";"语音识别" = "Speech recognition";+"识别和翻译一步完成" = "Transcribed and translated in one step";"更快,不花钱" = "Faster, and free";"自己选模型" = "Choose models yourself";"模型" = "Model";@@ -80,6 +82,7 @@"纪要和整句翻译" = "Notes and sentence translation";"声音模型" = "Voice model";"同传念给对方" = "Speaks to the room when interpreting";+"一小时会议约 ¥0.15–1(目前优惠价)。说话的声音分段发给 Ling 识别和翻译;会议录音和文字记录只存在这台 Mac 上。" = "Roughly ¥0.15–1 for an hour-long meeting at current promotional pricing. Speech is sent to Ling in short segments for transcription and translation; recordings and transcripts stay on this Mac.";"一小时会议约 ¥0.15–1(目前优惠价)。发出去的只有文字(用你自己的声音时还有那段录音),语音识别留在本机。" = "About ¥0.15–1 per hour of meeting (current discount pricing). Only text is sent (plus your voice sample if you use your own voice); speech recognition stays on this Mac.";"按所选模型计费。发出去的只有文字,语音识别留在本机。" = "Billed by chosen model. Only text is sent; speech recognition stays on-device.";"在 %@ 创建 key,复制后粘贴到这里。" = "Create a key on %@, then copy and paste it here.";@@ -92,6 +95,7 @@"正在检查…" = "Checking…";"已连接" = "Connected";"%@ 现在很忙" = "%@ is busy right now";+"填入 Ling key 后才能识别语音、出字幕和纪要" = "Enter a Ling key to transcribe speech and generate subtitles and notes";"不填 key 时,字幕和翻译仍可正常使用" = "Subtitles and translation work without a key";"更换" = "Change";"保存并检查" = "Save and check";@@ -321,6 +325,8 @@"只看原文时不翻译,也不用 Ling 额度" = "Original: no translation, no Ling quota";"翻译成" = "Translate to";"只按这种语言识别" = "Recognize only this language";+"说话后自动听出是哪种语言" = "Detects the spoken language automatically as people speak";+"从已安装的语音模型里挑最有把握的" = "Picks the most confident of the installed speech models";"自动识别" = "Auto-detect";"对方说的正是系统语言时,翻成系统里的另一种" = "When they speak your system language, translates into your other system language";"对方说的就是这种语言时不翻译" = "Not translated when they already speak this language";@@ -340,7 +346,6 @@"(同声传译未开)" = "(interpreting off)";"你说" = "You say";"现在听出是 %@" = "Currently hearing %@";-"从已安装的语音模型里挑最有把握的" = "Picks the most confident of the installed speech models";"会议原文 · %@" = "Meeting's own · %@";"会议原文" = "Meeting's own";@@ -352,16 +357,19 @@"自动识别 → %@" = "Auto-detect → %@";"等你允许使用麦克风" = "Waiting for microphone access";"正在听" = "Listening";+"请先在设置 › AI 服务里填入 Ling key" = "Enter a Ling key in Settings › AI Service first";"此 Mac 不支持本机语音识别" = "This Mac doesn't support on-device speech recognition";"请在系统设置里允许“系统音频录制”,再重新打开知了" = "Allow System Audio Recording in System Settings, then reopen Cicada";"无法读取系统音频,请在系统设置里允许“系统音频录制”" = "Can't read system audio. Allow “System Audio Recording” in System Settings";"没能下载 %@ 语音模型" = "Couldn't download the %@ speech model";"已暂停" = "Paused";"麦克风无法启动,请在系统设置里允许%@使用麦克风" = "The microphone won't start. Allow %@ to use it in System Settings";+"%@ 在听" = "%@ is listening";"识别出错,%lld 秒后重试" = "Recognition error; retrying in %lld s";"听不出是哪种语言,到菜单栏里选一下" = "Can't tell the language. Pick one from the menu bar";"正在识别语言…" = "Detecting language…";-"%@ 在听" = "%@ is listening";+"key 已失效,到设置 › AI 服务里重填" = "The key stopped working. Enter a new one in Settings › AI Service";+"%@ 暂时连不上,正在重试" = "Can't reach %@. Retrying";"翻译暂不可用" = "Translation unavailable for now";/* ListenPill */@@ -483,7 +491,9 @@"改用%@重新整理" = "Rewrite in %@";"在会议记录中查看" = "View in Meetings";"开始新会议" = "New Meeting";+"识别语音和生成纪要需要 Ling key" = "A Ling key is required for transcription and notes";"生成纪要需要 API key" = "Notes need an API key";+"填好 %@ 的 key 后,立即开始识别语音、出双语字幕和实时纪要。" = "Add your %@ key to start transcribing speech and generating bilingual subtitles and live notes.";"文字记录仍在保存。填好 %@ 的 key 后,会从头整理出整场纪要。" = "Transcript is still being saved. Enter a %@ key to generate notes from the beginning.";"获取 %@ key ↗" = "Get %@ key ↗";"保存并开始" = "Save and Start";@@ -514,8 +524,8 @@"播放示例 · 0:09" = "Play sample · 0:09";"正在听…" = "Listening…";"听声音" = "Audio";-"看效果" = "Try it";"接 Ling" = "Ling";+"看效果" = "Try it";"第 %lld 步,共 %lld 步:%@" = "Step %lld of %lld: %@";"打开后自动继续" = "Continues once it's on";"上一步" = "Back";@@ -525,6 +535,7 @@"继续" = "Continue";"让知了听到电脑里的声音" = "Let Cicada hear your Mac";"字幕和纪要都从这里来。去系统设置打开,回来会自动识别。" = "Subtitles and notes come from it. Turn it on in System Settings; Cicada notices when you're back.";+"会议录音和文字记录只存在这台 Mac 上" = "Meeting recordings and transcripts stay on this Mac";"声音只在本机识别" = "Audio is recognized only on this Mac";"听电脑里的声音" = "Hear the Mac's audio";"在系统设置里打开后,要重新打开知了" = "After turning it on in System Settings, reopen Cicada";@@ -566,6 +577,7 @@"每场会都存在会议记录里" = "Every meeting is kept in Meetings";"就是它" = "This one";"字幕条可任意拖动,拖拽右下角可调整大小。" = "Drag the subtitle bar anywhere; drag its corner to resize.";+"先在上一步接上 Ling key,示例会议才能识别出实时字幕。" = "Connect your Ling key in the previous step first to see live subtitles for the sample meeting.";"开会时,这些字幕还能整理成纪要" = "In meetings, these subtitles become notes";"下一步接上 Ling 就有" = "Connect Ling in the next step";@@ -573,9 +585,10 @@"用其他服务" = "Use another service";"纪要和翻译都能用,模型已经选好。" = "Notes and translation are ready; models are preselected.";"接上 Ling,一个 key 用上全部功能" = "Connect Ling to unlock all features with one key";-"更准的翻译" = "Sharper translation";+"实时翻译字幕" = "Live translated subtitles";"自然的同传声音" = "Natural interpreting voice";"用你自己的声音" = "Use your own voice";+"更准的翻译" = "Sharper translation";"Ling 每月赠送 ¥10 额度" = "Ling gives ¥10 of credit every month";"约够 10–50 小时会议" = "Enough for about 10–50 hours of meetings";"‹ 还是用 Ling" = "‹ Use Ling instead";@@ -597,14 +610,17 @@"人名、术语前后一致" = "Names and terms stay consistent";"自然人声" = "Natural voices";"同传约 2 秒出声" = "Interpreting speaks in ~2 s";+"Intel 版 Mac 需要接上 Ling 才能识别语音" = "Intel Macs require a Ling key for speech recognition";+"可以先进入应用,开会前在设置 › AI 服务里填上 Ling key 即可。" = "You can enter the app now and add your Ling key in Settings › AI Service before a meeting.";"先不接也行,基础功能照常能用" = "You can skip it; the basics still work";"随时可在纪要窗口或设置里接上,开完的会也能补出纪要。" = "Connect any time from the notes window or Settings; past meetings can get notes too.";"现在可用" = "Works now";-"实时翻译字幕" = "Live translated subtitles";-"双语文字记录" = "Bilingual transcript";-"同声传译(系统语音)" = "Interpreting (Mac voices)";+"查看以往的会议记录" = "Browse past meeting records";"接上 Ling 才有" = "Needs Ling";+"实时翻译字幕和双语记录" = "Live translated subtitles & bilingual transcripts";"实时纪要和会后总结" = "Live notes and a summary after";+"双语文字记录" = "Bilingual transcript";+"同声传译(系统语音)" = "Interpreting (Mac voices)";"自然人声,约 2 秒出声" = "Natural voices in about 2 s";"粘贴并检查" = "Paste and Check";"接上后继续" = "Connect to continue";@@ -750,6 +766,7 @@"文件里说的" = "Spoken in the file";"译成“翻译成”里的语言" = "Translated into your Translate to language";"转完后生成纪要" = "Write notes when done";+"导入转写和生成纪要都需要 Ling key" = "Both file transcription and notes require a Ling key";"需要 Ling key;没有也能转出文字记录" = "Needs a Ling key; the transcript works without one";"会议应用挂断后结束" = "End when the meeting app hangs up";"Zoom、腾讯会议、飞书、Teams 等" = "Zoom, Tencent Meeting, Lark, Teams and others";@@ -807,6 +824,7 @@"合成声音" = "Voice";"示例句子" = "Sample sentence";"麦克风峰值 %lld dB" = "Mic peak %lld dB";+"云端转写定稿" = "Cloud transcription";"本机转写定稿" = "Final transcript on this Mac";"没有译文" = "No translation";"本机(%@ 失败)" = "On-device (%@ failed)";@@ -833,6 +851,7 @@"有削波" = "Clipping";"音量正常" = "Level OK";"听得清" = "Clear";+"重新听写" = "Re-transcribed";"本机重新听写" = "Re-transcribed here";"意思对" = "Meaning";"一致 %lld" = "Matches %lld";@@ -966,8 +985,8 @@"后台转写 %@ · %lld%%" = "Transcribing %@ · %lld%%";"后台转写 %@ · %lld%%,还有 %lld 个" = "Transcribing %@ · %lld%%, %lld more";"屏幕上不出字幕,文字记录照常保存" = "Nothing on screen; the transcript is still saved";-"填入 API key 后可生成纪要;文字记录照常保存" = "Add an API key for notes; the transcript is saved either way";"什么时候出现" = "Appears";+"填入 API key 后可生成纪要;文字记录照常保存" = "Add an API key for notes; the transcript is saved either way";"译文从扬声器念出来" = "Translations are read out from the speakers";"系统麦克风换成 %@" = "System mic switches to %@";"译文送进 %@" = "Translations go into %@";diff --git a/Resources/ja.lproj/Localizable.strings b/Resources/ja.lproj/Localizable.stringsindex 933cb89..37ff428 100644--- a/Resources/ja.lproj/Localizable.strings+++ b/Resources/ja.lproj/Localizable.strings@@ -61,6 +61,7 @@"这个服务不支持 JSON" = "このサービスは JSON に非対応";"换一个模型后可用" = "別のモデルにすると使えます";"翻译" = "翻訳";+"随语音识别一步翻出;不行时换 Google" = "音声認識と同時に翻訳。失敗時は Google に切り替え";"整句用它;不行时换 Google、本机" = "文単位で使用(不可時は Google、オンデバイスに切替)";"整句用它;不行时换 Google" = "文単位で使用(不可時は Google に切替)";"先用 Google 翻译" = "当面は Google 翻訳";@@ -72,6 +73,7 @@"只有 Ling" = "Ling のみ";"换用 Ling 才有" = "Ling に切り替えると使えます";"语音识别" = "音声認識";+"识别和翻译一步完成" = "音声認識と翻訳を一度に処理";"更快,不花钱" = "高速で無料";"自己选模型" = "モデルを自分で選ぶ";"模型" = "モデル";@@ -80,6 +82,7 @@"纪要和整句翻译" = "議事メモと文単位の翻訳";"声音模型" = "音声モデル";"同传念给对方" = "同時通訳の読み上げ";+"一小时会议约 ¥0.15–1(目前优惠价)。说话的声音分段发给 Ling 识别和翻译;会议录音和文字记录只存在这台 Mac 上。" = "1 時間の会議で約 ¥0.15〜1(現在の割引価格)。発言は短い単位で Ling に送られて認識・翻訳され、録音と文字起こしはこの Mac にのみ保存されます。";"一小时会议约 ¥0.15–1(目前优惠价)。发出去的只有文字(用你自己的声音时还有那段录音),语音识别留在本机。" = "1時間の会議で約¥0.15〜1(現在は優待価格)。送信されるのはテキストだけです(自分の声を使う場合はその録音も)。音声認識はこのMac内で行われます。";"按所选模型计费。发出去的只有文字,语音识别留在本机。" = "選択したモデルに応じて課金されます。送信されるのはテキストのみで、音声認識はオンデバイスで行われます。";"在 %@ 创建 key,复制后粘贴到这里。" = "%@ でキーを作成し、コピーしてここに貼り付けてください。";@@ -92,6 +95,7 @@"正在检查…" = "確認中…";"已连接" = "接続済み";"%@ 现在很忙" = "%@ は混み合っています";+"填入 Ling key 后才能识别语音、出字幕和纪要" = "音声認識と字幕・メモの生成には Ling key の入力が必要です";"不填 key 时,字幕和翻译仍可正常使用" = "キーがなくても、字幕と翻訳は通常どおり使えます";"更换" = "変更";"保存并检查" = "保存して確認";@@ -321,6 +325,8 @@"只看原文时不翻译,也不用 Ling 额度" = "原文のみの場合、翻訳せず Ling の枠も使いません";"翻译成" = "翻訳先";"只按这种语言识别" = "この言語だけで認識します";+"说话后自动听出是哪种语言" = "話し始めると自動で言語を判別します";+"从已安装的语音模型里挑最有把握的" = "インストール済みの音声モデルから最も確度の高いものを選びます";"自动识别" = "自動検出";"对方说的正是系统语言时,翻成系统里的另一种" = "相手がシステム言語で話している場合は、システムのもう一つの言語に翻訳します";"对方说的就是这种语言时不翻译" = "相手がこの言語で話している場合は翻訳しません";@@ -340,7 +346,6 @@"(同声传译未开)" = "(同時通訳オフ)";"你说" = "自分の発話";"现在听出是 %@" = "現在の検出: %@";-"从已安装的语音模型里挑最有把握的" = "インストール済みの音声モデルから最も確度の高いものを選びます";"会议原文 · %@" = "会議の原文 · %@";"会议原文" = "会議の原文";@@ -352,16 +357,19 @@"自动识别 → %@" = "自動検出 → %@";"等你允许使用麦克风" = "マイクの許可を待っています";"正在听" = "聞き取り中";+"请先在设置 › AI 服务里填入 Ling key" = "先に「設定 › AI サービス」で Ling key を入力してください";"此 Mac 不支持本机语音识别" = "このMacはオンデバイス音声認識に対応していません";"请在系统设置里允许“系统音频录制”,再重新打开知了" = "システム設定で「システムオーディオ録音」を許可して、Cicada を開き直してください";"无法读取系统音频,请在系统设置里允许“系统音频录制”" = "システム音声を読み取れません。システム設定で「システム音声の録音」を許可してください";"没能下载 %@ 语音模型" = "%@ の音声モデルをダウンロードできませんでした";"已暂停" = "一時停止中";"麦克风无法启动,请在系统设置里允许%@使用麦克风" = "マイクを起動できません。システム設定で %@ のマイク使用を許可してください";+"%@ 在听" = "%@ が聞き取り中";"识别出错,%lld 秒后重试" = "認識エラー。%lld秒後に再試行します";"听不出是哪种语言,到菜单栏里选一下" = "言語を判別できません。メニューバーで選んでください";"正在识别语言…" = "言語を検出中…";-"%@ 在听" = "%@ が聞き取り中";+"key 已失效,到设置 › AI 服务里重填" = "キーが無効になりました。設定 › AI サービスで入力し直してください";+"%@ 暂时连不上,正在重试" = "%@ に接続できません。再試行しています";"翻译暂不可用" = "現在翻訳を利用できません";/* ListenPill */@@ -483,7 +491,9 @@"改用%@重新整理" = "%@で書き直す";"在会议记录中查看" = "会議の記録で見る";"开始新会议" = "新しい会議を開始";+"识别语音和生成纪要需要 Ling key" = "音声認識とメモの生成には Ling key が必要です";"生成纪要需要 API key" = "議事メモの作成には API key が必要です";+"填好 %@ 的 key 后,立即开始识别语音、出双语字幕和实时纪要。" = "%@ の key を入力すると、すぐに音声認識と二か国語字幕・リアルタイムメモを開始します。";"文字记录仍在保存。填好 %@ 的 key 后,会从头整理出整场纪要。" = "文字起こしは保存されています。%@ のキーを入力すると、最初から議事メモをまとめます。";"获取 %@ key ↗" = "%@ のキーを取得 ↗";"保存并开始" = "保存して開始";@@ -514,8 +524,8 @@"播放示例 · 0:09" = "サンプルを再生 · 0:09";"正在听…" = "聞き取り中…";"听声音" = "音声";-"看效果" = "試す";"接 Ling" = "Ling 接続";+"看效果" = "試す";"第 %lld 步,共 %lld 步:%@" = "ステップ %lld / %lld:%@";"打开后自动继续" = "オンにすると次へ進みます";"上一步" = "戻る";@@ -525,6 +535,7 @@"继续" = "続ける";"让知了听到电脑里的声音" = "Cicada に Mac の音を聞かせる";"字幕和纪要都从这里来。去系统设置打开,回来会自动识别。" = "字幕も議事メモもここから。システム設定でオンにすると、戻ったときに自動で認識します。";+"会议录音和文字记录只存在这台 Mac 上" = "会議の録音と文字起こしはこの Mac にのみ保存されます";"声音只在本机识别" = "音声はこのMac内でのみ認識されます";"听电脑里的声音" = "Mac の音声を聞く";"在系统设置里打开后,要重新打开知了" = "システム設定でオンにしたら、Cicada を開き直してください";@@ -566,6 +577,7 @@"每场会都存在会议记录里" = "すべての会議を記録に保存";"就是它" = "これです";"字幕条可任意拖动,拖拽右下角可调整大小。" = "字幕バーは自由にドラッグでき、右下の角をドラッグするとサイズを変えられます。";+"先在上一步接上 Ling key,示例会议才能识别出实时字幕。" = "サンプル会議のリアルタイム字幕を表示するには、前のステップで Ling key を接続してください。";"开会时,这些字幕还能整理成纪要" = "会議では、この字幕が議事メモにまとまります";"下一步接上 Ling 就有" = "次のステップで Ling をつなぐと使えます";@@ -573,9 +585,10 @@"用其他服务" = "他のサービスを使う";"纪要和翻译都能用,模型已经选好。" = "議事メモも翻訳も使えます。モデルは選択済みです。";"接上 Ling,一个 key 用上全部功能" = "Ling に接続して、1つのキーですべての機能を";-"更准的翻译" = "より正確な翻訳";+"实时翻译字幕" = "リアルタイム翻訳字幕";"自然的同传声音" = "自然な同時通訳の声";"用你自己的声音" = "自分の声を使う";+"更准的翻译" = "より正確な翻訳";"Ling 每月赠送 ¥10 额度" = "Ling から毎月 ¥10 分の無料枠";"约够 10–50 小时会议" = "会議約 10〜50 時間分";"‹ 还是用 Ling" = "‹ やはり Ling を使う";@@ -597,14 +610,17 @@"人名、术语前后一致" = "人名や用語が一貫";"自然人声" = "自然な音声";"同传约 2 秒出声" = "通訳は約 2 秒で発話";+"Intel 版 Mac 需要接上 Ling 才能识别语音" = "Intel 搭載 Mac では音声認識に Ling の接続が必要です";+"可以先进入应用,开会前在设置 › AI 服务里填上 Ling key 即可。" = "このままアプリに入り、会議の前に「設定 › AI サービス」で Ling key を入力できます。";"先不接也行,基础功能照常能用" = "つながなくても、基本機能はそのまま使えます";"随时可在纪要窗口或设置里接上,开完的会也能补出纪要。" = "議事メモのウインドウや設定からいつでもつなげます。終わった会議の議事メモもあとから作れます。";"现在可用" = "今すぐ使える";-"实时翻译字幕" = "リアルタイム翻訳字幕";-"双语文字记录" = "2 言語の文字起こし";-"同声传译(系统语音)" = "同時通訳(システム音声)";+"查看以往的会议记录" = "過去の会議記録を閲覧";"接上 Ling 才有" = "Ling が必要";+"实时翻译字幕和双语记录" = "リアルタイム翻訳字幕と二か国語記録";"实时纪要和会后总结" = "ライブ議事メモと会議後のまとめ";+"双语文字记录" = "2 言語の文字起こし";+"同声传译(系统语音)" = "同時通訳(システム音声)";"自然人声,约 2 秒出声" = "自然な音声、約 2 秒で発話";"粘贴并检查" = "貼り付けて確認";"接上后继续" = "つないでから次へ";@@ -750,6 +766,7 @@"文件里说的" = "ファイルの言語";"译成“翻译成”里的语言" = "「翻訳先」の言語に翻訳";"转完后生成纪要" = "完了後にメモを作成";+"导入转写和生成纪要都需要 Ling key" = "ファイルの文字起こしとメモ生成には Ling key が必要です";"需要 Ling key;没有也能转出文字记录" = "Ling キーが必要。なくても文字起こしはできます";"会议应用挂断后结束" = "会議アプリの通話終了で終了";"Zoom、腾讯会议、飞书、Teams 等" = "Zoom、Tencent Meeting、Lark、Teams など";@@ -807,6 +824,7 @@"合成声音" = "音声合成";"示例句子" = "例文";"麦克风峰值 %lld dB" = "マイクのピーク %lld dB";+"云端转写定稿" = "クラウド文字起こし";"本机转写定稿" = "この Mac で書き起こし確定";"没有译文" = "訳なし";"本机(%@ 失败)" = "オンデバイス(%@ 失敗)";@@ -833,6 +851,7 @@"有削波" = "音割れあり";"音量正常" = "音量正常";"听得清" = "明瞭さ";+"重新听写" = "再聞き取り";"本机重新听写" = "この Mac で再書き起こし";"意思对" = "意味";"一致 %lld" = "一致 %lld";@@ -966,8 +985,8 @@"后台转写 %@ · %lld%%" = "%@ を文字起こし中 · %lld%%";"后台转写 %@ · %lld%%,还有 %lld 个" = "%@ を文字起こし中 · %lld%%、残り %lld 件";"屏幕上不出字幕,文字记录照常保存" = "画面には何も出しません。文字起こしは保存されます";-"填入 API key 后可生成纪要;文字记录照常保存" = "API key を入力すると議事メモを作成できます。文字起こしは常に保存されます";"什么时候出现" = "表示するタイミング";+"填入 API key 后可生成纪要;文字记录照常保存" = "API key を入力すると議事メモを作成できます。文字起こしは常に保存されます";"译文从扬声器念出来" = "訳文はスピーカーから読み上げます";"系统麦克风换成 %@" = "システムのマイクを %@ に切り替え";"译文送进 %@" = "訳文を %@ に送ります";diff --git a/Resources/ko.lproj/Localizable.strings b/Resources/ko.lproj/Localizable.stringsindex d6d33d0..1d22866 100644--- a/Resources/ko.lproj/Localizable.strings+++ b/Resources/ko.lproj/Localizable.strings@@ -61,6 +61,7 @@"这个服务不支持 JSON" = "이 서비스는 JSON 미지원";"换一个模型后可用" = "다른 모델로 바꾸면 사용 가능";"翻译" = "번역";+"随语音识别一步翻出;不行时换 Google" = "음성 인식과 함께 한 번에 번역, 실패 시 Google로 전환";"整句用它;不行时换 Google、本机" = "전체 문장에 사용, 실패 시 Google 및 온디바이스로 전환";"整句用它;不行时换 Google" = "전체 문장에 사용, 실패 시 Google로 전환";"先用 Google 翻译" = "당분간 Google 번역 사용";@@ -72,6 +73,7 @@"只有 Ling" = "Ling 전용";"换用 Ling 才有" = "Ling으로 전환해야 사용 가능";"语音识别" = "음성 인식";+"识别和翻译一步完成" = "음성 인식과 번역을 한 번에 처리";"更快,不花钱" = "더 빠르고 무료";"自己选模型" = "직접 모델 선택";"模型" = "모델";@@ -80,6 +82,7 @@"纪要和整句翻译" = "회의록 및 전체 문장 번역";"声音模型" = "음성 모델";"同传念给对方" = "동시통역 시 상대방에게 들려줄 음성";+"一小时会议约 ¥0.15–1(目前优惠价)。说话的声音分段发给 Ling 识别和翻译;会议录音和文字记录只存在这台 Mac 上。" = "1시간 회의 기준 약 ¥0.15–1(현재 할인가). 발화 음성은 짧은 구간으로 나뉘어 Ling에서 인식·번역되며, 회의 녹음과 대화 기록은 이 Mac에만 저장됩니다.";"一小时会议约 ¥0.15–1(目前优惠价)。发出去的只有文字(用你自己的声音时还有那段录音),语音识别留在本机。" = "시간당 회의 비용은 약 ¥0.15–1입니다(현재 할인가). 전송되는 것은 텍스트뿐이며(내 목소리를 쓸 때는 그 녹음도 포함), 음성 인식은 이 Mac에서 처리됩니다.";"按所选模型计费。发出去的只有文字,语音识别留在本机。" = "선택한 모델 기준으로 과금됩니다. 텍스트만 전송되며 음성 인식은 온디바이스에서 처리됩니다.";"在 %@ 创建 key,复制后粘贴到这里。" = "%@에서 key를 생성한 후 복사하여 여기에 붙여넣으세요.";@@ -92,6 +95,7 @@"正在检查…" = "확인 중…";"已连接" = "연결됨";"%@ 现在很忙" = "%@가 지금 붐빕니다";+"填入 Ling key 后才能识别语音、出字幕和纪要" = "음성 인식 및 자막·회의록 생성을 위해 Ling key를 입력하세요";"不填 key 时,字幕和翻译仍可正常使用" = "key 없이도 자막과 번역은 사용할 수 있습니다";"更换" = "변경";"保存并检查" = "저장 및 확인";@@ -321,6 +325,8 @@"只看原文时不翻译,也不用 Ling 额度" = "원문만 볼 때는 번역하지 않으며 Ling 사용량도 쓰지 않습니다";"翻译成" = "번역 언어";"只按这种语言识别" = "이 언어로만 인식";+"说话后自动听出是哪种语言" = "말하기 시작하면 어떤 언어인지 자동으로 감지합니다";+"从已安装的语音模型里挑最有把握的" = "설치된 음성 모델 중 가장 확신하는 것을 선택합니다";"自动识别" = "자동 감지";"对方说的正是系统语言时,翻成系统里的另一种" = "상대가 시스템 언어로 말하면 시스템의 다른 언어로 번역합니다";"对方说的就是这种语言时不翻译" = "상대가 이 언어로 말하면 번역하지 않습니다";@@ -340,7 +346,6 @@"(同声传译未开)" = "(동시통역 꺼짐)";"你说" = "내가 말함";"现在听出是 %@" = "현재 감지: %@";-"从已安装的语音模型里挑最有把握的" = "설치된 음성 모델 중 가장 확신하는 것을 선택합니다";"会议原文 · %@" = "회의 원어 · %@";"会议原文" = "회의 원어";@@ -352,16 +357,19 @@"自动识别 → %@" = "자동 감지 → %@";"等你允许使用麦克风" = "마이크 허용을 기다리는 중";"正在听" = "듣는 중";+"请先在设置 › AI 服务里填入 Ling key" = "먼저 설정 › AI 서비스에서 Ling key를 입력하세요";"此 Mac 不支持本机语音识别" = "이 Mac은 온디바이스 음성 인식을 지원하지 않습니다";"请在系统设置里允许“系统音频录制”,再重新打开知了" = "시스템 설정에서 ‘시스템 오디오 녹음’을 허용한 뒤 Cicada를 다시 열어 주세요";"无法读取系统音频,请在系统设置里允许“系统音频录制”" = "시스템 오디오를 읽을 수 없습니다. 시스템 설정에서 “시스템 오디오 녹음”을 허용하세요";"没能下载 %@ 语音模型" = "%@ 음성 모델을 내려받지 못했어요";"已暂停" = "일시정지됨";"麦克风无法启动,请在系统设置里允许%@使用麦克风" = "마이크를 시작할 수 없습니다. 시스템 설정에서 %@의 마이크 사용을 허용하세요";+"%@ 在听" = "%@ 이(가) 듣는 중";"识别出错,%lld 秒后重试" = "인식 오류, %lld초 후 다시 시도합니다";"听不出是哪种语言,到菜单栏里选一下" = "언어를 알 수 없어요. 메뉴 막대에서 골라 주세요";"正在识别语言…" = "언어 감지 중…";-"%@ 在听" = "%@ 이(가) 듣는 중";+"key 已失效,到设置 › AI 服务里重填" = "키가 더 이상 작동하지 않습니다. 설정 › AI 서비스에서 다시 입력하세요";+"%@ 暂时连不上,正在重试" = "%@에 연결할 수 없습니다. 다시 시도하는 중";"翻译暂不可用" = "번역을 일시적으로 사용할 수 없음";/* ListenPill */@@ -483,7 +491,9 @@"改用%@重新整理" = "%@로 다시 작성";"在会议记录中查看" = "회의 기록에서 보기";"开始新会议" = "새 회의 시작";+"识别语音和生成纪要需要 Ling key" = "음성 인식과 회의록 생성에는 Ling key가 필요합니다";"生成纪要需要 API key" = "회의록 작성에는 API key가 필요합니다";+"填好 %@ 的 key 后,立即开始识别语音、出双语字幕和实时纪要。" = "%@ key를 입력하면 즉시 음성 인식과 이중 언어 자막, 실시간 회의록을 시작합니다.";"文字记录仍在保存。填好 %@ 的 key 后,会从头整理出整场纪要。" = "텍스트 기록은 계속 저장 중입니다. %@의 key를 입력하면 처음부터 전체 회의록을 정리합니다.";"获取 %@ key ↗" = "%@ key 받기 ↗";"保存并开始" = "저장 및 시작";@@ -514,8 +524,8 @@"播放示例 · 0:09" = "샘플 재생 · 0:09";"正在听…" = "듣는 중…";"听声音" = "소리 듣기";-"看效果" = "체험";"接 Ling" = "Ling 연결";+"看效果" = "체험";"第 %lld 步,共 %lld 步:%@" = "%lld/%lld단계: %@";"打开后自动继续" = "켜면 자동으로 넘어갑니다";"上一步" = "이전";@@ -525,6 +535,7 @@"继续" = "계속";"让知了听到电脑里的声音" = "Cicada가 Mac 소리를 듣게 하세요";"字幕和纪要都从这里来。去系统设置打开,回来会自动识别。" = "자막과 회의록이 모두 여기서 나옵니다. 시스템 설정에서 켜면 돌아왔을 때 자동으로 인식합니다.";+"会议录音和文字记录只存在这台 Mac 上" = "회의 녹음과 대화 기록은 이 Mac에만 저장됩니다";"声音只在本机识别" = "소리는 이 Mac에서만 인식됩니다";"听电脑里的声音" = "컴퓨터 소리 듣기";"在系统设置里打开后,要重新打开知了" = "시스템 설정에서 켠 뒤 Cicada를 다시 열어 주세요";@@ -566,6 +577,7 @@"每场会都存在会议记录里" = "모든 회의가 회의 기록에 저장됩니다";"就是它" = "바로 이것";"字幕条可任意拖动,拖拽右下角可调整大小。" = "자막 바는 자유롭게 드래그할 수 있고, 오른쪽 아래 모서리를 드래그해 크기를 조절합니다.";+"先在上一步接上 Ling key,示例会议才能识别出实时字幕。" = "샘플 회의의 실시간 자막을 보려면 이전 단계에서 먼저 Ling key를 연결하세요.";"开会时,这些字幕还能整理成纪要" = "회의 중에는 이 자막이 회의록으로 정리됩니다";"下一步接上 Ling 就有" = "다음 단계에서 Ling을 연결하면 됩니다";@@ -573,9 +585,10 @@"用其他服务" = "다른 서비스 사용";"纪要和翻译都能用,模型已经选好。" = "회의록과 번역을 모두 사용할 수 있으며, 모델이 이미 선택되어 있습니다.";"接上 Ling,一个 key 用上全部功能" = "Ling을 연결하여 하나의 key로 모든 기능 사용";-"更准的翻译" = "더 정확한 번역";+"实时翻译字幕" = "실시간 번역 자막";"自然的同传声音" = "자연스러운 동시통역 음성";"用你自己的声音" = "내 목소리 사용";+"更准的翻译" = "더 정확한 번역";"Ling 每月赠送 ¥10 额度" = "Ling이 매달 ¥10 크레딧 제공";"约够 10–50 小时会议" = "회의 약 10–50시간 분량";"‹ 还是用 Ling" = "‹ 그래도 Ling 사용";@@ -597,14 +610,17 @@"人名、术语前后一致" = "이름과 용어가 일관됨";"自然人声" = "자연스러운 음성";"同传约 2 秒出声" = "통역 약 2초 만에 음성 출력";+"Intel 版 Mac 需要接上 Ling 才能识别语音" = "Intel 기반 Mac에서는 음성 인식을 위해 Ling 연결이 필요합니다";+"可以先进入应用,开会前在设置 › AI 服务里填上 Ling key 即可。" = "지금 앱으로 이동한 뒤 회의 전에 설정 › AI 서비스에서 Ling key를 입력할 수 있습니다.";"先不接也行,基础功能照常能用" = "연결하지 않아도 기본 기능은 그대로 쓸 수 있습니다";"随时可在纪要窗口或设置里接上,开完的会也能补出纪要。" = "회의록 창이나 설정에서 언제든 연결할 수 있고, 지난 회의도 회의록을 만들 수 있습니다.";"现在可用" = "지금 사용 가능";-"实时翻译字幕" = "실시간 번역 자막";-"双语文字记录" = "2개 언어 대화 기록";-"同声传译(系统语音)" = "동시통역(시스템 음성)";+"查看以往的会议记录" = "이전 회의 기록 보기";"接上 Ling 才有" = "Ling 연결 필요";+"实时翻译字幕和双语记录" = "실시간 번역 자막 및 이중 언어 기록";"实时纪要和会后总结" = "실시간 회의록과 회의 후 요약";+"双语文字记录" = "2개 언어 대화 기록";+"同声传译(系统语音)" = "동시통역(시스템 음성)";"自然人声,约 2 秒出声" = "자연스러운 음성, 약 2초 후 출력";"粘贴并检查" = "붙여넣고 확인";"接上后继续" = "연결 후 계속";@@ -750,6 +766,7 @@"文件里说的" = "파일 속 언어";"译成“翻译成”里的语言" = "'번역 언어'로 번역";"转完后生成纪要" = "완료 후 노트 작성";+"导入转写和生成纪要都需要 Ling key" = "파일 전사와 회의록 생성 모두 Ling key가 필요합니다";"需要 Ling key;没有也能转出文字记录" = "Ling 키 필요. 없어도 받아쓰기는 됨";"会议应用挂断后结束" = "회의 앱 통화가 끝나면 종료";"Zoom、腾讯会议、飞书、Teams 等" = "Zoom, Tencent Meeting, Lark, Teams 등";@@ -807,6 +824,7 @@"合成声音" = "음성 합성";"示例句子" = "예문";"麦克风峰值 %lld dB" = "마이크 최대 %lld dB";+"云端转写定稿" = "클라우드 전사";"本机转写定稿" = "이 Mac에서 받아쓰기 확정";"没有译文" = "번역 없음";"本机(%@ 失败)" = "온디바이스 (%@ 실패)";@@ -833,6 +851,7 @@"有削波" = "클리핑 있음";"音量正常" = "음량 정상";"听得清" = "명료도";+"重新听写" = "재받아쓰기";"本机重新听写" = "이 Mac에서 다시 받아쓰기";"意思对" = "의미";"一致 %lld" = "일치 %lld";@@ -966,8 +985,8 @@"后台转写 %@ · %lld%%" = "%@ 받아쓰는 중 · %lld%%";"后台转写 %@ · %lld%%,还有 %lld 个" = "%@ 받아쓰는 중 · %lld%%, %lld개 남음";"屏幕上不出字幕,文字记录照常保存" = "화면에는 표시하지 않고, 대화 기록은 그대로 저장됩니다";-"填入 API key 后可生成纪要;文字记录照常保存" = "API key를 입력하면 회의록을 작성할 수 있으며, 대화 기록은 그대로 저장됩니다";"什么时候出现" = "표시 시점";+"填入 API key 后可生成纪要;文字记录照常保存" = "API key를 입력하면 회의록을 작성할 수 있으며, 대화 기록은 그대로 저장됩니다";"译文从扬声器念出来" = "번역은 스피커로 읽어 줘요";"系统麦克风换成 %@" = "시스템 마이크를 %@(으)로 전환";"译文送进 %@" = "번역을 %@(으)로 보냅니다";diff --git a/Resources/zh-Hans.lproj/Localizable.strings b/Resources/zh-Hans.lproj/Localizable.stringsindex 980208c..d410f90 100644--- a/Resources/zh-Hans.lproj/Localizable.strings+++ b/Resources/zh-Hans.lproj/Localizable.strings@@ -61,6 +61,7 @@"这个服务不支持 JSON" = "这个服务不支持 JSON";"换一个模型后可用" = "换一个模型后可用";"翻译" = "翻译";+"随语音识别一步翻出;不行时换 Google" = "随语音识别一步翻出;不行时换 Google";"整句用它;不行时换 Google、本机" = "整句用它;不行时换 Google、本机";"整句用它;不行时换 Google" = "整句用它;不行时换 Google";"先用 Google 翻译" = "先用 Google 翻译";@@ -72,6 +73,7 @@"只有 Ling" = "只有 Ling";"换用 Ling 才有" = "换用 Ling 才有";"语音识别" = "语音识别";+"识别和翻译一步完成" = "识别和翻译一步完成";"更快,不花钱" = "更快,不花钱";"自己选模型" = "自己选模型";"模型" = "模型";@@ -80,6 +82,7 @@"纪要和整句翻译" = "纪要和整句翻译";"声音模型" = "声音模型";"同传念给对方" = "同传念给对方";+"一小时会议约 ¥0.15–1(目前优惠价)。说话的声音分段发给 Ling 识别和翻译;会议录音和文字记录只存在这台 Mac 上。" = "一小时会议约 ¥0.15–1(目前优惠价)。说话的声音分段发给 Ling 识别和翻译;会议录音和文字记录只存在这台 Mac 上。";"一小时会议约 ¥0.15–1(目前优惠价)。发出去的只有文字(用你自己的声音时还有那段录音),语音识别留在本机。" = "一小时会议约 ¥0.15–1(目前优惠价)。发出去的只有文字(用你自己的声音时还有那段录音),语音识别留在本机。";"按所选模型计费。发出去的只有文字,语音识别留在本机。" = "按所选模型计费。发出去的只有文字,语音识别留在本机。";"在 %@ 创建 key,复制后粘贴到这里。" = "在 %@ 创建 key,复制后粘贴到这里。";@@ -92,6 +95,7 @@"正在检查…" = "正在检查…";"已连接" = "已连接";"%@ 现在很忙" = "%@ 现在很忙";+"填入 Ling key 后才能识别语音、出字幕和纪要" = "填入 Ling key 后才能识别语音、出字幕和纪要";"不填 key 时,字幕和翻译仍可正常使用" = "不填 key 时,字幕和翻译仍可正常使用";"更换" = "更换";"保存并检查" = "保存并检查";@@ -321,6 +325,8 @@"只看原文时不翻译,也不用 Ling 额度" = "只看原文时不翻译,也不用 Ling 额度";"翻译成" = "翻译成";"只按这种语言识别" = "只按这种语言识别";+"说话后自动听出是哪种语言" = "说话后自动听出是哪种语言";+"从已安装的语音模型里挑最有把握的" = "从已安装的语音模型里挑最有把握的";"自动识别" = "自动识别";"对方说的正是系统语言时,翻成系统里的另一种" = "对方说的正是系统语言时,翻成系统里的另一种";"对方说的就是这种语言时不翻译" = "对方说的就是这种语言时不翻译";@@ -340,7 +346,6 @@"(同声传译未开)" = "(同声传译未开)";"你说" = "你说";"现在听出是 %@" = "现在听出是 %@";-"从已安装的语音模型里挑最有把握的" = "从已安装的语音模型里挑最有把握的";"会议原文 · %@" = "会议原文 · %@";"会议原文" = "会议原文";@@ -352,16 +357,19 @@"自动识别 → %@" = "自动识别 → %@";"等你允许使用麦克风" = "等你允许使用麦克风";"正在听" = "正在听";+"请先在设置 › AI 服务里填入 Ling key" = "请先在设置 › AI 服务里填入 Ling key";"此 Mac 不支持本机语音识别" = "此 Mac 不支持本机语音识别";"请在系统设置里允许“系统音频录制”,再重新打开知了" = "请在系统设置里允许“系统音频录制”,再重新打开知了";"无法读取系统音频,请在系统设置里允许“系统音频录制”" = "无法读取系统音频,请在系统设置里允许“系统音频录制”";"没能下载 %@ 语音模型" = "没能下载 %@ 语音模型";"已暂停" = "已暂停";"麦克风无法启动,请在系统设置里允许%@使用麦克风" = "麦克风无法启动,请在系统设置里允许%@使用麦克风";+"%@ 在听" = "%@ 在听";"识别出错,%lld 秒后重试" = "识别出错,%lld 秒后重试";"听不出是哪种语言,到菜单栏里选一下" = "听不出是哪种语言,到菜单栏里选一下";"正在识别语言…" = "正在识别语言…";-"%@ 在听" = "%@ 在听";+"key 已失效,到设置 › AI 服务里重填" = "key 已失效,到设置 › AI 服务里重填";+"%@ 暂时连不上,正在重试" = "%@ 暂时连不上,正在重试";"翻译暂不可用" = "翻译暂不可用";/* ListenPill */@@ -483,7 +491,9 @@"改用%@重新整理" = "改用%@重新整理";"在会议记录中查看" = "在会议记录中查看";"开始新会议" = "开始新会议";+"识别语音和生成纪要需要 Ling key" = "识别语音和生成纪要需要 Ling key";"生成纪要需要 API key" = "生成纪要需要 API key";+"填好 %@ 的 key 后,立即开始识别语音、出双语字幕和实时纪要。" = "填好 %@ 的 key 后,立即开始识别语音、出双语字幕和实时纪要。";"文字记录仍在保存。填好 %@ 的 key 后,会从头整理出整场纪要。" = "文字记录仍在保存。填好 %@ 的 key 后,会从头整理出整场纪要。";"获取 %@ key ↗" = "获取 %@ key ↗";"保存并开始" = "保存并开始";@@ -514,8 +524,8 @@"播放示例 · 0:09" = "播放示例 · 0:09";"正在听…" = "正在听…";"听声音" = "听声音";-"看效果" = "看效果";"接 Ling" = "接 Ling";+"看效果" = "看效果";"第 %lld 步,共 %lld 步:%@" = "第 %lld 步,共 %lld 步:%@";"打开后自动继续" = "打开后自动继续";"上一步" = "上一步";@@ -525,6 +535,7 @@"继续" = "继续";"让知了听到电脑里的声音" = "让知了听到电脑里的声音";"字幕和纪要都从这里来。去系统设置打开,回来会自动识别。" = "字幕和纪要都从这里来。去系统设置打开,回来会自动识别。";+"会议录音和文字记录只存在这台 Mac 上" = "会议录音和文字记录只存在这台 Mac 上";"声音只在本机识别" = "声音只在本机识别";"听电脑里的声音" = "听电脑里的声音";"在系统设置里打开后,要重新打开知了" = "在系统设置里打开后,要重新打开知了";@@ -566,6 +577,7 @@"每场会都存在会议记录里" = "每场会都存在会议记录里";"就是它" = "就是它";"字幕条可任意拖动,拖拽右下角可调整大小。" = "字幕条可任意拖动,拖拽右下角可调整大小。";+"先在上一步接上 Ling key,示例会议才能识别出实时字幕。" = "先在上一步接上 Ling key,示例会议才能识别出实时字幕。";"开会时,这些字幕还能整理成纪要" = "开会时,这些字幕还能整理成纪要";"下一步接上 Ling 就有" = "下一步接上 Ling 就有";@@ -573,9 +585,10 @@"用其他服务" = "用其他服务";"纪要和翻译都能用,模型已经选好。" = "纪要和翻译都能用,模型已经选好。";"接上 Ling,一个 key 用上全部功能" = "接上 Ling,一个 key 用上全部功能";-"更准的翻译" = "更准的翻译";+"实时翻译字幕" = "实时翻译字幕";"自然的同传声音" = "自然的同传声音";"用你自己的声音" = "用你自己的声音";+"更准的翻译" = "更准的翻译";"Ling 每月赠送 ¥10 额度" = "Ling 每月赠送 ¥10 额度";"约够 10–50 小时会议" = "约够 10–50 小时会议";"‹ 还是用 Ling" = "‹ 还是用 Ling";@@ -597,14 +610,17 @@"人名、术语前后一致" = "人名、术语前后一致";"自然人声" = "自然人声";"同传约 2 秒出声" = "同传约 2 秒出声";+"Intel 版 Mac 需要接上 Ling 才能识别语音" = "Intel 版 Mac 需要接上 Ling 才能识别语音";+"可以先进入应用,开会前在设置 › AI 服务里填上 Ling key 即可。" = "可以先进入应用,开会前在设置 › AI 服务里填上 Ling key 即可。";"先不接也行,基础功能照常能用" = "先不接也行,基础功能照常能用";"随时可在纪要窗口或设置里接上,开完的会也能补出纪要。" = "随时可在纪要窗口或设置里接上,开完的会也能补出纪要。";"现在可用" = "现在可用";-"实时翻译字幕" = "实时翻译字幕";-"双语文字记录" = "双语文字记录";-"同声传译(系统语音)" = "同声传译(系统语音)";+"查看以往的会议记录" = "查看以往的会议记录";"接上 Ling 才有" = "接上 Ling 才有";+"实时翻译字幕和双语记录" = "实时翻译字幕和双语记录";"实时纪要和会后总结" = "实时纪要和会后总结";+"双语文字记录" = "双语文字记录";+"同声传译(系统语音)" = "同声传译(系统语音)";"自然人声,约 2 秒出声" = "自然人声,约 2 秒出声";"粘贴并检查" = "粘贴并检查";"接上后继续" = "接上后继续";@@ -750,6 +766,7 @@"文件里说的" = "文件里说的";"译成“翻译成”里的语言" = "译成“翻译成”里的语言";"转完后生成纪要" = "转完后生成纪要";+"导入转写和生成纪要都需要 Ling key" = "导入转写和生成纪要都需要 Ling key";"需要 Ling key;没有也能转出文字记录" = "需要 Ling key;没有也能转出文字记录";"会议应用挂断后结束" = "会议应用挂断后结束";"Zoom、腾讯会议、飞书、Teams 等" = "Zoom、腾讯会议、飞书、Teams 等";@@ -807,6 +824,7 @@"合成声音" = "合成声音";"示例句子" = "示例句子";"麦克风峰值 %lld dB" = "麦克风峰值 %lld dB";+"云端转写定稿" = "云端转写定稿";"本机转写定稿" = "本机转写定稿";"没有译文" = "没有译文";"本机(%@ 失败)" = "本机(%@ 失败)";@@ -833,6 +851,7 @@"有削波" = "有削波";"音量正常" = "音量正常";"听得清" = "听得清";+"重新听写" = "重新听写";"本机重新听写" = "本机重新听写";"意思对" = "意思对";"一致 %lld" = "一致 %lld";@@ -966,8 +985,8 @@"后台转写 %@ · %lld%%" = "后台转写 %@ · %lld%%";"后台转写 %@ · %lld%%,还有 %lld 个" = "后台转写 %@ · %lld%%,还有 %lld 个";"屏幕上不出字幕,文字记录照常保存" = "屏幕上不出字幕,文字记录照常保存";-"填入 API key 后可生成纪要;文字记录照常保存" = "填入 API key 后可生成纪要;文字记录照常保存";"什么时候出现" = "什么时候出现";+"填入 API key 后可生成纪要;文字记录照常保存" = "填入 API key 后可生成纪要;文字记录照常保存";"译文从扬声器念出来" = "译文从扬声器念出来";"系统麦克风换成 %@" = "系统麦克风换成 %@";"译文送进 %@" = "译文送进 %@";diff --git a/Sources/Cicada/AISettings.swift b/Sources/Cicada/AISettings.swiftindex e672f73..12faba3 100644--- a/Sources/Cicada/AISettings.swift+++ b/Sources/Cicada/AISettings.swift@@ -238,7 +238,7 @@ struct AISettingsView: View {case .ok(let s): ling.aiCheck.busy ? L("\(name) 现在很忙") : AICheckSummary.text(ling.aiCheck).map { "\(settings.textModel) · \($0)" }?? L("\(settings.textModel) · 响应约 \(String(format: "%.1f", s)) 秒")case .invalid, .unreachable: nil- case .none: L("不填 key 时,字幕和翻译仍可正常使用")+ case .none: Recognition.cloudOnly ? L("填入 Ling key 后才能识别语音、出字幕和纪要") : L("不填 key 时,字幕和翻译仍可正常使用")default: nil}}@@ -261,9 +261,14 @@ struct AISettingsView: View {usageRow(L("实时纪要"), tag: notesOn ? uses : ling.hasKey ? L("暂不可用") : L("需要 key"), style: notesOn ? .ok : .off,note: notesOn ? L("会中每 45 秒更新") : reason == .noJSON ? L("这个服务不支持 JSON") : reason == .noModel ? L("换一个模型后可用") : later)}- usageRow(L("翻译"), tag: textOn ? uses : "Google", style: textOn ? .ok : .off,- note: textOn ? (Recognition.hasOnDeviceTranslation ? L("整句用它;不行时换 Google、本机") : L("整句用它;不行时换 Google"))- : ling.hasKey ? L("先用 Google 翻译") : L("没有 key 时照常可用"))+ if Recognition.cloudOnly {+ usageRow(L("翻译"), tag: textOn ? uses : ling.hasKey ? L("暂不可用") : L("需要 key"), style: textOn ? .ok : .off,+ note: textOn ? L("随语音识别一步翻出;不行时换 Google") : later)+ } else {+ usageRow(L("翻译"), tag: textOn ? uses : "Google", style: textOn ? .ok : .off,+ note: textOn ? (Recognition.hasOnDeviceTranslation ? L("整句用它;不行时换 Google、本机") : L("整句用它;不行时换 Google"))+ : ling.hasKey ? L("先用 Google 翻译") : L("没有 key 时照常可用"))+ }let speaks = ling.speaks && !downusageRow(L("同传声音"), tag: speaks ? uses : L("本机"), style: speaks ? .ok : .off, note: voiceNote(down: down))if provider.clones {@@ -272,7 +277,16 @@ struct AISettingsView: View {} else {usageRow(L("你自己的声音"), tag: L("只有 Ling"), style: .ling, note: L("换用 Ling 才有"))}- usageRow(L("语音识别"), tag: L("本机"), style: .off, note: L("更快,不花钱"), divider: false)+ if Recognition.cloudOnly {+ if provider.hearsAudio {+ usageRow(L("语音识别"), tag: on ? uses : ling.hasKey ? L("暂不可用") : L("需要 key"), style: on ? .ok : .off,+ note: on ? L("识别和翻译一步完成") : later, divider: false)+ } else {+ usageRow(L("语音识别"), tag: L("只有 Ling"), style: .ling, note: L("换用 Ling 才有"), divider: false)+ }+ } else {+ usageRow(L("语音识别"), tag: L("本机"), style: .off, note: L("更快,不花钱"), divider: false)+ }}private func voiceNote(down: Bool) -> String {@@ -351,7 +365,10 @@ struct AISettingsView: View {}private var footnote: String {- switch provider.id {+ if Recognition.cloudOnly {+ return L("一小时会议约 ¥0.15–1(目前优惠价)。说话的声音分段发给 Ling 识别和翻译;会议录音和文字记录只存在这台 Mac 上。")+ }+ return switch provider.id {case .ling: L("一小时会议约 ¥0.15–1(目前优惠价)。发出去的只有文字(用你自己的声音时还有那段录音),语音识别留在本机。")default: L("按所选模型计费。发出去的只有文字,语音识别留在本机。")}diff --git a/Sources/Cicada/AppModel.swift b/Sources/Cicada/AppModel.swiftindex 2679cde..a35fd51 100644--- a/Sources/Cicada/AppModel.swift+++ b/Sources/Cicada/AppModel.swift@@ -246,6 +246,20 @@ final class AppModel: ObservableObject {}}translator.glossary = { [weak self] in self?.notes.glossary ?? [] }+ // An Intel Mac's imports: heard at a lower priority than the live meeting.+ Recognition.cloudHear = { [weak self] wav, seconds, locale in+ guard let self else { return nil }+ let hint = sourceLanguages.first { $0.locale == locale }?.code+ do {+ return try await self.translator.hear(wav: wav, seconds: seconds, target: self.settings.resolvedTarget(source: hint),+ hint: hint, priority: .notes)+ } catch {+ // A stretch not heard is not silence: the import stays unfinished and offers 重新转写.+ debugLog("import: hear failed: \(error)")+ self.importer.hearFailures += 1+ return nil+ }+ }importer.onFinished = { [weak self] id in self?.importFinished(id) }notes.language = { [weak self] id inTranslationService.englishName(self?.notesLanguageCode(id) ?? "zh-CN")@@ -1548,9 +1562,10 @@ final class AppModel: ObservableObject {listen.simulatedSystemLanguages = arg == "off" || p.count < 2 ? nil : p[1]Task { await listen.refreshInstalledLocales() }case "recognizer":- // recognizer:legacy runs the macOS 14/15 recognizer (SFSpeechRecognizer) on 26; recognizer:auto ends it.- // Takes effect from the next start.+ // recognizer:legacy runs the macOS 14/15 recognizer (SFSpeechRecognizer) on 26; recognizer:cloud+ // hears as an Intel Mac does; recognizer:auto ends either. Takes effect from the next start.Recognition.forceLegacy = arg == "legacy"+ Recognition.forceCloud = arg == "cloud"debugLog("recognizer: \(Recognition.name)")Task { await listen.refreshInstalledLocales() }case "releaseModel":diff --git a/Sources/Cicada/CloudHearing.swift b/Sources/Cicada/CloudHearing.swiftindex dd6c3ea..77de2c5 100644--- a/Sources/Cicada/CloudHearing.swift+++ b/Sources/Cicada/CloudHearing.swift@@ -300,6 +300,9 @@ final class CloudStream: RecognitionStream, @unchecked Sendable {}}+ /// Stretches sent and not back yet: a file being imported is fed only a little ahead of them.+ var backlog: Int { queue.sync { calls.count } }+func finalize(through seconds: Double) async throws {queue.sync { segmenter.flush { send($0) } }}diff --git a/Sources/Cicada/FileImport.swift b/Sources/Cicada/FileImport.swiftindex 0eb6c8e..bf56a8b 100644--- a/Sources/Cicada/FileImport.swift+++ b/Sources/Cicada/FileImport.swift@@ -32,6 +32,9 @@ final class FileImporter: ObservableObject {@Published private(set) var toTranslate = 0@Published private(set) var untranslated = 0+ /// `cloudOnly`: stretches of the current file the service couldn't hear (set by the app).+ var hearFailures = 0+/// A file was transcribed and translated to the end.var onFinished: ((_ sessionID: String) -> Void)?@@ -153,10 +156,20 @@ final class FileImporter: ObservableObject {guard !Task.isCancelled, store.session(job.id) != nil else { return }var lang = job.lang ?? sourceLanguages[0]- if job.lang == nil { lang = await language(of: pcm) }+ // The service names each line's language itself (`cloudOnly`): no models to compare.+ let named = job.lang ?? sourceLanguages.first { $0.locale == settings.importLanguage }+ if Recognition.cloudOnly { lang = named ?? lastLanguage } else if job.lang == nil { lang = await language(of: pcm) }guard !Task.isCancelled else { return }let target = settings.resolvedTarget(source: lang.code)debugLog("import: \(job.id) \(lang.locale) → \(target)")+ // Nothing hears it on an Intel Mac without a Ling key: left unfinished, it offers 重新转写 once there is one.+ if Recognition.cloudOnly, !translator.ling.hearsAudio {+ debugLog("import: \(job.id) needs a Ling key")+ return+ }+ hearFailures = 0+ // What the service heard was translated for this target with it (`Recognition.cloudHear`).+ let heardTarget = settings.resolvedTarget(source: named?.code)do {if await Recognition.status(lang.locale) != .installed {@@ -166,18 +179,22 @@ final class FileImporter: ObservableObject {phase = .transcribingvar n = 0var translations: [Task<Void, Never>] = []- let add = { (sentences: [(text: String, t: Double)]) in+ let add = { (sentences: [(text: String, t: Double)], heard: String?, translation: String?) in+ let src = heard.flatMap { code in sourceLanguages.first { $0.code == code }?.code } ?? lang.code+ let to = heard == nil ? target : self.settings.resolvedTarget(source: src)+ // The service's translation covers the whole stretch: kept when the stretch is one line.+ let given = sentences.count == 1 && to == heardTarget ? translation : nilfor sentence in sentences {let text = HeardText.clean(sentence.text)guard text.contains(where: \.isLetter) else { continue }n += 1let line = TranscriptLine(id: "f\(n)", t: max(0, sentence.t), speaker: "them",- src: text, dst: lang.code == target ? text : nil, srcLang: lang.code, dstLang: target)+ src: text, dst: src == to ? text : given, srcLang: src, dstLang: to)self.store.append(line, to: job.id)if line.dst == nil { translations.append(self.translate(line, session: job.id)) }}}- if !Recognition.legacy, #available(macOS 26, *) {+ if !Recognition.legacy, !Recognition.cloudOnly, #available(macOS 26, *) {let transcriber = SpeechTranscriber(locale: Locale(identifier: lang.locale), transcriptionOptions: [],reportingOptions: [], attributeOptions: [.audioTimeRange])let file = try AVAudioFile(forReading: pcm)@@ -189,15 +206,20 @@ final class FileImporter: ObservableObject {let pieces = result.text.runs.map { run in(String(result.text[run.range].characters), run.audioTimeRange.map { CMTimeGetSeconds($0.start) })}- add(Self.sentences(pieces, start: CMTimeGetSeconds(result.range.start)))+ add(Self.sentences(pieces, start: CMTimeGetSeconds(result.range.start)), nil, nil)}_ = analyzer} else {- try await transcribeLegacy(pcm, locale: lang.locale, session: job.id) { piece in- add(Self.sentences(Self.words(piece), start: piece.start))+ let hint = Recognition.cloudOnly ? named?.locale : lang.locale+ try await transcribeLegacy(pcm, locale: hint, session: job.id) { piece in+ add(Self.sentences(Self.words(piece), start: piece.start), piece.language, piece.translation)}}guard !Task.isCancelled, store.session(job.id) != nil else { return }+ if Recognition.cloudOnly, hearFailures > 0 {+ debugLog("import: \(job.id) \(hearFailures) stretches not heard, left unfinished")+ return+ }heard = durationphase = .translatingfor t in translations { await t.value }@@ -211,9 +233,11 @@ final class FileImporter: ObservableObject {/// macOS 14.4–15: the file fed through the older recognizer, which ends a line at each pause./// It is fed only a couple of lines ahead of what has come back, so a long file doesn't queue up in memory.- private func transcribeLegacy(_ pcm: URL, locale: String, session id: String,+ private func transcribeLegacy(_ pcm: URL, locale: String?, session id: String,line: @escaping (Recognition.Piece) -> Void) async throws {- let stream = try await Recognition.start(locale, drafts: false, background: true)+ // Heard by the service: `locale` is only its hint, nil when the file's language isn't known.+ let stream = Recognition.cloudOnly ? Recognition.cloudStream(locale)+ : try await Recognition.start(locale ?? sourceLanguages[0].locale, drafts: false, background: true)analyzer = streamlet file = try AVAudioFile(forReading: pcm)let rate = file.processingFormat.sampleRate@@ -242,7 +266,7 @@ final class FileImporter: ObservableObject {fedSeconds += Double(buf.frameLength) / rateheard = max(heard, fedSeconds - 10)// A couple of lines in the recognizer at a time.- while ((stream as? LegacyStream)?.backlog ?? 0) > 2, !Task.isCancelled { try? await Task.sleep(for: .milliseconds(50)) }+ while ((stream as? LegacyStream)?.backlog ?? (stream as? CloudStream)?.backlog ?? 0) > 2, !Task.isCancelled { try? await Task.sleep(for: .milliseconds(50)) }}if Task.isCancelled { await stream.cancel() } else { await stream.finish() }await reader.value@@ -291,6 +315,12 @@ final class FileImporter: ObservableObject {/// The file's language: the one chosen in settings, else the installed model that understands/// a few clips from across the file best.+ /// The language the last meeting was heard in, else the first.+ private var lastLanguage: Lang {+ let last = UserDefaults.standard.string(forKey: "lastDetected")+ return sourceLanguages.first { $0.locale == last } ?? sourceLanguages[0]+ }+private func language(of pcm: URL) async -> Lang {if let fixed = sourceLanguages.first(where: { $0.locale == settings.importLanguage }) { return fixed }let langs = await Self.installed()diff --git a/Sources/Cicada/LanguageSettings.swift b/Sources/Cicada/LanguageSettings.swiftindex 13da9fc..255c02a 100644--- a/Sources/Cicada/LanguageSettings.swift+++ b/Sources/Cicada/LanguageSettings.swift@@ -132,7 +132,8 @@ struct LanguageSettings: View {private var heardDetail: String {if case .fixed = settings.sourceMode { return L("只按这种语言识别") }- return model.listen.activeLang.map { L("现在听出是 \($0.name)") } ?? L("从已安装的语音模型里挑最有把握的")+ let fallback = Recognition.cloudOnly ? L("说话后自动听出是哪种语言") : L("从已安装的语音模型里挑最有把握的")+ return model.listen.activeLang.map { L("现在听出是 \($0.name)") } ?? fallback}private var targetDetail: String {diff --git a/Sources/Cicada/ListenEngine.swift b/Sources/Cicada/ListenEngine.swiftindex a5b40ac..87c2a25 100644--- a/Sources/Cicada/ListenEngine.swift+++ b/Sources/Cicada/ListenEngine.swift@@ -240,7 +240,8 @@ final class ListenEngine {/// Detection needs two models: a Mac with fewer fetches the likeliest missing ones in the/// background, one at a time (each one's end refreshes the list and asks for the next).private func fetchSecondModel(besides starting: Lang? = nil) {- guard settings.sourceMode == .auto, fetchingModel == nil, candidates.count < 2 else { return }+ // The service hears every language (`cloudOnly`): a "download" would only restart it.+ guard !Recognition.cloudOnly, settings.sourceMode == .auto, fetchingModel == nil, candidates.count < 2 else { return }let last = UserDefaults.standard.string(forKey: "lastDetected")// The model being started is fetched by `ensureModel` already. At a start that is `starting`:// `activeLang` is still the last run's then, and may be a model since taken away.@@ -308,6 +309,11 @@ final class ListenEngine {setStatus(Recognition.notAllowed.localizedDescription)return}+ // An Intel Mac hears only through the service: without its key there is nothing to listen with.+ guard !Recognition.cloudOnly || cloudService != nil else {+ setStatus(L("请先在设置 › AI 服务里填入 Ling key"))+ return+ }languageConfirmed = falsependingSwitch = nilneedsDetection = true@@ -590,6 +596,14 @@ final class ListenEngine {}private func switchTranscriber(to lang: Lang, replaySeconds: Double = 0) async {+ // No models to switch between: the service hears every language, and a language picked in+ // settings only becomes its hint (`cloudHint`).+ if Recognition.cloudOnly {+ guard isRunning else { return }+ if case .fixed = settings.sourceMode { activeLang = lang } else if activeLang == nil { activeLang = lang }+ if !cloudListening { startCloud() }+ return+ }if cloudListening { debugLog("cloud: off, \(lang.locale) on this Mac") }resetCloud()generation += 1@@ -1100,6 +1114,7 @@ final class ListenEngine {try await Task.sleep(for: .seconds(1))heard = try await translator.hear(wav: wav, seconds: seconds, target: self.resolvedTarget, hint: self.cloudHint)}+ if self.cloudFailures >= 3 { self.setStatus(L("\(self.cloudService ?? "AI") 在听")) }self.cloudFailures = 0return heard} catch {@@ -1107,7 +1122,13 @@ final class ListenEngine {debugLog("cloud: hear failed: \(error)")self.cloudFailures += 1// The service is down or the key stopped working: listening shouldn't go quiet with it.- if self.cloudFailures >= 3 { self.stopCloud() }+ if self.cloudFailures >= 3 {+ if !Recognition.cloudOnly { self.stopCloud() }+ // Nothing to go back to on an Intel Mac: say why it's quiet, and keep trying.+ else if case LingClient.Failure.invalidKey = error { self.setStatus(L("key 已失效,到设置 › AI 服务里重填")) }+ else if case LingClient.Failure.noKey = error { self.setStatus(L("请先在设置 › AI 服务里填入 Ling key")) }+ else { self.setStatus(L("\(self.cloudService ?? "AI") 暂时连不上,正在重试")) }+ }return nil}}@@ -1125,7 +1146,7 @@ final class ListenEngine {/// 换回等待 (or the service failing): back to what listened before, the download carrying on.func stopCloud() {- guard cloudListening else { return }+ guard cloudListening, !Recognition.cloudOnly else { return }let back = cloudReplacedlet lang = back?.lang ?? activeLangdebugLog("cloud: off, back to \(lang?.locale ?? "nothing")")diff --git a/Sources/Cicada/NotesWindow.swift b/Sources/Cicada/NotesWindow.swiftindex 6a7fe67..d5c1c41 100644--- a/Sources/Cicada/NotesWindow.swift+++ b/Sources/Cicada/NotesWindow.swift@@ -709,8 +709,10 @@ struct NotesWindowView: View {private var keyEntry: some View {VStack(alignment: .leading, spacing: 10) {- Text("生成纪要需要 API key").font(.system(size: 15, weight: .bold))- Text(L("文字记录仍在保存。填好 \(model.ling.provider.name) 的 key 后,会从头整理出整场纪要。"))+ Text(Recognition.cloudOnly ? L("识别语音和生成纪要需要 Ling key") : L("生成纪要需要 API key")).font(.system(size: 15, weight: .bold))+ Text(Recognition.cloudOnly+ ? L("填好 \(model.ling.provider.name) 的 key 后,立即开始识别语音、出双语字幕和实时纪要。")+ : L("文字记录仍在保存。填好 \(model.ling.provider.name) 的 key 后,会从头整理出整场纪要。")).font(.system(size: 12)).foregroundStyle(Palette.secondary).lineSpacing(2)HStack(spacing: 8) {SecureField("sk-…", text: $keyDraft)diff --git a/Sources/Cicada/Onboarding.swift b/Sources/Cicada/Onboarding.swiftindex bc8d84a..e371c86 100644--- a/Sources/Cicada/Onboarding.swift+++ b/Sources/Cicada/Onboarding.swift@@ -357,7 +357,13 @@ struct OnboardingView: View {static let steps = 4static let done = 5- private var stepNames: [String] { [L("听声音"), L("看效果"), L("接 Ling"), L("同声传译")] }+ private var stepNames: [String] {+ Recognition.cloudOnly+ ? [L("听声音"), L("接 Ling"), L("看效果"), L("同声传译")]+ : [L("听声音"), L("看效果"), L("接 Ling"), L("同声传译")]+ }+ private var keyStep: Int { Recognition.cloudOnly ? 2 : 3 }+ private var tryStep: Int { Recognition.cloudOnly ? 3 : 2 }var body: some View {VStack(alignment: .leading, spacing: 0) {@@ -366,8 +372,8 @@ struct OnboardingView: View {Group {switch step {case 1: permissions- case 2: tryIt- case 3: OnboardingKeyStep(model: model, ling: model.ling, settings: settings, skipping: $model.onboardingKeySkip)+ case tryStep: tryIt+ case keyStep: OnboardingKeyStep(model: model, ling: model.ling, settings: settings, skipping: $model.onboardingKeySkip)case 4: speakingdefault: closing}@@ -436,8 +442,8 @@ struct OnboardingView: View {.font(.system(size: 14, weight: .semibold)).foregroundStyle(Palette.secondary).padding(.horizontal, 24).frame(height: 44).background(RoundedRectangle(cornerRadius: 12).fill(Color(white: 0.87)))- case 3:- OnboardingKeyFooter(ling: model.ling, skipping: $model.onboardingKeySkip, next: { step = 4 })+ case keyStep:+ OnboardingKeyFooter(ling: model.ling, skipping: $model.onboardingKeySkip, next: { step = keyStep + 1 })case 4 where !speakSetupShown:// The two cards above are the choice; nothing to confirm here.EmptyView()@@ -555,7 +561,7 @@ struct OnboardingView: View {}}} }- Label("声音只在本机识别", systemImage: "lock")+ Label(Recognition.cloudOnly ? L("会议录音和文字记录只存在这台 Mac 上") : L("声音只在本机识别"), systemImage: "lock").font(.system(size: 12)).foregroundStyle(Palette.secondary)}}@@ -798,6 +804,8 @@ struct OnboardingNotesTeaser: View {var body: some View {if ling.hasKey {Text("字幕条可任意拖动,拖拽右下角可调整大小。").font(.system(size: 12)).foregroundStyle(Palette.secondary)+ } else if Recognition.cloudOnly {+ Text("先在上一步接上 Ling key,示例会议才能识别出实时字幕。").font(.system(size: 12)).foregroundStyle(Palette.accentInk)} else {HStack(spacing: 16) {VStack(alignment: .leading, spacing: 6) {diff --git a/Sources/Cicada/OnboardingKey.swift b/Sources/Cicada/OnboardingKey.swiftindex fdccd27..1a2d0e4 100644--- a/Sources/Cicada/OnboardingKey.swift+++ b/Sources/Cicada/OnboardingKey.swift@@ -34,7 +34,10 @@ struct OnboardingKeyStep: View {VStack(alignment: .leading, spacing: 10) {Text("接上 Ling,一个 key 用上全部功能").font(.system(size: 26, weight: .bold)).foregroundStyle(Palette.ink)HStack(spacing: 6) {- ForEach([L("实时纪要"), L("更准的翻译"), L("自然的同传声音"), L("用你自己的声音")], id: \.self) { item in+ let items = Recognition.cloudOnly+ ? [L("实时翻译字幕"), L("实时纪要"), L("自然的同传声音"), L("用你自己的声音")]+ : [L("实时纪要"), L("更准的翻译"), L("自然的同传声音"), L("用你自己的声音")]+ ForEach(items, id: \.self) { item inText("✓ " + item).font(.system(size: 12, weight: .semibold)).foregroundStyle(Palette.ok).padding(.horizontal, 8).padding(.vertical, 3).background(RoundedRectangle(cornerRadius: 6).fill(Palette.okPale))@@ -55,8 +58,10 @@ struct OnboardingKeyStep: View {Text("约够 10–50 小时会议").font(.system(size: 12)).foregroundStyle(Palette.secondary)Spacer()- Button(L("用不了 Ling?")) { switchTo(.openrouter) }.buttonStyle(.plain)- .font(.system(size: 12)).foregroundStyle(Palette.secondary).underline()+ if !Recognition.cloudOnly {+ Button(L("用不了 Ling?")) { switchTo(.openrouter) }.buttonStyle(.plain)+ .font(.system(size: 12)).foregroundStyle(Palette.secondary).underline()+ }}}}@@ -216,8 +221,12 @@ struct OnboardingKeyStep: View {Divider()Text("现在可以用了").font(.system(size: 12, weight: .semibold)).foregroundStyle(Palette.secondary)HStack(spacing: 10) {+ if Recognition.cloudOnly {+ benefit(L("实时翻译字幕"), L("识别和翻译一步完成"))+ } else {+ benefit(L("更准的翻译"), L("人名、术语前后一致"))+ }benefit(L("实时纪要"), L("会中每 45 秒更新"))- benefit(L("更准的翻译"), L("人名、术语前后一致"))if ling.speaks { benefit(L("自然人声"), L("同传约 2 秒出声")) }}Text("开会时,纪要会跟着字幕一起更新。").font(.system(size: 12)).foregroundStyle(Palette.secondary)@@ -232,15 +241,27 @@ struct OnboardingKeyStep: View {/// Honest about both sides, so skipping is a choice rather than a dead end.private var withoutKey: some View {VStack(alignment: .leading, spacing: 16) {- Text("先不接也行,基础功能照常能用").font(.system(size: 16, weight: .semibold)).foregroundStyle(Palette.ink)- HStack(alignment: .top, spacing: 10) {- column(L("现在可用"), [L("实时翻译字幕"), L("双语文字记录"), L("同声传译(系统语音)")],- head: Palette.secondary, fill: Palette.ground, check: true)- column(L("接上 Ling 才有"), [L("实时纪要和会后总结"), L("人名、术语前后一致"), L("自然人声,约 2 秒出声")],- head: Palette.accentInk, fill: Palette.accentPale, check: false)+ if Recognition.cloudOnly {+ Text("Intel 版 Mac 需要接上 Ling 才能识别语音").font(.system(size: 16, weight: .semibold)).foregroundStyle(Palette.ink)+ HStack(alignment: .top, spacing: 10) {+ column(L("现在可用"), [L("查看以往的会议记录")],+ head: Palette.secondary, fill: Palette.ground, check: true)+ column(L("接上 Ling 才有"), [L("实时翻译字幕和双语记录"), L("实时纪要和会后总结"), L("同声传译")],+ head: Palette.accentInk, fill: Palette.accentPale, check: false)+ }+ Text("可以先进入应用,开会前在设置 › AI 服务里填上 Ling key 即可。")+ .font(.system(size: 12)).foregroundStyle(Palette.secondary)+ } else {+ Text("先不接也行,基础功能照常能用").font(.system(size: 16, weight: .semibold)).foregroundStyle(Palette.ink)+ HStack(alignment: .top, spacing: 10) {+ column(L("现在可用"), [L("实时翻译字幕"), L("双语文字记录"), L("同声传译(系统语音)")],+ head: Palette.secondary, fill: Palette.ground, check: true)+ column(L("接上 Ling 才有"), [L("实时纪要和会后总结"), L("人名、术语前后一致"), L("自然人声,约 2 秒出声")],+ head: Palette.accentInk, fill: Palette.accentPale, check: false)+ }+ Text("随时可在纪要窗口或设置里接上,开完的会也能补出纪要。")+ .font(.system(size: 12)).foregroundStyle(Palette.secondary)}- Text("随时可在纪要窗口或设置里接上,开完的会也能补出纪要。")- .font(.system(size: 12)).foregroundStyle(Palette.secondary)}.padding(22).background(RoundedRectangle(cornerRadius: 16).fill(Color.white))diff --git a/Sources/Cicada/Recognition.swift b/Sources/Cicada/Recognition.swiftindex dccf4a9..0556d38 100644--- a/Sources/Cicada/Recognition.swift+++ b/Sources/Cicada/Recognition.swift@@ -2,14 +2,33 @@ import AVFoundationimport CoreMediaimport Speech-/// On-device speech recognition, whatever the macOS. On 26 and later it is `SpeechAnalyzer`; on-/// 14.4–15 it is the older `SFSpeechRecognizer` (on-device only: audio never leaves the Mac, as on-/// 26). The engines only see this file, so the version check lives in one place.+/// Speech recognition, whatever the Mac. On Apple silicon it is on the device: `SpeechAnalyzer` on 26+/// and later, the older `SFSpeechRecognizer` on 14.4–15 (on-device only: audio never leaves the Mac).+/// Intel Macs have neither, so the AI service hears everything there (`cloudOnly`). The engines only+/// see this file, so the check lives in one place.enum Recognition {/// Dev builds can run the older recognizer on macOS 26, which is where most of its testing/// happens: `lsctl recognizer:legacy`, or `open --env CICADA_RECOGNIZER=legacy` from launch./// Not kept in settings: two dev copies share them.nonisolated(unsafe) static var forceLegacy = DevBuild.isDev && ProcessInfo.processInfo.environment["CICADA_RECOGNIZER"] == "legacy"+ /// Dev builds run as an Intel Mac would on Apple silicon: `lsctl recognizer:cloud`, or+ /// `open --env CICADA_RECOGNIZER=cloud`.+ nonisolated(unsafe) static var forceCloud = DevBuild.isDev && ProcessInfo.processInfo.environment["CICADA_RECOGNIZER"] == "cloud"++ /// No speech model on this Mac: everything is heard by the AI service's audio model (`CloudStream`),+ /// so nothing works without its key. Intel Macs: `SpeechTranscriber` isn't there, and the older+ /// recognizer's on-device mode is Apple silicon only.+ static var cloudOnly: Bool {+ #if arch(x86_64)+ return true+ #else+ return forceCloud+ #endif+ }++ /// `cloudOnly`: what the service heard in one stretch of `locale` (nil: any language), set by the+ /// app. The live meeting goes through `ListenEngine.startCloud`; this serves imports and clips.+ nonisolated(unsafe) static var cloudHear: (@MainActor @Sendable (_ wav: Data, _ seconds: Double, _ locale: String?) async -> CloudHeard?)?/// Set by the iOS simulator's dev build only: its speech models are empty placeholders, so it/// hands the audio to the Mac it runs on (ios/tools/host-recognizer), which recognizes it on@@ -17,12 +36,12 @@ enum Recognition {nonisolated(unsafe) static var host: ((_ locale: String, _ drafts: Bool) throws -> RecognitionStream)?static var legacy: Bool {- if host != nil { return false }+ if host != nil || cloudOnly { return false }if #available(macOS 26, *) { return forceLegacy }return true}- static var name: String { host != nil ? "mac-host" : legacy ? "legacy" : dictationModel ? "dictation" : "analyzer" }+ static var name: String { cloudOnly ? "cloud" : host != nil ? "mac-host" : legacy ? "legacy" : dictationModel ? "dictation" : "analyzer" }/// iOS only: a device without `SpeechTranscriber` (older iPhones, the simulator) still has the/// on-device dictation model, `DictationTranscriber`, which runs in the same `SpeechAnalyzer`.@@ -57,7 +76,7 @@ enum Recognition {enum ModelStatus { case installed, downloadable, unsupported }static var isAvailable: Bool {- if host != nil { return true }+ if host != nil || cloudOnly { return true }if !legacy, #available(macOS 26, *) { return SpeechTranscriber.isAvailable || dictationModel }return true}@@ -109,6 +128,7 @@ enum Recognition {/// BCP-47 ids of the languages that can be recognized right now without a download.static func installedLocales() async -> Set<String> {+ if cloudOnly { return Set(sourceLanguages.map(\.locale)) }if !legacy, #available(macOS 26, *) {let installed = dictationModel ? await DictationTranscriber.installedLocales : await SpeechTranscriber.installedLocalesreturn Set(installed.map { $0.identifier(.bcp47) })@@ -117,7 +137,7 @@ enum Recognition {}static func status(_ locale: String) async -> ModelStatus {- if host != nil { return .installed }+ if host != nil || cloudOnly { return .installed }if !legacy, #available(macOS 26, *) {switch await AssetInventory.status(forModules: [Analyzer.module(locale)]) {case .installed: return .installed@@ -133,7 +153,7 @@ enum Recognition {/// Fetches the model for `locale` when it isn't on the Mac; `progress` is called once a/// download starts. Throws when this Mac can't recognize the language.static func install(_ locale: String, progress: (Progress) -> Void = { _ in }) async throws {- if host != nil { return }+ if host != nil || cloudOnly { return }if !legacy, #available(macOS 26, *) {let t = Analyzer.module(locale)if await AssetInventory.status(forModules: [t]) == .unsupported { throw unsupported(locale) }@@ -150,13 +170,13 @@ enum Recognition {/// The models this app holds (macOS keeps five per app), as BCP-47 ids; none on 14/15,/// where Dictation owns them.static func reservedLocales() async -> [String] {- guard !legacy, #available(macOS 26, *) else { return [] }+ guard !legacy, !cloudOnly, #available(macOS 26, *) else { return [] }return await AssetInventory.reservedLocales.map { $0.identifier(.bcp47) }}/// Gives a held model back to the system, making room under the five-model limit.static func release(_ locale: String) async -> Bool {- guard !legacy, #available(macOS 26, *) else { return false }+ guard !legacy, !cloudOnly, #available(macOS 26, *) else { return false }return await AssetInventory.release(reservedLocale: Locale(identifier: locale.replacingOccurrences(of: "-", with: "_")))}@@ -179,6 +199,7 @@ enum Recognition {static func start(_ locale: String, drafts: Bool, confidence: Bool = false, speaking: Bool = false,background: Bool = false) async throws -> RecognitionStream {if let host { return try host(locale, drafts) }+ if cloudOnly { return cloudStream(speaking ? nil : locale) }if !legacy, #available(macOS 26, *) {return try await Analyzer.start(locale, drafts: drafts, confidence: confidence)}@@ -189,6 +210,7 @@ enum Recognition {/// The audio format `start(locale, drafts:)` will want, known before starting one.static func format(_ locale: String, drafts: Bool) async -> AVAudioFormat {+ if cloudOnly { return cloudStream(nil).format }if !legacy, #available(macOS 26, *) {return await SpeechAnalyzer.bestAvailableAudioFormat(compatibleWith: [Analyzer.module(locale, drafts: drafts)])?? AVAudioFormat(commonFormat: .pcmFormatInt16, sampleRate: 16_000, channels: 1, interleaved: false)!@@ -200,13 +222,21 @@ enum Recognition {/// recognizing as soon as the recognizer is ready: the talk key opens the mic without waiting./// It is what the user says (`speaking` above).static func startNow(_ locale: String, drafts: Bool, format: AVAudioFormat) -> RecognitionStream {- DeferredStream(locale, drafts: drafts, format: format)+ // The talk key: Ming hears the press as a whole (`TranslationService.interpret`), so this one+ // hears nothing and costs nothing.+ if cloudOnly { return CloudStream(format: format) { _, _ in nil } }+ return DeferredStream(locale, drafts: drafts, format: format)+ }++ static func cloudStream(_ locale: String?) -> CloudStream {+ CloudStream { wav, seconds in await cloudHear?(wav, seconds, locale) }}/// Transcribes recorded audio (a clip, one press of the talk key): the finished lines joined,/// their confidence and how many letters they hold. Nil when the language can't be recognized.static func transcribe(_ buffers: [AVAudioPCMBuffer], locale: String) async -> (text: String, confidence: Double, letters: Int)? {- guard await status(locale) == .installed else { return nil }+ // Language detection compares models; the service names the language itself.+ guard !cloudOnly, await status(locale) == .installed else { return nil }// The older recognizer can't run two tasks at once (both come back "no speech"): a clip// waits for a pause in the live line, which meanwhile holds its audio back.let gated = legacydiff --git a/Sources/Cicada/SettingsWindow.swift b/Sources/Cicada/SettingsWindow.swiftindex 6652378..a2ce214 100644--- a/Sources/Cicada/SettingsWindow.swift+++ b/Sources/Cicada/SettingsWindow.swift@@ -737,7 +737,9 @@ struct SettingsView: View {}.labelsHidden().fixedSize()}- SettingsRow(title: L("转完后生成纪要"), detail: L("需要 Ling key;没有也能转出文字记录"), divider: false) {+ SettingsRow(title: L("转完后生成纪要"),+ detail: Recognition.cloudOnly ? L("导入转写和生成纪要都需要 Ling key") : L("需要 Ling key;没有也能转出文字记录"),+ divider: false) {Toggle("转完后生成纪要", isOn: $settings.importNotes).toggleStyle(.switch).labelsHidden().controlSize(.small).tint(Palette.ink)}diff --git a/Sources/Cicada/SpeakTest.swift b/Sources/Cicada/SpeakTest.swiftindex 126e70f..72ec8bf 100644--- a/Sources/Cicada/SpeakTest.swift+++ b/Sources/Cicada/SpeakTest.swift@@ -420,7 +420,9 @@ final class SpeakTester: ObservableObject {r.problem = L("麦克风几乎没收到声音:检查系统设置里的输入设备")} else if p.text.isEmpty {r.broken = .recognize- r.problem = L("没听出说了什么:靠近麦克风再说一次")+ // An Intel Mac hears only through Ming: without a Ling key nothing could have been heard.+ r.problem = Recognition.cloudOnly && !ling.hearsAudio ? L("请先在设置 › AI 服务里填入 Ling key")+ : L("没听出说了什么:靠近麦克风再说一次")} else if p.translation == nil {r.broken = .translater.problem = L("翻译没有成功:检查网络,或稍后再试")diff --git a/Sources/Cicada/SpeakTestView.swift b/Sources/Cicada/SpeakTestView.swiftindex 8159d92..a8ce9cb 100644--- a/Sources/Cicada/SpeakTestView.swift+++ b/Sources/Cicada/SpeakTestView.swift@@ -132,7 +132,7 @@ struct SpeakTestView: View {detail: r.map { $0.sample ? L("示例句子") : $0.micPeakDB.map { L("麦克风峰值 \(Int($0)) dB") } ?? "" } ?? "",time: nil, state: state(.mic), playable: r?.micURL),StageRow(id: .recognize, name: ming ? L("识别 + 翻译") : L("识别"),- detail: r.map { $0.source } ?? L("本机转写定稿"), time: r?.recognize, state: state(.recognize)),+ detail: r.map { $0.source } ?? (Recognition.cloudOnly ? L("云端转写定稿") : L("本机转写定稿")), time: r?.recognize, state: state(.recognize)),StageRow(id: .translate, name: L("翻译"),detail: r.map { $0.translation ?? L("没有译文") } ?? "", time: ming ? nil : r?.translate, state: state(.translate)),StageRow(id: .voice, name: L("合成声音"), detail: r.map { voiceName($0) } ?? "", time: r?.synth, state: state(.voice)),@@ -260,7 +260,7 @@ struct SpeakTestView: View {tile(L("有声"), r.clipped > 200 ? L("有削波") : L("音量正常"), ok: r.clipped <= 200,detail: "\(Int(r.heardPeakDB.rounded())) dB")tile(L("听得清"), r.intelligibility.map { L("\(Int(($0 * 100).rounded()))% 词对上") } ?? L("未检查"),- ok: (r.intelligibility ?? 1) >= 0.6, detail: L("本机重新听写"))+ ok: (r.intelligibility ?? 1) >= 0.6, detail: Recognition.cloudOnly ? L("重新听写") : L("本机重新听写"))switch r.meaning {case .score(let s, _): tile(L("意思对"), s >= 60 ? L("一致 \(s)") : L("走样 \(s)"), ok: s >= 60, detail: L("Ling 比对原话"))case .back: tile(L("意思对"), L("请看上面"), ok: true, detail: L("已译回你的语言"))diff --git a/Sources/Cicada/Translator.swift b/Sources/Cicada/Translator.swiftindex 2f46d10..75e083e 100644--- a/Sources/Cicada/Translator.swift+++ b/Sources/Cicada/Translator.swift@@ -192,10 +192,11 @@ final class TranslationService {/// 先用○○听: one stretch of the meeting heard by the service's audio model (Ming), its language,/// what was said and its translation in one call. nil for no speech or noise; throws when the/// call failed, so listening can tell a service that is down from a quiet meeting.- func hear(wav: Data, seconds: Double, target: String, hint: String?) async throws -> CloudHeard? {+ func hear(wav: Data, seconds: Double, target: String, hint: String?,+ priority: LingClient.Priority = .translate) async throws -> CloudHeard? {guard ling.hearsAudio else { throw LingClient.Failure.noKey }let reply = try await ling.chat(content: CloudHearing.prompt(target: target, hint: hint, names: glossary()),- instruction: CloudHearing.instruction(target: target), priority: .translate,+ instruction: CloudHearing.instruction(target: target), priority: priority,maxTokens: CloudHearing.tokens(seconds: seconds), timeout: 12,model: "Ming-3.0-audio-flash", audio: wav, role: "heard-them")return CloudHearing.parse(reply, target: target, hint: hint, seconds: seconds)diff --git a/Sources/Cicada/Views.swift b/Sources/Cicada/Views.swiftindex 9d9d8e3..5efbd60 100644--- a/Sources/Cicada/Views.swift+++ b/Sources/Cicada/Views.swift@@ -406,7 +406,7 @@ extension MenuPanelView {.fixedSize(horizontal: false, vertical: true)default:// Shown only without a Ling key: the notes window itself opens and closes from the tile.- Text("填入 API key 后可生成纪要;文字记录照常保存")+ Text(Recognition.cloudOnly ? L("填入 Ling key 后才能识别语音、出字幕和纪要") : L("填入 API key 后可生成纪要;文字记录照常保存")).font(.system(size: 12)).foregroundStyle(Palette.secondary).fixedSize(horizontal: false, vertical: true)}@@ -1358,7 +1358,7 @@ struct LanguageNotice: View {var body: some View {if let service = model.cloud.back {cloudBackCard(service)- } else if model.cloud.listening, let service = model.cloud.service {+ } else if model.cloud.listening, !Recognition.cloudOnly, let service = model.cloud.service {cloudCard(service)} else if let problem = model.modelProblem, !model.languageAsk.isEmpty || model.modelBlocked {problemCard(problem)diff --git a/tools/README.md b/tools/README.mdindex 7c0a37d..af57140 100644--- a/tools/README.md+++ b/tools/README.md@@ -16,7 +16,7 @@- 系统麦克风:`sysMic` 把状态、默认输入、要换回的麦克风和知了实际在录的麦克风写进日志,`sysMicSet:<设备名片段>` 假装别人改了系统麦克风,`sysMicRestore` 还原,`sysMicSwitch` 换成虚拟麦克风,`sysMicAuto:<on|off>`,`speakMic:<设备名片段>` 固定知了用的麦克风(留空 = 自动)。会改本机的系统麦克风:测完 `sysMicRestore` 或退出 App- 说话同传:`speakOn` / `speakOff` 开关,`speakAsk[:off]` 面板里第一次打开时的确认卡,`speakConfirmed:<on|off>` 是否已确认过,`speakFile:<音频>` 把文件按实时速度当作麦克风输入,`speakOut:<路径>` 把译文语音另存一份,`speakOutput:<设备名片段>` 改输出设备(留空 = 虚拟麦克风),`speakVP:<on|off>` 按键说话时用带回声消除的麦克风(默认关;日志 `voice mic: ready`、`speak: mic with echo cancellation`)- 试一句:`speakTest:sample`(Mac 读一句示例)或 `speakTest:voice`(再发 `speakTestBegin` / `speakTestEnd` 当作按住、松开),结果以 `speak test:` 写进日志;`speakTestState`、`speakTestRender:<png>`、`speakTestClose`- - 识别引擎:`recognizer:legacy` 在 macOS 26 上改用 14 / 15 的识别(`SFSpeechRecognizer`,第一次会要“语音识别”权限),`recognizer:auto` 换回;下一次开始听起生效(或启动时 `open --env CICADA_RECOGNIZER=legacy`),日志里 `transcriber started recognizer=…`+ - 识别引擎:`recognizer:legacy` 在 macOS 26 上改用 14 / 15 的识别(`SFSpeechRecognizer`,第一次会要“语音识别”权限),`recognizer:cloud` 像 Intel Mac 那样全部交给 Ling 听(没有 key 就听不了),`recognizer:auto` 换回;下一次开始听起生效(或启动时 `open --env CICADA_RECOGNIZER=legacy`),日志里 `transcriber started recognizer=…`- 多开:两边都设 `CICADA_DEBUG_CHANNEL=x`(`open -n --env CICADA_DEBUG_CHANNEL=x build/Cicada.app`),命令只发给这一份,日志在 `/tmp/livesubs-dev-debug-x.log`- 导出:`export:<目录>`- 导入录音或视频:`import:<路径>[,<路径>…]`(等于拖进会议记录窗口),`importState` 把进度写进日志,`importCancel` 停止转写,`importRetry:<会议 id>[=<locale>]` 重新转写(带 locale 等于在“这场会议只留下了录音”里选了这种语言),`importNotify` 把通知权限写进日志