summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-04-01 13:36:33 +0000
committerJens Arnold <amiconn@rockbox.org>2006-04-01 13:36:33 +0000
commit67de1d3d9be8ba0c3644680f2c70ea48230270ca (patch)
treed140d1c9637c64c394b63cf728e96b405608a991 /apps/tree.c
parent3d253c6ccfa735a4831b1f825a4ed870d7ac8ccb (diff)
downloadrockbox-67de1d3d9be8ba0c3644680f2c70ea48230270ca.tar.gz
rockbox-67de1d3d9be8ba0c3644680f2c70ea48230270ca.zip
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.c24
1 files changed, 5 insertions, 19 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 61f6971018..5fe94cb290 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -205,14 +205,15 @@ bool check_rockboxdir(void)
205{ 205{
206 DIR *dir = opendir(ROCKBOX_DIR); 206 DIR *dir = opendir(ROCKBOX_DIR);
207 if(!dir) 207 if(!dir)
208 { 208 { /* No need to localise this message.
209 If .rockbox is missing, it wouldn't work anyway */
209 int i; 210 int i;
210 FOR_NB_SCREENS(i) 211 FOR_NB_SCREENS(i)
211 screens[i].clear_display(); 212 screens[i].clear_display();
212 gui_syncsplash(HZ*2, true, str(LANG_NO_ROCKBOX_DIR)); 213 gui_syncsplash(HZ*2, true, "No .rockbox directory");
213 FOR_NB_SCREENS(i) 214 FOR_NB_SCREENS(i)
214 screens[i].clear_display(); 215 screens[i].clear_display();
215 gui_syncsplash(HZ*2, true, str(LANG_INSTALLATION_INCOMPLETE)); 216 gui_syncsplash(HZ*2, true, "Installation incomplete");
216 return false; 217 return false;
217 } 218 }
218 closedir(dir); 219 closedir(dir);
@@ -331,22 +332,7 @@ static int update_dir(void)
331 if(!id3db && (tc.dirfull || 332 if(!id3db && (tc.dirfull ||
332 tc.filesindir == global_settings.max_files_in_dir) ) 333 tc.filesindir == global_settings.max_files_in_dir) )
333 { 334 {
334 /* dir full */ 335 gui_syncsplash(HZ, true, str(LANG_SHOWDIR_BUFFER_FULL));
335 int i;
336 FOR_NB_SCREENS(i)
337 {
338 gui_textarea_clear(&screens[i]);
339#ifdef HAVE_LCD_CHARCELLS
340 screens[i].double_height(false);
341#endif
342 screens[i].clear_display();
343 screens[i].puts(0,0,str(LANG_SHOWDIR_ERROR_BUFFER));
344 screens[i].puts(0,1,str(LANG_SHOWDIR_ERROR_FULL));
345 gui_textarea_update(&screens[i]);
346 }
347 sleep(HZ*2);
348 FOR_NB_SCREENS(i)
349 gui_textarea_clear(&screens[i]);
350 } 336 }
351 } 337 }
352 gui_synclist_set_nb_items(&tree_lists, tc.filesindir); 338 gui_synclist_set_nb_items(&tree_lists, tc.filesindir);