summaryrefslogtreecommitdiff
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-b6053c4d543a5d0a8e8c42f6f0c4e225d0760620.tar.gz
rockbox-b6053c4d543a5d0a8e8c42f6f0c4e225d0760620.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)
74 talk_value(mins_togo % 60, UNIT_MIN, true); 74 talk_value(mins_togo % 60, UNIT_MIN, true);
75 talk_force_enqueue_next(); 75 talk_force_enqueue_next();
76 } 76 }
77 splashf(HZ*2, str(LANG_ALARM_MOD_TIME_TO_GO), 77 splashf(HZ*2, ID2P(LANG_ALARM_MOD_TIME_TO_GO),
78 mins_togo / 60, mins_togo % 60); 78 mins_togo / 60, mins_togo % 60);
79 } else { 79 } else {
80 splash(HZ, ID2P(LANG_ALARM_MOD_ERROR)); 80 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)
1819 case ACTION_STD_CANCEL: 1819 case ACTION_STD_CANCEL:
1820 if (*(int *)lists->data > 0 && info.status == DIRCACHE_SCANNING) 1820 if (*(int *)lists->data > 0 && info.status == DIRCACHE_SCANNING)
1821 { 1821 {
1822 splash(HZ, str(LANG_SCANNING_DISK)); 1822 splash(HZ, ID2P(LANG_SCANNING_DISK));
1823 btn = ACTION_NONE; 1823 btn = ACTION_NONE;
1824 } 1824 }
1825 break; 1825 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)
739 } 739 }
740 740
741 clear_display(true); 741 clear_display(true);
742 splash(HZ/2, str(LANG_DELETING)); 742 splash(HZ/2, ID2P(LANG_DELETING));
743 743
744 int rc = -1; 744 int rc = -1;
745 745
@@ -1826,4 +1826,3 @@ int get_onplay_context(void)
1826{ 1826{
1827 return context; 1827 return context;
1828} 1828}
1829
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)
608 608
609 if (shortcut_count == 0) 609 if (shortcut_count == 0)
610 { 610 {
611 splash(HZ, str(LANG_NO_FILES)); 611 splash(HZ, ID2P(LANG_NO_FILES));
612 return GO_TO_PREVIOUS; 612 return GO_TO_PREVIOUS;
613 } 613 }
614 push_current_activity(ACTIVITY_SHORTCUTSMENU); 614 push_current_activity(ACTIVITY_SHORTCUTSMENU);