summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2006-01-25 08:29:12 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2006-01-25 08:29:12 +0000
commitc9bded807b727f2da977837ed4975a721ceabd5c (patch)
treea08796d28fe0286b847d321abf97857b7a9d6627
parent2aabc875bfb68142622e699fbb208bd808e2088f (diff)
downloadrockbox-c9bded807b727f2da977837ed4975a721ceabd5c.tar.gz
rockbox-c9bded807b727f2da977837ed4975a721ceabd5c.tar.bz2
rockbox-c9bded807b727f2da977837ed4975a721ceabd5c.zip
Added "Queue shuffled", for completeness
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8448 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/lang/english.lang7
-rw-r--r--apps/onplay.c5
2 files changed, 12 insertions, 0 deletions
diff --git a/apps/lang/english.lang b/apps/lang/english.lang
index 008f0161be..26f079301b 100644
--- a/apps/lang/english.lang
+++ b/apps/lang/english.lang
@@ -3568,3 +3568,10 @@ desc: Pixels to advance per Screen scroll
eng: "Screen Scroll Step Size"
voice: "Screen Scroll Step Size"
new:
+
+id: LANG_QUEUE_SHUFFLED
+desc: in onplay menu. queue a track/playlist randomly into dynamic playlist
+eng: "Queue shuffled"
+voice: "Queue shuffled"
+new:
+
diff --git a/apps/onplay.c b/apps/onplay.c
index dac5d4b27f..6b274d74b4 100644
--- a/apps/onplay.c
+++ b/apps/onplay.c
@@ -319,6 +319,11 @@ static bool playlist_options(void)
args[i].position = PLAYLIST_INSERT_LAST;
args[i].queue = true;
i++;
+
+ items[i].desc = ID2P(LANG_QUEUE_SHUFFLED);
+ args[i].position = PLAYLIST_INSERT_SHUFFLED;
+ args[i].queue = true;
+ i++;
}
else if (((selected_file_attr & TREE_ATTR_MASK) == TREE_ATTR_MPA) ||
(selected_file_attr & ATTR_DIRECTORY))