Private AI meeting notes that stay on your computer. No meeting bot. Free and open source for Mac, Windows and Linux. An alternative to Granola, Otter and Fireflies.
TypeScript ai-meeting-assistantai-notetakerelectrongranola-alternativelinuxllama-cpplocal-ailocal-firstmacosmcpmeeting-minutesmeeting-notesoffline-firstopen-sourceprivacyspeech-to-texttranscriptionwhisperwhisper-cppwindows
Settings: the next meeting and floating pill rows say where they appear
Eric Brownrout5e63fefa1bfa
diff --git a/app/src/renderer/src/screens/Settings.tsx b/app/src/renderer/src/screens/Settings.tsxindex 4bced17e..0c2ee653 100644--- a/app/src/renderer/src/screens/Settings.tsx+++ b/app/src/renderer/src/screens/Settings.tsx@@ -21,8 +21,15 @@ import { Swap, SwapText } from '../components/Swap'export function NextMeetingSetting({ visible, on, onChange }: { visible: boolean; on: boolean; onChange(on: boolean): void }) {if (!visible) return nullreturn <div className="settings-row">- <label htmlFor="settings-next-meeting" className="settings-label settings-row-copy">{t('Show the next meeting')}</label>- <button id="settings-next-meeting" role="switch" aria-checked={on} onClick={() => onChange(!on)} className="settings-toggle">+ <div className="settings-row-copy">+ <label htmlFor="settings-next-meeting" className="settings-label">{t('Show the next meeting')}</label>+ <p id="next-meeting-description" className="settings-description">{osWords({+ mac: t('Beside the Yogurt icon in the menu bar.'),+ windows: t('In the tooltip of the Yogurt icon in the notification area.'),+ linux: t('In the tooltip of the Yogurt icon in the tray.'),+ })}</p>+ </div>+ <button id="settings-next-meeting" role="switch" aria-checked={on} aria-describedby="next-meeting-description" onClick={() => onChange(!on)} className="settings-toggle"><span className="settings-toggle-knob" /></button></div>@@ -193,10 +200,12 @@ export function Settings({ revision = 0, focus }: { revision?: number; focus?: s{onMac() && <div className="settings-row"><div className="settings-row-copy"><label htmlFor="recording-pill-toggle" className="settings-label">{t('Show floating recording pill')}</label>- {prefs && !prefs.showInMenuBar && <p id="recording-pill-reason" className="settings-description">{t('Show Yogurt in the menu bar to hide the pill.')}</p>}+ <p id="recording-pill-description" className="settings-description">{prefs?.showInMenuBar === false+ ? t('Show Yogurt in the menu bar to hide the pill.')+ : t('Appears while you record with Yogurt in the background.')}</p></div><button id="recording-pill-toggle" data-testid="recording-pill-toggle" role="switch" disabled={general.busy} aria-checked={prefs?.showRecordingPill ?? true}- aria-disabled={!prefs?.showInMenuBar} aria-describedby={prefs && !prefs.showInMenuBar ? 'recording-pill-reason' : undefined}+ aria-disabled={!prefs?.showInMenuBar} aria-describedby="recording-pill-description"className="settings-toggle" onClick={recordingPill}><span className="settings-toggle-knob" /></button></div>}<div className="settings-row">diff --git a/app/src/shared/locales/ar.json b/app/src/shared/locales/ar.jsonindex 7cea5c7c..0f6ded5f 100644--- a/app/src/shared/locales/ar.json+++ b/app/src/shared/locales/ar.json@@ -736,9 +736,13 @@"Yogurt couldn't save this folder.": "تعذّر على Yogurt حفظ هذا المجلد.","Your edits to the summary will be replaced.": "سيتم استبدال تعديلاتك على الملخص.","Show floating recording pill": "إظهار شريط التسجيل العائم",+ "Appears while you record with Yogurt in the background.": "يظهر أثناء التسجيل عندما يعمل Yogurt في الخلفية.","Show Yogurt in the menu bar to hide the pill.": "أظهر Yogurt في شريط القوائم لإخفاء شريط التسجيل.","Show Yogurt in": "إظهار Yogurt في","Show the next meeting": "إظهار الاجتماع القادم",+ "Beside the Yogurt icon in the menu bar.": "بجوار أيقونة Yogurt في شريط القوائم.",+ "In the tooltip of the Yogurt icon in the notification area.": "في تلميح أيقونة Yogurt في منطقة الإعلامات.",+ "In the tooltip of the Yogurt icon in the tray.": "في تلميح أيقونة Yogurt في علبة النظام.","Menu bar and Dock": "شريط القوائم وDock","Menu bar only": "شريط القوائم فقط","Dock only": "Dock فقط",diff --git a/app/src/shared/locales/bn.json b/app/src/shared/locales/bn.jsonindex 880212af..e7689f4d 100644--- a/app/src/shared/locales/bn.json+++ b/app/src/shared/locales/bn.json@@ -668,9 +668,13 @@"Yogurt couldn't save this folder.": "Yogurt এই ফোল্ডার সেভ করতে পারেনি।","Your edits to the summary will be replaced.": "সারাংশে আপনার সম্পাদনা বদলে যাবে।","Show floating recording pill": "ভাসমান রেকর্ডিং বার দেখান",+ "Appears while you record with Yogurt in the background.": "Yogurt ব্যাকগ্রাউন্ডে চলার সময় রেকর্ড করলে এই বারটি দেখা যায়।","Show Yogurt in the menu bar to hide the pill.": "রেকর্ডিং বার লুকাতে মেনু বারে Yogurt দেখান।","Show Yogurt in": "Yogurt দেখানোর স্থান","Show the next meeting": "পরবর্তী মিটিং দেখান",+ "Beside the Yogurt icon in the menu bar.": "মেনু বারে Yogurt আইকনের পাশে।",+ "In the tooltip of the Yogurt icon in the notification area.": "বিজ্ঞপ্তি এলাকায় Yogurt আইকনের টুলটিপে।",+ "In the tooltip of the Yogurt icon in the tray.": "সিস্টেম ট্রেতে Yogurt আইকনের টুলটিপে।","Menu bar and Dock": "মেনু বার এবং Dock","Menu bar only": "শুধু মেনু বার","Dock only": "শুধু Dock",diff --git a/app/src/shared/locales/cs.json b/app/src/shared/locales/cs.jsonindex ab76f056..d732a66c 100644--- a/app/src/shared/locales/cs.json+++ b/app/src/shared/locales/cs.json@@ -711,9 +711,13 @@"Yogurt couldn't save this folder.": "Yogurt nemohl uložit tuto složku.","Your edits to the summary will be replaced.": "Vaše úpravy souhrnu budou nahrazeny.","Show floating recording pill": "Zobrazit plovoucí panel nahrávání",+ "Appears while you record with Yogurt in the background.": "Zobrazí se při nahrávání, když je Yogurt na pozadí.","Show Yogurt in the menu bar to hide the pill.": "Chcete-li skrýt panel nahrávání, zobrazte Yogurt v řádku nabídek.","Show Yogurt in": "Zobrazovat Yogurt v","Show the next meeting": "Zobrazit příští schůzku",+ "Beside the Yogurt icon in the menu bar.": "Vedle ikony Yogurtu v řádku nabídek.",+ "In the tooltip of the Yogurt icon in the notification area.": "V popisku ikony Yogurtu v oznamovací oblasti.",+ "In the tooltip of the Yogurt icon in the tray.": "V popisku ikony Yogurtu v systémové liště.","Menu bar and Dock": "Řádek nabídek a Dock","Menu bar only": "Pouze řádek nabídek","Dock only": "Pouze Dock",diff --git a/app/src/shared/locales/da.json b/app/src/shared/locales/da.jsonindex f1396a30..19905299 100644--- a/app/src/shared/locales/da.json+++ b/app/src/shared/locales/da.json@@ -680,9 +680,13 @@"Yogurt couldn't save this folder.": "Yogurt kunne ikke gemme denne mappe.","Your edits to the summary will be replaced.": "Dine ændringer i resuméet bliver erstattet.","Show floating recording pill": "Vis flydende optagelinje",+ "Appears while you record with Yogurt in the background.": "Vises, når du optager med Yogurt i baggrunden.","Show Yogurt in the menu bar to hide the pill.": "Vis Yogurt på menulinjen for at skjule optagelinjen.","Show Yogurt in": "Vis Yogurt i","Show the next meeting": "Vis det næste møde",+ "Beside the Yogurt icon in the menu bar.": "Ved siden af Yogurt-ikonet på menulinjen.",+ "In the tooltip of the Yogurt icon in the notification area.": "I værktøjstippet til Yogurt-ikonet i meddelelsesområdet.",+ "In the tooltip of the Yogurt icon in the tray.": "I værktøjstippet til Yogurt-ikonet i systembakken.","Menu bar and Dock": "Menulinje og Dock","Menu bar only": "Kun menulinjen","Dock only": "Kun Dock",diff --git a/app/src/shared/locales/de.json b/app/src/shared/locales/de.jsonindex 68a9e678..35fa6cf2 100644--- a/app/src/shared/locales/de.json+++ b/app/src/shared/locales/de.json@@ -680,9 +680,13 @@"Yogurt couldn't save this folder.": "Yogurt konnte diesen Ordner nicht sichern.","Your edits to the summary will be replaced.": "Deine Änderungen an der Zusammenfassung werden ersetzt.","Show floating recording pill": "Schwebende Aufnahmeleiste anzeigen",+ "Appears while you record with Yogurt in the background.": "Wird beim Aufnehmen angezeigt, wenn Yogurt im Hintergrund läuft.","Show Yogurt in the menu bar to hide the pill.": "Zeige Yogurt in der Menüleiste an, um die Aufnahmeleiste auszublenden.","Show Yogurt in": "Yogurt anzeigen in","Show the next meeting": "Nächstes Meeting anzeigen",+ "Beside the Yogurt icon in the menu bar.": "Neben dem Yogurt-Symbol in der Menüleiste.",+ "In the tooltip of the Yogurt icon in the notification area.": "Im Tooltip des Yogurt-Symbols im Infobereich.",+ "In the tooltip of the Yogurt icon in the tray.": "Im Tooltip des Yogurt-Symbols in der Systemleiste.","Menu bar and Dock": "Menüleiste und Dock","Menu bar only": "Nur Menüleiste","Dock only": "Nur Dock",diff --git a/app/src/shared/locales/el.json b/app/src/shared/locales/el.jsonindex 0c20aabd..1d32b6d7 100644--- a/app/src/shared/locales/el.json+++ b/app/src/shared/locales/el.json@@ -683,9 +683,13 @@"Yogurt couldn't save this folder.": "Το Yogurt δεν μπόρεσε να αποθηκεύσει αυτόν τον φάκελο.","Your edits to the summary will be replaced.": "Οι αλλαγές σας στη σύνοψη θα αντικατασταθούν.","Show floating recording pill": "Εμφάνιση αιωρούμενης μπάρας εγγραφής",+ "Appears while you record with Yogurt in the background.": "Εμφανίζεται κατά την εγγραφή όταν το Yogurt εκτελείται στο παρασκήνιο.","Show Yogurt in the menu bar to hide the pill.": "Για να κρύψετε την μπάρα εγγραφής, εμφανίστε το Yogurt στη γραμμή μενού.","Show Yogurt in": "Εμφάνιση Yogurt σε","Show the next meeting": "Εμφάνιση της επόμενης συνάντησης",+ "Beside the Yogurt icon in the menu bar.": "Δίπλα στο εικονίδιο του Yogurt στη γραμμή μενού.",+ "In the tooltip of the Yogurt icon in the notification area.": "Στην επεξήγηση του εικονιδίου του Yogurt στην περιοχή ειδοποιήσεων.",+ "In the tooltip of the Yogurt icon in the tray.": "Στην επεξήγηση του εικονιδίου του Yogurt στη γραμμή συστήματος.","Menu bar and Dock": "Γραμμή μενού και Dock","Menu bar only": "Μόνο γραμμή μενού","Dock only": "Μόνο Dock",diff --git a/app/src/shared/locales/en.json b/app/src/shared/locales/en.jsonindex 523d6614..cc8d2d19 100644--- a/app/src/shared/locales/en.json+++ b/app/src/shared/locales/en.json@@ -215,9 +215,13 @@"Your question is waiting for Yogurt's AI to download.": "Your question is waiting for Yogurt's AI to download.","Your summary is waiting for Yogurt's AI to download.": "Your summary is waiting for Yogurt's AI to download.","Show floating recording pill": "Show floating recording pill",+ "Appears while you record with Yogurt in the background.": "Appears while you record with Yogurt in the background.","Show Yogurt in the menu bar to hide the pill.": "Show Yogurt in the menu bar to hide the pill.","Show Yogurt in": "Show Yogurt in","Show the next meeting": "Show the next meeting",+ "Beside the Yogurt icon in the menu bar.": "Beside the Yogurt icon in the menu bar.",+ "In the tooltip of the Yogurt icon in the notification area.": "In the tooltip of the Yogurt icon in the notification area.",+ "In the tooltip of the Yogurt icon in the tray.": "In the tooltip of the Yogurt icon in the tray.","Menu bar and Dock": "Menu bar and Dock","Menu bar only": "Menu bar only","Dock only": "Dock only",diff --git a/app/src/shared/locales/es.json b/app/src/shared/locales/es.jsonindex 6a185d97..d2dbac8a 100644--- a/app/src/shared/locales/es.json+++ b/app/src/shared/locales/es.json@@ -693,9 +693,13 @@"Yogurt couldn't save this folder.": "Yogurt no pudo guardar esta carpeta.","Your edits to the summary will be replaced.": "Se reemplazarán tus cambios en el resumen.","Show floating recording pill": "Mostrar la barra flotante de grabación",+ "Appears while you record with Yogurt in the background.": "Aparece mientras grabas con Yogurt en segundo plano.","Show Yogurt in the menu bar to hide the pill.": "Muestra Yogurt en la barra de menús para ocultar la barra de grabación.","Show Yogurt in": "Mostrar Yogurt en","Show the next meeting": "Mostrar la próxima reunión",+ "Beside the Yogurt icon in the menu bar.": "Junto al icono de Yogurt en la barra de menús.",+ "In the tooltip of the Yogurt icon in the notification area.": "En la información que aparece al pasar el puntero sobre el icono de Yogurt en el área de notificación.",+ "In the tooltip of the Yogurt icon in the tray.": "En la información que aparece al pasar el puntero sobre el icono de Yogurt en la bandeja del sistema.","Menu bar and Dock": "Barra de menús y Dock","Menu bar only": "Solo barra de menús","Dock only": "Solo Dock",diff --git a/app/src/shared/locales/fi.json b/app/src/shared/locales/fi.jsonindex 01f12c69..5118cecb 100644--- a/app/src/shared/locales/fi.json+++ b/app/src/shared/locales/fi.json@@ -686,9 +686,13 @@"Yogurt couldn't save this folder.": "Yogurt ei voinut tallentaa tätä kansiota.","Your edits to the summary will be replaced.": "Yhteenvetoon tekemäsi muutokset korvataan.","Show floating recording pill": "Näytä kelluva tallennuspalkki",+ "Appears while you record with Yogurt in the background.": "Näkyy tallennuksen aikana, kun Yogurt on taustalla.","Show Yogurt in the menu bar to hide the pill.": "Voit piilottaa tallennuspalkin näyttämällä Yogurtin valikkorivillä.","Show Yogurt in": "Yogurtin sijainti","Show the next meeting": "Näytä seuraava kokous",+ "Beside the Yogurt icon in the menu bar.": "Yogurt-kuvakkeen vieressä valikkorivillä.",+ "In the tooltip of the Yogurt icon in the notification area.": "Ilmaisinalueella olevan Yogurt-kuvakkeen työkaluvihjeessä.",+ "In the tooltip of the Yogurt icon in the tray.": "Ilmoitusalueella olevan Yogurt-kuvakkeen työkaluvihjeessä.","Menu bar and Dock": "Valikkorivi ja Dock","Menu bar only": "Vain valikkorivi","Dock only": "Vain Dock",diff --git a/app/src/shared/locales/fil.json b/app/src/shared/locales/fil.jsonindex 85510a03..3cf0e0d7 100644--- a/app/src/shared/locales/fil.json+++ b/app/src/shared/locales/fil.json@@ -680,9 +680,13 @@"Yogurt couldn't save this folder.": "Hindi ma-save ng Yogurt ang folder na ito.","Your edits to the summary will be replaced.": "Papalitan ang mga edit mo sa buod.","Show floating recording pill": "Ipakita ang lumulutang na recording bar",+ "Appears while you record with Yogurt in the background.": "Lumalabas habang nagre-record ka at nasa background ang Yogurt.","Show Yogurt in the menu bar to hide the pill.": "Ipakita ang Yogurt sa menu bar para itago ang recording bar.","Show Yogurt in": "Ipakita ang Yogurt sa","Show the next meeting": "Ipakita ang susunod na pulong",+ "Beside the Yogurt icon in the menu bar.": "Sa tabi ng icon ng Yogurt sa menu bar.",+ "In the tooltip of the Yogurt icon in the notification area.": "Sa tooltip ng icon ng Yogurt sa notification area.",+ "In the tooltip of the Yogurt icon in the tray.": "Sa tooltip ng icon ng Yogurt sa system tray.","Menu bar and Dock": "Menu bar at Dock","Menu bar only": "Menu bar lang","Dock only": "Dock lang",diff --git a/app/src/shared/locales/fr.json b/app/src/shared/locales/fr.jsonindex 8b88298a..6fbd189e 100644--- a/app/src/shared/locales/fr.json+++ b/app/src/shared/locales/fr.json@@ -696,9 +696,13 @@"Yogurt couldn't save this folder.": "Yogurt n’a pas pu enregistrer ce dossier.","Your edits to the summary will be replaced.": "Vos modifications du résumé seront remplacées.","Show floating recording pill": "Afficher la barre d’enregistrement flottante",+ "Appears while you record with Yogurt in the background.": "S’affiche pendant l’enregistrement quand Yogurt est en arrière-plan.","Show Yogurt in the menu bar to hide the pill.": "Affichez Yogurt dans la barre des menus pour masquer la barre d’enregistrement.","Show Yogurt in": "Afficher Yogurt dans","Show the next meeting": "Afficher la prochaine réunion",+ "Beside the Yogurt icon in the menu bar.": "À côté de l’icône de Yogurt dans la barre des menus.",+ "In the tooltip of the Yogurt icon in the notification area.": "Dans l’infobulle de l’icône Yogurt dans la zone de notification.",+ "In the tooltip of the Yogurt icon in the tray.": "Dans l’infobulle de l’icône Yogurt dans la barre d’état système.","Menu bar and Dock": "Barre des menus et Dock","Menu bar only": "Barre des menus uniquement","Dock only": "Dock uniquement",diff --git a/app/src/shared/locales/he.json b/app/src/shared/locales/he.jsonindex 351518e2..a50fae91 100644--- a/app/src/shared/locales/he.json+++ b/app/src/shared/locales/he.json@@ -690,9 +690,13 @@"Yogurt couldn't save this folder.": "Yogurt לא הצליח לשמור את התיקייה הזו.","Your edits to the summary will be replaced.": "העריכות שלך בסיכום יוחלפו.","Show floating recording pill": "הצגת סרגל ההקלטה הצף",+ "Appears while you record with Yogurt in the background.": "מופיע בזמן ההקלטה כש־Yogurt פועל ברקע.","Show Yogurt in the menu bar to hide the pill.": "כדי להסתיר את סרגל ההקלטה, יש להציג את Yogurt בשורת התפריטים.","Show Yogurt in": "הצגת Yogurt ב","Show the next meeting": "הצגת הפגישה הבאה",+ "Beside the Yogurt icon in the menu bar.": "לצד הסמל של Yogurt בשורת התפריטים.",+ "In the tooltip of the Yogurt icon in the notification area.": "בטקסט שמופיע כשמצביעים על הסמל של Yogurt באזור ההודעות.",+ "In the tooltip of the Yogurt icon in the tray.": "בטקסט שמופיע כשמצביעים על הסמל של Yogurt במגש המערכת.","Menu bar and Dock": "שורת התפריטים ו-Dock","Menu bar only": "שורת התפריטים בלבד","Dock only": "Dock בלבד",diff --git a/app/src/shared/locales/hi.json b/app/src/shared/locales/hi.jsonindex 62492ccf..b9fb56ba 100644--- a/app/src/shared/locales/hi.json+++ b/app/src/shared/locales/hi.json@@ -668,9 +668,13 @@"Yogurt couldn't save this folder.": "Yogurt यह फ़ोल्डर सेव नहीं कर सका।","Your edits to the summary will be replaced.": "सारांश में आपके बदलाव बदल दिए जाएँगे।","Show floating recording pill": "फ़्लोटिंग रिकॉर्डिंग बार दिखाएँ",+ "Appears while you record with Yogurt in the background.": "रिकॉर्डिंग के दौरान तब दिखाई देता है जब Yogurt बैकग्राउंड में चल रहा हो।","Show Yogurt in the menu bar to hide the pill.": "रिकॉर्डिंग बार छिपाने के लिए मेनू बार में Yogurt दिखाएँ।","Show Yogurt in": "Yogurt दिखाएँ","Show the next meeting": "अगली मीटिंग दिखाएँ",+ "Beside the Yogurt icon in the menu bar.": "मेनू बार में Yogurt आइकन के बगल में।",+ "In the tooltip of the Yogurt icon in the notification area.": "सूचना क्षेत्र में Yogurt आइकन के टूलटिप में।",+ "In the tooltip of the Yogurt icon in the tray.": "सिस्टम ट्रे में Yogurt आइकन के टूलटिप में।","Menu bar and Dock": "मेनू बार और Dock","Menu bar only": "केवल मेनू बार","Dock only": "केवल Dock",diff --git a/app/src/shared/locales/hu.json b/app/src/shared/locales/hu.jsonindex 7253a7d3..79cc7966 100644--- a/app/src/shared/locales/hu.json+++ b/app/src/shared/locales/hu.json@@ -668,9 +668,13 @@"Yogurt couldn't save this folder.": "A Yogurt nem tudta menteni ezt a mappát.","Your edits to the summary will be replaced.": "Az összefoglalón végzett módosításaid lecserélődnek.","Show floating recording pill": "Lebegő felvételi sáv megjelenítése",+ "Appears while you record with Yogurt in the background.": "Felvétel közben jelenik meg, amikor a Yogurt a háttérben fut.","Show Yogurt in the menu bar to hide the pill.": "A felvételi sáv elrejtéséhez jelenítse meg a Yogurtot a menüsoron.","Show Yogurt in": "Yogurt megjelenítése","Show the next meeting": "A következő megbeszélés megjelenítése",+ "Beside the Yogurt icon in the menu bar.": "A Yogurt ikonja mellett a menüsoron.",+ "In the tooltip of the Yogurt icon in the notification area.": "Az értesítési területen lévő Yogurt-ikon elemleírásában.",+ "In the tooltip of the Yogurt icon in the tray.": "A rendszertálcán lévő Yogurt-ikon elemleírásában.","Menu bar and Dock": "Menüsáv és Dock","Menu bar only": "Csak a menüsáv","Dock only": "Csak a Dock",diff --git a/app/src/shared/locales/id.json b/app/src/shared/locales/id.jsonindex ed0aca83..a23449d9 100644--- a/app/src/shared/locales/id.json+++ b/app/src/shared/locales/id.json@@ -638,9 +638,13 @@"Yogurt couldn't save this folder.": "Yogurt tidak bisa menyimpan folder ini.","Your edits to the summary will be replaced.": "Suntingan Anda pada ringkasan akan diganti.","Show floating recording pill": "Tampilkan bilah rekaman mengambang",+ "Appears while you record with Yogurt in the background.": "Muncul saat Anda merekam dengan Yogurt berjalan di latar belakang.","Show Yogurt in the menu bar to hide the pill.": "Tampilkan Yogurt di bar menu untuk menyembunyikan bilah rekaman.","Show Yogurt in": "Tampilkan Yogurt di","Show the next meeting": "Tampilkan rapat berikutnya",+ "Beside the Yogurt icon in the menu bar.": "Di samping ikon Yogurt di bar menu.",+ "In the tooltip of the Yogurt icon in the notification area.": "Di keterangan yang muncul saat penunjuk diarahkan ke ikon Yogurt di area notifikasi.",+ "In the tooltip of the Yogurt icon in the tray.": "Di keterangan yang muncul saat penunjuk diarahkan ke ikon Yogurt di baki sistem.","Menu bar and Dock": "Bar menu dan Dock","Menu bar only": "Hanya bar menu","Dock only": "Hanya Dock",diff --git a/app/src/shared/locales/it.json b/app/src/shared/locales/it.jsonindex 7045cd6f..1988da20 100644--- a/app/src/shared/locales/it.json+++ b/app/src/shared/locales/it.json@@ -699,9 +699,13 @@"Yogurt couldn't save this folder.": "Yogurt non è riuscito a salvare questa cartella.","Your edits to the summary will be replaced.": "Le tue modifiche al riepilogo verranno sostituite.","Show floating recording pill": "Mostra la barra di registrazione mobile",+ "Appears while you record with Yogurt in the background.": "Appare mentre registri con Yogurt in background.","Show Yogurt in the menu bar to hide the pill.": "Mostra Yogurt nella barra dei menu per nascondere la barra di registrazione.","Show Yogurt in": "Mostra Yogurt in","Show the next meeting": "Mostra la prossima riunione",+ "Beside the Yogurt icon in the menu bar.": "Accanto all’icona di Yogurt nella barra dei menu.",+ "In the tooltip of the Yogurt icon in the notification area.": "Nel suggerimento che appare passando il puntatore sull’icona di Yogurt nell’area di notifica.",+ "In the tooltip of the Yogurt icon in the tray.": "Nel suggerimento che appare passando il puntatore sull’icona di Yogurt nell’area di sistema.","Menu bar and Dock": "Barra dei menu e Dock","Menu bar only": "Solo barra dei menu","Dock only": "Solo Dock",diff --git a/app/src/shared/locales/ja.json b/app/src/shared/locales/ja.jsonindex a0e9f93d..0a2c4316 100644--- a/app/src/shared/locales/ja.json+++ b/app/src/shared/locales/ja.json@@ -638,9 +638,13 @@"Yogurt couldn't save this folder.": "Yogurtはこのフォルダを保存できませんでした。","Your edits to the summary will be replaced.": "要約に加えた編集は置き換えられます。","Show floating recording pill": "フローティング録音バーを表示",+ "Appears while you record with Yogurt in the background.": "Yogurtがバックグラウンドで録音している間に表示されます。","Show Yogurt in the menu bar to hide the pill.": "録音バーを隠すには、メニューバーにYogurtを表示してください。","Show Yogurt in": "Yogurtの表示場所","Show the next meeting": "次の会議を表示",+ "Beside the Yogurt icon in the menu bar.": "メニューバーのYogurtアイコンの横に表示されます。",+ "In the tooltip of the Yogurt icon in the notification area.": "通知領域のYogurtアイコンのツールチップに表示されます。",+ "In the tooltip of the Yogurt icon in the tray.": "システムトレイのYogurtアイコンのツールチップに表示されます。","Menu bar and Dock": "メニューバーとDock","Menu bar only": "メニューバーのみ","Dock only": "Dockのみ",diff --git a/app/src/shared/locales/ko.json b/app/src/shared/locales/ko.jsonindex 5758b062..c6ebf982 100644--- a/app/src/shared/locales/ko.json+++ b/app/src/shared/locales/ko.json@@ -638,9 +638,13 @@"Yogurt couldn't save this folder.": "Yogurt가 이 폴더를 저장하지 못했어요.","Your edits to the summary will be replaced.": "요약에서 수정한 내용은 바뀌어요.","Show floating recording pill": "플로팅 녹음 막대 표시",+ "Appears while you record with Yogurt in the background.": "Yogurt가 백그라운드에서 녹음하는 동안 표시됩니다.","Show Yogurt in the menu bar to hide the pill.": "녹음 막대를 숨기려면 메뉴 막대에 Yogurt를 표시하세요.","Show Yogurt in": "Yogurt 표시 위치","Show the next meeting": "다음 회의 표시",+ "Beside the Yogurt icon in the menu bar.": "메뉴 막대의 Yogurt 아이콘 옆에 표시됩니다.",+ "In the tooltip of the Yogurt icon in the notification area.": "알림 영역에 있는 Yogurt 아이콘의 도구 설명에 표시됩니다.",+ "In the tooltip of the Yogurt icon in the tray.": "시스템 트레이에 있는 Yogurt 아이콘의 도구 설명에 표시됩니다.","Menu bar and Dock": "메뉴 막대 및 Dock","Menu bar only": "메뉴 막대만","Dock only": "Dock만",diff --git a/app/src/shared/locales/ms.json b/app/src/shared/locales/ms.jsonindex ba921fe0..2a181b74 100644--- a/app/src/shared/locales/ms.json+++ b/app/src/shared/locales/ms.json@@ -638,9 +638,13 @@"Yogurt couldn't save this folder.": "Yogurt tidak dapat menyimpan folder ini.","Your edits to the summary will be replaced.": "Suntingan anda pada ringkasan akan diganti.","Show floating recording pill": "Tunjukkan bar rakaman terapung",+ "Appears while you record with Yogurt in the background.": "Muncul semasa anda merakam apabila Yogurt berjalan di latar belakang.","Show Yogurt in the menu bar to hide the pill.": "Tunjukkan Yogurt dalam bar menu untuk menyembunyikan bar rakaman.","Show Yogurt in": "Paparkan Yogurt di","Show the next meeting": "Tunjukkan mesyuarat seterusnya",+ "Beside the Yogurt icon in the menu bar.": "Di sebelah ikon Yogurt dalam bar menu.",+ "In the tooltip of the Yogurt icon in the notification area.": "Dalam petua alat ikon Yogurt di kawasan pemberitahuan.",+ "In the tooltip of the Yogurt icon in the tray.": "Dalam petua alat ikon Yogurt di dulang sistem.","Menu bar and Dock": "Bar menu dan Dock","Menu bar only": "Bar menu sahaja","Dock only": "Dock sahaja",diff --git a/app/src/shared/locales/nb.json b/app/src/shared/locales/nb.jsonindex ab7b7476..73e00f94 100644--- a/app/src/shared/locales/nb.json+++ b/app/src/shared/locales/nb.json@@ -680,9 +680,13 @@"Yogurt couldn't save this folder.": "Yogurt kunne ikke lagre denne mappen.","Your edits to the summary will be replaced.": "Endringene dine i sammendraget blir erstattet.","Show floating recording pill": "Vis flytende opptakslinje",+ "Appears while you record with Yogurt in the background.": "Vises mens du tar opp med Yogurt i bakgrunnen.","Show Yogurt in the menu bar to hide the pill.": "Vis Yogurt i menylinjen for å skjule opptakslinjen.","Show Yogurt in": "Vis Yogurt i","Show the next meeting": "Vis neste møte",+ "Beside the Yogurt icon in the menu bar.": "Ved siden av Yogurt-ikonet i menylinjen.",+ "In the tooltip of the Yogurt icon in the notification area.": "I verktøytipset til Yogurt-ikonet i varslingsområdet.",+ "In the tooltip of the Yogurt icon in the tray.": "I verktøytipset til Yogurt-ikonet i systemkurven.","Menu bar and Dock": "Menylinje og Dock","Menu bar only": "Bare menylinjen","Dock only": "Bare Dock",diff --git a/app/src/shared/locales/nl.json b/app/src/shared/locales/nl.jsonindex 6dfb0d3c..3a96febd 100644--- a/app/src/shared/locales/nl.json+++ b/app/src/shared/locales/nl.json@@ -680,9 +680,13 @@"Yogurt couldn't save this folder.": "Yogurt kon deze map niet bewaren.","Your edits to the summary will be replaced.": "Je wijzigingen in de samenvatting worden vervangen.","Show floating recording pill": "Zwevende opnamebalk tonen",+ "Appears while you record with Yogurt in the background.": "Verschijnt tijdens het opnemen als Yogurt op de achtergrond draait.","Show Yogurt in the menu bar to hide the pill.": "Toon Yogurt in de menubalk om de opnamebalk te verbergen.","Show Yogurt in": "Yogurt weergeven in","Show the next meeting": "Volgende vergadering tonen",+ "Beside the Yogurt icon in the menu bar.": "Naast het Yogurt-symbool in de menubalk.",+ "In the tooltip of the Yogurt icon in the notification area.": "In de tooltip van het Yogurt-pictogram in het systeemvak.",+ "In the tooltip of the Yogurt icon in the tray.": "In de tooltip van het Yogurt-pictogram in het systeemvak.","Menu bar and Dock": "Menubalk en Dock","Menu bar only": "Alleen menubalk","Dock only": "Alleen Dock",diff --git a/app/src/shared/locales/pl.json b/app/src/shared/locales/pl.jsonindex ff6692fc..e6b73763 100644--- a/app/src/shared/locales/pl.json+++ b/app/src/shared/locales/pl.json@@ -716,9 +716,13 @@"Yogurt couldn't save this folder.": "Yogurt nie mógł zapisać tego folderu.","Your edits to the summary will be replaced.": "Twoje zmiany w podsumowaniu zostaną zastąpione.","Show floating recording pill": "Pokazuj pływający pasek nagrywania",+ "Appears while you record with Yogurt in the background.": "Pojawia się podczas nagrywania, gdy Yogurt działa w tle.","Show Yogurt in the menu bar to hide the pill.": "Pokaż Yogurt na pasku menu, aby ukryć pasek nagrywania.","Show Yogurt in": "Pokaż Yogurt w","Show the next meeting": "Pokaż następne spotkanie",+ "Beside the Yogurt icon in the menu bar.": "Obok ikony Yogurt na pasku menu.",+ "In the tooltip of the Yogurt icon in the notification area.": "W podpowiedzi ikony Yogurt w obszarze powiadomień.",+ "In the tooltip of the Yogurt icon in the tray.": "W podpowiedzi ikony Yogurt w zasobniku systemowym.","Menu bar and Dock": "Pasek menu i Dock","Menu bar only": "Tylko pasek menu","Dock only": "Tylko Dock",diff --git a/app/src/shared/locales/pt-BR.json b/app/src/shared/locales/pt-BR.jsonindex f673ae73..a21c62f3 100644--- a/app/src/shared/locales/pt-BR.json+++ b/app/src/shared/locales/pt-BR.json@@ -696,9 +696,13 @@"Yogurt couldn't save this folder.": "O Yogurt não conseguiu salvar esta pasta.","Your edits to the summary will be replaced.": "Suas edições no resumo serão substituídas.","Show floating recording pill": "Mostrar a barra flutuante de gravação",+ "Appears while you record with Yogurt in the background.": "Aparece durante a gravação quando o Yogurt está em segundo plano.","Show Yogurt in the menu bar to hide the pill.": "Mostre o Yogurt na barra de menus para ocultar a barra de gravação.","Show Yogurt in": "Mostrar Yogurt em","Show the next meeting": "Mostrar a próxima reunião",+ "Beside the Yogurt icon in the menu bar.": "Ao lado do ícone do Yogurt na barra de menus.",+ "In the tooltip of the Yogurt icon in the notification area.": "Na dica que aparece ao passar o ponteiro sobre o ícone do Yogurt na área de notificação.",+ "In the tooltip of the Yogurt icon in the tray.": "Na dica que aparece ao passar o ponteiro sobre o ícone do Yogurt na bandeja do sistema.","Menu bar and Dock": "Barra de menus e Dock","Menu bar only": "Apenas barra de menus","Dock only": "Apenas Dock",diff --git a/app/src/shared/locales/ro.json b/app/src/shared/locales/ro.jsonindex 98977819..0f7635f3 100644--- a/app/src/shared/locales/ro.json+++ b/app/src/shared/locales/ro.json@@ -697,9 +697,13 @@"Yogurt couldn't save this folder.": "Yogurt nu a putut salva acest dosar.","Your edits to the summary will be replaced.": "Modificările dvs. din rezumat vor fi înlocuite.","Show floating recording pill": "Afișează bara flotantă de înregistrare",+ "Appears while you record with Yogurt in the background.": "Apare în timpul înregistrării când Yogurt rulează în fundal.","Show Yogurt in the menu bar to hide the pill.": "Afișează Yogurt în bara de meniu pentru a ascunde bara de înregistrare.","Show Yogurt in": "Afișează Yogurt în","Show the next meeting": "Afișează următoarea întâlnire",+ "Beside the Yogurt icon in the menu bar.": "Lângă pictograma Yogurt din bara de meniu.",+ "In the tooltip of the Yogurt icon in the notification area.": "În indicația care apare când ții cursorul peste pictograma Yogurt în zona de notificare.",+ "In the tooltip of the Yogurt icon in the tray.": "În indicația care apare când ții cursorul peste pictograma Yogurt în tava sistemului.","Menu bar and Dock": "Bara de meniu și Dock","Menu bar only": "Doar bara de meniu","Dock only": "Doar Dock",diff --git a/app/src/shared/locales/ru.json b/app/src/shared/locales/ru.jsonindex e3bc3e12..2807be5b 100644--- a/app/src/shared/locales/ru.json+++ b/app/src/shared/locales/ru.json@@ -708,9 +708,13 @@"Yogurt couldn't save this folder.": "Yogurt не смог сохранить эту папку.","Your edits to the summary will be replaced.": "Ваши правки в сводке будут заменены.","Show floating recording pill": "Показывать плавающую панель записи",+ "Appears while you record with Yogurt in the background.": "Появляется во время записи, когда Yogurt работает в фоновом режиме.","Show Yogurt in the menu bar to hide the pill.": "Чтобы скрыть панель записи, включите отображение Yogurt в строке меню.","Show Yogurt in": "Показывать Yogurt в","Show the next meeting": "Показывать следующую встречу",+ "Beside the Yogurt icon in the menu bar.": "Рядом со значком Yogurt в строке меню.",+ "In the tooltip of the Yogurt icon in the notification area.": "Во всплывающей подсказке значка Yogurt в области уведомлений.",+ "In the tooltip of the Yogurt icon in the tray.": "Во всплывающей подсказке значка Yogurt в системном трее.","Menu bar and Dock": "Строка меню и Dock","Menu bar only": "Только строка меню","Dock only": "Только Dock",diff --git a/app/src/shared/locales/sv.json b/app/src/shared/locales/sv.jsonindex 21e10a1c..1d25d794 100644--- a/app/src/shared/locales/sv.json+++ b/app/src/shared/locales/sv.json@@ -680,9 +680,13 @@"Yogurt couldn't save this folder.": "Yogurt kunde inte spara mappen.","Your edits to the summary will be replaced.": "Dina ändringar i sammanfattningen ersätts.","Show floating recording pill": "Visa flytande inspelningsfält",+ "Appears while you record with Yogurt in the background.": "Visas när du spelar in med Yogurt i bakgrunden.","Show Yogurt in the menu bar to hide the pill.": "Visa Yogurt i menyraden för att dölja inspelningsfältet.","Show Yogurt in": "Visa Yogurt i","Show the next meeting": "Visa nästa möte",+ "Beside the Yogurt icon in the menu bar.": "Bredvid Yogurt-symbolen i menyraden.",+ "In the tooltip of the Yogurt icon in the notification area.": "I verktygstipset för Yogurt-ikonen i meddelandefältet.",+ "In the tooltip of the Yogurt icon in the tray.": "I verktygstipset för Yogurt-ikonen i systemfältet.","Menu bar and Dock": "Menyrad och Dock","Menu bar only": "Endast menyraden","Dock only": "Endast Dock",diff --git a/app/src/shared/locales/th.json b/app/src/shared/locales/th.jsonindex ca396eb4..9dc29362 100644--- a/app/src/shared/locales/th.json+++ b/app/src/shared/locales/th.json@@ -638,9 +638,13 @@"Yogurt couldn't save this folder.": "Yogurt บันทึกโฟลเดอร์นี้ไม่ได้","Your edits to the summary will be replaced.": "การแก้ไขในสรุปจะถูกแทนที่","Show floating recording pill": "แสดงแถบบันทึกเสียงแบบลอย",+ "Appears while you record with Yogurt in the background.": "แสดงขณะบันทึกเสียงเมื่อ Yogurt ทำงานอยู่เบื้องหลัง","Show Yogurt in the menu bar to hide the pill.": "แสดง Yogurt ในแถบเมนูเพื่อซ่อนแถบบันทึกเสียง","Show Yogurt in": "แสดง Yogurt ใน","Show the next meeting": "แสดงการประชุมถัดไป",+ "Beside the Yogurt icon in the menu bar.": "ข้างไอคอน Yogurt ในแถบเมนู",+ "In the tooltip of the Yogurt icon in the notification area.": "ในคำแนะนำที่แสดงเมื่อชี้ที่ไอคอน Yogurt ในพื้นที่แจ้งเตือน",+ "In the tooltip of the Yogurt icon in the tray.": "ในคำแนะนำที่แสดงเมื่อชี้ที่ไอคอน Yogurt ในถาดระบบ","Menu bar and Dock": "แถบเมนูและ Dock","Menu bar only": "แถบเมนูเท่านั้น","Dock only": "Dock เท่านั้น",diff --git a/app/src/shared/locales/tr.json b/app/src/shared/locales/tr.jsonindex 9983c7ca..e6c49317 100644--- a/app/src/shared/locales/tr.json+++ b/app/src/shared/locales/tr.json@@ -668,9 +668,13 @@"Yogurt couldn't save this folder.": "Yogurt bu klasörü kaydedemedi.","Your edits to the summary will be replaced.": "Özette yaptığınız düzenlemeler değiştirilecek.","Show floating recording pill": "Kayan kayıt çubuğunu göster",+ "Appears while you record with Yogurt in the background.": "Yogurt arka plandayken kayıt yaptığınızda görünür.","Show Yogurt in the menu bar to hide the pill.": "Kayıt çubuğunu gizlemek için Yogurt’u menü çubuğunda gösterin.","Show Yogurt in": "Yogurt’u göster","Show the next meeting": "Sonraki toplantıyı göster",+ "Beside the Yogurt icon in the menu bar.": "Menü çubuğunda Yogurt simgesinin yanında.",+ "In the tooltip of the Yogurt icon in the notification area.": "Bildirim alanındaki Yogurt simgesinin araç ipucunda.",+ "In the tooltip of the Yogurt icon in the tray.": "Sistem tepsisindeki Yogurt simgesinin araç ipucunda.","Menu bar and Dock": "Menü çubuğu ve Dock","Menu bar only": "Yalnızca menü çubuğu","Dock only": "Yalnızca Dock",diff --git a/app/src/shared/locales/uk.json b/app/src/shared/locales/uk.jsonindex 1cf7df89..dbdc093c 100644--- a/app/src/shared/locales/uk.json+++ b/app/src/shared/locales/uk.json@@ -708,9 +708,13 @@"Yogurt couldn't save this folder.": "Yogurt не зміг зберегти цю папку.","Your edits to the summary will be replaced.": "Ваші зміни в підсумку буде замінено.","Show floating recording pill": "Показувати рухому панель запису",+ "Appears while you record with Yogurt in the background.": "З’являється під час запису, коли Yogurt працює у фоновому режимі.","Show Yogurt in the menu bar to hide the pill.": "Щоб приховати панель запису, увімкніть показ Yogurt у смузі меню.","Show Yogurt in": "Показувати Yogurt у","Show the next meeting": "Показувати наступну зустріч",+ "Beside the Yogurt icon in the menu bar.": "Поруч з іконкою Yogurt у смузі меню.",+ "In the tooltip of the Yogurt icon in the notification area.": "У спливній підказці значка Yogurt в області сповіщень.",+ "In the tooltip of the Yogurt icon in the tray.": "У спливній підказці значка Yogurt у системному треї.","Menu bar and Dock": "Рядок меню та Dock","Menu bar only": "Лише рядок меню","Dock only": "Лише Dock",diff --git a/app/src/shared/locales/vi.json b/app/src/shared/locales/vi.jsonindex 1863d9a3..236b79d6 100644--- a/app/src/shared/locales/vi.json+++ b/app/src/shared/locales/vi.json@@ -638,9 +638,13 @@"Yogurt couldn't save this folder.": "Yogurt không lưu được thư mục này.","Your edits to the summary will be replaced.": "Những chỉnh sửa của bạn trong tóm tắt sẽ bị thay thế.","Show floating recording pill": "Hiện thanh ghi âm nổi",+ "Appears while you record with Yogurt in the background.": "Xuất hiện khi bạn ghi âm và Yogurt chạy dưới nền.","Show Yogurt in the menu bar to hide the pill.": "Hiện Yogurt trên thanh menu để ẩn thanh ghi âm.","Show Yogurt in": "Hiển thị Yogurt trong","Show the next meeting": "Hiện cuộc họp tiếp theo",+ "Beside the Yogurt icon in the menu bar.": "Bên cạnh biểu tượng Yogurt trên thanh menu.",+ "In the tooltip of the Yogurt icon in the notification area.": "Trong chú thích xuất hiện khi di chuột lên biểu tượng Yogurt trong vùng thông báo.",+ "In the tooltip of the Yogurt icon in the tray.": "Trong chú thích xuất hiện khi di chuột lên biểu tượng Yogurt trong khay hệ thống.","Menu bar and Dock": "Thanh menu và Dock","Menu bar only": "Chỉ thanh menu","Dock only": "Chỉ Dock",diff --git a/app/src/shared/locales/zh-CN.json b/app/src/shared/locales/zh-CN.jsonindex 95c2f352..815a8632 100644--- a/app/src/shared/locales/zh-CN.json+++ b/app/src/shared/locales/zh-CN.json@@ -638,9 +638,13 @@"Yogurt couldn't save this folder.": "Yogurt 无法保存这个文件夹。","Your edits to the summary will be replaced.": "你对摘要的修改将被替换。","Show floating recording pill": "显示悬浮录音条",+ "Appears while you record with Yogurt in the background.": "Yogurt 在后台录音时显示。","Show Yogurt in the menu bar to hide the pill.": "要隐藏录音条,请在菜单栏中显示 Yogurt。","Show Yogurt in": "Yogurt 显示位置","Show the next meeting": "显示下一场会议",+ "Beside the Yogurt icon in the menu bar.": "显示在菜单栏的 Yogurt 图标旁。",+ "In the tooltip of the Yogurt icon in the notification area.": "显示在通知区域中 Yogurt 图标的工具提示里。",+ "In the tooltip of the Yogurt icon in the tray.": "显示在系统托盘中 Yogurt 图标的工具提示里。","Menu bar and Dock": "菜单栏和 Dock","Menu bar only": "仅菜单栏","Dock only": "仅 Dock",diff --git a/app/src/shared/locales/zh-TW.json b/app/src/shared/locales/zh-TW.jsonindex fabe502c..c37cc0bb 100644--- a/app/src/shared/locales/zh-TW.json+++ b/app/src/shared/locales/zh-TW.json@@ -638,9 +638,13 @@"Yogurt couldn't save this folder.": "Yogurt 無法儲存這個資料夾。","Your edits to the summary will be replaced.": "你對摘要的修改將被取代。","Show floating recording pill": "顯示浮動錄音列",+ "Appears while you record with Yogurt in the background.": "Yogurt 在背景錄音時顯示。","Show Yogurt in the menu bar to hide the pill.": "若要隱藏錄音列,請在選單列中顯示 Yogurt。","Show Yogurt in": "Yogurt 顯示位置","Show the next meeting": "顯示下一場會議",+ "Beside the Yogurt icon in the menu bar.": "顯示在選單列的 Yogurt 圖示旁。",+ "In the tooltip of the Yogurt icon in the notification area.": "顯示在通知區域中 Yogurt 圖示的工具提示裡。",+ "In the tooltip of the Yogurt icon in the tray.": "顯示在系統匣中 Yogurt 圖示的工具提示裡。","Menu bar and Dock": "選單列與 Dock","Menu bar only": "僅選單列","Dock only": "僅 Dock",diff --git a/app/test/motionInteractions.test.ts b/app/test/motionInteractions.test.tsindex bf231892..413d14ee 100644--- a/app/test/motionInteractions.test.ts+++ b/app/test/motionInteractions.test.ts@@ -119,6 +119,28 @@ function watchRetryToast() {return vi.spyOn(toasts, 'add').mockReturnValue('test-toast')}+it.each([+ ['darwin', true, 'Appears while you record with Yogurt in the background.'],+ ['darwin', false, 'Show Yogurt in the menu bar to hide the pill.'],+ ['win32', true, null], ['linux', true, null],+])('describes the pill switch on %s with menu bar visibility %s', async (os, showInMenuBar, description) => {+ const { Settings } = await import('../src/renderer/src/screens/Settings')+ const settings = { get: async () => ({ showInMenuBar, showRecordingPill: true }) }+ vi.stubGlobal('window', { yogurt: { os, settings, capabilities: {} } })+ const draw = renderer(() => Settings({ revision: 17 }))+ draw()+ vi.mocked(useEffect).mock.calls.find(([, deps]) => deps?.includes(17))![0]()+ await Promise.resolve()+ const tree = draw()+ if (description === null) {+ expect(() => find(tree, 'recording-pill-toggle')).toThrow()+ } else {+ const toggle = find(tree, 'recording-pill-toggle')+ expect(find(tree, toggle.props['aria-describedby']).props.children).toBe(description)+ expect(toggle.props['aria-disabled']).toBe(!showInMenuBar)+ }+})+it('gives a library read failure a quiet message and keeps its working retry', async () => {const { LibraryEmpty } = await import('../src/renderer/src/screens/Home')const props = { testId: 'past-empty', title: 'Your notes will show up here', description: 'Record a meeting.', icon: null }diff --git a/app/test/settingsPermissions.test.ts b/app/test/settingsPermissions.test.tsindex 847bce4b..ab254315 100644--- a/app/test/settingsPermissions.test.ts+++ b/app/test/settingsPermissions.test.ts@@ -1,4 +1,4 @@-import { describe, expect, it } from 'vitest'+import { afterEach, describe, expect, it, vi } from 'vitest'import { createElement } from 'react'import { renderToStaticMarkup } from 'react-dom/server'import { NextMeetingSetting, PermissionRow } from '../src/renderer/src/screens/Settings'@@ -49,13 +49,22 @@ describe('permission action hierarchy', () => {})})-it('shows the next meeting switch only when the menu bar or tray is selected', () => {+afterEach(() => { vi.unstubAllGlobals() })++it.each([+ ['darwin', 'Beside the Yogurt icon in the menu bar.'],+ ['win32', 'In the tooltip of the Yogurt icon in the notification area.'],+ ['linux', 'In the tooltip of the Yogurt icon in the tray.'],+])('shows the next meeting switch and its location only when the icon is visible on %s', (os, description) => {+ vi.stubGlobal('window', { yogurt: { os } })for (const visible of [false, true]) for (const on of [false, true]) {const html = renderToStaticMarkup(createElement(NextMeetingSetting, { visible, on, onChange() {} }))if (!visible) expect(html).toBe('')else {expect(html).toContain('for="settings-next-meeting"')expect(html).toContain('Show the next meeting')+ expect(action(html)).toContain('aria-describedby="next-meeting-description"')+ expect(html).toContain(`<p id="next-meeting-description" class="settings-description">${description}</p>`)expect(html).toContain(`id="settings-next-meeting" role="switch" aria-checked="${on}"`)}}