From b6053c4d543a5d0a8e8c42f6f0c4e225d0760620 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Mon, 13 May 2024 11:57:59 -0400 Subject: voice: Fix a handful of non-voiced splash messages Change-Id: I561c756c542fa24824a881b5632c955a920b8471 --- apps/alarm_menu.c | 2 +- apps/debug_menu.c | 2 +- apps/onplay.c | 3 +-- apps/shortcuts.c | 2 +- 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); -- cgit v1.2.3