feat(settings): Flatpak/Snap sandbox section with copyable permission commands

Tauri parity (the sections did not survive the Slint port): a Settings
section shown only on sandboxed installs holding the one-time permission
commands with copy-to-clipboard buttons. Flatpak: exclusive-DAC D-Bus
reservation override (the user-side fix for #641's exclusive-mode failure
— the Flathub manifest cannot carry the wildcard own-name past its linter,
so the user grants it locally) and NAS/external-drive filesystem access.
Snap: the audio interface connections (qbz-player:alsa/pulseaudio/
pipewire/mpris) plus optional removable-media. New SandboxState global
seeded from qbz_app::diagnostics install_method; 14 msgids across all 8
bundled locales.

km
This commit is contained in:
vicrodh committed 2026-07-20 13:47:24 -06:00
1 parent a5242435e0
commit 9353ed700d
13 files changed
+556 -2

No files matched your search

@@ -4660,3 +4660,45 @@ msgstr "Selecionar faixas"
msgid "Qobuz is temporarily refusing requests — backing off. Try again shortly."
msgstr "O Qobuz está recusando solicitações temporariamente — aguardando. Tente novamente em breve."
msgid "Flatpak"
msgstr "Flatpak"
msgid "Snap"
msgstr "Snap"
msgid "FLATPAK SANDBOX"
msgstr "SANDBOX FLATPAK"
msgid "SNAP SANDBOX"
msgstr "SANDBOX SNAP"
msgid "QBZ is running inside a Flatpak sandbox. Some features need one-time permission grants — run the commands in a terminal, then restart QBZ. Grants persist across updates."
msgstr "O QBZ está a correr dentro de uma sandbox Flatpak. Algumas funcionalidades precisam de permissões concedidas uma única vez — execute os comandos num terminal e reinicie o QBZ. As permissões mantêm-se entre atualizações."
msgid "QBZ is running inside a Snap sandbox. Some audio interfaces need one-time connections — run these commands in a terminal, then restart QBZ."
msgstr "O QBZ está a correr dentro de uma sandbox Snap. Algumas interfaces de áudio precisam de ser ligadas uma única vez — execute estes comandos num terminal e reinicie o QBZ."
msgid "Exclusive DAC access (bit-perfect)"
msgstr "Acesso exclusivo ao DAC (bit-perfect)"
msgid "Recommended for exclusive mode: lets QBZ ask PipeWire to hand over the DAC cleanly (D-Bus device reservation)."
msgstr "Recomendado para o modo exclusivo: permite ao QBZ pedir ao PipeWire que entregue o DAC de forma limpa (reserva de dispositivo via D-Bus)."
msgid "Music on NAS or external drives"
msgstr "Música em NAS ou discos externos"
msgid "Grants access to a folder outside the sandbox. Repeat the command for each folder you need."
msgstr "Concede acesso a uma pasta fora da sandbox. Repita o comando para cada pasta necessária."
msgid "Required audio connections"
msgstr "Ligações de áudio obrigatórias"
msgid "Optional — external drives & NAS"
msgstr "Opcional — discos externos e NAS"
msgid "Copy"
msgstr "Copiar"
msgid "Copied!"
msgstr "Copiado!"