diff options
author | Christian Soffke <christian.soffke@gmail.com> | 2021-03-11 18:40:02 +0100 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2021-03-11 19:43:48 +0000 |
commit | 76c9e3f558aef8db5a84ce81027717fa03ad4005 (patch) | |
tree | d24a15e13ba227d084b5cdd7f0324fcc534c5ddc | |
parent | adac2c88803962ad10375676e2c4e82ba25ea40b (diff) | |
download | rockbox-76c9e3f558aef8db5a84ce81027717fa03ad4005.tar.gz rockbox-76c9e3f558aef8db5a84ce81027717fa03ad4005.zip |
Use "Save" instead of "Save Current Playlist" in Playlist Viewer
LANG_SAVE_DYNAMIC_PLAYLIST refers to dynamic playlists.
A playlist being edited is only the "current playlist" in case of a
dynamic playlist. When other playlists are edited, the current
playlist is different from the edited/selected playlist.
(A possible motivation for differentiating between the two here
is because "Current Playlist" is already the title of a submenu in that
same context menu where the name refers to the dynamic playlist
and not to the selected playlist. "Save Current Playlist" is also used
in the Playlist Catalogue's context menu for example, referring to
the dynamic playlist.)
Change-Id: If320b3c804bb98fccb2e945ae1a30ffc92673c7e
-rw-r--r-- | apps/playlist_viewer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/playlist_viewer.c b/apps/playlist_viewer.c index 3e1479139b..318bdcd915 100644 --- a/apps/playlist_viewer.c +++ b/apps/playlist_viewer.c | |||
@@ -487,10 +487,10 @@ static int onplay_menu(int index) | |||
487 | int result, ret = 0; | 487 | int result, ret = 0; |
488 | struct playlist_entry * current_track = | 488 | struct playlist_entry * current_track = |
489 | playlist_buffer_get_track(&viewer.buffer, index); | 489 | playlist_buffer_get_track(&viewer.buffer, index); |
490 | MENUITEM_STRINGLIST(menu_items, ID2P(LANG_PLAYLIST), NULL, | 490 | MENUITEM_STRINGLIST(menu_items, ID2P(LANG_PLAYLIST), NULL, |
491 | ID2P(LANG_CURRENT_PLAYLIST), ID2P(LANG_CATALOG), | 491 | ID2P(LANG_CURRENT_PLAYLIST), ID2P(LANG_CATALOG), |
492 | ID2P(LANG_REMOVE), ID2P(LANG_MOVE), ID2P(LANG_SHUFFLE), | 492 | ID2P(LANG_REMOVE), ID2P(LANG_MOVE), ID2P(LANG_SHUFFLE), |
493 | ID2P(LANG_SAVE_DYNAMIC_PLAYLIST), | 493 | ID2P(LANG_SAVE), |
494 | ID2P(LANG_PLAYLISTVIEWER_SETTINGS)); | 494 | ID2P(LANG_PLAYLISTVIEWER_SETTINGS)); |
495 | bool current = (current_track->index == viewer.current_playing_track); | 495 | bool current = (current_track->index == viewer.current_playing_track); |
496 | 496 | ||