feat(qt): the offline cache is purged from the manager only, with a tooltip and an explicit modal

Settings > Offline loses its "Clear cache" row: it ran the same
QbzOffline.clearAll() as the trash glyph in the Offline Cache Manager's
stats bar, so the whole cache had two entry points and one misleading text
("your downloaded albums are kept" — what is kept are the purchased
downloads in the music folder). The glyph now carries a hover tooltip (the
manager mounts the shared QbzTooltip overlay; the limit and folder glyphs
get one too) and its confirmation says exactly what goes — the live track
count and size — and what stays. The Tauri-era string leaves the eight
catalogs; the new ones enter them.

cc
This commit is contained in:
vicrodh committed 2026-09-13 10:26:33 -06:00
1 parent 9b93e58367
commit 198fbfc6fe
11 files changed
+203 -73

No files matched your search

@@ -294,10 +294,6 @@ msgid "Random"
msgstr "Random"
# Offline cache clear — communicate it does not remove downloads (#606)
msgid "Frees up cached data. Your downloaded albums are kept — remove those from the offline manager above."
msgstr "Frees up cached data. Your downloaded albums are kept — remove those from the offline manager above."
msgid "Cache cleared"
msgstr "Cache cleared"
@@ -3181,3 +3177,23 @@ msgstr "PLEX CACHE"
#: qbz-qt/qml/settings/AppearanceSettings.qml
msgid "List the track's featured performers after the main artist on Qobuz track rows, comma separated. Each name is a link. On by default."
msgstr "List the track's featured performers after the main artist on Qobuz track rows, comma separated. Each name is a link. On by default."
#: qbz-qt/qml/views/OfflineManagerView.qml
msgid "Apply the size limit"
msgstr "Apply the size limit"
#: qbz-qt/qml/views/OfflineManagerView.qml
msgid "Open the cache folder"
msgstr "Open the cache folder"
#: qbz-qt/qml/views/OfflineManagerView.qml
msgid "Clear the whole offline cache…"
msgstr "Clear the whole offline cache…"
#: qbz-qt/qml/views/OfflineManagerView.qml
msgid "Clear the offline cache?"
msgstr "Clear the offline cache?"
#: qbz-qt/qml/views/OfflineManagerView.qml
msgid "Removes everything saved for offline listening: {} using {}. Purchased downloads in your music folder are kept; anything cleared has to be downloaded again to play offline."
msgstr "Removes everything saved for offline listening: {} using {}. Purchased downloads in your music folder are kept; anything cleared has to be downloaded again to play offline."