Skip to content

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

i18n: add Wayland paste setup translations for all languages

Alcahest4d8ad083baac
diff --git a/src/components/SettingsPage.tsx b/src/components/SettingsPage.tsx
index 7a6f27a74..4b152e03a 100644
--- a/src/components/SettingsPage.tsx
+++ b/src/components/SettingsPage.tsx
@@ -2184,60 +2184,78 @@ EOF`,
},
];
+ const allOk = checks.every((c) => c.ok);
const activeGuide = checks.find((c) => c.key === ydotoolGuideKey);
return (
<>
- <div className="rounded-xl border border-border overflow-hidden">
- <div className="divide-y divide-border">
- {checks.map((item) => (
- <div key={item.key} className="px-4 py-3">
- <div className="flex items-center gap-2.5">
- {item.ok ? (
- <CircleCheck className="h-4 w-4 shrink-0 text-emerald-500" />
- ) : (
- <CircleX className="h-4 w-4 shrink-0 text-red-500" />
- )}
- <div className="flex-1 min-w-0">
- <span className="text-sm font-medium">{item.label}</span>
- <span className="text-xs text-muted-foreground ml-2">{item.desc}</span>
- {item.note && (
- <p className="text-[11px] text-amber-600 dark:text-amber-400 mt-0.5 ml-0">{item.note}</p>
- )}
- </div>
- {!item.ok && (
- <button
- onClick={() => setYdotoolGuideKey(item.key)}
- className="shrink-0 flex items-center gap-1 text-xs px-2.5 py-1 rounded-md border border-border hover:bg-muted transition-colors text-foreground"
- >
- <BookOpen className="w-3 h-3" />
- {t("settingsPage.general.waylandPaste.guide.open", {
- defaultValue: "Guide",
- })}
- </button>
- )}
+ {allOk ? (
+ <SettingsPanel>
+ <SettingsPanelRow>
+ <div className="flex items-center justify-between">
+ <div className="flex items-center gap-2">
+ <CircleCheck className="h-4 w-4 text-emerald-500" />
+ <span className="text-sm">
+ {t("settingsPage.general.waylandPaste.allGoodDesc", {
+ defaultValue: "Auto-paste is ready to go.",
+ })}
+ </span>
</div>
+ <button
+ onClick={refreshYdotoolStatus}
+ className="shrink-0 text-muted-foreground hover:text-foreground transition-colors"
+ >
+ <RotateCw className="w-3.5 h-3.5" />
+ </button>
+ </div>
+ </SettingsPanelRow>
+ </SettingsPanel>
+ ) : (
+ <>
+ <div className="rounded-xl border border-border overflow-hidden">
+ <div className="divide-y divide-border">
+ {checks.map((item) => (
+ <div key={item.key} className="px-4 py-3">
+ <div className="flex items-center gap-2.5">
+ {item.ok ? (
+ <CircleCheck className="h-4 w-4 shrink-0 text-emerald-500" />
+ ) : (
+ <CircleX className="h-4 w-4 shrink-0 text-red-500" />
+ )}
+ <div className="flex-1 min-w-0">
+ <span className="text-sm font-medium">{item.label}</span>
+ <span className="text-xs text-muted-foreground ml-2">{item.desc}</span>
+ {item.note && (
+ <p className="text-[11px] text-amber-600 dark:text-amber-400 mt-0.5">{item.note}</p>
+ )}
+ </div>
+ {!item.ok && (
+ <button
+ onClick={() => setYdotoolGuideKey(item.key)}
+ className="shrink-0 flex items-center gap-1 text-xs px-2.5 py-1 rounded-md border border-border hover:bg-muted transition-colors text-foreground"
+ >
+ <BookOpen className="w-3 h-3" />
+ {t("settingsPage.general.waylandPaste.guide.open", {
+ defaultValue: "Guide",
+ })}
+ </button>
+ )}
+ </div>
+ </div>
+ ))}
</div>
- ))}
- </div>
- {checks.every((c) => c.ok) && (
- <div className="px-4 py-2.5 bg-emerald-50 dark:bg-emerald-950/30 text-emerald-700 dark:text-emerald-300 text-xs">
- {t("settingsPage.general.waylandPaste.allGoodDesc", {
- defaultValue: "ydotool is fully configured. Auto-paste should work correctly.",
- })}
</div>
- )}
- </div>
-
- <button
- onClick={refreshYdotoolStatus}
- className="flex items-center gap-1.5 mt-3 text-xs text-muted-foreground hover:text-foreground transition-colors"
- >
- <RotateCw className="w-3 h-3" />
- {t("settingsPage.general.waylandPaste.recheck", {
- defaultValue: "Re-check",
- })}
- </button>
+ <button
+ onClick={refreshYdotoolStatus}
+ className="flex items-center gap-1.5 mt-3 text-xs text-muted-foreground hover:text-foreground transition-colors"
+ >
+ <RotateCw className="w-3 h-3" />
+ {t("settingsPage.general.waylandPaste.recheck", {
+ defaultValue: "Re-check",
+ })}
+ </button>
+ </>
+ )}
{/* Step-by-step guide dialog */}
<Dialog open={!!activeGuide} onOpenChange={(open) => !open && setYdotoolGuideKey(null)}>
diff --git a/src/locales/de/translation.json b/src/locales/de/translation.json
index 5e64edec9..ee99f3033 100644
--- a/src/locales/de/translation.json
+++ b/src/locales/de/translation.json
@@ -1084,6 +1084,63 @@
"launchAtLoginDescription": "OpenWhispr automatisch starten, wenn Sie sich anmelden",
"title": "Autostart"
},
+ "waylandPaste": {
+ "title": "Wayland-Einfügen einrichten",
+ "description": "Das automatische Einfügen unter Wayland erfordert ydotool. Prüfen Sie den Status der einzelnen Komponenten.",
+ "allGoodDesc": "Das automatische Einfügen ist einsatzbereit.",
+ "recheck": "Erneut prüfen",
+ "copy": "Kopieren",
+ "ydotoolDesc": "Eingabeautomatisierung für Wayland",
+ "ydotooldDesc": "Daemon für ydotool (separates Paket unter Ubuntu/Pop!_OS)",
+ "uinputDesc": "Zugriff auf das Kernel-Eingabegerät",
+ "uinputRuleFound": "Regel vorhanden, aber nicht aktiv. Ein Neustart sollte das beheben.",
+ "uinputRuleMissing": "Keine udev-Regel gefunden",
+ "inputGroup": "input-Gruppe",
+ "inputGroupDesc": "Der Benutzer muss Mitglied der Gruppe input sein (erneute Anmeldung erforderlich)",
+ "service": "systemd-Dienst",
+ "serviceDesc": "Benutzer-Dienstdatei für den automatischen Start von ydotoold",
+ "daemon": "ydotoold-Daemon",
+ "daemonDesc": "Der Hintergrunddienst muss laufen",
+ "guide": {
+ "open": "Anleitung",
+ "ydotool": {
+ "step1Title": "ydotool installieren",
+ "step1Desc": "Verwenden Sie den Paketmanager Ihrer Distribution, um ydotool zu installieren.",
+ "step2Title": "Installation überprüfen",
+ "step2Desc": "Prüfen Sie, ob ydotool in Ihrem PATH verfügbar ist."
+ },
+ "ydotoold": {
+ "step1Title": "ydotoold installieren",
+ "step1Desc": "Unter Ubuntu und Pop!_OS ist ydotoold ein separates Paket. Unter Fedora ist es in ydotool enthalten."
+ },
+ "uinput": {
+ "ruleFoundTitle": "udev-Regel bereits konfiguriert",
+ "ruleFoundDesc": "Die udev-Regel für /dev/uinput ist bereits auf Ihrem System vorhanden, aber noch nicht aktiv. Versuchen Sie, sie neu zu laden:",
+ "rebootTitle": "Falls das Neuladen nicht geholfen hat, starten Sie neu",
+ "rebootDesc": "Bei einigen Distributionen werden udev-Änderungen erst nach einem vollständigen Neustart wirksam. Starten Sie Ihren Computer neu und prüfen Sie erneut.",
+ "step1Title": "Eine udev-Regel erstellen",
+ "step1Desc": "Diese Regel gewährt Benutzern der Gruppe input Zugriff auf /dev/uinput.",
+ "step2Title": "udev-Regeln neu laden",
+ "step2Desc": "Die neue Regel ohne Neustart anwenden."
+ },
+ "group": {
+ "step1Title": "Ihren Benutzer zur Gruppe input hinzufügen",
+ "step2Title": "Abmelden und wieder anmelden",
+ "step2Desc": "Gruppenänderungen werden erst nach einer neuen Sitzung wirksam. Melden Sie sich ab, wieder an und öffnen Sie OpenWhispr erneut."
+ },
+ "service": {
+ "step1Title": "Dienstverzeichnis erstellen",
+ "step2Title": "Dienstdatei erstellen",
+ "step2Desc": "Erstellt einen systemd-Dienst auf Benutzerebene, der ydotoold automatisch bei der Anmeldung startet.",
+ "step3Title": "Neu laden und aktivieren"
+ },
+ "daemon": {
+ "step1Title": "Daemon starten",
+ "step1Desc": "Starten Sie ydotoold und aktivieren Sie es für jeden Anmeldevorgang.",
+ "step2Title": "Prüfen, ob er läuft"
+ }
+ }
+ },
"updates": {
"badges": {
"dev": "Dev",
diff --git a/src/locales/en/translation.json b/src/locales/en/translation.json
index e408696de..48fdde3de 100644
--- a/src/locales/en/translation.json
+++ b/src/locales/en/translation.json
@@ -1102,6 +1102,63 @@
"launchAtLoginDescription": "Start OpenWhispr automatically when you log in",
"title": "Startup"
},
+ "waylandPaste": {
+ "title": "Wayland Paste Setup",
+ "description": "Auto-paste on Wayland requires ydotool. Check the status of each component below.",
+ "allGoodDesc": "Auto-paste is ready to go.",
+ "recheck": "Re-check",
+ "copy": "Copy",
+ "ydotoolDesc": "Input automation tool for Wayland",
+ "ydotooldDesc": "Daemon for ydotool (separate package on Ubuntu/Pop!_OS)",
+ "uinputDesc": "Kernel input device access",
+ "uinputRuleFound": "Rule present but not active. A reboot should fix it.",
+ "uinputRuleMissing": "no udev rule found",
+ "inputGroup": "input group",
+ "inputGroupDesc": "User must be in the input group (requires re-login)",
+ "service": "systemd service",
+ "serviceDesc": "User service file for auto-starting ydotoold",
+ "daemon": "ydotoold daemon",
+ "daemonDesc": "Background service must be running",
+ "guide": {
+ "open": "Guide",
+ "ydotool": {
+ "step1Title": "Install ydotool",
+ "step1Desc": "Use your distribution's package manager to install ydotool.",
+ "step2Title": "Verify installation",
+ "step2Desc": "Check that ydotool is available in your PATH."
+ },
+ "ydotoold": {
+ "step1Title": "Install ydotoold",
+ "step1Desc": "On Ubuntu and Pop!_OS, ydotoold is a separate package. On Fedora, it's included with ydotool."
+ },
+ "uinput": {
+ "ruleFoundTitle": "udev rule already configured",
+ "ruleFoundDesc": "The udev rule for /dev/uinput is already on your system but hasn't taken effect. Try reloading:",
+ "rebootTitle": "If reloading didn't help, reboot",
+ "rebootDesc": "On some distros, udev changes only apply after a full reboot. Restart your computer and come back to re-check.",
+ "step1Title": "Create a udev rule",
+ "step1Desc": "This rule grants access to /dev/uinput for users in the input group.",
+ "step2Title": "Reload udev rules",
+ "step2Desc": "Apply the new rule without rebooting."
+ },
+ "group": {
+ "step1Title": "Add your user to the input group",
+ "step2Title": "Log out and back in",
+ "step2Desc": "Group changes only take effect after a new login session. Log out of your desktop and log back in, then reopen OpenWhispr."
+ },
+ "service": {
+ "step1Title": "Create the service directory",
+ "step2Title": "Create the service file",
+ "step2Desc": "This creates a user-level systemd service that starts ydotoold automatically when you log in.",
+ "step3Title": "Reload and enable"
+ },
+ "daemon": {
+ "step1Title": "Start the daemon",
+ "step1Desc": "Start ydotoold and enable it so it runs on every login.",
+ "step2Title": "Verify it's running"
+ }
+ }
+ },
"updates": {
"badges": {
"dev": "Dev",
diff --git a/src/locales/es/translation.json b/src/locales/es/translation.json
index dd05c6541..3933eb8d0 100644
--- a/src/locales/es/translation.json
+++ b/src/locales/es/translation.json
@@ -1088,6 +1088,63 @@
"launchAtLoginDescription": "Inicia OpenWhispr automáticamente al iniciar sesión",
"title": "Inicio"
},
+ "waylandPaste": {
+ "title": "Configuración de pegado en Wayland",
+ "description": "El pegado automático en Wayland requiere ydotool. Comprueba el estado de cada componente a continuación.",
+ "allGoodDesc": "El pegado automático está listo.",
+ "recheck": "Volver a comprobar",
+ "copy": "Copiar",
+ "ydotoolDesc": "Herramienta de automatización de entrada para Wayland",
+ "ydotooldDesc": "Daemon de ydotool (paquete separado en Ubuntu/Pop!_OS)",
+ "uinputDesc": "Acceso al dispositivo de entrada del kernel",
+ "uinputRuleFound": "Regla presente pero no activa. Un reinicio debería solucionarlo.",
+ "uinputRuleMissing": "no se encontró ninguna regla udev",
+ "inputGroup": "grupo input",
+ "inputGroupDesc": "El usuario debe pertenecer al grupo input (requiere cerrar sesión)",
+ "service": "servicio systemd",
+ "serviceDesc": "Archivo de servicio de usuario para iniciar ydotoold automáticamente",
+ "daemon": "daemon ydotoold",
+ "daemonDesc": "El servicio en segundo plano debe estar en ejecución",
+ "guide": {
+ "open": "Guía",
+ "ydotool": {
+ "step1Title": "Instalar ydotool",
+ "step1Desc": "Usa el gestor de paquetes de tu distribución para instalar ydotool.",
+ "step2Title": "Verificar la instalación",
+ "step2Desc": "Comprueba que ydotool esté disponible en tu PATH."
+ },
+ "ydotoold": {
+ "step1Title": "Instalar ydotoold",
+ "step1Desc": "En Ubuntu y Pop!_OS, ydotoold es un paquete separado. En Fedora viene incluido con ydotool."
+ },
+ "uinput": {
+ "ruleFoundTitle": "Regla udev ya configurada",
+ "ruleFoundDesc": "La regla udev para /dev/uinput ya está en tu sistema pero aún no se ha aplicado. Prueba a recargarla:",
+ "rebootTitle": "Si recargar no funcionó, reinicia",
+ "rebootDesc": "En algunas distribuciones, los cambios de udev solo se aplican tras un reinicio completo. Reinicia tu ordenador y vuelve aquí para comprobar.",
+ "step1Title": "Crear una regla udev",
+ "step1Desc": "Esta regla concede acceso a /dev/uinput a los usuarios del grupo input.",
+ "step2Title": "Recargar las reglas udev",
+ "step2Desc": "Aplica la nueva regla sin reiniciar."
+ },
+ "group": {
+ "step1Title": "Añade tu usuario al grupo input",
+ "step2Title": "Cierra sesión y vuelve a entrar",
+ "step2Desc": "Los cambios de grupo solo surten efecto tras una nueva sesión. Cierra sesión en tu escritorio, vuelve a entrar y reabre OpenWhispr."
+ },
+ "service": {
+ "step1Title": "Crear el directorio del servicio",
+ "step2Title": "Crear el archivo del servicio",
+ "step2Desc": "Crea un servicio systemd a nivel de usuario que inicia ydotoold automáticamente al iniciar sesión.",
+ "step3Title": "Recargar y habilitar"
+ },
+ "daemon": {
+ "step1Title": "Iniciar el daemon",
+ "step1Desc": "Inicia ydotoold y habilítalo para que se ejecute en cada inicio de sesión.",
+ "step2Title": "Verificar que está en ejecución"
+ }
+ }
+ },
"updates": {
"badges": {
"dev": "Dev",
diff --git a/src/locales/fr/translation.json b/src/locales/fr/translation.json
index 76c3beec6..de558c48e 100644
--- a/src/locales/fr/translation.json
+++ b/src/locales/fr/translation.json
@@ -1088,6 +1088,63 @@
"launchAtLoginDescription": "Démarrer OpenWhispr automatiquement à la connexion",
"title": "Démarrage"
},
+ "waylandPaste": {
+ "title": "Configuration du collage Wayland",
+ "description": "Le collage automatique sous Wayland nécessite ydotool. Vérifiez l'état de chaque composant ci-dessous.",
+ "allGoodDesc": "Le collage automatique est prêt.",
+ "recheck": "Revérifier",
+ "copy": "Copier",
+ "ydotoolDesc": "Outil d'automatisation de saisie pour Wayland",
+ "ydotooldDesc": "Daemon pour ydotool (paquet séparé sur Ubuntu/Pop!_OS)",
+ "uinputDesc": "Accès au périphérique d'entrée du noyau",
+ "uinputRuleFound": "Règle présente mais inactive. Un redémarrage devrait résoudre le problème.",
+ "uinputRuleMissing": "aucune règle udev trouvée",
+ "inputGroup": "groupe input",
+ "inputGroupDesc": "L'utilisateur doit appartenir au groupe input (reconnexion requise)",
+ "service": "service systemd",
+ "serviceDesc": "Fichier de service utilisateur pour le démarrage automatique de ydotoold",
+ "daemon": "daemon ydotoold",
+ "daemonDesc": "Le service en arrière-plan doit être en cours d'exécution",
+ "guide": {
+ "open": "Guide",
+ "ydotool": {
+ "step1Title": "Installer ydotool",
+ "step1Desc": "Utilisez le gestionnaire de paquets de votre distribution pour installer ydotool.",
+ "step2Title": "Vérifier l'installation",
+ "step2Desc": "Vérifiez que ydotool est disponible dans votre PATH."
+ },
+ "ydotoold": {
+ "step1Title": "Installer ydotoold",
+ "step1Desc": "Sur Ubuntu et Pop!_OS, ydotoold est un paquet séparé. Sur Fedora, il est inclus avec ydotool."
+ },
+ "uinput": {
+ "ruleFoundTitle": "Règle udev déjà configurée",
+ "ruleFoundDesc": "La règle udev pour /dev/uinput est déjà présente sur votre système mais n'a pas encore pris effet. Essayez de la recharger :",
+ "rebootTitle": "Si le rechargement n'a pas fonctionné, redémarrez",
+ "rebootDesc": "Sur certaines distributions, les modifications udev ne s'appliquent qu'après un redémarrage complet. Redémarrez votre ordinateur et revenez vérifier.",
+ "step1Title": "Créer une règle udev",
+ "step1Desc": "Cette règle accorde l'accès à /dev/uinput aux utilisateurs du groupe input.",
+ "step2Title": "Recharger les règles udev",
+ "step2Desc": "Appliquer la nouvelle règle sans redémarrer."
+ },
+ "group": {
+ "step1Title": "Ajouter votre utilisateur au groupe input",
+ "step2Title": "Se déconnecter et se reconnecter",
+ "step2Desc": "Les modifications de groupe ne prennent effet qu'après une nouvelle session. Déconnectez-vous de votre bureau, reconnectez-vous et rouvrez OpenWhispr."
+ },
+ "service": {
+ "step1Title": "Créer le répertoire du service",
+ "step2Title": "Créer le fichier du service",
+ "step2Desc": "Crée un service systemd au niveau utilisateur qui démarre ydotoold automatiquement à la connexion.",
+ "step3Title": "Recharger et activer"
+ },
+ "daemon": {
+ "step1Title": "Démarrer le daemon",
+ "step1Desc": "Démarrez ydotoold et activez-le pour qu'il se lance à chaque connexion.",
+ "step2Title": "Vérifier qu'il est en cours d'exécution"
+ }
+ }
+ },
"updates": {
"badges": {
"dev": "Dev",
diff --git a/src/locales/it/translation.json b/src/locales/it/translation.json
index 10c056e4c..e366b10db 100644
--- a/src/locales/it/translation.json
+++ b/src/locales/it/translation.json
@@ -1088,6 +1088,63 @@
"launchAtLoginDescription": "Avvia OpenWhispr automaticamente all'accesso",
"title": "Avvio"
},
+ "waylandPaste": {
+ "title": "Configurazione incolla su Wayland",
+ "description": "L'incolla automatico su Wayland richiede ydotool. Controlla lo stato di ogni componente qui sotto.",
+ "allGoodDesc": "L'incolla automatico è pronto.",
+ "recheck": "Ricontrolla",
+ "copy": "Copia",
+ "ydotoolDesc": "Strumento di automazione input per Wayland",
+ "ydotooldDesc": "Daemon per ydotool (pacchetto separato su Ubuntu/Pop!_OS)",
+ "uinputDesc": "Accesso al dispositivo di input del kernel",
+ "uinputRuleFound": "Regola presente ma non attiva. Un riavvio dovrebbe risolvere.",
+ "uinputRuleMissing": "nessuna regola udev trovata",
+ "inputGroup": "gruppo input",
+ "inputGroupDesc": "L'utente deve far parte del gruppo input (richiede un nuovo accesso)",
+ "service": "servizio systemd",
+ "serviceDesc": "File di servizio utente per l'avvio automatico di ydotoold",
+ "daemon": "daemon ydotoold",
+ "daemonDesc": "Il servizio in background deve essere in esecuzione",
+ "guide": {
+ "open": "Guida",
+ "ydotool": {
+ "step1Title": "Installa ydotool",
+ "step1Desc": "Usa il gestore pacchetti della tua distribuzione per installare ydotool.",
+ "step2Title": "Verifica l'installazione",
+ "step2Desc": "Controlla che ydotool sia disponibile nel tuo PATH."
+ },
+ "ydotoold": {
+ "step1Title": "Installa ydotoold",
+ "step1Desc": "Su Ubuntu e Pop!_OS, ydotoold è un pacchetto separato. Su Fedora è incluso in ydotool."
+ },
+ "uinput": {
+ "ruleFoundTitle": "Regola udev già configurata",
+ "ruleFoundDesc": "La regola udev per /dev/uinput è già presente nel sistema ma non è ancora attiva. Prova a ricaricarla:",
+ "rebootTitle": "Se il ricaricamento non ha funzionato, riavvia",
+ "rebootDesc": "Su alcune distribuzioni, le modifiche udev si applicano solo dopo un riavvio completo. Riavvia il computer e torna qui per ricontrollare.",
+ "step1Title": "Crea una regola udev",
+ "step1Desc": "Questa regola concede l'accesso a /dev/uinput agli utenti del gruppo input.",
+ "step2Title": "Ricarica le regole udev",
+ "step2Desc": "Applica la nuova regola senza riavviare."
+ },
+ "group": {
+ "step1Title": "Aggiungi il tuo utente al gruppo input",
+ "step2Title": "Esci e rientra",
+ "step2Desc": "Le modifiche ai gruppi hanno effetto solo dopo un nuovo accesso. Esci dal desktop, accedi di nuovo e riapri OpenWhispr."
+ },
+ "service": {
+ "step1Title": "Crea la cartella del servizio",
+ "step2Title": "Crea il file del servizio",
+ "step2Desc": "Crea un servizio systemd a livello utente che avvia ydotoold automaticamente all'accesso.",
+ "step3Title": "Ricarica e abilita"
+ },
+ "daemon": {
+ "step1Title": "Avvia il daemon",
+ "step1Desc": "Avvia ydotoold e abilitalo per l'esecuzione a ogni accesso.",
+ "step2Title": "Verifica che sia in esecuzione"
+ }
+ }
+ },
"updates": {
"badges": {
"dev": "Dev",
diff --git a/src/locales/ja/translation.json b/src/locales/ja/translation.json
index e830842d0..1a24f998e 100644
--- a/src/locales/ja/translation.json
+++ b/src/locales/ja/translation.json
@@ -1084,6 +1084,63 @@
"launchAtLoginDescription": "ログイン時に OpenWhispr を自動的に起動",
"title": "起動設定"
},
+ "waylandPaste": {
+ "title": "Wayland 貼り付け設定",
+ "description": "Wayland での自動貼り付けには ydotool が必要です。各コンポーネントの状態を確認してください。",
+ "allGoodDesc": "自動貼り付けの準備ができています。",
+ "recheck": "再確認",
+ "copy": "コピー",
+ "ydotoolDesc": "Wayland 用入力自動化ツール",
+ "ydotooldDesc": "ydotool デーモン(Ubuntu/Pop!_OS では別パッケージ)",
+ "uinputDesc": "カーネル入力デバイスへのアクセス",
+ "uinputRuleFound": "ルールは存在しますが未適用です。再起動で解決するはずです。",
+ "uinputRuleMissing": "udev ルールが見つかりません",
+ "inputGroup": "input グループ",
+ "inputGroupDesc": "ユーザーが input グループに所属している必要があります(再ログインが必要)",
+ "service": "systemd サービス",
+ "serviceDesc": "ydotoold を自動起動するユーザーサービスファイル",
+ "daemon": "ydotoold デーモン",
+ "daemonDesc": "バックグラウンドサービスが実行中である必要があります",
+ "guide": {
+ "open": "ガイド",
+ "ydotool": {
+ "step1Title": "ydotool をインストール",
+ "step1Desc": "お使いのディストリビューションのパッケージマネージャーで ydotool をインストールしてください。",
+ "step2Title": "インストールの確認",
+ "step2Desc": "ydotool が PATH で利用可能か確認してください。"
+ },
+ "ydotoold": {
+ "step1Title": "ydotoold をインストール",
+ "step1Desc": "Ubuntu と Pop!_OS では ydotoold は別パッケージです。Fedora では ydotool に含まれています。"
+ },
+ "uinput": {
+ "ruleFoundTitle": "udev ルールは設定済み",
+ "ruleFoundDesc": "/dev/uinput の udev ルールはシステムに存在しますが、まだ適用されていません。再読み込みを試してください:",
+ "rebootTitle": "再読み込みで解決しない場合は再起動",
+ "rebootDesc": "一部のディストリビューションでは、udev の変更は完全な再起動後にのみ適用されます。コンピューターを再起動してから再確認してください。",
+ "step1Title": "udev ルールを作成",
+ "step1Desc": "このルールは input グループのユーザーに /dev/uinput へのアクセスを許可します。",
+ "step2Title": "udev ルールを再読み込み",
+ "step2Desc": "再起動せずに新しいルールを適用します。"
+ },
+ "group": {
+ "step1Title": "ユーザーを input グループに追加",
+ "step2Title": "ログアウトして再ログイン",
+ "step2Desc": "グループの変更は新しいセッションでのみ有効になります。デスクトップからログアウトし、再ログインしてから OpenWhispr を開き直してください。"
+ },
+ "service": {
+ "step1Title": "サービスディレクトリを作成",
+ "step2Title": "サービスファイルを作成",
+ "step2Desc": "ログイン時に ydotoold を自動起動するユーザーレベルの systemd サービスを作成します。",
+ "step3Title": "再読み込みして有効化"
+ },
+ "daemon": {
+ "step1Title": "デーモンを起動",
+ "step1Desc": "ydotoold を起動し、毎回のログイン時に実行されるよう有効化します。",
+ "step2Title": "実行中か確認"
+ }
+ }
+ },
"updates": {
"badges": {
"dev": "開発版",
diff --git a/src/locales/pt/translation.json b/src/locales/pt/translation.json
index 558ea8e32..f5e12804b 100644
--- a/src/locales/pt/translation.json
+++ b/src/locales/pt/translation.json
@@ -1060,6 +1060,63 @@
"launchAtLoginDescription": "Iniciar o OpenWhispr automaticamente ao fazer login",
"title": "Inicialização"
},
+ "waylandPaste": {
+ "title": "Configuração de colagem no Wayland",
+ "description": "A colagem automática no Wayland requer o ydotool. Verifique o estado de cada componente abaixo.",
+ "allGoodDesc": "A colagem automática está pronta.",
+ "recheck": "Verificar novamente",
+ "copy": "Copiar",
+ "ydotoolDesc": "Ferramenta de automação de entrada para Wayland",
+ "ydotooldDesc": "Daemon do ydotool (pacote separado no Ubuntu/Pop!_OS)",
+ "uinputDesc": "Acesso ao dispositivo de entrada do kernel",
+ "uinputRuleFound": "Regra presente mas não ativa. Uma reinicialização deve resolver.",
+ "uinputRuleMissing": "nenhuma regra udev encontrada",
+ "inputGroup": "grupo input",
+ "inputGroupDesc": "O utilizador deve pertencer ao grupo input (requer nova sessão)",
+ "service": "serviço systemd",
+ "serviceDesc": "Ficheiro de serviço do utilizador para iniciar o ydotoold automaticamente",
+ "daemon": "daemon ydotoold",
+ "daemonDesc": "O serviço em segundo plano deve estar em execução",
+ "guide": {
+ "open": "Guia",
+ "ydotool": {
+ "step1Title": "Instalar o ydotool",
+ "step1Desc": "Use o gestor de pacotes da sua distribuição para instalar o ydotool.",
+ "step2Title": "Verificar a instalação",
+ "step2Desc": "Verifique se o ydotool está disponível no seu PATH."
+ },
+ "ydotoold": {
+ "step1Title": "Instalar o ydotoold",
+ "step1Desc": "No Ubuntu e Pop!_OS, o ydotoold é um pacote separado. No Fedora, está incluído no ydotool."
+ },
+ "uinput": {
+ "ruleFoundTitle": "Regra udev já configurada",
+ "ruleFoundDesc": "A regra udev para /dev/uinput já está no seu sistema, mas ainda não está ativa. Tente recarregá-la:",
+ "rebootTitle": "Se recarregar não funcionou, reinicie",
+ "rebootDesc": "Em algumas distribuições, as alterações udev só se aplicam após uma reinicialização completa. Reinicie o computador e volte a verificar.",
+ "step1Title": "Criar uma regra udev",
+ "step1Desc": "Esta regra concede acesso a /dev/uinput aos utilizadores do grupo input.",
+ "step2Title": "Recarregar as regras udev",
+ "step2Desc": "Aplicar a nova regra sem reiniciar."
+ },
+ "group": {
+ "step1Title": "Adicionar o seu utilizador ao grupo input",
+ "step2Title": "Terminar sessão e voltar a entrar",
+ "step2Desc": "As alterações de grupo só têm efeito após uma nova sessão. Termine sessão no ambiente de trabalho, inicie sessão novamente e reabra o OpenWhispr."
+ },
+ "service": {
+ "step1Title": "Criar o diretório do serviço",
+ "step2Title": "Criar o ficheiro do serviço",
+ "step2Desc": "Cria um serviço systemd ao nível do utilizador que inicia o ydotoold automaticamente no início de sessão.",
+ "step3Title": "Recarregar e ativar"
+ },
+ "daemon": {
+ "step1Title": "Iniciar o daemon",
+ "step1Desc": "Inicie o ydotoold e ative-o para que seja executado em cada início de sessão.",
+ "step2Title": "Verificar se está em execução"
+ }
+ }
+ },
"updates": {
"badges": {
"dev": "Dev",
diff --git a/src/locales/ru/translation.json b/src/locales/ru/translation.json
index 8cf7f87b9..5660f4fb8 100644
--- a/src/locales/ru/translation.json
+++ b/src/locales/ru/translation.json
@@ -1088,6 +1088,63 @@
"launchAtLoginDescription": "Автоматически запускать OpenWhispr при входе в систему",
"title": "Автозапуск"
},
+ "waylandPaste": {
+ "title": "Настройка вставки в Wayland",
+ "description": "Автоматическая вставка в Wayland требует ydotool. Проверьте состояние каждого компонента ниже.",
+ "allGoodDesc": "Автоматическая вставка готова к работе.",
+ "recheck": "Проверить снова",
+ "copy": "Копировать",
+ "ydotoolDesc": "Инструмент автоматизации ввода для Wayland",
+ "ydotooldDesc": "Демон ydotool (отдельный пакет в Ubuntu/Pop!_OS)",
+ "uinputDesc": "Доступ к устройству ввода ядра",
+ "uinputRuleFound": "Правило найдено, но не активно. Перезагрузка должна помочь.",
+ "uinputRuleMissing": "правило udev не найдено",
+ "inputGroup": "группа input",
+ "inputGroupDesc": "Пользователь должен состоять в группе input (требуется повторный вход)",
+ "service": "служба systemd",
+ "serviceDesc": "Пользовательский файл службы для автозапуска ydotoold",
+ "daemon": "демон ydotoold",
+ "daemonDesc": "Фоновая служба должна быть запущена",
+ "guide": {
+ "open": "Руководство",
+ "ydotool": {
+ "step1Title": "Установить ydotool",
+ "step1Desc": "Используйте менеджер пакетов вашего дистрибутива для установки ydotool.",
+ "step2Title": "Проверить установку",
+ "step2Desc": "Убедитесь, что ydotool доступен в вашем PATH."
+ },
+ "ydotoold": {
+ "step1Title": "Установить ydotoold",
+ "step1Desc": "В Ubuntu и Pop!_OS ydotoold — отдельный пакет. В Fedora он входит в состав ydotool."
+ },
+ "uinput": {
+ "ruleFoundTitle": "Правило udev уже настроено",
+ "ruleFoundDesc": "Правило udev для /dev/uinput уже есть в системе, но ещё не применено. Попробуйте перезагрузить правила:",
+ "rebootTitle": "Если перезагрузка правил не помогла, перезагрузите компьютер",
+ "rebootDesc": "В некоторых дистрибутивах изменения udev вступают в силу только после полной перезагрузки. Перезагрузите компьютер и проверьте снова.",
+ "step1Title": "Создать правило udev",
+ "step1Desc": "Это правило предоставляет доступ к /dev/uinput пользователям группы input.",
+ "step2Title": "Перезагрузить правила udev",
+ "step2Desc": "Применить новое правило без перезагрузки."
+ },
+ "group": {
+ "step1Title": "Добавить пользователя в группу input",
+ "step2Title": "Выйти и войти снова",
+ "step2Desc": "Изменения групп вступают в силу только после нового входа в систему. Выйдите из рабочего стола, войдите снова и откройте OpenWhispr."
+ },
+ "service": {
+ "step1Title": "Создать каталог службы",
+ "step2Title": "Создать файл службы",
+ "step2Desc": "Создаёт пользовательскую службу systemd, которая автоматически запускает ydotoold при входе в систему.",
+ "step3Title": "Перезагрузить и включить"
+ },
+ "daemon": {
+ "step1Title": "Запустить демон",
+ "step1Desc": "Запустите ydotoold и включите его автозапуск при каждом входе.",
+ "step2Title": "Проверить, что он работает"
+ }
+ }
+ },
"updates": {
"badges": {
"dev": "Dev",
diff --git a/src/locales/zh-CN/translation.json b/src/locales/zh-CN/translation.json
index 3b784f1a3..5256d41e1 100644
--- a/src/locales/zh-CN/translation.json
+++ b/src/locales/zh-CN/translation.json
@@ -1084,6 +1084,63 @@
"launchAtLoginDescription": "登录时自动启动 OpenWhispr",
"title": "启动"
},
+ "waylandPaste": {
+ "title": "Wayland 粘贴设置",
+ "description": "Wayland 下的自动粘贴需要 ydotool。请检查以下各组件的状态。",
+ "allGoodDesc": "自动粘贴已就绪。",
+ "recheck": "重新检查",
+ "copy": "复制",
+ "ydotoolDesc": "Wayland 输入自动化工具",
+ "ydotooldDesc": "ydotool 守护进程(Ubuntu/Pop!_OS 上为独立包)",
+ "uinputDesc": "内核输入设备访问",
+ "uinputRuleFound": "规则已存在但未生效,重启应可解决。",
+ "uinputRuleMissing": "未找到 udev 规则",
+ "inputGroup": "input 用户组",
+ "inputGroupDesc": "用户必须属于 input 组(需重新登录)",
+ "service": "systemd 服务",
+ "serviceDesc": "用于自动启动 ydotoold 的用户服务文件",
+ "daemon": "ydotoold 守护进程",
+ "daemonDesc": "后台服务必须正在运行",
+ "guide": {
+ "open": "指南",
+ "ydotool": {
+ "step1Title": "安装 ydotool",
+ "step1Desc": "使用你的发行版包管理器安装 ydotool。",
+ "step2Title": "验证安装",
+ "step2Desc": "检查 ydotool 是否在你的 PATH 中可用。"
+ },
+ "ydotoold": {
+ "step1Title": "安装 ydotoold",
+ "step1Desc": "在 Ubuntu 和 Pop!_OS 上,ydotoold 是独立的包。在 Fedora 上它包含在 ydotool 中。"
+ },
+ "uinput": {
+ "ruleFoundTitle": "udev 规则已配置",
+ "ruleFoundDesc": "/dev/uinput 的 udev 规则已在系统中,但尚未生效。尝试重新加载:",
+ "rebootTitle": "如果重新加载无效,请重启",
+ "rebootDesc": "在某些发行版上,udev 的更改只有在完全重启后才会生效。重启计算机后回来重新检查。",
+ "step1Title": "创建 udev 规则",
+ "step1Desc": "此规则为 input 组用户授予 /dev/uinput 的访问权限。",
+ "step2Title": "重新加载 udev 规则",
+ "step2Desc": "无需重启即可应用新规则。"
+ },
+ "group": {
+ "step1Title": "将你的用户添加到 input 组",
+ "step2Title": "注销并重新登录",
+ "step2Desc": "组更改仅在新会话后生效。从桌面注销,重新登录,然后重新打开 OpenWhispr。"
+ },
+ "service": {
+ "step1Title": "创建服务目录",
+ "step2Title": "创建服务文件",
+ "step2Desc": "创建一个用户级 systemd 服务,在登录时自动启动 ydotoold。",
+ "step3Title": "重新加载并启用"
+ },
+ "daemon": {
+ "step1Title": "启动守护进程",
+ "step1Desc": "启动 ydotoold 并设置为每次登录时自动运行。",
+ "step2Title": "验证是否正在运行"
+ }
+ }
+ },
"updates": {
"badges": {
"dev": "开发版",
diff --git a/src/locales/zh-TW/translation.json b/src/locales/zh-TW/translation.json
index abf8694db..ea26178af 100644
--- a/src/locales/zh-TW/translation.json
+++ b/src/locales/zh-TW/translation.json
@@ -1084,6 +1084,63 @@
"launchAtLoginDescription": "登入時自動啟動 OpenWhispr",
"title": "啟動"
},
+ "waylandPaste": {
+ "title": "Wayland 貼上設定",
+ "description": "Wayland 下的自動貼上需要 ydotool。請檢查以下各元件的狀態。",
+ "allGoodDesc": "自動貼上已就緒。",
+ "recheck": "重新檢查",
+ "copy": "複製",
+ "ydotoolDesc": "Wayland 輸入自動化工具",
+ "ydotooldDesc": "ydotool 常駐程式(Ubuntu/Pop!_OS 上為獨立套件)",
+ "uinputDesc": "核心輸入裝置存取",
+ "uinputRuleFound": "規則已存在但未生效,重新開機應可解決。",
+ "uinputRuleMissing": "未找到 udev 規則",
+ "inputGroup": "input 群組",
+ "inputGroupDesc": "使用者必須屬於 input 群組(需重新登入)",
+ "service": "systemd 服務",
+ "serviceDesc": "用於自動啟動 ydotoold 的使用者服務檔案",
+ "daemon": "ydotoold 常駐程式",
+ "daemonDesc": "背景服務必須正在執行",
+ "guide": {
+ "open": "指南",
+ "ydotool": {
+ "step1Title": "安裝 ydotool",
+ "step1Desc": "使用你的發行版套件管理員安裝 ydotool。",
+ "step2Title": "驗證安裝",
+ "step2Desc": "檢查 ydotool 是否在你的 PATH 中可用。"
+ },
+ "ydotoold": {
+ "step1Title": "安裝 ydotoold",
+ "step1Desc": "在 Ubuntu 和 Pop!_OS 上,ydotoold 是獨立的套件。在 Fedora 上它包含在 ydotool 中。"
+ },
+ "uinput": {
+ "ruleFoundTitle": "udev 規則已設定",
+ "ruleFoundDesc": "/dev/uinput 的 udev 規則已在系統中,但尚未生效。嘗試重新載入:",
+ "rebootTitle": "如果重新載入無效,請重新開機",
+ "rebootDesc": "在某些發行版上,udev 的變更只有在完全重新開機後才會生效。重新啟動電腦後回來重新檢查。",
+ "step1Title": "建立 udev 規則",
+ "step1Desc": "此規則為 input 群組使用者授予 /dev/uinput 的存取權限。",
+ "step2Title": "重新載入 udev 規則",
+ "step2Desc": "無需重新開機即可套用新規則。"
+ },
+ "group": {
+ "step1Title": "將你的使用者新增至 input 群組",
+ "step2Title": "登出並重新登入",
+ "step2Desc": "群組變更僅在新工作階段後生效。從桌面登出,重新登入,然後重新開啟 OpenWhispr。"
+ },
+ "service": {
+ "step1Title": "建立服務目錄",
+ "step2Title": "建立服務檔案",
+ "step2Desc": "建立一個使用者層級的 systemd 服務,在登入時自動啟動 ydotoold。",
+ "step3Title": "重新載入並啟用"
+ },
+ "daemon": {
+ "step1Title": "啟動常駐程式",
+ "step1Desc": "啟動 ydotoold 並設定為每次登入時自動執行。",
+ "step2Title": "驗證是否正在執行"
+ }
+ }
+ },
"updates": {
"badges": {
"dev": "Dev",