summaryrefslogtreecommitdiff
path: root/apps/playlist.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/playlist.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/playlist.c')
-rw-r--r--apps/playlist.c17
1 files changed, 3 insertions, 14 deletions
diff --git a/apps/playlist.c b/apps/playlist.c
index 39d7cc1e3d..caf5856ae8 100644
--- a/apps/playlist.c
+++ b/apps/playlist.c
@@ -484,7 +484,7 @@ static int add_indices_to_playlist(struct playlist_info* playlist,
484 lcd_setmargins(0, 0); 484 lcd_setmargins(0, 0);
485#endif 485#endif
486 486
487 gui_syncsplash(0, str(LANG_PLAYLIST_LOAD)); 487 gui_syncsplash(0, str(LANG_WAIT));
488 488
489 if (!buffer) 489 if (!buffer)
490 { 490 {
@@ -1668,13 +1668,7 @@ static void display_playlist_count(int count, const unsigned char *fmt)
1668 lcd_setmargins(0, 0); 1668 lcd_setmargins(0, 0);
1669#endif 1669#endif
1670 1670
1671 gui_syncsplash(0, fmt, count, 1671 gui_syncsplash(0, fmt, count, str(LANG_OFF_ABORT));
1672#if CONFIG_KEYPAD == PLAYER_PAD
1673 str(LANG_STOP_ABORT)
1674#else
1675 str(LANG_OFF_ABORT)
1676#endif
1677 );
1678} 1672}
1679 1673
1680/* 1674/*
@@ -1997,12 +1991,7 @@ int playlist_resume(void)
1997 { 1991 {
1998 gui_syncsplash(0, str(LANG_LOADING_PERCENT), 1992 gui_syncsplash(0, str(LANG_LOADING_PERCENT),
1999 (total_read+count)*100/control_file_size, 1993 (total_read+count)*100/control_file_size,
2000#if CONFIG_KEYPAD == PLAYER_PAD 1994 str(LANG_OFF_ABORT));
2001 str(LANG_STOP_ABORT)
2002#else
2003 str(LANG_OFF_ABORT)
2004#endif
2005 );
2006 if (action_userabort(TIMEOUT_NOBLOCK)) 1995 if (action_userabort(TIMEOUT_NOBLOCK))
2007 { 1996 {
2008 /* FIXME: 1997 /* FIXME: