feat(qconnect): restore the device-name setting from Tauri

Tauri let the user rename how QBZ announces itself to Qobuz Connect;
the Slint port lost the UI entirely while keeping the persistence and
the announce path (same device_name key in qconnect_settings.db, read
by connect() -> bootstrap_remote_presence). Restored 1:1: a text row
in Settings > Playback next to the QConnect startup select (LineEdit
mirroring the ListenBrainz token row, placeholder = the resolved
default 'Qbz - {hostname}'), a new settings-string callback channel
through the settings chain, and a live-service setter so a rename
takes effect on the next connection without an app restart — exactly
Tauri's semantics (no live re-announce; the row description says so).
Trim-only validation like Tauri; empty clears the override. Two new
msgids across the 8 locales.

cc
This commit is contained in:
vicrodh committed 2026-07-08 15:26:39 -06:00
1 parent 029bb0583f
commit 5d50158edb
16 files changed
+186 -1

No files matched your search

@@ -4482,3 +4482,10 @@ msgstr "Standardmäßig aus"
msgid "QBZ recovered from repeated startup crashes — some restored state was reset"
msgstr "QBZ hat sich von wiederholten Startabstürzen erholt — einige wiederhergestellte Zustände wurden zurückgesetzt"
# QConnect device name (Settings > Playback, ported from Tauri)
msgid "Qobuz Connect device name"
msgstr "Qobuz Connect-Gerätename"
msgid "The name other Qobuz Connect apps see for this device. Applies on the next connection."
msgstr "Der Name, den andere Qobuz Connect-Apps für dieses Gerät sehen. Wird bei der nächsten Verbindung übernommen."