diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2006-04-01 13:36:33 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2006-04-01 13:36:33 +0000 |
| commit | 67de1d3d9be8ba0c3644680f2c70ea48230270ca (patch) | |
| tree | d140d1c9637c64c394b63cf728e96b405608a991 /apps/tree.c | |
| parent | 3d253c6ccfa735a4831b1f825a4ed870d7ac8ccb (diff) | |
| download | rockbox-67de1d3d9be8ba0c3644680f2c70ea48230270ca.zip rockbox-67de1d3d9be8ba0c3644680f2c70ea48230270ca.tar.gz rockbox-67de1d3d9be8ba0c3644680f2c70ea48230270ca.tar.bz2 rockbox-67de1d3d9be8ba0c3644680f2c70ea48230270ca.tar.xz | |
Thorough .lang rework: Removed all deprecated strings, combined string which were only split because long ago we had no splash(), sorted strings into logical groups to ease the transition to langv2. Bunped binary .lng version.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9398 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tree.c')
| -rw-r--r-- | apps/tree.c | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/apps/tree.c b/apps/tree.c index 61f6971..5fe94cb 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -205,14 +205,15 @@ bool check_rockboxdir(void) { DIR *dir = opendir(ROCKBOX_DIR); if(!dir) - { + { /* No need to localise this message. + If .rockbox is missing, it wouldn't work anyway */ int i; FOR_NB_SCREENS(i) screens[i].clear_display(); - gui_syncsplash(HZ*2, true, str(LANG_NO_ROCKBOX_DIR)); + gui_syncsplash(HZ*2, true, "No .rockbox directory"); FOR_NB_SCREENS(i) screens[i].clear_display(); - gui_syncsplash(HZ*2, true, str(LANG_INSTALLATION_INCOMPLETE)); + gui_syncsplash(HZ*2, true, "Installation incomplete"); return false; } closedir(dir); @@ -331,22 +332,7 @@ static int update_dir(void) if(!id3db && (tc.dirfull || tc.filesindir == global_settings.max_files_in_dir) ) { - /* dir full */ - int i; - FOR_NB_SCREENS(i) - { - gui_textarea_clear(&screens[i]); -#ifdef HAVE_LCD_CHARCELLS - screens[i].double_height(false); -#endif - screens[i].clear_display(); - screens[i].puts(0,0,str(LANG_SHOWDIR_ERROR_BUFFER)); - screens[i].puts(0,1,str(LANG_SHOWDIR_ERROR_FULL)); - gui_textarea_update(&screens[i]); - } - sleep(HZ*2); - FOR_NB_SCREENS(i) - gui_textarea_clear(&screens[i]); + gui_syncsplash(HZ, true, str(LANG_SHOWDIR_BUFFER_FULL)); } } gui_synclist_set_nb_items(&tree_lists, tc.filesindir); |