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

@@ -4495,3 +4495,10 @@ msgstr "Выключено по умолчанию"
msgid "QBZ recovered from repeated startup crashes — some restored state was reset"
msgstr "QBZ восстановился после повторных сбоев при запуске — часть восстановленного состояния была сброшена"
# QConnect device name (Settings > Playback, ported from Tauri)
msgid "Qobuz Connect device name"
msgstr "Имя устройства в Qobuz Connect"
msgid "The name other Qobuz Connect apps see for this device. Applies on the next connection."
msgstr "Имя, под которым это устройство видят другие приложения Qobuz Connect. Применяется при следующем подключении."