From 6f8cb3b6c4e1fcb2febd12d8a5192c409b854739 Mon Sep 17 00:00:00 2001 From: Willy-JL <49810075+Willy-JL@users.noreply.github.com> Date: Sun, 10 Nov 2024 04:36:21 +0000 Subject: [PATCH] Improve clarity of some error messages --- applications/main/subghz/subghz_i.c | 2 +- applications/services/cli/cli.c | 2 +- applications/services/loader/loader.c | 2 +- applications/services/loader/loader_menu_storage.c | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/applications/main/subghz/subghz_i.c b/applications/main/subghz/subghz_i.c index 9b5e26bdf..d8cf5240a 100644 --- a/applications/main/subghz/subghz_i.c +++ b/applications/main/subghz/subghz_i.c @@ -51,7 +51,7 @@ void subghz_dialog_message_freq_error(SubGhz* subghz, SubGhzTx can_tx) { default: return; case SubGhzTxBlockedRegionNotProvisioned: - message_text = "Region is not\nprovisioned.\nUpdate firmware\nor bypass region."; + message_text = "Missing region file.\nReinstall firmware\nwith Web/App\nor bypass region."; break; case SubGhzTxBlockedRegion: message_text = "Frequency outside\nof region range.\nMNTM > Protocols\n> Bypass Region"; diff --git a/applications/services/cli/cli.c b/applications/services/cli/cli.c index e9c123081..9756d1eef 100644 --- a/applications/services/cli/cli.c +++ b/applications/services/cli/cli.c @@ -596,7 +596,7 @@ void cli_plugin_wrapper(const char* name, Cli* cli, FuriString* args, void* cont handler(cli, args, context); } else { printf( - "CLI plugin '%s' failed (code %" PRIu16 "), update firmware or check logs\r\n", + "CLI plugin '%s' failed (code %" PRIu16 "), reinstall firmware or check logs\r\n", name, error); } diff --git a/applications/services/loader/loader.c b/applications/services/loader/loader.c index 7efae76d1..bcaa9b250 100644 --- a/applications/services/loader/loader.c +++ b/applications/services/loader/loader.c @@ -107,7 +107,7 @@ static void loader_show_gui_error( Storage* storage = furi_record_open(RECORD_STORAGE); if(storage_sd_status(storage) == FSE_OK) { header = "Update needed"; - text = "Update firmware\nto run this app"; + text = "Reinstall firmware\nto run this app"; } else { header = "SD card needed"; text = "Install SD card\nto run this app"; diff --git a/applications/services/loader/loader_menu_storage.c b/applications/services/loader/loader_menu_storage.c index 8823ec208..755ee1243 100644 --- a/applications/services/loader/loader_menu_storage.c +++ b/applications/services/loader/loader_menu_storage.c @@ -46,10 +46,10 @@ int32_t loader_menu_storage_settings(void* context) { dialog_ex_set_header(dialog_ex, "Update needed", 64, 0, AlignCenter, AlignTop); dialog_ex_set_text( dialog_ex, - "Update firmware\n" - "to run this app\n" + "Reinstall firmware\n" + "to run this app.\n" "Can format SD\n" - "here if needed", + "here if needed.", 3, 17, AlignLeft,