From 5b76936a44de3c7ecd568300f26b5e6421901285 Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Mon, 6 Aug 2007 13:08:36 +0000 Subject: Accept FS#6159 'Add voice to roughly 100 splash screens and yes-no menus' by Stephane Doyon with some minor tweaks by me. Rerun 'configure' and do a 'make clean' before rebuilding your voice files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14213 a1c6a512-1295-4272-9138-f99709370657 --- apps/tagtree.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'apps/tagtree.c') diff --git a/apps/tagtree.c b/apps/tagtree.c index 22b7125701..59fb8c131f 100644 --- a/apps/tagtree.c +++ b/apps/tagtree.c @@ -690,7 +690,7 @@ bool tagtree_export(void) gui_syncsplash(0, str(LANG_CREATING)); if (!tagcache_create_changelog(&tcs)) { - gui_syncsplash(HZ*2, str(LANG_FAILED)); + gui_syncsplash(HZ*2, ID2P(LANG_FAILED)); } return false; @@ -698,10 +698,10 @@ bool tagtree_export(void) bool tagtree_import(void) { - gui_syncsplash(0, str(LANG_WAIT)); + gui_syncsplash(0, ID2P(LANG_WAIT)); if (!tagcache_import_changelog()) { - gui_syncsplash(HZ*2, str(LANG_FAILED)); + gui_syncsplash(HZ*2, ID2P(LANG_FAILED)); } return false; @@ -1228,7 +1228,7 @@ static int retrieve_entries(struct tree_context *c, struct tagcache_search *tcs, if (!sort && (sort_inverse || sort_limit)) { - gui_syncsplash(HZ*4, str(LANG_SHOWDIR_BUFFER_FULL), total_count); + gui_syncsplash(HZ*4, ID2P(LANG_SHOWDIR_BUFFER_FULL), total_count); logf("Too small dir buffer"); return 0; } @@ -1419,7 +1419,7 @@ int tagtree_enter(struct tree_context* c) !global_settings.party_mode && playlist_modified(NULL)) { - char *lines[]={str(LANG_WARN_ERASEDYNPLAYLIST_PROMPT)}; + char *lines[]={ID2P(LANG_WARN_ERASEDYNPLAYLIST_PROMPT)}; struct text_message message={lines, 1}; if (gui_syncyesno_run(&message, NULL, NULL) != YESNO_YES) @@ -1496,7 +1496,7 @@ static bool insert_all_playlist(struct tree_context *c, int position, bool queue cpu_boost(true); if (!tagcache_search(&tcs, tag_filename)) { - gui_syncsplash(HZ, str(LANG_TAGCACHE_BUSY)); + gui_syncsplash(HZ, ID2P(LANG_TAGCACHE_BUSY)); cpu_boost(false); return false; } @@ -1599,12 +1599,12 @@ bool tagtree_insert_selection_playlist(int position, bool queue) } if (tc->filesindir <= 0) - gui_syncsplash(HZ, str(LANG_END_PLAYLIST)); + gui_syncsplash(HZ, ID2P(LANG_END_PLAYLIST)); else { logf("insert_all_playlist"); if (!insert_all_playlist(tc, position, queue)) - gui_syncsplash(HZ*2, str(LANG_FAILED)); + gui_syncsplash(HZ*2, ID2P(LANG_FAILED)); } /* Finally return the dirlevel to its original value. */ -- cgit v1.2.3