Skip to content

Commit

Permalink
Improve clarity of some error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Willy-JL committed Nov 10, 2024
1 parent 2da2cf2 commit 6f8cb3b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion applications/main/subghz/subghz_i.c
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
2 changes: 1 addition & 1 deletion applications/services/cli/cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion applications/services/loader/loader.c
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
6 changes: 3 additions & 3 deletions applications/services/loader/loader_menu_storage.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 6f8cb3b

Please sign in to comment.