voice: Fix a handful of non-voiced splash messages

Change-Id: I561c756c542fa24824a881b5632c955a920b8471
This commit is contained in:
Solomon Peachy 2024-05-13 11:57:59 -04:00
parent 0bfc5d8d99
commit b6053c4d54
4 changed files with 4 additions and 5 deletions

View file

@ -74,7 +74,7 @@ int alarm_screen(void)
talk_value(mins_togo % 60, UNIT_MIN, true); talk_value(mins_togo % 60, UNIT_MIN, true);
talk_force_enqueue_next(); 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); mins_togo / 60, mins_togo % 60);
} else { } else {
splash(HZ, ID2P(LANG_ALARM_MOD_ERROR)); splash(HZ, ID2P(LANG_ALARM_MOD_ERROR));

View file

@ -1819,7 +1819,7 @@ static int dircache_callback(int btn, struct gui_synclist *lists)
case ACTION_STD_CANCEL: case ACTION_STD_CANCEL:
if (*(int *)lists->data > 0 && info.status == DIRCACHE_SCANNING) if (*(int *)lists->data > 0 && info.status == DIRCACHE_SCANNING)
{ {
splash(HZ, str(LANG_SCANNING_DISK)); splash(HZ, ID2P(LANG_SCANNING_DISK));
btn = ACTION_NONE; btn = ACTION_NONE;
} }
break; break;

View file

@ -739,7 +739,7 @@ static int delete_file_dir(void)
} }
clear_display(true); clear_display(true);
splash(HZ/2, str(LANG_DELETING)); splash(HZ/2, ID2P(LANG_DELETING));
int rc = -1; int rc = -1;
@ -1826,4 +1826,3 @@ int get_onplay_context(void)
{ {
return context; return context;
} }

View file

@ -608,7 +608,7 @@ int do_shortcut_menu(void *ignored)
if (shortcut_count == 0) if (shortcut_count == 0)
{ {
splash(HZ, str(LANG_NO_FILES)); splash(HZ, ID2P(LANG_NO_FILES));
return GO_TO_PREVIOUS; return GO_TO_PREVIOUS;
} }
push_current_activity(ACTIVITY_SHORTCUTSMENU); push_current_activity(ACTIVITY_SHORTCUTSMENU);