Skip to content

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.

AI downloads say why they stopped, and a disk that fills mid-download says so

Eric Brownrout2fdf847a9b69
diff --git a/app/e2e/notesSetup.spec.ts b/app/e2e/notesSetup.spec.ts
index adaba67c..8d6c72eb 100644
--- a/app/e2e/notesSetup.spec.ts
+++ b/app/e2e/notesSetup.spec.ts
@@ -124,7 +124,7 @@ test('both AI stages live beside recording, open below, retry failures and disap
await setSetup(app, upgrading ? { ...state, notesUpgradeDownloading: undefined, notesUpgradeError: 'Offline' } : { ...state, notesDownloading: undefined, notesError: 'Offline' })
await expect(trigger).toHaveAccessibleName(upgrading ? 'AI upgrade paused' : 'AI download stopped')
await expect(popup.locator('.notes-download-readout')).toHaveText(upgrading ? 'Upgrade paused3.8 of 14.0 GB' : 'Download stopped1.4 of 5.0 GB')
- await expect(popup).toContainText(upgrading ? 'You can still use Yogurt without the upgrade.' : 'You can still record. Try again to turn on summaries and Ask.')
+ await expect(popup.locator('.notes-download-support')).toHaveText('Offline')
await expect(popup.getByRole('progressbar')).toHaveAttribute('aria-valuenow', '27')
await expect(popup).not.toContainText('min left')
await expect(popup.getByTestId('notes-setup-retry')).toHaveText('Try again')
diff --git a/app/src/main/downloader.ts b/app/src/main/downloader.ts
index a6aaf533..e27523db 100644
--- a/app/src/main/downloader.ts
+++ b/app/src/main/downloader.ts
@@ -141,7 +141,14 @@ export async function ensureFile(opts: EnsureOpts, deps: DownloadDeps = realDeps
for (let attempt = 0; attempt < 2; attempt++) {
opts.signal?.throwIfAborted()
- await deps.download(opts.url, opts.dir, fileName, opts.onProgress ?? (() => {}), opts.signal)
+ try {
+ await deps.download(opts.url, opts.dir, fileName, opts.onProgress ?? (() => {}), opts.signal)
+ } catch (err) {
+ if ((err as NodeJS.ErrnoException | null)?.code !== 'ENOSPC' && !/no space left/i.test(err instanceof Error ? err.message : String(err))) throw err
+ const free = await deps.freeDiskGB(opts.dir)
+ const need = Math.max(0, opts.sizeGB - partialDownloadGB(opts.dir, fileName)) + DISK_HEADROOM_GB - free
+ throw new DiskSpaceError(Math.max(1, Math.ceil(need)))
+ }
opts.signal?.throwIfAborted()
if ((await deps.hashFile(path)) === opts.sha256) {
opts.signal?.throwIfAborted()
diff --git a/app/src/renderer/src/components/NotesSetup.tsx b/app/src/renderer/src/components/NotesSetup.tsx
index fbdc467f..f93e675a 100644
--- a/app/src/renderer/src/components/NotesSetup.tsx
+++ b/app/src/renderer/src/components/NotesSetup.tsx
@@ -43,7 +43,8 @@ export function NotesSetup({ go }: { go: (route: string) => void }) {
}
if (!setup || !notesDownloadVisible(setup)) return null
const upgrading = notesUpgradeActive(setup)
- const failed = !!(upgrading ? setup.notesUpgradeError : setup.notesError)
+ const error = upgrading ? setup.notesUpgradeError : setup.notesError
+ const failed = !!error
const stopped = upgrading ? t('AI upgrade paused') : t('AI download stopped')
const label = failed ? stopped : setup.notesUpgradePending && upgrading ? t('Upgrading AI') : upgrading
? t('Upgrading AI · {percent}', { percent: notesPercent(setup.notesUpgradeFraction ?? 0) })
@@ -70,7 +71,7 @@ export function NotesSetup({ go }: { go: (route: string) => void }) {
</div>
<div className="notes-download-footer">
<p className="notes-download-support">{failed
- ? upgrading ? t('You can still use Yogurt without the upgrade.') : t('You can still record. Try again to turn on summaries and Ask.')
+ ? error
: upgrading ? t("Once this model is ready, we'll remove the old one.") : t('You can record meetings. AI summaries and Ask work when this finishes.')}</p>
{(failed || upgrading) && <div className="notes-download-actions">
{failed && <button data-testid="notes-setup-retry" className="notes-download-retry" disabled={retrying} onClick={() => void retry()}>{retrying ? t('Retrying…') : t('Try again')}</button>}
diff --git a/app/src/shared/locales/ar.json b/app/src/shared/locales/ar.json
index 815189ef..768b561a 100644
--- a/app/src/shared/locales/ar.json
+++ b/app/src/shared/locales/ar.json
@@ -718,8 +718,6 @@
"Upgrade paused": "الترقية متوقفة",
"You can record meetings. AI summaries and Ask work when this finishes.": "يمكنك تسجيل الاجتماعات. تتاح ملخصات الذكاء الاصطناعي و«اسأل» عند الاكتمال.",
"Once this model is ready, we'll remove the old one.": "سنزيل النموذج القديم حين يصبح هذا النموذج جاهزًا.",
- "You can still record. Try again to turn on summaries and Ask.": "يمكنك التسجيل. أعد المحاولة لتفعيل الملخصات و«اسأل».",
- "You can still use Yogurt without the upgrade.": "يمكنك استخدام Yogurt دون الترقية.",
"More detailed, accurate notes. Replaces the current model, so you don't keep both.": "ملاحظات أدق وأكثر تفصيلًا. يحل محل النموذج الحالي، فلا تحتفظ بكليهما.",
"about {minutes} min left": "متبقٍ نحو {minutes} د",
"AI upgrade skipped": "تم تخطي ترقية الذكاء الاصطناعي",
diff --git a/app/src/shared/locales/bn.json b/app/src/shared/locales/bn.json
index 6180a69a..afb1f180 100644
--- a/app/src/shared/locales/bn.json
+++ b/app/src/shared/locales/bn.json
@@ -648,8 +648,6 @@
"Upgrade paused": "আপগ্রেড স্থগিত",
"You can record meetings. AI summaries and Ask work when this finishes.": "মিটিং রেকর্ড করতে পারেন। শেষ হলে AI সারাংশ ও জিজ্ঞেস করুন চালু হবে।",
"Once this model is ready, we'll remove the old one.": "এই মডেল প্রস্তুত হলে পুরোনোটি সরিয়ে দেব।",
- "You can still record. Try again to turn on summaries and Ask.": "রেকর্ড করতে পারেন। সারাংশ ও জিজ্ঞেস করুন চালু করতে আবার চেষ্টা করুন।",
- "You can still use Yogurt without the upgrade.": "আপগ্রেড ছাড়াও Yogurt ব্যবহার করতে পারেন।",
"More detailed, accurate notes. Replaces the current model, so you don't keep both.": "আরও বিস্তারিত, নির্ভুল নোট। বর্তমান মডেলের বদলে এটি থাকবে, দুটো রাখতে হবে না।",
"about {minutes} min left": "প্রায় {minutes} মিনিট বাকি",
"AI upgrade skipped": "AI আপগ্রেড বাদ দেওয়া হয়েছে",
diff --git a/app/src/shared/locales/cs.json b/app/src/shared/locales/cs.json
index 2b683f96..14af44e8 100644
--- a/app/src/shared/locales/cs.json
+++ b/app/src/shared/locales/cs.json
@@ -691,8 +691,6 @@
"Upgrade paused": "Upgrade pozastaven",
"You can record meetings. AI summaries and Ask work when this finishes.": "Schůzky lze nahrávat. AI souhrny a Zeptat se budou dostupné po stažení.",
"Once this model is ready, we'll remove the old one.": "Až bude tento model připraven, starý odstraníme.",
- "You can still record. Try again to turn on summaries and Ask.": "Nahrávat lze dál. Zkuste to znovu pro souhrny a Zeptat se.",
- "You can still use Yogurt without the upgrade.": "Yogurt můžete dál používat bez upgradu.",
"More detailed, accurate notes. Replaces the current model, so you don't keep both.": "Podrobnější a přesnější poznámky. Nahradí stávající model, nezůstanou vám oba.",
"about {minutes} min left": "zbývá asi {minutes} min",
"AI upgrade skipped": "Upgrade AI přeskočen",
diff --git a/app/src/shared/locales/da.json b/app/src/shared/locales/da.json
index 73bd2176..0c49ef10 100644
--- a/app/src/shared/locales/da.json
+++ b/app/src/shared/locales/da.json
@@ -657,8 +657,6 @@
"Upgrade paused": "Opgradering sat på pause",
"You can record meetings. AI summaries and Ask work when this finishes.": "Du kan optage møder. AI-resuméer og Spørg virker, når dette er færdigt.",
"Once this model is ready, we'll remove the old one.": "Vi fjerner den gamle model, når denne er klar.",
- "You can still record. Try again to turn on summaries and Ask.": "Du kan stadig optage. Prøv igen for at få resuméer og Spørg.",
- "You can still use Yogurt without the upgrade.": "Du kan stadig bruge Yogurt uden opgraderingen.",
"More detailed, accurate notes. Replaces the current model, so you don't keep both.": "Mere detaljerede, præcise noter. Erstatter den nuværende model, så du ikke har begge.",
"about {minutes} min left": "cirka {minutes} min tilbage",
"AI upgrade skipped": "AI-opgradering sprunget over",
diff --git a/app/src/shared/locales/de.json b/app/src/shared/locales/de.json
index 2fa5eb66..798d10c9 100644
--- a/app/src/shared/locales/de.json
+++ b/app/src/shared/locales/de.json
@@ -657,8 +657,6 @@
"Upgrade paused": "Upgrade pausiert",
"You can record meetings. AI summaries and Ask work when this finishes.": "Du kannst Meetings aufnehmen. KI-Zusammenfassungen und Fragen sind danach bereit.",
"Once this model is ready, we'll remove the old one.": "Sobald dieses Modell bereit ist, entfernen wir das alte.",
- "You can still record. Try again to turn on summaries and Ask.": "Aufnehmen geht weiter. Erneut versuchen für Zusammenfassungen und Fragen.",
- "You can still use Yogurt without the upgrade.": "Du kannst Yogurt auch ohne Upgrade nutzen.",
"More detailed, accurate notes. Replaces the current model, so you don't keep both.": "Ausführlichere, präzisere Notizen. Ersetzt das aktuelle Modell, sodass du nicht beide behältst.",
"about {minutes} min left": "noch etwa {minutes} Min.",
"AI upgrade skipped": "KI-Upgrade übersprungen",
diff --git a/app/src/shared/locales/el.json b/app/src/shared/locales/el.json
index 5b8cc16a..54bd8f87 100644
--- a/app/src/shared/locales/el.json
+++ b/app/src/shared/locales/el.json
@@ -660,8 +660,6 @@
"Upgrade paused": "Η αναβάθμιση σε παύση",
"You can record meetings. AI summaries and Ask work when this finishes.": "Μπορείτε να ηχογραφείτε. Περιλήψεις AI και Ρωτήστε λειτουργούν μετά τη λήψη.",
"Once this model is ready, we'll remove the old one.": "Όταν ετοιμαστεί αυτό το μοντέλο, θα αφαιρέσουμε το παλιό.",
- "You can still record. Try again to turn on summaries and Ask.": "Η ηχογράφηση λειτουργεί. Δοκιμάστε ξανά για περιλήψεις και Ρωτήστε.",
- "You can still use Yogurt without the upgrade.": "Μπορείτε να χρησιμοποιείτε το Yogurt χωρίς αναβάθμιση.",
"More detailed, accurate notes. Replaces the current model, so you don't keep both.": "Πιο αναλυτικές, ακριβείς σημειώσεις. Αντικαθιστά το τρέχον μοντέλο, ώστε να μη μένουν και τα δύο.",
"about {minutes} min left": "απομένουν περίπου {minutes} λεπ.",
"AI upgrade skipped": "Η αναβάθμιση AI παραλείφθηκε",
diff --git a/app/src/shared/locales/en.json b/app/src/shared/locales/en.json
index c4e31c1e..229a527f 100644
--- a/app/src/shared/locales/en.json
+++ b/app/src/shared/locales/en.json
@@ -98,8 +98,6 @@
"Upgrade paused": "Upgrade paused",
"You can record meetings. AI summaries and Ask work when this finishes.": "You can record meetings. AI summaries and Ask work when this finishes.",
"Once this model is ready, we'll remove the old one.": "Once this model is ready, we'll remove the old one.",
- "You can still record. Try again to turn on summaries and Ask.": "You can still record. Try again to turn on summaries and Ask.",
- "You can still use Yogurt without the upgrade.": "You can still use Yogurt without the upgrade.",
"More detailed, accurate notes. Replaces the current model, so you don't keep both.": "More detailed, accurate notes. Replaces the current model, so you don't keep both.",
"about {minutes} min left": "about {minutes} min left",
"AI upgrade skipped": "AI upgrade skipped",
diff --git a/app/src/shared/locales/es.json b/app/src/shared/locales/es.json
index e9b4a16c..4abfcf05 100644
--- a/app/src/shared/locales/es.json
+++ b/app/src/shared/locales/es.json
@@ -672,8 +672,6 @@
"Upgrade paused": "Mejora en pausa",
"You can record meetings. AI summaries and Ask work when this finishes.": "Puedes grabar reuniones. Los resúmenes de IA y Preguntar funcionarán al terminar.",
"Once this model is ready, we'll remove the old one.": "Cuando este modelo esté listo, eliminaremos el anterior.",
- "You can still record. Try again to turn on summaries and Ask.": "Puedes seguir grabando. Reintenta para activar resúmenes y Preguntar.",
- "You can still use Yogurt without the upgrade.": "Puedes seguir usando Yogurt sin la mejora.",
"More detailed, accurate notes. Replaces the current model, so you don't keep both.": "Notas más detalladas y precisas. Sustituye al modelo actual para que no conserves ambos.",
"about {minutes} min left": "quedan unos {minutes} min",
"AI upgrade skipped": "Mejora de IA omitida",
diff --git a/app/src/shared/locales/fi.json b/app/src/shared/locales/fi.json
index 44b454cc..8fd78f56 100644
--- a/app/src/shared/locales/fi.json
+++ b/app/src/shared/locales/fi.json
@@ -660,8 +660,6 @@
"Upgrade paused": "Päivitys keskeytetty",
"You can record meetings. AI summaries and Ask work when this finishes.": "Voit tallentaa kokouksia. Tekoälytiivistelmät ja Kysy toimivat latauksen valmistuttua.",
"Once this model is ready, we'll remove the old one.": "Poistamme vanhan mallin, kun tämä on valmis.",
- "You can still record. Try again to turn on summaries and Ask.": "Voit yhä tallentaa. Yritä uudelleen, niin saat tiivistelmät ja Kysy-toiminnon.",
- "You can still use Yogurt without the upgrade.": "Voit käyttää Yogurtia ilman päivitystä.",
"More detailed, accurate notes. Replaces the current model, so you don't keep both.": "Tarkemmat ja kattavammat muistiinpanot. Korvaa nykyisen mallin, joten molemmat eivät jää talteen.",
"about {minutes} min left": "noin {minutes} min jäljellä",
"AI upgrade skipped": "Tekoälypäivitys ohitettu",
diff --git a/app/src/shared/locales/fil.json b/app/src/shared/locales/fil.json
index adf631b8..e9bbf967 100644
--- a/app/src/shared/locales/fil.json
+++ b/app/src/shared/locales/fil.json
@@ -657,8 +657,6 @@
"Upgrade paused": "Naka-pause ang upgrade",
"You can record meetings. AI summaries and Ask work when this finishes.": "Puwede kang mag-record. Gagana ang AI buod at Magtanong kapag tapos na.",
"Once this model is ready, we'll remove the old one.": "Aalisin namin ang lumang modelo kapag handa na ito.",
- "You can still record. Try again to turn on summaries and Ask.": "Puwede pa ring mag-record. Subukan muli para sa buod at Magtanong.",
- "You can still use Yogurt without the upgrade.": "Magagamit mo pa rin ang Yogurt kahit walang upgrade.",
"More detailed, accurate notes. Replaces the current model, so you don't keep both.": "Mas detalyado at tumpak na tala. Papalitan ang kasalukuyang modelo para hindi pareho ang nakaimbak.",
"about {minutes} min left": "mga {minutes} min na lang",
"AI upgrade skipped": "Nilaktawan ang AI upgrade",
diff --git a/app/src/shared/locales/fr.json b/app/src/shared/locales/fr.json
index 7817ba00..44b38d3a 100644
--- a/app/src/shared/locales/fr.json
+++ b/app/src/shared/locales/fr.json
@@ -672,8 +672,6 @@
"Upgrade paused": "Amélioration en pause",
"You can record meetings. AI summaries and Ask work when this finishes.": "Vous pouvez enregistrer. Résumés IA et Demander seront prêts à la fin.",
"Once this model is ready, we'll remove the old one.": "Une fois ce modèle prêt, nous supprimerons l’ancien.",
- "You can still record. Try again to turn on summaries and Ask.": "Vous pouvez enregistrer. Réessayez pour activer les résumés et Demander.",
- "You can still use Yogurt without the upgrade.": "Vous pouvez utiliser Yogurt sans cette amélioration.",
"More detailed, accurate notes. Replaces the current model, so you don't keep both.": "Des notes plus détaillées et précises. Remplace le modèle actuel pour ne pas garder les deux.",
"about {minutes} min left": "reste environ {minutes} min",
"AI upgrade skipped": "Amélioration IA ignorée",
diff --git a/app/src/shared/locales/he.json b/app/src/shared/locales/he.json
index 275a81c4..5be0dda0 100644
--- a/app/src/shared/locales/he.json
+++ b/app/src/shared/locales/he.json
@@ -669,8 +669,6 @@
"Upgrade paused": "השדרוג מושהה",
"You can record meetings. AI summaries and Ask work when this finishes.": "אפשר להקליט פגישות. סיכומי AI ולשאול יפעלו בסיום ההורדה.",
"Once this model is ready, we'll remove the old one.": "כשהמודל הזה יהיה מוכן, נסיר את הישן.",
- "You can still record. Try again to turn on summaries and Ask.": "אפשר להמשיך להקליט. נסו שוב כדי להפעיל סיכומים ולשאול.",
- "You can still use Yogurt without the upgrade.": "אפשר להמשיך להשתמש ב־Yogurt ללא השדרוג.",
"More detailed, accurate notes. Replaces the current model, so you don't keep both.": "הערות מפורטות ומדויקות יותר. מחליף את המודל הנוכחי, כך שלא יישמרו שניהם.",
"about {minutes} min left": "נותרו כ־{minutes} דק׳",
"AI upgrade skipped": "שדרוג ה־AI דולג",
diff --git a/app/src/shared/locales/hi.json b/app/src/shared/locales/hi.json
index a544dd7a..2340cbdb 100644
--- a/app/src/shared/locales/hi.json
+++ b/app/src/shared/locales/hi.json
@@ -648,8 +648,6 @@
"Upgrade paused": "अपग्रेड रुका है",
"You can record meetings. AI summaries and Ask work when this finishes.": "मीटिंग रिकॉर्ड कर सकते हैं। पूरा होने पर AI सारांश और पूछें काम करेंगे।",
"Once this model is ready, we'll remove the old one.": "यह मॉडल तैयार होने पर पुराना हटा देंगे।",
- "You can still record. Try again to turn on summaries and Ask.": "रिकॉर्ड कर सकते हैं। सारांश और पूछें चालू करने के लिए फिर कोशिश करें।",
- "You can still use Yogurt without the upgrade.": "अपग्रेड के बिना भी Yogurt इस्तेमाल कर सकते हैं।",
"More detailed, accurate notes. Replaces the current model, so you don't keep both.": "ज़्यादा विस्तृत, सटीक नोट्स। मौजूदा मॉडल की जगह लेता है, इसलिए दोनों नहीं रखने पड़ते।",
"about {minutes} min left": "लगभग {minutes} मिनट बाकी",
"AI upgrade skipped": "AI अपग्रेड छोड़ दिया",
diff --git a/app/src/shared/locales/hu.json b/app/src/shared/locales/hu.json
index 6e6f2731..de568d66 100644
--- a/app/src/shared/locales/hu.json
+++ b/app/src/shared/locales/hu.json
@@ -648,8 +648,6 @@
"Upgrade paused": "A frissítés szünetel",
"You can record meetings. AI summaries and Ask work when this finishes.": "Rögzíthetsz megbeszéléseket. Az AI-összegzés és a Kérdezz utána lesz elérhető.",
"Once this model is ready, we'll remove the old one.": "Ha ez a modell kész, eltávolítjuk a régit.",
- "You can still record. Try again to turn on summaries and Ask.": "Továbbra is rögzíthetsz. Próbáld újra az összegzéshez és a Kérdezz funkcióhoz.",
- "You can still use Yogurt without the upgrade.": "Frissítés nélkül is használhatod a Yogurtot.",
"More detailed, accurate notes. Replaces the current model, so you don't keep both.": "Részletesebb, pontosabb jegyzetek. Lecseréli a jelenlegi modellt, így nem marad meg mindkettő.",
"about {minutes} min left": "még kb. {minutes} perc",
"AI upgrade skipped": "AI-frissítés kihagyva",
diff --git a/app/src/shared/locales/id.json b/app/src/shared/locales/id.json
index 648a4188..d7252ad8 100644
--- a/app/src/shared/locales/id.json
+++ b/app/src/shared/locales/id.json
@@ -612,8 +612,6 @@
"Upgrade paused": "Upgrade dijeda",
"You can record meetings. AI summaries and Ask work when this finishes.": "Anda bisa merekam rapat. Ringkasan AI dan Tanya aktif setelah selesai.",
"Once this model is ready, we'll remove the old one.": "Setelah model ini siap, model lama akan dihapus.",
- "You can still record. Try again to turn on summaries and Ask.": "Anda tetap bisa merekam. Coba lagi untuk mengaktifkan ringkasan dan Tanya.",
- "You can still use Yogurt without the upgrade.": "Anda tetap bisa memakai Yogurt tanpa upgrade.",
"More detailed, accurate notes. Replaces the current model, so you don't keep both.": "Catatan lebih rinci dan akurat. Mengganti model saat ini, jadi tidak perlu menyimpan keduanya.",
"about {minutes} min left": "sekitar {minutes} mnt lagi",
"AI upgrade skipped": "Upgrade AI dilewati",
diff --git a/app/src/shared/locales/it.json b/app/src/shared/locales/it.json
index 30e52d2f..51569e90 100644
--- a/app/src/shared/locales/it.json
+++ b/app/src/shared/locales/it.json
@@ -675,8 +675,6 @@
"Upgrade paused": "Upgrade in pausa",
"You can record meetings. AI summaries and Ask work when this finishes.": "Puoi registrare riunioni. Riepiloghi IA e Chiedi funzioneranno al termine.",
"Once this model is ready, we'll remove the old one.": "Quando questo modello sarà pronto, rimuoveremo il vecchio.",
- "You can still record. Try again to turn on summaries and Ask.": "Puoi ancora registrare. Riprova per attivare riepiloghi e Chiedi.",
- "You can still use Yogurt without the upgrade.": "Puoi continuare a usare Yogurt senza upgrade.",
"More detailed, accurate notes. Replaces the current model, so you don't keep both.": "Note più dettagliate e precise. Sostituisce il modello attuale, così non li conservi entrambi.",
"about {minutes} min left": "circa {minutes} min rimanenti",
"AI upgrade skipped": "Upgrade IA saltato",
diff --git a/app/src/shared/locales/ja.json b/app/src/shared/locales/ja.json
index 8295c117..e7a7c775 100644
--- a/app/src/shared/locales/ja.json
+++ b/app/src/shared/locales/ja.json
@@ -612,8 +612,6 @@
"Upgrade paused": "アップグレード一時停止",
"You can record meetings. AI summaries and Ask work when this finishes.": "会議は録音できます。完了後にAI要約と質問が使えます。",
"Once this model is ready, we'll remove the old one.": "このモデルの準備ができたら、古いモデルを削除します。",
- "You can still record. Try again to turn on summaries and Ask.": "録音は引き続き可能です。再試行すると要約と質問が使えるようになります。",
- "You can still use Yogurt without the upgrade.": "アップグレードなしでもYogurtは使えます。",
"More detailed, accurate notes. Replaces the current model, so you don't keep both.": "より詳しく正確なノート。現在のモデルを置き換えるため、両方を保持する必要はありません。",
"about {minutes} min left": "残り約{minutes}分",
"AI upgrade skipped": "AIアップグレードをスキップ",
diff --git a/app/src/shared/locales/ko.json b/app/src/shared/locales/ko.json
index ef023bac..2ce41bf4 100644
--- a/app/src/shared/locales/ko.json
+++ b/app/src/shared/locales/ko.json
@@ -612,8 +612,6 @@
"Upgrade paused": "업그레이드 일시 중지",
"You can record meetings. AI summaries and Ask work when this finishes.": "회의를 녹음할 수 있어요. 완료되면 AI 요약과 질문을 사용할 수 있어요.",
"Once this model is ready, we'll remove the old one.": "이 모델이 준비되면 이전 모델을 삭제해요.",
- "You can still record. Try again to turn on summaries and Ask.": "계속 녹음할 수 있어요. 요약과 질문을 사용하려면 다시 시도하세요.",
- "You can still use Yogurt without the upgrade.": "업그레이드 없이도 Yogurt를 사용할 수 있어요.",
"More detailed, accurate notes. Replaces the current model, so you don't keep both.": "더 자세하고 정확한 노트. 현재 모델을 교체하므로 두 모델을 모두 보관하지 않아요.",
"about {minutes} min left": "약 {minutes}분 남음",
"AI upgrade skipped": "AI 업그레이드 건너뜀",
diff --git a/app/src/shared/locales/ms.json b/app/src/shared/locales/ms.json
index 2c745569..16fde7e6 100644
--- a/app/src/shared/locales/ms.json
+++ b/app/src/shared/locales/ms.json
@@ -612,8 +612,6 @@
"Upgrade paused": "Naik taraf dijeda",
"You can record meetings. AI summaries and Ask work when this finishes.": "Anda boleh merakam mesyuarat. Ringkasan AI dan Tanya tersedia apabila selesai.",
"Once this model is ready, we'll remove the old one.": "Apabila model ini sedia, model lama akan dibuang.",
- "You can still record. Try again to turn on summaries and Ask.": "Anda masih boleh merakam. Cuba lagi untuk aktifkan ringkasan dan Tanya.",
- "You can still use Yogurt without the upgrade.": "Anda masih boleh menggunakan Yogurt tanpa naik taraf.",
"More detailed, accurate notes. Replaces the current model, so you don't keep both.": "Nota lebih terperinci dan tepat. Menggantikan model semasa, jadi tidak perlu menyimpan kedua-duanya.",
"about {minutes} min left": "kira-kira {minutes} min lagi",
"AI upgrade skipped": "Naik taraf AI dilangkau",
diff --git a/app/src/shared/locales/nb.json b/app/src/shared/locales/nb.json
index 7c985b91..9742d684 100644
--- a/app/src/shared/locales/nb.json
+++ b/app/src/shared/locales/nb.json
@@ -657,8 +657,6 @@
"Upgrade paused": "Oppgradering satt på pause",
"You can record meetings. AI summaries and Ask work when this finishes.": "Du kan ta opp møter. AI-sammendrag og Spør virker når dette er ferdig.",
"Once this model is ready, we'll remove the old one.": "Vi fjerner den gamle modellen når denne er klar.",
- "You can still record. Try again to turn on summaries and Ask.": "Du kan fortsatt ta opp. Prøv igjen for sammendrag og Spør.",
- "You can still use Yogurt without the upgrade.": "Du kan fortsatt bruke Yogurt uten oppgraderingen.",
"More detailed, accurate notes. Replaces the current model, so you don't keep both.": "Mer detaljerte, presise notater. Erstatter gjeldende modell, så du ikke beholder begge.",
"about {minutes} min left": "omtrent {minutes} min igjen",
"AI upgrade skipped": "AI-oppgradering hoppet over",
diff --git a/app/src/shared/locales/nl.json b/app/src/shared/locales/nl.json
index a472902d..056a8b6c 100644
--- a/app/src/shared/locales/nl.json
+++ b/app/src/shared/locales/nl.json
@@ -657,8 +657,6 @@
"Upgrade paused": "Upgrade gepauzeerd",
"You can record meetings. AI summaries and Ask work when this finishes.": "Je kunt vergaderingen opnemen. AI-samenvattingen en Vragen werken zodra dit klaar is.",
"Once this model is ready, we'll remove the old one.": "Zodra dit model klaar is, verwijderen we het oude.",
- "You can still record. Try again to turn on summaries and Ask.": "Je kunt blijven opnemen. Probeer opnieuw voor samenvattingen en Vragen.",
- "You can still use Yogurt without the upgrade.": "Je kunt Yogurt zonder de upgrade blijven gebruiken.",
"More detailed, accurate notes. Replaces the current model, so you don't keep both.": "Uitgebreidere, nauwkeurigere notities. Vervangt het huidige model, zodat je niet beide bewaart.",
"about {minutes} min left": "nog ongeveer {minutes} min",
"AI upgrade skipped": "AI-upgrade overgeslagen",
diff --git a/app/src/shared/locales/pl.json b/app/src/shared/locales/pl.json
index 0f494ccb..f7807067 100644
--- a/app/src/shared/locales/pl.json
+++ b/app/src/shared/locales/pl.json
@@ -690,8 +690,6 @@
"Upgrade paused": "Ulepszenie wstrzymane",
"You can record meetings. AI summaries and Ask work when this finishes.": "Możesz nagrywać spotkania. Podsumowania AI i Zapytaj zadziałają po pobraniu.",
"Once this model is ready, we'll remove the old one.": "Gdy ten model będzie gotowy, usuniemy stary.",
- "You can still record. Try again to turn on summaries and Ask.": "Nadal możesz nagrywać. Spróbuj ponownie, by włączyć podsumowania i Zapytaj.",
- "You can still use Yogurt without the upgrade.": "Możesz nadal używać Yogurt bez ulepszenia.",
"More detailed, accurate notes. Replaces the current model, so you don't keep both.": "Dokładniejsze, bardziej szczegółowe notatki. Zastępuje obecny model, więc nie zachowujesz obu.",
"about {minutes} min left": "pozostało około {minutes} min",
"AI upgrade skipped": "Ulepszenie AI pominięte",
diff --git a/app/src/shared/locales/pt-BR.json b/app/src/shared/locales/pt-BR.json
index cb996c53..7ecccf63 100644
--- a/app/src/shared/locales/pt-BR.json
+++ b/app/src/shared/locales/pt-BR.json
@@ -672,8 +672,6 @@
"Upgrade paused": "Melhoria pausada",
"You can record meetings. AI summaries and Ask work when this finishes.": "Você pode gravar reuniões. Resumos de IA e Perguntar funcionarão ao terminar.",
"Once this model is ready, we'll remove the old one.": "Quando este modelo estiver pronto, removeremos o antigo.",
- "You can still record. Try again to turn on summaries and Ask.": "Você ainda pode gravar. Tente de novo para ativar resumos e Perguntar.",
- "You can still use Yogurt without the upgrade.": "Você pode continuar usando o Yogurt sem a melhoria.",
"More detailed, accurate notes. Replaces the current model, so you don't keep both.": "Notas mais detalhadas e precisas. Substitui o modelo atual, para você não manter os dois.",
"about {minutes} min left": "faltam cerca de {minutes} min",
"AI upgrade skipped": "Melhoria de IA ignorada",
diff --git a/app/src/shared/locales/ro.json b/app/src/shared/locales/ro.json
index e742c756..8e2cd1ec 100644
--- a/app/src/shared/locales/ro.json
+++ b/app/src/shared/locales/ro.json
@@ -675,8 +675,6 @@
"Upgrade paused": "Actualizare în pauză",
"You can record meetings. AI summaries and Ask work when this finishes.": "Puteți înregistra întâlniri. Rezumatele AI și Întrebați vor funcționa la final.",
"Once this model is ready, we'll remove the old one.": "Când acest model este gata, îl vom elimina pe cel vechi.",
- "You can still record. Try again to turn on summaries and Ask.": "Puteți înregistra în continuare. Reîncercați pentru rezumate și Întrebați.",
- "You can still use Yogurt without the upgrade.": "Puteți folosi Yogurt și fără actualizare.",
"More detailed, accurate notes. Replaces the current model, so you don't keep both.": "Notițe mai detaliate și precise. Înlocuiește modelul actual, ca să nu le păstrați pe amândouă.",
"about {minutes} min left": "mai sunt aproximativ {minutes} min",
"AI upgrade skipped": "Actualizare AI omisă",
diff --git a/app/src/shared/locales/ru.json b/app/src/shared/locales/ru.json
index e8d1ecc5..2d4790ff 100644
--- a/app/src/shared/locales/ru.json
+++ b/app/src/shared/locales/ru.json
@@ -687,8 +687,6 @@
"Upgrade paused": "Обновление приостановлено",
"You can record meetings. AI summaries and Ask work when this finishes.": "Можно записывать встречи. ИИ-сводки и «Спросить» заработают после загрузки.",
"Once this model is ready, we'll remove the old one.": "Когда эта модель будет готова, мы удалим старую.",
- "You can still record. Try again to turn on summaries and Ask.": "Запись доступна. Повторите попытку для сводок и «Спросить».",
- "You can still use Yogurt without the upgrade.": "Можно пользоваться Yogurt без обновления.",
"More detailed, accurate notes. Replaces the current model, so you don't keep both.": "Более подробные и точные заметки. Заменяет текущую модель, чтобы не хранить обе.",
"about {minutes} min left": "осталось около {minutes} мин",
"AI upgrade skipped": "Обновление ИИ пропущено",
diff --git a/app/src/shared/locales/sv.json b/app/src/shared/locales/sv.json
index a671a206..d97659bb 100644
--- a/app/src/shared/locales/sv.json
+++ b/app/src/shared/locales/sv.json
@@ -660,8 +660,6 @@
"Upgrade paused": "Uppgradering pausad",
"You can record meetings. AI summaries and Ask work when this finishes.": "Du kan spela in möten. AI-sammanfattningar och Fråga fungerar när detta är klart.",
"Once this model is ready, we'll remove the old one.": "Vi tar bort den gamla modellen när den här är klar.",
- "You can still record. Try again to turn on summaries and Ask.": "Du kan fortsätta spela in. Försök igen för sammanfattningar och Fråga.",
- "You can still use Yogurt without the upgrade.": "Du kan fortsätta använda Yogurt utan uppgraderingen.",
"More detailed, accurate notes. Replaces the current model, so you don't keep both.": "Mer detaljerade, korrekta anteckningar. Ersätter den nuvarande modellen, så att du inte behåller båda.",
"about {minutes} min left": "ungefär {minutes} min kvar",
"AI upgrade skipped": "AI-uppgradering överhoppad",
diff --git a/app/src/shared/locales/th.json b/app/src/shared/locales/th.json
index 53e7cfeb..4df8d498 100644
--- a/app/src/shared/locales/th.json
+++ b/app/src/shared/locales/th.json
@@ -612,8 +612,6 @@
"Upgrade paused": "พักการอัปเกรดแล้ว",
"You can record meetings. AI summaries and Ask work when this finishes.": "บันทึกการประชุมได้ สรุป AI และถามจะใช้ได้เมื่อดาวน์โหลดเสร็จ",
"Once this model is ready, we'll remove the old one.": "เมื่อโมเดลนี้พร้อม เราจะลบโมเดลเก่าออก",
- "You can still record. Try again to turn on summaries and Ask.": "ยังบันทึกได้ ลองอีกครั้งเพื่อเปิดใช้สรุปและถาม",
- "You can still use Yogurt without the upgrade.": "ยังใช้ Yogurt ได้โดยไม่ต้องอัปเกรด",
"More detailed, accurate notes. Replaces the current model, so you don't keep both.": "โน้ตละเอียดและแม่นยำขึ้น แทนที่โมเดลปัจจุบัน จึงไม่ต้องเก็บทั้งสองโมเดล",
"about {minutes} min left": "เหลือประมาณ {minutes} นาที",
"AI upgrade skipped": "ข้ามการอัปเกรด AI แล้ว",
diff --git a/app/src/shared/locales/tr.json b/app/src/shared/locales/tr.json
index 269c6bb0..83124cee 100644
--- a/app/src/shared/locales/tr.json
+++ b/app/src/shared/locales/tr.json
@@ -648,8 +648,6 @@
"Upgrade paused": "Yükseltme duraklatıldı",
"You can record meetings. AI summaries and Ask work when this finishes.": "Toplantıları kaydedebilirsiniz. AI özetleri ve Sor, indirme bitince çalışır.",
"Once this model is ready, we'll remove the old one.": "Bu model hazır olduğunda eskisini kaldıracağız.",
- "You can still record. Try again to turn on summaries and Ask.": "Kayda devam edebilirsiniz. Özetler ve Sor için tekrar deneyin.",
- "You can still use Yogurt without the upgrade.": "Yogurt’u yükseltme olmadan kullanabilirsiniz.",
"More detailed, accurate notes. Replaces the current model, so you don't keep both.": "Daha ayrıntılı, doğru notlar. Mevcut modelin yerini alır, böylece ikisini birden tutmazsınız.",
"about {minutes} min left": "yaklaşık {minutes} dk kaldı",
"AI upgrade skipped": "AI yükseltmesi atlandı",
diff --git a/app/src/shared/locales/uk.json b/app/src/shared/locales/uk.json
index 77e3f35c..4303682b 100644
--- a/app/src/shared/locales/uk.json
+++ b/app/src/shared/locales/uk.json
@@ -687,8 +687,6 @@
"Upgrade paused": "Оновлення призупинено",
"You can record meetings. AI summaries and Ask work when this finishes.": "Можна записувати зустрічі. ШІ-підсумки й «Запитати» запрацюють після завантаження.",
"Once this model is ready, we'll remove the old one.": "Коли ця модель буде готова, ми видалимо стару.",
- "You can still record. Try again to turn on summaries and Ask.": "Запис доступний. Спробуйте ще раз для підсумків і «Запитати».",
- "You can still use Yogurt without the upgrade.": "Можна користуватися Yogurt без оновлення.",
"More detailed, accurate notes. Replaces the current model, so you don't keep both.": "Докладніші й точніші нотатки. Замінює поточну модель, щоб не зберігати обидві.",
"about {minutes} min left": "залишилося близько {minutes} хв",
"AI upgrade skipped": "Оновлення ШІ пропущено",
diff --git a/app/src/shared/locales/vi.json b/app/src/shared/locales/vi.json
index f8b18cef..206ada75 100644
--- a/app/src/shared/locales/vi.json
+++ b/app/src/shared/locales/vi.json
@@ -612,8 +612,6 @@
"Upgrade paused": "Đã tạm dừng nâng cấp",
"You can record meetings. AI summaries and Ask work when this finishes.": "Bạn có thể ghi âm họp. Tóm tắt AI và Hỏi sẽ dùng được khi tải xong.",
"Once this model is ready, we'll remove the old one.": "Khi mô hình này sẵn sàng, chúng tôi sẽ xóa mô hình cũ.",
- "You can still record. Try again to turn on summaries and Ask.": "Bạn vẫn ghi âm được. Thử lại để bật tóm tắt và Hỏi.",
- "You can still use Yogurt without the upgrade.": "Bạn vẫn dùng được Yogurt mà không cần nâng cấp.",
"More detailed, accurate notes. Replaces the current model, so you don't keep both.": "Ghi chú chi tiết, chính xác hơn. Thay thế mô hình hiện tại nên không cần giữ cả hai.",
"about {minutes} min left": "còn khoảng {minutes} phút",
"AI upgrade skipped": "Đã bỏ qua nâng cấp AI",
diff --git a/app/src/shared/locales/zh-CN.json b/app/src/shared/locales/zh-CN.json
index 987b02ec..cc338b36 100644
--- a/app/src/shared/locales/zh-CN.json
+++ b/app/src/shared/locales/zh-CN.json
@@ -612,8 +612,6 @@
"Upgrade paused": "升级已暂停",
"You can record meetings. AI summaries and Ask work when this finishes.": "你可以录制会议。下载完成后即可使用 AI 摘要和提问。",
"Once this model is ready, we'll remove the old one.": "此模型准备好后,我们会移除旧模型。",
- "You can still record. Try again to turn on summaries and Ask.": "你仍可录制。请重试以启用摘要和提问。",
- "You can still use Yogurt without the upgrade.": "无需升级,你也可以继续使用 Yogurt。",
"More detailed, accurate notes. Replaces the current model, so you don't keep both.": "笔记更详细、更准确。替换当前模型,无需同时保留两个。",
"about {minutes} min left": "还需约 {minutes} 分钟",
"AI upgrade skipped": "已跳过 AI 升级",
diff --git a/app/src/shared/locales/zh-TW.json b/app/src/shared/locales/zh-TW.json
index a2ecf75c..d41ed61a 100644
--- a/app/src/shared/locales/zh-TW.json
+++ b/app/src/shared/locales/zh-TW.json
@@ -612,8 +612,6 @@
"Upgrade paused": "升級已暫停",
"You can record meetings. AI summaries and Ask work when this finishes.": "你可以錄製會議。下載完成後即可使用 AI 摘要和提問。",
"Once this model is ready, we'll remove the old one.": "此模型準備好後,我們會移除舊模型。",
- "You can still record. Try again to turn on summaries and Ask.": "你仍可錄製。請重試以啟用摘要和提問。",
- "You can still use Yogurt without the upgrade.": "無需升級,你也可以繼續使用 Yogurt。",
"More detailed, accurate notes. Replaces the current model, so you don't keep both.": "筆記更詳細、更準確。取代目前的模型,無需同時保留兩個。",
"about {minutes} min left": "還需約 {minutes} 分鐘",
"AI upgrade skipped": "已略過 AI 升級",
diff --git a/app/test/downloader.test.ts b/app/test/downloader.test.ts
index 44e95e83..4a932ebc 100644
--- a/app/test/downloader.test.ts
+++ b/app/test/downloader.test.ts
@@ -62,6 +62,27 @@ describe('ensureFile', () => {
await expect(ensureFile({ url: URL, sha256: 'good', sizeGB: 20, dir: d }, deps({ freeDiskGB: async () => 25 })))
.rejects.toMatchObject({ name: 'DiskSpaceError', needGB: 5 })
})
+ it.each([
+ [Object.assign(new Error('write failed'), { code: 'ENOSPC' }), 0, 12],
+ [new Error('No space left on device'), 0, 12],
+ [Object.assign(new Error('write failed'), { code: 'ENOSPC' }), 500, 1],
+ ])('rechecks space after a full disk and keeps the partial download (%s, %s GB free)', async (error, free, needGB) => {
+ const d = dir()
+ const part = join(d, 'model-Q4.gguf.part')
+ writeFileSync(part, 'partial')
+ const bytes = Buffer.alloc(64 * 1024)
+ const dp = deps({
+ freeDiskGB: vi.fn().mockResolvedValueOnce(500).mockResolvedValue(free),
+ download: vi.fn(async () => { writeFileSync(part, bytes); throw error }),
+ })
+ await expect(ensureFile({ url: URL, sha256: 'good', sizeGB: 2.00001, dir: d }, dp))
+ .rejects.toMatchObject({ name: 'DiskSpaceError', needGB })
+ expect(dp.freeDiskGB).toHaveBeenCalledTimes(2)
+ expect(dp.download).toHaveBeenCalledTimes(1)
+ expect(dp.hashFile).not.toHaveBeenCalled()
+ expect(readFileSync(part)).toEqual(bytes)
+ expect(isVerified(d, 'model-Q4.gguf')).toBe(false)
+ })
it('retries once on checksum mismatch, then fails and deletes the file', async () => {
const d = dir()
const dp = deps({ hashFile: vi.fn(async () => 'bad') })
diff --git a/app/test/i18n-tables.test.ts b/app/test/i18n-tables.test.ts
index 7a3f4b55..752692a7 100644
--- a/app/test/i18n-tables.test.ts
+++ b/app/test/i18n-tables.test.ts
@@ -36,8 +36,6 @@ it('translates the popover readout and support in every locale', () => {
'Download stopped', 'Upgrade paused', 'about {minutes} min left',
'You can record meetings. AI summaries and Ask work when this finishes.',
"Once this model is ready, we'll remove the old one.",
- 'You can still record. Try again to turn on summaries and Ask.',
- 'You can still use Yogurt without the upgrade.',
]) {
expect(keys).toContain(key)
expect(table[key]).toBeTypeOf('string')