Skip to content

Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.

Fix meeting detection false positives and add settings toggle

Gabriel Stein7aa5b7f36026
diff --git a/src/components/SettingsPage.tsx b/src/components/SettingsPage.tsx
index 1a9d25bc2..1a04c5da9 100644
--- a/src/components/SettingsPage.tsx
+++ b/src/components/SettingsPage.tsx
@@ -77,6 +77,7 @@ import { useUsage } from "../hooks/useUsage";
import { cn } from "./lib/utils";
import { startMigration, useMigration } from "../stores/noteStore.js";
import { formatBytes } from "../utils/formatBytes";
+import { useSettingsStore } from "../stores/settingsStore";
const formatAmount = (cents: number, currency: string) =>
(cents / 100).toLocaleString(undefined, { style: "currency", currency });
@@ -711,6 +712,9 @@ export default function SettingsPage({ activeSection = "general" }: SettingsPage
setCustomDictionary,
} = useSettings();
+ const meetingAudioDetection = useSettingsStore((s) => s.meetingAudioDetection);
+ const setMeetingAudioDetection = useSettingsStore((s) => s.setMeetingAudioDetection);
+
const { t, i18n } = useTranslation();
const { toast } = useToast();
@@ -1990,6 +1994,32 @@ export default function SettingsPage({ activeSection = "general" }: SettingsPage
</SettingsPanel>
</div>
+ {/* Meeting Detection */}
+ <div>
+ <SectionHeader
+ title={t("calendar.detection.title")}
+ description={t("calendar.detection.description")}
+ />
+ <SettingsPanel>
+ <SettingsPanelRow>
+ <SettingsRow
+ label={t("calendar.detection.audioDetection")}
+ description={t("calendar.detection.audioDescription")}
+ >
+ <Toggle
+ checked={meetingAudioDetection}
+ onChange={(value) => {
+ setMeetingAudioDetection(value);
+ window.electronAPI?.meetingDetectionSetPreferences?.({
+ audioDetection: value,
+ });
+ }}
+ />
+ </SettingsRow>
+ </SettingsPanelRow>
+ </SettingsPanel>
+ </div>
+
{/* Clipboard */}
<div>
<SectionHeader title={t("settingsPage.general.clipboard.title")} />
diff --git a/src/helpers/meetingDetectionEngine.js b/src/helpers/meetingDetectionEngine.js
index 36d65a88f..6de005764 100644
--- a/src/helpers/meetingDetectionEngine.js
+++ b/src/helpers/meetingDetectionEngine.js
@@ -25,8 +25,14 @@ class MeetingDetectionEngine {
}
_bindListeners() {
+ // Process detection is context-only — track running apps but don't trigger notifications.
+ // This avoids false positives from apps like FaceTime running in the background.
this.meetingProcessDetector.on("meeting-process-detected", (data) => {
- this._handleDetection("process", data.processKey, data);
+ debugLogger.info(
+ "Meeting app running (context only)",
+ { processKey: data.processKey, appName: data.appName },
+ "meeting"
+ );
});
this.meetingProcessDetector.on("meeting-process-ended", (data) => {
@@ -41,11 +47,7 @@ class MeetingDetectionEngine {
_handleDetection(source, key, data) {
const detectionId = `${source}:${key}`;
- if (source === "process" && !this.preferences.processDetection) {
- debugLogger.debug("Process detection disabled, ignoring", { detectionId }, "meeting");
- return;
- }
- if (source === "audio" && !this.preferences.audioDetection) {
+ if (!this.preferences.audioDetection) {
debugLogger.debug("Audio detection disabled, ignoring", { detectionId }, "meeting");
return;
}
@@ -98,9 +100,6 @@ class MeetingDetectionEngine {
if (imminentEvent) {
title = imminentEvent.summary || "Upcoming Meeting";
body = "Your meeting is starting. Want to take notes?";
- } else if (source === "process") {
- title = `${data.appName} Meeting Detected`;
- body = "It looks like you're in a meeting. Want to take notes?";
} else {
title = "Meeting Detected";
body = "It sounds like you're in a meeting. Want to take notes?";
@@ -115,7 +114,7 @@ class MeetingDetectionEngine {
event = {
id: `detected-${Date.now()}`,
calendar_id: "__detected__",
- summary: data.appName ? `${data.appName} Meeting` : "New note",
+ summary: "New note",
start_time: new Date().toISOString(),
end_time: new Date(Date.now() + 3600000).toISOString(),
is_all_day: 0,
@@ -154,7 +153,7 @@ class MeetingDetectionEngine {
if (action === "dismiss") {
const detection = this.activeDetections.get(detectionId);
if (detection) {
- this._dismiss(detection.source, detection.key);
+ this._dismiss();
detection.dismissed = true;
}
}
@@ -181,16 +180,12 @@ class MeetingDetectionEngine {
});
}
- if (detection.source === "audio") {
- this.audioActivityDetector.resetPrompt();
- } else if (detection.source === "process") {
- this.meetingProcessDetector.dismiss(detection.key);
- }
+ this.audioActivityDetector.resetPrompt();
this.activeDetections.delete(detectionId);
} else if (action === "dismiss") {
if (detection) {
- this._dismiss(detection.source, detection.key);
+ this._dismiss();
detection.dismissed = true;
}
}
@@ -202,7 +197,7 @@ class MeetingDetectionEngine {
handleNotificationTimeout() {
for (const [detectionId, detection] of this.activeDetections) {
if (!detection.dismissed) {
- this._dismiss(detection.source, detection.key);
+ this._dismiss();
detection.dismissed = true;
}
}
@@ -219,12 +214,7 @@ class MeetingDetectionEngine {
"meeting"
);
- const prioritized = this._notificationQueue.sort((a, b) => {
- const priority = { process: 1, audio: 2 };
- return (priority[a.source] || 0) - (priority[b.source] || 0);
- });
-
- const best = prioritized[0];
+ const best = this._notificationQueue[0];
const detectionId = `${best.source}:${best.key}`;
const detection = this.activeDetections.get(detectionId);
@@ -235,26 +225,18 @@ class MeetingDetectionEngine {
const now = Date.now();
imminentEvent = calendarState.upcomingEvents.find((evt) => {
const start = new Date(evt.start_time).getTime();
- return start - now <= 5 * 60 * 1000 && start > now;
+ return start - now <= IMMINENT_THRESHOLD_MS && start > now;
});
}
- if (imminentEvent) {
- this._showPrompt(detectionId, best.source, best.key, best.data, imminentEvent);
- } else {
- this._showPrompt(detectionId, best.source, best.key, best.data, null);
- }
+ this._showPrompt(detectionId, best.source, best.key, best.data, imminentEvent);
}
this._notificationQueue = [];
}
- _dismiss(source, key) {
- if (source === "process") {
- this.meetingProcessDetector.dismiss(key);
- } else if (source === "audio") {
- this.audioActivityDetector.dismiss();
- }
+ _dismiss() {
+ this.audioActivityDetector.dismiss();
}
setUserRecording(active) {
diff --git a/src/locales/de/translation.json b/src/locales/de/translation.json
index 0d98741c6..6ec97f1f0 100644
--- a/src/locales/de/translation.json
+++ b/src/locales/de/translation.json
@@ -1729,7 +1729,7 @@
}
},
"mic": {
- "hotkeyToSpeak": "{{hotkey}} drücken zum Sprechen",
+ "hotkeyToSpeak": "{{hotkey}} zum Sprechen",
"recording": "Aufnahme...",
"processing": "Verarbeitung...",
"clickToSpeak": "Klicken zum Sprechen"
@@ -1830,6 +1830,37 @@
"description": "OpenWhispr erfasst Audio direkt von deinem System — es nimmt niemals als Teilnehmer an deinen Meetings teil. Verbinde einfach deinen Kalender und mach Notizen wie gewohnt."
}
},
+ "calendar": {
+ "title": "Google Kalender",
+ "status": "Status",
+ "connected": "Verbunden",
+ "disconnected": "Getrennt",
+ "notConnectedDescription": "Verbinden, um Meetings zu erkennen und aufzuzeichnen",
+ "connectCta": {
+ "title": "Kalender-Integration",
+ "description": "Meetings automatisch erkennen und Transkriptionen aufzeichnen"
+ },
+ "connect": "Google Kalender verbinden",
+ "connecting": "Verbinde...",
+ "disconnect": "Trennen",
+ "disconnecting": "Trennen...",
+ "sync": "Synchronisieren",
+ "syncing": "Synchronisiere...",
+ "calendarsTitle": "Kalender",
+ "upcomingTitle": "Anstehend",
+ "noUpcoming": "Keine anstehenden Ereignisse",
+ "meetingStarting": "Meeting beginnt jetzt",
+ "today": "Heute",
+ "tomorrow": "Morgen",
+ "detection": {
+ "title": "Meeting-Erkennung",
+ "description": "Automatisch erkennen, wenn du in einem Meeting bist",
+ "processDetection": "App-Erkennung",
+ "processDescription": "Erkennen, welche App du verwendest, wenn ein Meeting erkannt wird",
+ "audioDetection": "Audio-Erkennung",
+ "audioDescription": "Benachrichtigung bei anhaltender Mikrofonaktivität"
+ }
+ },
"upcoming": {
"title": "Anstehende Meetings",
"transcriptions": "Transkriptionen",
diff --git a/src/locales/en/translation.json b/src/locales/en/translation.json
index 77603deb9..5018c264f 100644
--- a/src/locales/en/translation.json
+++ b/src/locales/en/translation.json
@@ -550,11 +550,11 @@
"tomorrow": "Tomorrow",
"detection": {
"title": "Meeting Detection",
- "description": "Automatically detect unscheduled meetings",
+ "description": "Automatically detect when you're in a meeting",
"processDetection": "App Detection",
- "processDescription": "Detect meetings in Zoom, Teams, and FaceTime",
+ "processDescription": "Identify which app you're using when a meeting is detected",
"audioDetection": "Audio Detection",
- "audioDescription": "Prompt when sustained conversation is detected"
+ "audioDescription": "Prompt when sustained microphone activity is detected"
}
},
"upcoming": {
@@ -1799,7 +1799,7 @@
}
},
"mic": {
- "hotkeyToSpeak": "Press {{hotkey}} to speak",
+ "hotkeyToSpeak": "{{hotkey}} to talk",
"recording": "Recording...",
"processing": "Processing...",
"clickToSpeak": "Click to speak"
diff --git a/src/locales/es/translation.json b/src/locales/es/translation.json
index 5a4e09d32..069b8118f 100644
--- a/src/locales/es/translation.json
+++ b/src/locales/es/translation.json
@@ -1729,7 +1729,7 @@
}
},
"mic": {
- "hotkeyToSpeak": "Pulsa {{hotkey}} para hablar",
+ "hotkeyToSpeak": "{{hotkey}} para hablar",
"recording": "Grabando...",
"processing": "Procesando...",
"clickToSpeak": "Haz clic para hablar"
@@ -1830,6 +1830,37 @@
"description": "OpenWhispr captura el audio directamente de tu sistema — nunca se une a tus reuniones como participante. Solo conecta tu calendario y toma notas con normalidad."
}
},
+ "calendar": {
+ "title": "Google Calendar",
+ "status": "Estado",
+ "connected": "Conectado",
+ "disconnected": "Desconectado",
+ "notConnectedDescription": "Conectar para detectar y grabar reuniones",
+ "connectCta": {
+ "title": "Integración de Calendario",
+ "description": "Detectar reuniones automáticamente y grabar transcripciones"
+ },
+ "connect": "Conectar Google Calendar",
+ "connecting": "Conectando...",
+ "disconnect": "Desconectar",
+ "disconnecting": "Desconectando...",
+ "sync": "Sincronizar",
+ "syncing": "Sincronizando...",
+ "calendarsTitle": "Calendarios",
+ "upcomingTitle": "Próximos",
+ "noUpcoming": "No hay eventos próximos",
+ "meetingStarting": "La reunión comienza ahora",
+ "today": "Hoy",
+ "tomorrow": "Mañana",
+ "detection": {
+ "title": "Detección de Reuniones",
+ "description": "Detectar automáticamente cuando estás en una reunión",
+ "processDetection": "Detección de Aplicaciones",
+ "processDescription": "Identificar qué aplicación estás usando cuando se detecta una reunión",
+ "audioDetection": "Detección de Audio",
+ "audioDescription": "Notificar cuando se detecta actividad sostenida del micrófono"
+ }
+ },
"upcoming": {
"title": "Próximas reuniones",
"transcriptions": "Transcripciones",
diff --git a/src/locales/fr/translation.json b/src/locales/fr/translation.json
index 9774f163c..b6d4cd799 100644
--- a/src/locales/fr/translation.json
+++ b/src/locales/fr/translation.json
@@ -1729,7 +1729,7 @@
}
},
"mic": {
- "hotkeyToSpeak": "Appuyez sur {{hotkey}} pour parler",
+ "hotkeyToSpeak": "{{hotkey}} pour parler",
"recording": "Enregistrement...",
"processing": "Traitement...",
"clickToSpeak": "Cliquez pour parler"
@@ -1830,6 +1830,37 @@
"description": "OpenWhispr capture l'audio directement depuis votre système — il ne rejoint jamais vos réunions en tant que participant. Connectez simplement votre calendrier et prenez vos notes normalement."
}
},
+ "calendar": {
+ "title": "Google Agenda",
+ "status": "Statut",
+ "connected": "Connecté",
+ "disconnected": "Déconnecté",
+ "notConnectedDescription": "Connecter pour détecter et enregistrer les réunions",
+ "connectCta": {
+ "title": "Intégration du Calendrier",
+ "description": "Détecter automatiquement les réunions et enregistrer les transcriptions"
+ },
+ "connect": "Connecter Google Agenda",
+ "connecting": "Connexion...",
+ "disconnect": "Déconnecter",
+ "disconnecting": "Déconnexion...",
+ "sync": "Synchroniser",
+ "syncing": "Synchronisation...",
+ "calendarsTitle": "Calendriers",
+ "upcomingTitle": "À venir",
+ "noUpcoming": "Aucun événement à venir",
+ "meetingStarting": "La réunion commence maintenant",
+ "today": "Aujourd'hui",
+ "tomorrow": "Demain",
+ "detection": {
+ "title": "Détection de Réunions",
+ "description": "Détecter automatiquement quand vous êtes en réunion",
+ "processDetection": "Détection d'Applications",
+ "processDescription": "Identifier quelle application vous utilisez lorsqu'une réunion est détectée",
+ "audioDetection": "Détection Audio",
+ "audioDescription": "Notifier lorsqu'une activité prolongée du microphone est détectée"
+ }
+ },
"upcoming": {
"title": "Réunions à venir",
"transcriptions": "Transcriptions",
diff --git a/src/locales/it/translation.json b/src/locales/it/translation.json
index 05dd6a4a7..608ae2733 100644
--- a/src/locales/it/translation.json
+++ b/src/locales/it/translation.json
@@ -1729,7 +1729,7 @@
}
},
"mic": {
- "hotkeyToSpeak": "Premi {{hotkey}} per parlare",
+ "hotkeyToSpeak": "{{hotkey}} per parlare",
"recording": "Registrazione...",
"processing": "Elaborazione...",
"clickToSpeak": "Clicca per parlare"
@@ -1830,6 +1830,37 @@
"description": "OpenWhispr cattura l'audio direttamente dal tuo sistema — non entra mai nelle tue riunioni come partecipante. Basta collegare il calendario e prendere appunti normalmente."
}
},
+ "calendar": {
+ "title": "Google Calendar",
+ "status": "Stato",
+ "connected": "Connesso",
+ "disconnected": "Disconnesso",
+ "notConnectedDescription": "Connetti per rilevare e registrare le riunioni",
+ "connectCta": {
+ "title": "Integrazione Calendario",
+ "description": "Rileva automaticamente le riunioni e registra le trascrizioni"
+ },
+ "connect": "Connetti Google Calendar",
+ "connecting": "Connessione...",
+ "disconnect": "Disconnetti",
+ "disconnecting": "Disconnessione...",
+ "sync": "Sincronizza",
+ "syncing": "Sincronizzazione...",
+ "calendarsTitle": "Calendari",
+ "upcomingTitle": "In programma",
+ "noUpcoming": "Nessun evento in programma",
+ "meetingStarting": "La riunione inizia ora",
+ "today": "Oggi",
+ "tomorrow": "Domani",
+ "detection": {
+ "title": "Rilevamento Riunioni",
+ "description": "Rileva automaticamente quando sei in una riunione",
+ "processDetection": "Rilevamento Applicazioni",
+ "processDescription": "Identifica quale app stai usando quando viene rilevata una riunione",
+ "audioDetection": "Rilevamento Audio",
+ "audioDescription": "Notifica quando viene rilevata un'attività microfono prolungata"
+ }
+ },
"upcoming": {
"title": "Riunioni in programma",
"transcriptions": "Trascrizioni",
diff --git a/src/locales/ja/translation.json b/src/locales/ja/translation.json
index f09b3de91..8bcc3a075 100644
--- a/src/locales/ja/translation.json
+++ b/src/locales/ja/translation.json
@@ -1729,7 +1729,7 @@
}
},
"mic": {
- "hotkeyToSpeak": "{{hotkey}} を押して話す",
+ "hotkeyToSpeak": "{{hotkey}} で話す",
"recording": "録音中...",
"processing": "処理中...",
"clickToSpeak": "クリックして話す"
@@ -1830,6 +1830,37 @@
"description": "OpenWhispr はシステムから直接オーディオをキャプチャします — 参加者としてミーティングに参加することはありません。カレンダーを接続して、通常通りノートを取るだけです。"
}
},
+ "calendar": {
+ "title": "Google カレンダー",
+ "status": "ステータス",
+ "connected": "接続済み",
+ "disconnected": "未接続",
+ "notConnectedDescription": "接続してミーティングを検出・録音する",
+ "connectCta": {
+ "title": "カレンダー連携",
+ "description": "ミーティングを自動検出し、文字起こしを記録する"
+ },
+ "connect": "Google カレンダーを接続",
+ "connecting": "接続中...",
+ "disconnect": "切断",
+ "disconnecting": "切断中...",
+ "sync": "同期",
+ "syncing": "同期中...",
+ "calendarsTitle": "カレンダー",
+ "upcomingTitle": "今後の予定",
+ "noUpcoming": "今後の予定はありません",
+ "meetingStarting": "ミーティングが開始されます",
+ "today": "今日",
+ "tomorrow": "明日",
+ "detection": {
+ "title": "ミーティング検出",
+ "description": "ミーティング中であることを自動的に検出する",
+ "processDetection": "アプリ検出",
+ "processDescription": "ミーティングが検出されたときに使用中のアプリを特定する",
+ "audioDetection": "オーディオ検出",
+ "audioDescription": "持続的なマイク使用が検出されたときに通知する"
+ }
+ },
"upcoming": {
"title": "今後の会議",
"transcriptions": "文字起こし",
diff --git a/src/locales/pt/translation.json b/src/locales/pt/translation.json
index 1e10bdd5b..3726b8990 100644
--- a/src/locales/pt/translation.json
+++ b/src/locales/pt/translation.json
@@ -1729,7 +1729,7 @@
}
},
"mic": {
- "hotkeyToSpeak": "Pressione {{hotkey}} para falar",
+ "hotkeyToSpeak": "{{hotkey}} para falar",
"recording": "Gravando...",
"processing": "Processando...",
"clickToSpeak": "Clique para falar"
@@ -1830,6 +1830,37 @@
"description": "O OpenWhispr captura áudio diretamente do seu sistema — ele nunca entra nas suas reuniões como participante. Basta conectar seu calendário e fazer anotações normalmente."
}
},
+ "calendar": {
+ "title": "Google Agenda",
+ "status": "Status",
+ "connected": "Conectado",
+ "disconnected": "Desconectado",
+ "notConnectedDescription": "Conectar para detectar e gravar reuniões",
+ "connectCta": {
+ "title": "Integração de Calendário",
+ "description": "Detectar reuniões automaticamente e gravar transcrições"
+ },
+ "connect": "Conectar Google Agenda",
+ "connecting": "Conectando...",
+ "disconnect": "Desconectar",
+ "disconnecting": "Desconectando...",
+ "sync": "Sincronizar",
+ "syncing": "Sincronizando...",
+ "calendarsTitle": "Calendários",
+ "upcomingTitle": "Próximos",
+ "noUpcoming": "Nenhum evento próximo",
+ "meetingStarting": "A reunião começa agora",
+ "today": "Hoje",
+ "tomorrow": "Amanhã",
+ "detection": {
+ "title": "Detecção de Reuniões",
+ "description": "Detectar automaticamente quando você está em uma reunião",
+ "processDetection": "Detecção de Aplicativos",
+ "processDescription": "Identificar qual aplicativo você está usando quando uma reunião é detectada",
+ "audioDetection": "Detecção de Áudio",
+ "audioDescription": "Notificar quando atividade prolongada do microfone for detectada"
+ }
+ },
"upcoming": {
"title": "Próximas reuniões",
"transcriptions": "Transcrições",
diff --git a/src/locales/ru/translation.json b/src/locales/ru/translation.json
index 8a0f78264..f473b7e1d 100644
--- a/src/locales/ru/translation.json
+++ b/src/locales/ru/translation.json
@@ -1729,7 +1729,7 @@
}
},
"mic": {
- "hotkeyToSpeak": "Нажмите {{hotkey}} для записи",
+ "hotkeyToSpeak": "{{hotkey}} для записи",
"recording": "Запись...",
"processing": "Обработка...",
"clickToSpeak": "Нажмите для записи"
@@ -1830,6 +1830,37 @@
"description": "OpenWhispr захватывает аудио напрямую из вашей системы — он никогда не присоединяется к встречам как участник. Просто подключите календарь и делайте заметки как обычно."
}
},
+ "calendar": {
+ "title": "Google Календарь",
+ "status": "Статус",
+ "connected": "Подключено",
+ "disconnected": "Отключено",
+ "notConnectedDescription": "Подключите для обнаружения и записи встреч",
+ "connectCta": {
+ "title": "Интеграция с Календарём",
+ "description": "Автоматическое обнаружение встреч и запись транскрипций"
+ },
+ "connect": "Подключить Google Календарь",
+ "connecting": "Подключение...",
+ "disconnect": "Отключить",
+ "disconnecting": "Отключение...",
+ "sync": "Синхронизировать",
+ "syncing": "Синхронизация...",
+ "calendarsTitle": "Календари",
+ "upcomingTitle": "Предстоящие",
+ "noUpcoming": "Нет предстоящих событий",
+ "meetingStarting": "Встреча начинается сейчас",
+ "today": "Сегодня",
+ "tomorrow": "Завтра",
+ "detection": {
+ "title": "Обнаружение встреч",
+ "description": "Автоматически определять, когда вы на встрече",
+ "processDetection": "Обнаружение приложений",
+ "processDescription": "Определить, какое приложение вы используете при обнаружении встречи",
+ "audioDetection": "Обнаружение аудио",
+ "audioDescription": "Уведомление при обнаружении продолжительной активности микрофона"
+ }
+ },
"upcoming": {
"title": "Предстоящие встречи",
"transcriptions": "Транскрипции",
diff --git a/src/locales/zh-CN/translation.json b/src/locales/zh-CN/translation.json
index 514399f55..bc9970aa9 100644
--- a/src/locales/zh-CN/translation.json
+++ b/src/locales/zh-CN/translation.json
@@ -1729,7 +1729,7 @@
}
},
"mic": {
- "hotkeyToSpeak": "按 {{hotkey}} 开始说话",
+ "hotkeyToSpeak": "{{hotkey}} 说话",
"recording": "录音中...",
"processing": "处理中...",
"clickToSpeak": "点击开始说话"
@@ -1830,6 +1830,37 @@
"description": "OpenWhispr 直接从您的系统捕获音频 — 它不会以参与者身份加入您的会议。只需连接日历,正常记录笔记即可。"
}
},
+ "calendar": {
+ "title": "Google 日历",
+ "status": "状态",
+ "connected": "已连接",
+ "disconnected": "未连接",
+ "notConnectedDescription": "连接以检测和录制会议",
+ "connectCta": {
+ "title": "日历集成",
+ "description": "自动检测会议并录制转录"
+ },
+ "connect": "连接 Google 日历",
+ "connecting": "连接中...",
+ "disconnect": "断开连接",
+ "disconnecting": "断开中...",
+ "sync": "同步",
+ "syncing": "同步中...",
+ "calendarsTitle": "日历",
+ "upcomingTitle": "即将到来",
+ "noUpcoming": "没有即将到来的事件",
+ "meetingStarting": "会议即将开始",
+ "today": "今天",
+ "tomorrow": "明天",
+ "detection": {
+ "title": "会议检测",
+ "description": "自动检测您是否在会议中",
+ "processDetection": "应用检测",
+ "processDescription": "检测到会议时识别您正在使用的应用",
+ "audioDetection": "音频检测",
+ "audioDescription": "检测到持续麦克风活动时提示"
+ }
+ },
"upcoming": {
"title": "即将开始的会议",
"transcriptions": "转录",
diff --git a/src/locales/zh-TW/translation.json b/src/locales/zh-TW/translation.json
index f46c42360..688d26154 100644
--- a/src/locales/zh-TW/translation.json
+++ b/src/locales/zh-TW/translation.json
@@ -1729,7 +1729,7 @@
}
},
"mic": {
- "hotkeyToSpeak": "按 {{hotkey}} 開始說話",
+ "hotkeyToSpeak": "{{hotkey}} 說話",
"recording": "錄音中...",
"processing": "處理中...",
"clickToSpeak": "點擊開始說話"
@@ -1830,6 +1830,37 @@
"description": "OpenWhispr 直接從您的系統擷取音訊 — 它不會以參與者身分加入您的會議。只需連接日曆,正常記錄筆記即可。"
}
},
+ "calendar": {
+ "title": "Google 日曆",
+ "status": "狀態",
+ "connected": "已連接",
+ "disconnected": "未連接",
+ "notConnectedDescription": "連接以偵測和錄製會議",
+ "connectCta": {
+ "title": "日曆整合",
+ "description": "自動偵測會議並錄製轉錄"
+ },
+ "connect": "連接 Google 日曆",
+ "connecting": "連接中...",
+ "disconnect": "中斷連接",
+ "disconnecting": "中斷中...",
+ "sync": "同步",
+ "syncing": "同步中...",
+ "calendarsTitle": "日曆",
+ "upcomingTitle": "即將到來",
+ "noUpcoming": "沒有即將到來的事件",
+ "meetingStarting": "會議即將開始",
+ "today": "今天",
+ "tomorrow": "明天",
+ "detection": {
+ "title": "會議偵測",
+ "description": "自動偵測您是否在會議中",
+ "processDetection": "應用偵測",
+ "processDescription": "偵測到會議時識別您正在使用的應用程式",
+ "audioDetection": "音訊偵測",
+ "audioDescription": "偵測到持續麥克風活動時提示"
+ }
+ },
"upcoming": {
"title": "即將開始的會議",
"transcriptions": "轉錄",
diff --git a/src/stores/settingsStore.ts b/src/stores/settingsStore.ts
index 5c043ce8e..d27898d47 100644
--- a/src/stores/settingsStore.ts
+++ b/src/stores/settingsStore.ts
@@ -737,6 +737,21 @@ export async function initializeSettings(): Promise<void> {
);
}
+ // Sync meeting detection preferences to main process
+ try {
+ const currentState = useSettingsStore.getState();
+ await window.electronAPI.meetingDetectionSetPreferences?.({
+ processDetection: currentState.meetingProcessDetection,
+ audioDetection: currentState.meetingAudioDetection,
+ });
+ } catch (err) {
+ logger.warn(
+ "Failed to sync meeting detection preferences on startup",
+ { error: (err as Error).message },
+ "settings"
+ );
+ }
+
ensureAgentNameInDictionary();
}