diff options
Diffstat (limited to 'apps/playlist_viewer.c')
-rw-r--r-- | apps/playlist_viewer.c | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/apps/playlist_viewer.c b/apps/playlist_viewer.c index 09d6e48614..14cca7caf9 100644 --- a/apps/playlist_viewer.c +++ b/apps/playlist_viewer.c | |||
@@ -430,7 +430,7 @@ static int onplay_menu(int index) | |||
430 | int result, ret = 0; | 430 | int result, ret = 0; |
431 | struct playlist_entry * current_track= | 431 | struct playlist_entry * current_track= |
432 | playlist_buffer_get_track(&viewer.buffer, index); | 432 | playlist_buffer_get_track(&viewer.buffer, index); |
433 | MENUITEM_STRINGLIST(menu_items, ID2P(LANG_PLAYLIST_MENU), NULL, | 433 | MENUITEM_STRINGLIST(menu_items, ID2P(LANG_PLAYLIST), NULL, |
434 | ID2P(LANG_REMOVE), ID2P(LANG_MOVE), | 434 | ID2P(LANG_REMOVE), ID2P(LANG_MOVE), |
435 | ID2P(LANG_CATALOG_ADD_TO), ID2P(LANG_CATALOG_ADD_TO_NEW)); | 435 | ID2P(LANG_CATALOG_ADD_TO), ID2P(LANG_CATALOG_ADD_TO_NEW)); |
436 | bool current = (current_track->index == viewer.current_playing_track); | 436 | bool current = (current_track->index == viewer.current_playing_track); |
@@ -569,7 +569,7 @@ bool playlist_viewer_ex(char* filename) | |||
569 | &playlist_callback_icons:NULL); | 569 | &playlist_callback_icons:NULL); |
570 | gui_synclist_set_nb_items(&playlist_lists, viewer.num_tracks); | 570 | gui_synclist_set_nb_items(&playlist_lists, viewer.num_tracks); |
571 | gui_synclist_select_item(&playlist_lists, viewer.selected_track); | 571 | gui_synclist_select_item(&playlist_lists, viewer.selected_track); |
572 | gui_synclist_set_title(&playlist_lists, str(LANG_PLAYLIST_MENU), Icon_Playlist); | 572 | gui_synclist_set_title(&playlist_lists, str(LANG_PLAYLIST), Icon_Playlist); |
573 | gui_synclist_draw(&playlist_lists); | 573 | gui_synclist_draw(&playlist_lists); |
574 | while (!exit) | 574 | while (!exit) |
575 | { | 575 | { |
@@ -577,7 +577,7 @@ bool playlist_viewer_ex(char* filename) | |||
577 | if (global_status.resume_index == -1) | 577 | if (global_status.resume_index == -1) |
578 | { | 578 | { |
579 | /* Play has stopped */ | 579 | /* Play has stopped */ |
580 | gui_syncsplash(HZ, str(LANG_END_PLAYLIST_RECORDER)); | 580 | gui_syncsplash(HZ, str(LANG_END_PLAYLIST)); |
581 | goto exit; | 581 | goto exit; |
582 | } | 582 | } |
583 | 583 | ||
@@ -635,8 +635,8 @@ bool playlist_viewer_ex(char* filename) | |||
635 | ret_val = playlist_move(viewer.playlist, viewer.move_track, | 635 | ret_val = playlist_move(viewer.playlist, viewer.move_track, |
636 | current_track->index); | 636 | current_track->index); |
637 | if (ret_val < 0) | 637 | if (ret_val < 0) |
638 | gui_syncsplash(HZ, str(LANG_MOVE_FAILED)); | 638 | gui_syncsplash(HZ, (unsigned char *)"%s %s", |
639 | 639 | str(LANG_MOVE), str(LANG_FAILED)); | |
640 | update_playlist(true); | 640 | update_playlist(true); |
641 | viewer.move_track = -1; | 641 | viewer.move_track = -1; |
642 | } | 642 | } |
@@ -749,12 +749,7 @@ bool search_playlist(void) | |||
749 | for (i=0;(i<playlist_count)&&(found_indicies_count<MAX_PLAYLIST_ENTRIES);i++) | 749 | for (i=0;(i<playlist_count)&&(found_indicies_count<MAX_PLAYLIST_ENTRIES);i++) |
750 | { | 750 | { |
751 | gui_syncsplash(0, str(LANG_PLAYLIST_SEARCH_MSG),found_indicies_count, | 751 | gui_syncsplash(0, str(LANG_PLAYLIST_SEARCH_MSG),found_indicies_count, |
752 | #if CONFIG_KEYPAD == PLAYER_PAD | 752 | str(LANG_OFF_ABORT)); |
753 | str(LANG_STOP_ABORT) | ||
754 | #else | ||
755 | str(LANG_OFF_ABORT) | ||
756 | #endif | ||
757 | ); | ||
758 | if (action_userabort(TIMEOUT_NOBLOCK)) | 753 | if (action_userabort(TIMEOUT_NOBLOCK)) |
759 | { | 754 | { |
760 | if (!found_indicies_count) | 755 | if (!found_indicies_count) |