summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/lang/english.lang51
-rw-r--r--apps/onplay.c8
-rw-r--r--apps/playlist_viewer.c2
3 files changed, 52 insertions, 9 deletions
diff --git a/apps/lang/english.lang b/apps/lang/english.lang
index d5f6ac3fa7..18842a3207 100644
--- a/apps/lang/english.lang
+++ b/apps/lang/english.lang
@@ -6452,16 +6452,16 @@
6452</phrase> 6452</phrase>
6453<phrase> 6453<phrase>
6454 id: LANG_CATALOG_ADD_TO 6454 id: LANG_CATALOG_ADD_TO
6455 desc: in onplay playlist catalogue submenu 6455 desc: deprecated
6456 user: core 6456 user: core
6457 <source> 6457 <source>
6458 *: "Add to Playlist" 6458 *: ""
6459 </source> 6459 </source>
6460 <dest> 6460 <dest>
6461 *: "Add to Playlist" 6461 *: ""
6462 </dest> 6462 </dest>
6463 <voice> 6463 <voice>
6464 *: "Add to Playlist" 6464 *: ""
6465 </voice> 6465 </voice>
6466</phrase> 6466</phrase>
6467<phrase> 6467<phrase>
@@ -16461,3 +16461,46 @@
16461 recording: "Recording Directory" 16461 recording: "Recording Directory"
16462 </voice> 16462 </voice>
16463</phrase> 16463</phrase>
16464<phrase>
16465 id: LANG_ADD_TO_PL
16466 desc: used in the onplay menu
16467 user: core
16468 <source>
16469 *: "Add to Playlist..."
16470 </source>
16471 <dest>
16472 *: "Add to Playlist..."
16473 </dest>
16474 <voice>
16475 *: "Add to Playlist..."
16476 </voice>
16477</phrase>
16478<phrase>
16479 id: LANG_ADD_TO_EXISTING_PL
16480 desc: used in the onplay menu
16481 user: core
16482 <source>
16483 *: "Add to Existing Playlist"
16484 </source>
16485 <dest>
16486 *: "Add to Existing Playlist"
16487 </dest>
16488 <voice>
16489 *: "Add to Existing Playlist"
16490 </voice>
16491</phrase>
16492<phrase>
16493 id: LANG_PLAYING_NEXT
16494 desc: used in the onplay menu
16495 user: core
16496 <source>
16497 *: "Playing Next..."
16498 </source>
16499 <dest>
16500 *: "Playing Next..."
16501 </dest>
16502 <voice>
16503 *: "Playing Next..."
16504 </voice>
16505</phrase>
16506
diff --git a/apps/onplay.c b/apps/onplay.c
index 842a328ee9..415cc05be8 100644
--- a/apps/onplay.c
+++ b/apps/onplay.c
@@ -491,7 +491,7 @@ MENUITEM_FUNCTION(reshuffle_item, 0, ID2P(LANG_SHUFFLE_PLAYLIST),
491 shuffle_playlist, NULL, Icon_Playlist); 491 shuffle_playlist, NULL, Icon_Playlist);
492MENUITEM_FUNCTION(playing_time_item, 0, ID2P(LANG_PLAYING_TIME), 492MENUITEM_FUNCTION(playing_time_item, 0, ID2P(LANG_PLAYING_TIME),
493 playing_time, NULL, Icon_Playlist); 493 playing_time, NULL, Icon_Playlist);
494MAKE_ONPLAYMENU( wps_playlist_menu, ID2P(LANG_PLAYLIST), 494MAKE_ONPLAYMENU( wps_playlist_menu, ID2P(LANG_CURRENT_PLAYLIST),
495 NULL, Icon_Playlist, 495 NULL, Icon_Playlist,
496 &wps_view_cur_playlist_item, &search_playlist_item, 496 &wps_view_cur_playlist_item, &search_playlist_item,
497 &playlist_save_item, &reshuffle_item, &playing_time_item 497 &playlist_save_item, &reshuffle_item, &playing_time_item
@@ -676,7 +676,7 @@ MENUITEM_FUNCTION_W_PARAM(replace_shuf_pl_item, 0, ID2P(LANG_PLAY_SHUFFLED),
676 add_to_playlist, &addtopl_replace_shuffled, 676 add_to_playlist, &addtopl_replace_shuffled,
677 treeplaylist_callback, Icon_Playlist); 677 treeplaylist_callback, Icon_Playlist);
678 678
679MAKE_ONPLAYMENU(tree_playlist_menu, ID2P(LANG_CURRENT_PLAYLIST), 679MAKE_ONPLAYMENU(tree_playlist_menu, ID2P(LANG_PLAYING_NEXT),
680 treeplaylist_callback, Icon_Playlist, 680 treeplaylist_callback, Icon_Playlist,
681 681
682 /* insert */ 682 /* insert */
@@ -801,11 +801,11 @@ static int cat_playlist_callback(int action,
801 const struct menu_item_ex *this_item, 801 const struct menu_item_ex *this_item,
802 struct gui_synclist *this_list); 802 struct gui_synclist *this_list);
803 803
804MENUITEM_FUNCTION(cat_add_to_list, 0, ID2P(LANG_CATALOG_ADD_TO), 804MENUITEM_FUNCTION(cat_add_to_list, 0, ID2P(LANG_ADD_TO_EXISTING_PL),
805 cat_add_to_a_playlist, NULL, Icon_Playlist); 805 cat_add_to_a_playlist, NULL, Icon_Playlist);
806MENUITEM_FUNCTION(cat_add_to_new, 0, ID2P(LANG_CATALOG_ADD_TO_NEW), 806MENUITEM_FUNCTION(cat_add_to_new, 0, ID2P(LANG_CATALOG_ADD_TO_NEW),
807 cat_add_to_a_new_playlist, NULL, Icon_Playlist); 807 cat_add_to_a_new_playlist, NULL, Icon_Playlist);
808MAKE_ONPLAYMENU(cat_playlist_menu, ID2P(LANG_CATALOG), 808MAKE_ONPLAYMENU(cat_playlist_menu, ID2P(LANG_ADD_TO_PL),
809 cat_playlist_callback, Icon_Playlist, 809 cat_playlist_callback, Icon_Playlist,
810 &cat_add_to_list, &cat_add_to_new); 810 &cat_add_to_list, &cat_add_to_new);
811 811
diff --git a/apps/playlist_viewer.c b/apps/playlist_viewer.c
index e9b57285cc..c9b027ea63 100644
--- a/apps/playlist_viewer.c
+++ b/apps/playlist_viewer.c
@@ -598,7 +598,7 @@ static enum pv_onplay_result onplay_menu(int index)
598 struct playlist_entry * current_track = 598 struct playlist_entry * current_track =
599 playlist_buffer_get_track(&viewer.buffer, index); 599 playlist_buffer_get_track(&viewer.buffer, index);
600 MENUITEM_STRINGLIST(menu_items, ID2P(LANG_PLAYLIST), NULL, 600 MENUITEM_STRINGLIST(menu_items, ID2P(LANG_PLAYLIST), NULL,
601 ID2P(LANG_CURRENT_PLAYLIST), ID2P(LANG_CATALOG), 601 ID2P(LANG_PLAYING_NEXT), ID2P(LANG_ADD_TO_PL),
602 ID2P(LANG_REMOVE), ID2P(LANG_MOVE), ID2P(LANG_MENU_SHOW_ID3_INFO), 602 ID2P(LANG_REMOVE), ID2P(LANG_MOVE), ID2P(LANG_MENU_SHOW_ID3_INFO),
603 ID2P(LANG_SHUFFLE), 603 ID2P(LANG_SHUFFLE),
604 ID2P(LANG_SAVE), 604 ID2P(LANG_SAVE),