summaryrefslogtreecommitdiff
path: root/apps/root_menu.c
diff options
context:
space:
mode:
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 @@
63#ifdef HAVE_TAGCACHE 63#ifdef HAVE_TAGCACHE
64#include "tagcache.h" 64#include "tagcache.h"
65#endif 65#endif
66#include "language.h"
66 67
67struct root_items { 68struct root_items {
68 int (*function)(void* param); 69 int (*function)(void* param);
@@ -181,9 +182,18 @@ static int browser(void* param)
181 } 182 }
182 if (stat->commit_step > 0) 183 if (stat->commit_step > 0)
183 { 184 {
184 splashf(0, "%s [%d/%d]", 185 if (lang_is_rtl())
185 str(LANG_TAGCACHE_INIT), stat->commit_step, 186 {
186 tagcache_get_max_commit_step()); 187 splashf(0, "[%d/%d] %s", stat->commit_step,
188 tagcache_get_max_commit_step(),
189 str(LANG_TAGCACHE_INIT));
190 }
191 else
192 {
193 splashf(0, "%s [%d/%d]", str(LANG_TAGCACHE_INIT),
194 stat->commit_step,
195 tagcache_get_max_commit_step());
196 }
187 } 197 }
188 else 198 else
189 { 199 {