VoiceStudio is the open-source, fully-local ElevenLabs alternative — voice cloning, voice design, video dubbing, dictation, transcription & audiobook creation in 646 languages.
Python aiaudiobookcudadubbingelevenlabs-alternativehuggingfacelocal-firstmlxomnivoice-studiospeech-to-texttext-to-speechtranscriptiontranslatettsvoice-aivoice-cloningvoice-generationvoicestudioworkflow
fix(runtime): repair a missing Python environment automatically
velixiob1e0f610a0cc
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex abbe0d4ad..20bfb65e7 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -16,6 +16,10 @@ metadata and the backend fallback mirror it.- Preview iOS and Android companion apps: drive your own VoiceStudio from your phone (speak, voices and cloning, dubbing, dictation) after pairing by QR code; build from source for now ([guide](docs/mobile.md)) (#2965)+### Fixed++- The installed app now rebuilds a Python environment that antivirus or disk cleanup removed, once per launch with the usual setup progress, instead of stopping at a setup error; your voices and projects are untouched (#PR) — thanks @afraniohugo and @javalovelinux-cmd!+### Docs- Contributor guides and the pull request template explain how to sign the CLA before opening a first pull request (#2676)diff --git a/docs/install/troubleshooting.md b/docs/install/troubleshooting.mdindex a11e1cc23..6660336ad 100644--- a/docs/install/troubleshooting.md+++ b/docs/install/troubleshooting.md@@ -1332,6 +1332,7 @@ the message:ran out of time is treated as inconclusive instead of sending an intactruntime back to the setup screen. The first start after an install is theslowest because antivirus scans every new file; later starts are much faster.+- **Installed app, Python environment deleted** (antivirus, disk cleanup, interrupted update): VoiceStudio rebuilds it by itself on the next launch with the normal setup progress screen, once per launch. If that repair fails the setup screen says so; check the engine log and press Retry. Your voices and projects are never touched.- **`The Python environment in <folder> is missing`** or **`… is incomplete:<reason>`** (running from a source checkout) — run `bun run setup:api` in therepository and let it finish. *Missing* means no `.venv` exists yet.diff --git a/electron/src/main/backend.ts b/electron/src/main/backend.tsindex 00a336857..3ff1086f3 100644--- a/electron/src/main/backend.ts+++ b/electron/src/main/backend.ts@@ -1,3 +1,4 @@+import { decideMissingRuntime, runtimeWasInstalled } from './runtime-repair';import {installRuntime,promoteLegacyRuntimeCaches,@@ -604,6 +605,8 @@ export class BackendSupervisor extends EventEmitter<{private setupIssue: BackendStatus['setupIssue'];private setupRequiredGib: number | undefined;private runtimeInterrupted = false;+ private repairAttempted = false;+ private runtimeRepairFailed = false;private setupPhase: BackendStatus['setupPhase'] = 'checking';private readonly setupProgress = new SetupProgressTracker();private installation: AbortController | null = null;@@ -668,6 +671,8 @@ export class BackendSupervisor extends EventEmitter<{status.setupRequiredGib = this.setupRequiredGib;if (this.stage === 'setup_required' && this.runtimeInterrupted)status.runtimeInterrupted = true;+ if (this.stage === 'setup_required' && this.runtimeRepairFailed)+ status.runtimeRepairFailed = true;if (this.stage === 'installing') {status.setupPhase = this.setupPhase;status.setupProgress = this.setupProgress.snapshot();@@ -751,12 +756,34 @@ export class BackendSupervisor extends EventEmitter<{const { project, ready } = await this.resolveRuntimeProject();if (!ready) {if (gen === this.generation) {+ const action = decideMissingRuntime({+ packaged: true,+ previouslyInstalled: await runtimeWasInstalled(project),+ repairAttempted: this.repairAttempted,+ unsupported: isUnsupportedPlatform(),+ });+ this.runtimeRepairFailed = action === 'repair_failed';this.runtimeInterrupted = await runtimeInstallInterrupted(project);// Intel Macs can never resolve the runtime (#889), and the Intel// build under Rosetta resolves the same wheels (#2598): say so// now, before the setup screen offers an install that must fail.this.setupIssue = platformSetupIssue();- this.setStage('setup_required');+ this.setStage(+ 'setup_required',+ action === 'repair_failed'+ ? {+ message:+ 'The Python environment is missing and automatic repair did not finish. ' ++ `See the engine log in ${app.getPath('logs')}.`,+ }+ : undefined,+ );+ if (action === 'repair') {+ // Same flow as the setup wizard, one attempt per launch (no loop).+ this.repairAttempted = true;+ this.pushLog('out', `Python environment missing in ${project}; repairing it.`);+ void this.setupRuntime();+ }}return;}@@ -833,6 +860,7 @@ export class BackendSupervisor extends EventEmitter<{this.childLog.length = 0;this.setupIssue = undefined;this.setupRequiredGib = undefined;+ this.runtimeRepairFailed = false;this.runtimeInterrupted = false;this.setupPhase = 'checking';this.setupProgress.reset();@@ -946,6 +974,7 @@ export class BackendSupervisor extends EventEmitter<{: undefined;this.setupRequiredGib =code === 'ENOSPC' ? (error as { requiredGib?: number }).requiredGib : undefined;+ this.runtimeRepairFailed = this.repairAttempted;this.runtimeInterrupted = await runtimeInstallInterrupted(project);this.pushLog('err', errorMessage(error));this.setStage('setup_required', { message: errorMessage(error) });diff --git a/electron/src/main/runtime-repair.test.ts b/electron/src/main/runtime-repair.test.tsnew file mode 100644index 000000000..4123a8755--- /dev/null+++ b/electron/src/main/runtime-repair.test.ts@@ -0,0 +1,21 @@+// @vitest-environment node+import { expect, it } from 'vitest';+import { decideMissingRuntime } from './runtime-repair';++const base = { packaged: true, previouslyInstalled: true, repairAttempted: false };++it('repairs a packaged runtime that lost its environment', () => {+ expect(decideMissingRuntime(base)).toBe('repair');+});+it('stops after one attempt per launch', () => {+ expect(decideMissingRuntime({ ...base, repairAttempted: true })).toBe('repair_failed');+});+it('leaves a first run to the setup wizard', () => {+ expect(decideMissingRuntime({ ...base, previouslyInstalled: false })).toBe('wizard');+});+it('never auto-repairs where the runtime cannot resolve', () => {+ expect(decideMissingRuntime({ ...base, unsupported: true })).toBe('wizard');+});+it('advises setup:api for a source checkout', () => {+ expect(decideMissingRuntime({ ...base, packaged: false })).toBe('setup_api');+});diff --git a/electron/src/main/runtime-repair.ts b/electron/src/main/runtime-repair.tsnew file mode 100644index 000000000..ec4b8b52e--- /dev/null+++ b/electron/src/main/runtime-repair.ts@@ -0,0 +1,44 @@+import { stat } from 'node:fs/promises';+import { join } from 'node:path';++/**+ * What to do when the managed Python environment is not usable (#2988, #2948,+ * #2922, #2787, #2783, #2621). A runtime that was installed once and lost its+ * interpreter (antivirus, disk cleanup, an interrupted update) is rebuilt by the+ * same flow the setup wizard runs, once per launch; a first run still waits for+ * the user's explicit choice (download size, location, region).+ */+export type MissingRuntimeAction =+ | 'repair' // re-run setup automatically+ | 'wizard' // first run: show the setup screen and let the user start it+ | 'repair_failed' // already tried this launch: stop and show the message+ | 'setup_api'; // source checkout: the developer runs `bun run setup:api`++export interface MissingRuntimeFacts {+ packaged: boolean;+ /** The project folder holds traces of an earlier install (marker, .venv, bundle). */+ previouslyInstalled: boolean;+ /** An automatic repair has already been started during this launch. */+ repairAttempted: boolean;+ /** The platform can never resolve the runtime (Intel Mac): repairing would only fail. */+ unsupported?: boolean;+}++export function decideMissingRuntime(facts: MissingRuntimeFacts): MissingRuntimeAction {+ if (!facts.packaged) return 'setup_api';+ if (facts.unsupported || !facts.previouslyInstalled) return 'wizard';+ return facts.repairAttempted ? 'repair_failed' : 'repair';+}++/** True when the folder shows an earlier install (never true for a fresh machine). */+export async function runtimeWasInstalled(project: string): Promise<boolean> {+ for (const name of ['.runtime-ready', '.runtime-installing', '.venv', 'pyproject.toml']) {+ try {+ await stat(join(project, name));+ return true;+ } catch {+ /* absent */+ }+ }+ return false;+}diff --git a/electron/src/preload/index.d.ts b/electron/src/preload/index.d.tsindex c60857f65..bf8c88337 100644--- a/electron/src/preload/index.d.ts+++ b/electron/src/preload/index.d.ts@@ -35,6 +35,8 @@ export interface BackendStatus {setupRequiredGib?: number;/** A prior explicit install stopped after creating its resumable project/cache. */runtimeInterrupted?: boolean;+ /** Automatic repair of a lost Python environment already ran this launch and failed. */+ runtimeRepairFailed?: boolean;setupPhase?: 'checking' | 'downloading_uv' | 'installing_deps' | 'verifying';setupProgress?: {resolvedPackages?: number;diff --git a/electron/src/renderer/src/components/backend-gate.tsx b/electron/src/renderer/src/components/backend-gate.tsxindex be3ce7f19..8e9649cde 100644--- a/electron/src/renderer/src/components/backend-gate.tsx+++ b/electron/src/renderer/src/components/backend-gate.tsx@@ -233,7 +233,11 @@ export function BackendGate({ children, repairDock }: BackendGateProps) {? t('backend.proxy_bypass_help'): setup? t(- status.setupIssue ? `backend.setup_${status.setupIssue}` : 'backend.failed',+ status.setupIssue+ ? `backend.setup_${status.setupIssue}`+ : status.runtimeRepairFailed+ ? 'backend.repair_failed'+ : 'backend.failed',{gib: status.setupRequiredGib ?? 9,},diff --git a/electron/src/renderer/src/i18n/locales/ar.json b/electron/src/renderer/src/i18n/locales/ar.jsonindex 878488ce8..3dda93fe2 100644--- a/electron/src/renderer/src/i18n/locales/ar.json+++ b/electron/src/renderer/src/i18n/locales/ar.json@@ -2050,6 +2050,7 @@"setup_hint": "تنزيل Python وتبعيات التطبيق (عدة غيغابايت). تُثبّت نماذج الصوت بشكل منفصل عند اختيارها.","installing": "جاري…","setup_space": "وفّر {{gib}} غيغابايت على الأقل على قرص التطبيق، ثم أعد المحاولة.",+ "repair_failed": "لم يكتمل الإصلاح التلقائي لبيئة Python. راجع سجل المحرك ثم اضغط إعادة المحاولة.","setup_access": "اسمح بالكتابة في مجلد بيانات التطبيق، ثم أعد المحاولة.","setup_unsupported_platform": "لا يمكن لجهاز Mac هذا (Intel) تشغيل الواجهة الخلفية المحلية للذكاء الاصطناعي — لا يوفّر PyTorch حزم macOS Intel. اتصل بواجهة خلفية بعيدة أدناه؛ لا حاجة إلى تثبيت محلي.","setup_wrong_architecture": "هذه نسخة Intel (x64) من VoiceStudio تعمل عبر Rosetta على جهاز Mac بمعالج Apple Silicon، لذلك لا يمكن تثبيت خادم الذكاء الاصطناعي المحلي. أغلق التطبيق، وثبّت ملف DMG الخاص بـ Apple Silicon (arm64) فوقه، ثم أعد فتحه — ستبقى أصواتك ومشاريعك محفوظة.",diff --git a/electron/src/renderer/src/i18n/locales/de.json b/electron/src/renderer/src/i18n/locales/de.jsonindex 3a476d101..5a49235b7 100644--- a/electron/src/renderer/src/i18n/locales/de.json+++ b/electron/src/renderer/src/i18n/locales/de.json@@ -2042,6 +2042,7 @@"setup_hint": "Python und App-Abhängigkeiten herunterladen (mehrere GB). Sprachmodelle werden separat installiert, wenn du sie auswählst.","installing": "Abhängigkeiten…","setup_space": "Gib mindestens {{gib}} GiB auf dem Laufwerk der App frei und versuche es erneut.",+ "repair_failed": "Die automatische Reparatur der Python-Umgebung wurde nicht abgeschlossen. Prüfe das Engine-Protokoll und klicke dann auf Erneut versuchen.","setup_access": "Erlaube Schreibzugriff auf den Datenordner der App und versuche es erneut.","setup_unsupported_platform": "Dieser Intel-Mac kann das lokale KI-Backend nicht ausführen — PyTorch bietet keine macOS-Intel-Wheels. Verbinde stattdessen unten ein Remote-Backend; keine lokale Installation nötig.","setup_wrong_architecture": "Dies ist die Intel-Version (x64) von VoiceStudio, die über Rosetta auf einem Mac mit Apple Silicon läuft, daher kann das lokale KI-Backend nicht installiert werden. Beende die App, installiere das Apple-Silicon-DMG (arm64) darüber und öffne sie erneut – deine Stimmen und Projekte bleiben erhalten.",diff --git a/electron/src/renderer/src/i18n/locales/en.json b/electron/src/renderer/src/i18n/locales/en.jsonindex 73cb05747..043c45b48 100644--- a/electron/src/renderer/src/i18n/locales/en.json+++ b/electron/src/renderer/src/i18n/locales/en.json@@ -327,6 +327,7 @@"setup_hint": "Download Python and app dependencies (several GB). Voice models are installed separately when you choose them.","installing": "Installing…","setup_space": "Free at least {{gib}} GiB on the app’s drive, then retry.",+ "repair_failed": "Automatic repair of the Python environment did not finish. Check the engine log, then press Retry.","setup_access": "Allow write access to the app’s data folder, then retry.","setup_unsupported_platform": "This Intel Mac can't run the local AI backend — PyTorch ships no macOS Intel wheels. Connect a remote backend below instead; no local install is needed.","setup_wrong_architecture": "This is the Intel (x64) build of VoiceStudio running through Rosetta on an Apple Silicon Mac, so the local AI backend can't install. Quit, install the Apple Silicon (arm64) DMG over this app, and reopen — your voices and projects are kept.",diff --git a/electron/src/renderer/src/i18n/locales/es.json b/electron/src/renderer/src/i18n/locales/es.jsonindex a96464926..1d48c59f5 100644--- a/electron/src/renderer/src/i18n/locales/es.json+++ b/electron/src/renderer/src/i18n/locales/es.json@@ -2044,6 +2044,7 @@"setup_hint": "Descarga Python y las dependencias de la aplicación (varios GB). Los modelos de voz se instalan por separado cuando los eliges.","installing": "Instalando…","setup_space": "Libera al menos {{gib}} GiB en la unidad de la aplicación y vuelve a intentarlo.",+ "repair_failed": "La reparación automática del entorno de Python no terminó. Revisa el registro del motor y pulsa Reintentar.","setup_access": "Permite escribir en la carpeta de datos de la aplicación y vuelve a intentarlo.","setup_unsupported_platform": "Este Mac Intel no puede ejecutar el backend de IA local — PyTorch no ofrece wheels para macOS Intel. Conecta un backend remoto abajo; no se necesita instalación local.","setup_wrong_architecture": "Esta es la versión Intel (x64) de VoiceStudio ejecutándose mediante Rosetta en un Mac con Apple Silicon, por lo que el backend de IA local no se puede instalar. Cierra la app, instala encima el DMG para Apple Silicon (arm64) y vuelve a abrirla; tus voces y proyectos se conservan.",diff --git a/electron/src/renderer/src/i18n/locales/fr.json b/electron/src/renderer/src/i18n/locales/fr.jsonindex 5463ff265..dfae1c73b 100644--- a/electron/src/renderer/src/i18n/locales/fr.json+++ b/electron/src/renderer/src/i18n/locales/fr.json@@ -2044,6 +2044,7 @@"setup_hint": "Téléchargez Python et les dépendances de l’application (plusieurs Go). Les modèles vocaux sont installés séparément lorsque vous les choisissez.","installing": "Installation…","setup_space": "Libérez au moins {{gib}} Gio sur le disque de l’application, puis réessayez.",+ "repair_failed": "La réparation automatique de l’environnement Python n’a pas abouti. Consultez le journal du moteur, puis cliquez sur Réessayer.","setup_access": "Autorisez l’écriture dans le dossier de données de l’application, puis réessayez.","setup_unsupported_platform": "Ce Mac Intel ne peut pas exécuter le backend IA local — PyTorch ne fournit pas de wheels macOS Intel. Connectez plutôt un backend distant ci-dessous ; aucune installation locale n'est nécessaire.","setup_wrong_architecture": "Ceci est la version Intel (x64) de VoiceStudio exécutée via Rosetta sur un Mac Apple Silicon : le backend IA local ne peut donc pas s'installer. Quittez l'app, installez par-dessus le DMG Apple Silicon (arm64), puis rouvrez-la — vos voix et projets sont conservés.",diff --git a/electron/src/renderer/src/i18n/locales/hi.json b/electron/src/renderer/src/i18n/locales/hi.jsonindex 97422a188..91db8391e 100644--- a/electron/src/renderer/src/i18n/locales/hi.json+++ b/electron/src/renderer/src/i18n/locales/hi.json@@ -2042,6 +2042,7 @@"setup_hint": "Python और ऐप की निर्भरताएँ डाउनलोड करें (कई GB)। वॉइस मॉडल चुनने पर अलग से इंस्टॉल होंगे।","installing": "निर्भरताएँ…","setup_space": "ऐप की ड्राइव पर कम से कम {{gib}} GiB जगह खाली करें, फिर दोबारा प्रयास करें।",+ "repair_failed": "Python एनवायरनमेंट की स्वचालित मरम्मत पूरी नहीं हुई। इंजन लॉग देखें, फिर पुनः प्रयास दबाएँ।","setup_access": "ऐप के डेटा फ़ोल्डर में लिखने की अनुमति दें, फिर दोबारा प्रयास करें।","setup_unsupported_platform": "यह Intel Mac स्थानीय AI बैकएंड नहीं चला सकता — PyTorch में macOS Intel व्हील नहीं हैं। नीचे रिमोट बैकएंड से जुड़ें; स्थानीय इंस्टॉल की ज़रूरत नहीं है।","setup_wrong_architecture": "यह VoiceStudio का Intel (x64) बिल्ड है जो Apple Silicon Mac पर Rosetta के ज़रिए चल रहा है, इसलिए लोकल AI बैकएंड इंस्टॉल नहीं हो सकता। ऐप बंद करें, इसके ऊपर Apple Silicon (arm64) DMG इंस्टॉल करें और फिर से खोलें — आपकी आवाज़ें और प्रोजेक्ट सुरक्षित रहेंगे।",diff --git a/electron/src/renderer/src/i18n/locales/id.json b/electron/src/renderer/src/i18n/locales/id.jsonindex 341c510a7..2ec34361f 100644--- a/electron/src/renderer/src/i18n/locales/id.json+++ b/electron/src/renderer/src/i18n/locales/id.json@@ -2042,6 +2042,7 @@"setup_hint": "Unduh Python dan dependensi aplikasi (beberapa GB). Model suara diinstal secara terpisah saat Anda memilihnya.","installing": "Memasang…","setup_space": "Kosongkan setidaknya {{gib}} GiB di drive aplikasi, lalu coba lagi.",+ "repair_failed": "Perbaikan otomatis lingkungan Python tidak selesai. Periksa log mesin, lalu tekan Coba lagi.","setup_access": "Izinkan akses tulis ke folder data aplikasi, lalu coba lagi.","setup_unsupported_platform": "Mac Intel ini tidak dapat menjalankan backend AI lokal — PyTorch tidak menyediakan wheel macOS Intel. Hubungkan backend jarak jauh di bawah; instalasi lokal tidak diperlukan.","setup_wrong_architecture": "Ini adalah build Intel (x64) VoiceStudio yang berjalan melalui Rosetta di Mac Apple Silicon, sehingga backend AI lokal tidak dapat dipasang. Tutup aplikasi, pasang DMG Apple Silicon (arm64) di atasnya, lalu buka kembali — suara dan proyek Anda tetap tersimpan.",diff --git a/electron/src/renderer/src/i18n/locales/it.json b/electron/src/renderer/src/i18n/locales/it.jsonindex 6d566614d..e662bd064 100644--- a/electron/src/renderer/src/i18n/locales/it.json+++ b/electron/src/renderer/src/i18n/locales/it.json@@ -2044,6 +2044,7 @@"setup_hint": "Scarica Python e le dipendenze dell’app (diversi GB). I modelli vocali vengono installati separatamente quando li scegli.","installing": "Installazione…","setup_space": "Libera almeno {{gib}} GiB sull’unità dell’app, poi riprova.",+ "repair_failed": "La riparazione automatica dell’ambiente Python non è terminata. Controlla il registro del motore, poi premi Riprova.","setup_access": "Consenti l’accesso in scrittura alla cartella dati dell’app, poi riprova.","setup_unsupported_platform": "Questo Mac Intel non può eseguire il backend IA locale — PyTorch non fornisce wheel per macOS Intel. Connetti un backend remoto qui sotto; nessuna installazione locale necessaria.","setup_wrong_architecture": "Questa è la versione Intel (x64) di VoiceStudio in esecuzione tramite Rosetta su un Mac Apple Silicon, quindi il backend IA locale non può essere installato. Chiudi l'app, installa sopra il DMG Apple Silicon (arm64) e riaprila: voci e progetti vengono mantenuti.",diff --git a/electron/src/renderer/src/i18n/locales/ja.json b/electron/src/renderer/src/i18n/locales/ja.jsonindex b7591621b..9b51d5106 100644--- a/electron/src/renderer/src/i18n/locales/ja.json+++ b/electron/src/renderer/src/i18n/locales/ja.json@@ -2042,6 +2042,7 @@"setup_hint": "Pythonとアプリの依存関係(数GB)をダウンロードします。音声モデルは選択時に個別にインストールされます。","installing": "依存関係のインストール中…","setup_space": "アプリのドライブに{{gib}} GiB以上の空き容量を確保して、再試行してください。",+ "repair_failed": "Python 環境の自動修復が完了しませんでした。エンジンのログを確認して、再試行を押してください。","setup_access": "アプリのデータフォルダーへの書き込みを許可して、再試行してください。","setup_unsupported_platform": "このIntel MacではローカルAIバックエンドを実行できません — PyTorchにmacOS Intel用wheelがありません。代わりに下でリモートバックエンドに接続してください。ローカルインストールは不要です。","setup_wrong_architecture": "これは Apple Silicon Mac 上の Rosetta で動作している VoiceStudio の Intel (x64) 版のため、ローカル AI バックエンドをインストールできません。アプリを終了し、Apple Silicon (arm64) 版の DMG を上書きインストールしてから再度開いてください。ボイスとプロジェクトはそのまま残ります。",diff --git a/electron/src/renderer/src/i18n/locales/ko.json b/electron/src/renderer/src/i18n/locales/ko.jsonindex 9d1215b8a..08ad79bbc 100644--- a/electron/src/renderer/src/i18n/locales/ko.json+++ b/electron/src/renderer/src/i18n/locales/ko.json@@ -2042,6 +2042,7 @@"setup_hint": "Python과 앱 종속 항목을 다운로드합니다(수 GB). 음성 모델은 선택할 때 별도로 설치됩니다.","installing": "종속성…","setup_space": "앱 드라이브에 최소 {{gib}} GiB의 여유 공간을 확보한 후 다시 시도하세요.",+ "repair_failed": "Python 환경 자동 복구가 완료되지 않았습니다. 엔진 로그를 확인한 뒤 다시 시도를 누르세요.","setup_access": "앱 데이터 폴더에 쓰기 권한을 허용한 후 다시 시도하세요.","setup_unsupported_platform": "이 Intel Mac에서는 로컬 AI 백엔드를 실행할 수 없습니다 — PyTorch에 macOS Intel용 휠이 없습니다. 아래에서 원격 백엔드에 연결하세요. 로컬 설치는 필요하지 않습니다.","setup_wrong_architecture": "Apple Silicon Mac에서 Rosetta를 통해 실행 중인 VoiceStudio Intel(x64) 빌드이므로 로컬 AI 백엔드를 설치할 수 없습니다. 앱을 종료하고 Apple Silicon(arm64) DMG를 덮어 설치한 뒤 다시 여세요. 음성과 프로젝트는 그대로 유지됩니다.",diff --git a/electron/src/renderer/src/i18n/locales/nl.json b/electron/src/renderer/src/i18n/locales/nl.jsonindex 4b405d9ee..2e96e2d59 100644--- a/electron/src/renderer/src/i18n/locales/nl.json+++ b/electron/src/renderer/src/i18n/locales/nl.json@@ -2042,6 +2042,7 @@"setup_hint": "Download Python en app-afhankelijkheden (meerdere GB). Spraakmodellen worden afzonderlijk geïnstalleerd wanneer je ze kiest.","installing": "Afhankelijkheden…","setup_space": "Maak minstens {{gib}} GiB vrij op de schijf van de app en probeer het opnieuw.",+ "repair_failed": "Het automatisch herstellen van de Python-omgeving is niet voltooid. Bekijk het enginelogboek en kies Opnieuw proberen.","setup_access": "Sta schrijftoegang toe tot de gegevensmap van de app en probeer het opnieuw.","setup_unsupported_platform": "Deze Intel-Mac kan de lokale AI-backend niet uitvoeren — PyTorch levert geen macOS-Intel-wheels. Verbind hieronder een externe backend; geen lokale installatie nodig.","setup_wrong_architecture": "Dit is de Intel-versie (x64) van VoiceStudio die via Rosetta op een Mac met Apple Silicon draait, dus de lokale AI-backend kan niet worden geïnstalleerd. Sluit de app, installeer de Apple Silicon-DMG (arm64) eroverheen en open hem opnieuw — je stemmen en projecten blijven behouden.",diff --git a/electron/src/renderer/src/i18n/locales/pl.json b/electron/src/renderer/src/i18n/locales/pl.jsonindex 766ae1ac8..bac71c4b5 100644--- a/electron/src/renderer/src/i18n/locales/pl.json+++ b/electron/src/renderer/src/i18n/locales/pl.json@@ -2046,6 +2046,7 @@"setup_hint": "Pobierz Python i zależności aplikacji (kilka GB). Modele głosowe są instalowane oddzielnie po ich wybraniu.","installing": "Instalowanie…","setup_space": "Zwolnij co najmniej {{gib}} GiB na dysku aplikacji i spróbuj ponownie.",+ "repair_failed": "Automatyczna naprawa środowiska Python nie została ukończona. Sprawdź dziennik silnika i naciśnij Ponów.","setup_access": "Zezwól na zapis w folderze danych aplikacji i spróbuj ponownie.","setup_unsupported_platform": "Ten Mac z procesorem Intel nie może uruchomić lokalnego backendu AI — PyTorch nie udostępnia pakietów wheel dla macOS Intel. Podłącz zdalny backend poniżej; instalacja lokalna nie jest potrzebna.","setup_wrong_architecture": "To jest wersja Intel (x64) VoiceStudio uruchomiona przez Rosetta na Macu z Apple Silicon, więc lokalnego backendu AI nie da się zainstalować. Zamknij aplikację, zainstaluj na niej obraz DMG dla Apple Silicon (arm64) i otwórz ją ponownie — Twoje głosy i projekty zostaną zachowane.",diff --git a/electron/src/renderer/src/i18n/locales/pt.json b/electron/src/renderer/src/i18n/locales/pt.jsonindex 32dcc75a7..ceec0aaa1 100644--- a/electron/src/renderer/src/i18n/locales/pt.json+++ b/electron/src/renderer/src/i18n/locales/pt.json@@ -2044,6 +2044,7 @@"setup_hint": "Transfira Python e as dependências da aplicação (vários GB). Os modelos de voz são instalados separadamente quando os escolher.","installing": "Instalando…","setup_space": "Liberte pelo menos {{gib}} GiB na unidade da aplicação e tente novamente.",+ "repair_failed": "O reparo automático do ambiente Python não terminou. Veja o registro do motor e clique em Tentar novamente.","setup_access": "Permita a escrita na pasta de dados da aplicação e tente novamente.","setup_unsupported_platform": "Este Mac Intel não consegue executar o backend de IA local — o PyTorch não oferece wheels para macOS Intel. Conecte um backend remoto abaixo; nenhuma instalação local é necessária.","setup_wrong_architecture": "Esta é a versão Intel (x64) do VoiceStudio executada pelo Rosetta num Mac com Apple Silicon, por isso o backend de IA local não pode ser instalado. Feche o app, instale por cima o DMG para Apple Silicon (arm64) e abra-o novamente — suas vozes e projetos são mantidos.",diff --git a/electron/src/renderer/src/i18n/locales/ru.json b/electron/src/renderer/src/i18n/locales/ru.jsonindex dde141501..ab662e50a 100644--- a/electron/src/renderer/src/i18n/locales/ru.json+++ b/electron/src/renderer/src/i18n/locales/ru.json@@ -2046,6 +2046,7 @@"setup_hint": "Загрузите Python и зависимости приложения (несколько ГБ). Голосовые модели устанавливаются отдельно при их выборе.","installing": "Установка…","setup_space": "Освободите не менее {{gib}} ГиБ на диске приложения и повторите попытку.",+ "repair_failed": "Автоматическое восстановление среды Python не завершилось. Проверьте журнал движка и нажмите «Повторить».","setup_access": "Разрешите запись в папку данных приложения и повторите попытку.","setup_unsupported_platform": "Этот Mac на Intel не может запускать локальный ИИ-бэкенд — у PyTorch нет колёс под macOS Intel. Подключите удалённый бэкенд ниже; локальная установка не нужна.","setup_wrong_architecture": "Это версия VoiceStudio для Intel (x64), запущенная через Rosetta на Mac с Apple Silicon, поэтому локальный ИИ-бэкенд не может установиться. Закройте приложение, установите поверх него DMG для Apple Silicon (arm64) и откройте снова — ваши голоса и проекты сохранятся.",diff --git a/electron/src/renderer/src/i18n/locales/sv.json b/electron/src/renderer/src/i18n/locales/sv.jsonindex 25efc2956..8aa07ae9e 100644--- a/electron/src/renderer/src/i18n/locales/sv.json+++ b/electron/src/renderer/src/i18n/locales/sv.json@@ -2042,6 +2042,7 @@"setup_hint": "Hämta Python och appens beroenden (flera GB). Röstmodeller installeras separat när du väljer dem.","installing": "Installerar…","setup_space": "Frigör minst {{gib}} GiB på appens disk och försök igen.",+ "repair_failed": "Den automatiska reparationen av Python-miljön blev inte klar. Kontrollera motorloggen och tryck på Försök igen.","setup_access": "Tillåt skrivåtkomst till appens datamapp och försök igen.","setup_unsupported_platform": "Den här Intel-Macen kan inte köra den lokala AI-backendservern — PyTorch saknar macOS Intel-hjul. Anslut en fjärrbackend nedan istället; ingen lokal installation behövs.","setup_wrong_architecture": "Det här är Intel-versionen (x64) av VoiceStudio som körs via Rosetta på en Mac med Apple Silicon, så den lokala AI-backenden kan inte installeras. Avsluta appen, installera Apple Silicon-DMG:n (arm64) ovanpå och öppna den igen – dina röster och projekt finns kvar.",diff --git a/electron/src/renderer/src/i18n/locales/th.json b/electron/src/renderer/src/i18n/locales/th.jsonindex a1daaace6..c7ba3eb2d 100644--- a/electron/src/renderer/src/i18n/locales/th.json+++ b/electron/src/renderer/src/i18n/locales/th.json@@ -2042,6 +2042,7 @@"setup_hint": "ดาวน์โหลด Python และส่วนประกอบที่แอปต้องใช้ (หลาย GB) โมเดลเสียงจะติดตั้งแยกต่างหากเมื่อคุณเลือก","installing": "กำลังติดตั้งแพ็กเกจที่จำเป็น…","setup_space": "เพิ่มพื้นที่ว่างอย่างน้อย {{gib}} GiB บนไดรฟ์ของแอป แล้วลองอีกครั้ง",+ "repair_failed": "การซ่อมแซมสภาพแวดล้อม Python อัตโนมัติไม่เสร็จสมบูรณ์ ตรวจสอบบันทึกของเอนจิน แล้วกดลองใหม่","setup_access": "อนุญาตให้เขียนลงในโฟลเดอร์ข้อมูลของแอป แล้วลองอีกครั้ง","setup_unsupported_platform": "Mac Intel เครื่องนี้ไม่สามารถเรียกใช้ AI แบ็กเอนด์ในเครื่องได้ — PyTorch ไม่มี wheel สำหรับ macOS Intel โปรดเชื่อมต่อรีโมตแบ็กเอนด์ด้านล่าง ไม่จำเป็นต้องติดตั้งในเครื่อง","setup_wrong_architecture": "นี่คือ VoiceStudio รุ่น Intel (x64) ที่ทำงานผ่าน Rosetta บน Mac ชิป Apple Silicon จึงติดตั้งแบ็กเอนด์ AI ในเครื่องไม่ได้ ปิดแอป ติดตั้ง DMG รุ่น Apple Silicon (arm64) ทับ แล้วเปิดใหม่ — เสียงและโปรเจกต์ของคุณจะยังอยู่ครบ",diff --git a/electron/src/renderer/src/i18n/locales/tr.json b/electron/src/renderer/src/i18n/locales/tr.jsonindex 1a11776d0..cf0d0c362 100644--- a/electron/src/renderer/src/i18n/locales/tr.json+++ b/electron/src/renderer/src/i18n/locales/tr.json@@ -2042,6 +2042,7 @@"setup_hint": "Python ve uygulama bağımlılıklarını indirin (birkaç GB). Ses modelleri seçtiğinizde ayrı olarak yüklenir.","installing": "Bağımlılıklar…","setup_space": "Uygulamanın sürücüsünde en az {{gib}} GiB alan açıp yeniden deneyin.",+ "repair_failed": "Python ortamının otomatik onarımı tamamlanamadı. Motor günlüğünü kontrol edip Yeniden dene’ye basın.","setup_access": "Uygulamanın veri klasörüne yazma izni verip yeniden deneyin.","setup_unsupported_platform": "Bu Intel Mac, yerel yapay zekâ arka ucunu çalıştıramaz — PyTorch'ta macOS Intel wheel'leri yok. Bunun yerine aşağıdan bir uzak arka uca bağlanın; yerel kurulum gerekmez.","setup_wrong_architecture": "Bu, Apple Silicon bir Mac'te Rosetta üzerinden çalışan VoiceStudio Intel (x64) sürümü; bu yüzden yerel yapay zekâ arka ucu kurulamıyor. Uygulamadan çıkın, Apple Silicon (arm64) DMG'sini üzerine kurun ve yeniden açın — sesleriniz ve projeleriniz korunur.",diff --git a/electron/src/renderer/src/i18n/locales/uk.json b/electron/src/renderer/src/i18n/locales/uk.jsonindex 38156c48a..814cc22b8 100644--- a/electron/src/renderer/src/i18n/locales/uk.json+++ b/electron/src/renderer/src/i18n/locales/uk.json@@ -2046,6 +2046,7 @@"setup_hint": "Завантажте Python і залежності застосунку (кілька ГБ). Голосові моделі встановлюються окремо, коли ви їх вибираєте.","installing": "Встановлення…","setup_space": "Звільніть щонайменше {{gib}} ГіБ на диску застосунку й повторіть спробу.",+ "repair_failed": "Автоматичне відновлення середовища Python не завершилося. Перевірте журнал рушія й натисніть «Повторити».","setup_access": "Дозвольте запис до папки даних застосунку й повторіть спробу.","setup_unsupported_platform": "Цей Mac на Intel не може запускати локальний ШІ-бекенд — PyTorch не має коліс під macOS Intel. Підключіть віддалений бекенд нижче; локальне встановлення не потрібне.","setup_wrong_architecture": "Це версія VoiceStudio для Intel (x64), запущена через Rosetta на Mac з Apple Silicon, тому локальний ШІ-бекенд не може встановитися. Закрийте застосунок, встановіть поверх нього DMG для Apple Silicon (arm64) і відкрийте знову — ваші голоси та проєкти збережуться.",diff --git a/electron/src/renderer/src/i18n/locales/vi.json b/electron/src/renderer/src/i18n/locales/vi.jsonindex c4836bb46..eca6e188d 100644--- a/electron/src/renderer/src/i18n/locales/vi.json+++ b/electron/src/renderer/src/i18n/locales/vi.json@@ -2042,6 +2042,7 @@"setup_hint": "Tải Python và các thành phần phụ thuộc của ứng dụng (vài GB). Mô hình giọng nói được cài riêng khi bạn chọn.","installing": "Đang…","setup_space": "Giải phóng ít nhất {{gib}} GiB trên ổ đĩa của ứng dụng rồi thử lại.",+ "repair_failed": "Tự động sửa môi trường Python chưa hoàn tất. Hãy kiểm tra nhật ký công cụ rồi nhấn Thử lại.","setup_access": "Cho phép ghi vào thư mục dữ liệu của ứng dụng rồi thử lại.","setup_unsupported_platform": "Máy Mac Intel này không thể chạy backend AI cục bộ — PyTorch không có wheel cho macOS Intel. Hãy kết nối backend từ xa bên dưới; không cần cài đặt cục bộ.","setup_wrong_architecture": "Đây là bản VoiceStudio cho Intel (x64) đang chạy qua Rosetta trên máy Mac Apple Silicon, nên không thể cài backend AI cục bộ. Hãy thoát ứng dụng, cài đè bản DMG Apple Silicon (arm64) rồi mở lại — giọng nói và dự án của bạn vẫn được giữ nguyên.",diff --git a/electron/src/renderer/src/i18n/locales/zh-CN.json b/electron/src/renderer/src/i18n/locales/zh-CN.jsonindex 3e13b66f8..6de51f57f 100644--- a/electron/src/renderer/src/i18n/locales/zh-CN.json+++ b/electron/src/renderer/src/i18n/locales/zh-CN.json@@ -2042,6 +2042,7 @@"setup_hint": "下载 Python 和应用依赖项(数 GB)。语音模型将在您选择时单独安装。","installing": "正在安装依赖项…","setup_space": "请在应用所在磁盘上释放至少 {{gib}} GiB 空间,然后重试。",+ "repair_failed": "Python 环境的自动修复未完成。请查看引擎日志,然后点击重试。","setup_access": "请允许写入应用数据文件夹,然后重试。","setup_unsupported_platform": "此 Intel Mac 无法运行本地 AI 后端——PyTorch 不提供 macOS Intel 构建。请在下方连接远程后端,无需本地安装。","setup_wrong_architecture": "这是通过 Rosetta 在 Apple Silicon Mac 上运行的 VoiceStudio Intel (x64) 版本,因此无法安装本地 AI 后端。请退出应用,覆盖安装 Apple Silicon (arm64) 版 DMG 后重新打开——你的声音和项目都会保留。",diff --git a/electron/src/renderer/src/i18n/locales/zh-TW.json b/electron/src/renderer/src/i18n/locales/zh-TW.jsonindex 6d6927fc8..639b22e66 100644--- a/electron/src/renderer/src/i18n/locales/zh-TW.json+++ b/electron/src/renderer/src/i18n/locales/zh-TW.json@@ -2042,6 +2042,7 @@"setup_hint": "下載 Python 和應用程式相依套件(數 GB)。語音模型將在您選擇時個別安裝。","installing": "正在安裝依賴項…","setup_space": "請在應用程式所在磁碟上釋出至少 {{gib}} GiB 空間,然後重試。",+ "repair_failed": "Python 環境的自動修復未完成。請查看引擎記錄,然後按一下重試。","setup_access": "請允許寫入應用程式資料夾,然後重試。","setup_unsupported_platform": "此 Intel Mac 無法執行本機 AI 後端——PyTorch 未提供 macOS Intel 建置。請在下方連接遠端後端,無需本機安裝。","setup_wrong_architecture": "這是透過 Rosetta 在 Apple Silicon Mac 上執行的 VoiceStudio Intel (x64) 版本,因此無法安裝本機 AI 後端。請結束應用程式,覆蓋安裝 Apple Silicon (arm64) 版 DMG 後重新開啟——你的聲音與專案都會保留。",