feat(qt): Play all later in the Popular Tracks group menu

The section-level menu offered Play all next and Add all to queue with no
block-tail option; enqueue_track_list_mode already carries the "later"
arm, so only the entry was missing. New msgid translated in the seven
non-English locales.

cc
This commit is contained in:
vicrodh committed 2026-08-31 11:09:53 -06:00
1 parent c2d5a30bfa
commit 6cdbd12bd0
8 files changed
+25

No files matched your search

+4
View File
@@ -3607,6 +3607,7 @@ Rectangle {
Repeater {
model: [
{ "label": QbzSession.tr("Play all next", QbzSession.trRev), "icon": "list-start", "action": "next-all" },
{ "label": QbzSession.tr("Play all later", QbzSession.trRev), "icon": "list-plus", "action": "later-all" },
{ "label": QbzSession.tr("Add all to queue", QbzSession.trRev), "icon": "list-end", "action": "queue-all" },
{ "label": QbzSession.tr("Shuffle all", QbzSession.trRev), "icon": "shuffle", "action": "shuffle-all" },
{ "label": QbzSession.tr("Add all to playlist", QbzSession.trRev), "icon": "list-music", "action": "playlist-all" },
@@ -3648,6 +3649,9 @@ Rectangle {
// over (ArtistPageView's twin in Slint enqueues,
// main.rs:15301).
else if (a === "next-all") QbzPlayer.enqueueArtistTop("next")
// #442 block tail — enqueue_track_list_mode's
// "later" arm, same funnel next-all/queue-all use.
else if (a === "later-all") QbzPlayer.enqueueArtistTop("later")
else if (a === "queue-all") QbzPlayer.enqueueArtistTop("queue")
else if (a === "playlist-all") {
// ArtistPageView.slint:797-802