feat(slint): custom title bar and compact header navigation option

Custom title bar (Linux opt-in, macOS overlay default): frameless window
with drawn window controls (close/maximize/minimize, left or right
placement), header drag with once-per-press latch (Wayland move-grab
swallows the release; re-arming on stale pressed state re-grabbed the
window onto the cursor), double-click maximize, edge resize, 1px
hairline. Title bar minimize is always a WM minimize now - the old
minimize-to-tray branch made it visually identical to close-to-tray.

Compact header navigation (opt-in, Appearance): with nav out of the
sidebar, the header can always use the icon-only compact nav even while
the sidebar is open. Full text tabs and compact nav stay mutually
exclusive; the playlists flyout button keeps its closed-sidebar-only
behavior. Persisted as ui_prefs.nav_header_compact.

i18n: new strings in all six locales (includes two DSD toast strings
for the in-progress DSD support, riding along in the catalogs).

cc
This commit is contained in:
vicrodh committed 2026-07-03 15:52:30 -06:00
1 parent c504059c08
commit a7f538b3de
13 files changed
+500 -56

No files matched your search

@@ -4316,3 +4316,26 @@ msgstr "{} artistes, {} albums bloqués"
msgid "{} artists, {} albums blocked (disabled)"
msgstr "{} artistes, {} albums bloqués (désactivé)"
msgid "Keep your system's native window decorations. Turn off to use the QBZ header as the title bar, with its own window controls and drag support. Takes effect after restarting QBZ."
msgstr "Conserve les décorations de fenêtre natives de votre système. Désactivez pour utiliser l'en-tête de QBZ comme barre de titre, avec ses propres contrôles de fenêtre et le déplacement par glisser. Prend effet après le redémarrage de QBZ."
msgid "Frameless window without window controls or header drag (for tiling window manager users)"
msgstr "Fenêtre sans cadre, sans contrôles de fenêtre ni glisser depuis l'en-tête (pour les utilisateurs de gestionnaires de fenêtres en mosaïque)"
msgid "Title bar mode changed — restart QBZ to apply"
msgstr "Mode de barre de titre modifié — redémarrez QBZ pour appliquer"
# Compact header navigation (opt-in, 2026-07-03)
msgid "Compact header navigation"
msgstr "Navigation compacte dans l'en-tête"
msgid "Use the icon-only section navigation in the header even while the sidebar is open."
msgstr "Utilise la navigation des sections en icônes seules dans l'en-tête, même lorsque la barre latérale est ouverte."
# DSD support Phase 1 (2026-07-03)
msgid "DSD: {}"
msgstr "DSD: {}"
msgid "Cannot play DSD file"
msgstr "Impossible de lire le fichier DSD"