summaryrefslogtreecommitdiff
path: root/apps/onplay.c
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2007-08-05 19:19:39 +0000
committerNils Wallménius <nils@rockbox.org>2007-08-05 19:19:39 +0000
commitb3113674819cd8daf44750d129c5d8298e830df0 (patch)
treeebc7ec9e096e309ef79834802eed28ff9c22fd41 /apps/onplay.c
parente70f7f4ca857e9e88a6e076360b6c9c235d7739b (diff)
downloadrockbox-b3113674819cd8daf44750d129c5d8298e830df0.tar.gz
rockbox-b3113674819cd8daf44750d129c5d8298e830df0.zip
*** Lang v2 cleanup (FS#6574) ***
1) Introduces apps/features.txt that controls which strings are included for each target based on defines. 2) .lng and .voice files are now target specific and the format versions of both these file types have been bumped, which means that new voice files are needed. 3) Use the 'features' mechanism to exclude strings for targets that didn't use them. 4) Delete unused and deprecated and duplicated strings, sort strings in english.lang Some string IDs were changed so translations will be slightly worse than before. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14198 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/onplay.c')
-rw-r--r--apps/onplay.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/onplay.c b/apps/onplay.c
index eb03b0781b..1e539e9d85 100644
--- a/apps/onplay.c
+++ b/apps/onplay.c
@@ -295,7 +295,7 @@ MENUITEM_FUNCTION(playlist_save_item, 0, ID2P(LANG_SAVE_DYNAMIC_PLAYLIST),
295 save_playlist, NULL, NULL, Icon_Playlist); 295 save_playlist, NULL, NULL, Icon_Playlist);
296MENUITEM_FUNCTION(reshuffle_item, 0, ID2P(LANG_SHUFFLE_PLAYLIST), 296MENUITEM_FUNCTION(reshuffle_item, 0, ID2P(LANG_SHUFFLE_PLAYLIST),
297 shuffle_playlist, NULL, NULL, Icon_Playlist); 297 shuffle_playlist, NULL, NULL, Icon_Playlist);
298MAKE_ONPLAYMENU( wps_playlist_menu, ID2P(LANG_PLAYLIST_MENU), 298MAKE_ONPLAYMENU( wps_playlist_menu, ID2P(LANG_PLAYLIST),
299 NULL, Icon_Playlist, 299 NULL, Icon_Playlist,
300 &playlist_viewer_item, &search_playlist_item, 300 &playlist_viewer_item, &search_playlist_item,
301 &playlist_save_item, &reshuffle_item 301 &playlist_save_item, &reshuffle_item
@@ -373,7 +373,7 @@ MENUITEM_FUNCTION(view_playlist_item, 0, ID2P(LANG_VIEW),
373 view_playlist, NULL, 373 view_playlist, NULL,
374 treeplaylist_callback, Icon_Playlist); 374 treeplaylist_callback, Icon_Playlist);
375 375
376MAKE_ONPLAYMENU( tree_playlist_menu, ID2P(LANG_PLAYLIST_MENU), 376MAKE_ONPLAYMENU( tree_playlist_menu, ID2P(LANG_PLAYLIST),
377 treeplaylist_callback, Icon_Playlist, 377 treeplaylist_callback, Icon_Playlist,
378 378
379 /* view */ 379 /* view */
@@ -502,7 +502,7 @@ static int remove_dir(char* dirname, int len)
502#endif 502#endif
503 if(ACTION_STD_CANCEL == get_action(CONTEXT_STD,TIMEOUT_NOBLOCK)) 503 if(ACTION_STD_CANCEL == get_action(CONTEXT_STD,TIMEOUT_NOBLOCK))
504 { 504 {
505 gui_syncsplash(HZ, str(LANG_MENU_SETTING_CANCEL)); 505 gui_syncsplash(HZ, str(LANG_CANCEL));
506 result = -1; 506 result = -1;
507 break; 507 break;
508 } 508 }
@@ -1032,6 +1032,7 @@ MENUITEM_FUNCTION(view_cue_item, 0, ID2P(LANG_BROWSE_CUESHEET),
1032/* CONTEXT_WPS items */ 1032/* CONTEXT_WPS items */
1033MENUITEM_FUNCTION(browse_id3_item, 0, ID2P(LANG_MENU_SHOW_ID3_INFO), 1033MENUITEM_FUNCTION(browse_id3_item, 0, ID2P(LANG_MENU_SHOW_ID3_INFO),
1034 browse_id3, NULL, NULL, Icon_NOICON); 1034 browse_id3, NULL, NULL, Icon_NOICON);
1035/* NOTE: the LANG_MENU_SET_RATING string has been removed from english.lang */
1035#ifdef HAVE_PITCHSCREEN 1036#ifdef HAVE_PITCHSCREEN
1036MENUITEM_FUNCTION(pitch_screen_item, 0, ID2P(LANG_PITCH), 1037MENUITEM_FUNCTION(pitch_screen_item, 0, ID2P(LANG_PITCH),
1037 pitch_screen, NULL, NULL, Icon_Audio); 1038 pitch_screen, NULL, NULL, Icon_Audio);