Skip to content

Commit 726320f

Browse files
authored
feat(install): offer one-click sync engine installation from the app (#219)
Add a pure install-plan core mapping (provider, detected package manager) to a fixed pkexec argv or a manual fallback command, and surface it where the missing-engine state already appears: the setup wizard's blocking dialog gains an Install response, and the folder row menu gains an "Install sync engine…" entry while the provider's binary is missing. A successful install re-checks the binary and retries the folder; failures show the error output and the manual command. Closes #218 Co-authored-by: gnacho <hnacho@proton.me>
1 parent 3bbd2f9 commit 726320f

9 files changed

Lines changed: 876 additions & 8 deletions

File tree

‎po/es.po‎

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2749,3 +2749,63 @@ msgstr "{action} · {count}"
27492749
msgid "{used} used"
27502750
msgstr "{used} usados"
27512751

2752+
2753+
#: src/ui/engine_install.rs
2754+
msgid "This command will run with administrator rights:"
2755+
msgstr "Este comando se ejecutará con derechos de administrador:"
2756+
2757+
#: src/ui/engine_install.rs
2758+
msgid "Run this command in a terminal:"
2759+
msgstr "Ejecuta este comando en una terminal:"
2760+
2761+
#: src/ui/engine_install.rs
2762+
msgid "No automatic installation is available for this distribution yet."
2763+
msgstr "Todavía no hay instalación automática disponible para esta distribución."
2764+
2765+
#: src/ui/engine_install.rs
2766+
msgid "Install"
2767+
msgstr "Instalar"
2768+
2769+
#: src/ui/engine_install.rs
2770+
msgid "Copy Command"
2771+
msgstr "Copiar comando"
2772+
2773+
#: src/ui/engine_install.rs
2774+
msgid "Installing…"
2775+
msgstr "Instalando…"
2776+
2777+
#: src/ui/engine_install.rs
2778+
msgid "Command copied to the clipboard."
2779+
msgstr "Comando copiado al portapapeles."
2780+
2781+
#: src/ui/engine_install.rs
2782+
msgid "The installation failed."
2783+
msgstr "La instalación ha fallado."
2784+
2785+
#: src/ui/engine_install.rs
2786+
msgid "Exit code: {code}"
2787+
msgstr "Código de salida: {code}"
2788+
2789+
#: src/ui/engine_install.rs
2790+
msgid "Installation Failed"
2791+
msgstr "Instalación fallida"
2792+
2793+
#: src/ui/engine_install.rs
2794+
msgid "Sync Engine Installed"
2795+
msgstr "Motor de sincronización instalado"
2796+
2797+
#: src/ui/engine_install.rs
2798+
msgid "The sync engine was installed. You can finish the setup now."
2799+
msgstr "Se ha instalado el motor de sincronización. Ya puedes terminar la configuración."
2800+
2801+
#: src/ui/engine_install.rs
2802+
msgid "Install sync engine…"
2803+
msgstr "Instalar el motor de sincronización…"
2804+
2805+
#: src/ui/engine_install.rs
2806+
msgid "On distributions without this package, install it from the AUR (for example: yay -S opencloud-desktop)."
2807+
msgstr "En distribuciones sin este paquete, instálalo desde el AUR (por ejemplo: yay -S opencloud-desktop)."
2808+
2809+
#: src/ui/engine_install.rs
2810+
msgid "The installer crashed."
2811+
msgstr "El instalador se cerró inesperadamente."

0 commit comments

Comments
 (0)