summaryrefslogtreecommitdiffstats
path: root/apps/root_menu.c
diff options
context:
space:
mode:
authorTomer Shalev <shalev.tomer@gmail.com>2009-10-08 22:40:38 +0000
committerTomer Shalev <shalev.tomer@gmail.com>2009-10-08 22:40:38 +0000
commitd7cdd0866495ad9605615bd18d09629880633e76 (patch)
tree92983a575e1a9708e2d4b0817cc2a6a3f7856bc1 /apps/root_menu.c
parent694ea7e7344e5242ac5ca662cc2f120f02e324af (diff)
downloadrockbox-d7cdd0866495ad9605615bd18d09629880633e76.tar.gz
rockbox-d7cdd0866495ad9605615bd18d09629880633e76.tar.bz2
rockbox-d7cdd0866495ad9605615bd18d09629880633e76.zip
RTL: Add support for DB init message
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23020 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/root_menu.c')
-rw-r--r--apps/root_menu.c16
1 files changed, 13 insertions, 3 deletions
diff --git a/apps/root_menu.c b/apps/root_menu.c
index a06caba176..feff126e03 100644
--- a/apps/root_menu.c
+++ b/apps/root_menu.c
@@ -63,6 +63,7 @@
#ifdef HAVE_TAGCACHE
#include "tagcache.h"
#endif
+#include "language.h"
struct root_items {
int (*function)(void* param);
@@ -181,9 +182,18 @@ static int browser(void* param)
}
if (stat->commit_step > 0)
{
- splashf(0, "%s [%d/%d]",
- str(LANG_TAGCACHE_INIT), stat->commit_step,
- tagcache_get_max_commit_step());
+ if (lang_is_rtl())
+ {
+ splashf(0, "[%d/%d] %s", stat->commit_step,
+ tagcache_get_max_commit_step(),
+ str(LANG_TAGCACHE_INIT));
+ }
+ else
+ {
+ splashf(0, "%s [%d/%d]", str(LANG_TAGCACHE_INIT),
+ stat->commit_step,
+ tagcache_get_max_commit_step());
+ }
}
else
{