summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2024-05-13 11:57:59 -0400
committerSolomon Peachy <pizza@shaftnet.org>2024-05-13 12:02:17 -0400
commitb6053c4d543a5d0a8e8c42f6f0c4e225d0760620 (patch)
tree464be340e674d465e52d78b4d6e781425d281f2c
parent0bfc5d8d9931bfd10a8da3f7f74844af837c6fbd (diff)
downloadrockbox-b6053c4d54.tar.gz
rockbox-b6053c4d54.zip
voice: Fix a handful of non-voiced splash messages
Change-Id: I561c756c542fa24824a881b5632c955a920b8471
-rw-r--r--apps/alarm_menu.c2
-rw-r--r--apps/debug_menu.c2
-rw-r--r--apps/onplay.c3
-rw-r--r--apps/shortcuts.c2
4 files changed, 4 insertions, 5 deletions
diff --git a/apps/alarm_menu.c b/apps/alarm_menu.c
index 67f8d1e8dd..c2f2422aea 100644
--- a/apps/alarm_menu.c
+++ b/apps/alarm_menu.c
@@ -74,7 +74,7 @@ int alarm_screen(void)
talk_value(mins_togo % 60, UNIT_MIN, true);
talk_force_enqueue_next();
}
- splashf(HZ*2, str(LANG_ALARM_MOD_TIME_TO_GO),
+ splashf(HZ*2, ID2P(LANG_ALARM_MOD_TIME_TO_GO),
mins_togo / 60, mins_togo % 60);
} else {
splash(HZ, ID2P(LANG_ALARM_MOD_ERROR));
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 07640c3937..39dd77f48f 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -1819,7 +1819,7 @@ static int dircache_callback(int btn, struct gui_synclist *lists)
case ACTION_STD_CANCEL:
if (*(int *)lists->data > 0 && info.status == DIRCACHE_SCANNING)
{
- splash(HZ, str(LANG_SCANNING_DISK));
+ splash(HZ, ID2P(LANG_SCANNING_DISK));
btn = ACTION_NONE;
}
break;
diff --git a/apps/onplay.c b/apps/onplay.c
index 0b5dc2fe27..71f902900d 100644
--- a/apps/onplay.c
+++ b/apps/onplay.c
@@ -739,7 +739,7 @@ static int delete_file_dir(void)
}
clear_display(true);
- splash(HZ/2, str(LANG_DELETING));
+ splash(HZ/2, ID2P(LANG_DELETING));
int rc = -1;
@@ -1826,4 +1826,3 @@ int get_onplay_context(void)
{
return context;
}
-
diff --git a/apps/shortcuts.c b/apps/shortcuts.c
index ad19ec14fc..4833b65c74 100644
--- a/apps/shortcuts.c
+++ b/apps/shortcuts.c
@@ -608,7 +608,7 @@ int do_shortcut_menu(void *ignored)
if (shortcut_count == 0)
{
- splash(HZ, str(LANG_NO_FILES));
+ splash(HZ, ID2P(LANG_NO_FILES));
return GO_TO_PREVIOUS;
}
push_current_activity(ACTIVITY_SHORTCUTSMENU);