Improve clarity of some error messages

This commit is contained in:
Willy-JL
2024-11-10 04:36:21 +00:00
parent 2da2cf2940
commit 6f8cb3b6c4
4 changed files with 6 additions and 6 deletions

View File

@@ -51,7 +51,7 @@ void subghz_dialog_message_freq_error(SubGhz* subghz, SubGhzTx can_tx) {
default: default:
return; return;
case SubGhzTxBlockedRegionNotProvisioned: 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; break;
case SubGhzTxBlockedRegion: case SubGhzTxBlockedRegion:
message_text = "Frequency outside\nof region range.\nMNTM > Protocols\n> Bypass Region"; message_text = "Frequency outside\nof region range.\nMNTM > Protocols\n> Bypass Region";

View File

@@ -596,7 +596,7 @@ void cli_plugin_wrapper(const char* name, Cli* cli, FuriString* args, void* cont
handler(cli, args, context); handler(cli, args, context);
} else { } else {
printf( 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, name,
error); error);
} }

View File

@@ -107,7 +107,7 @@ static void loader_show_gui_error(
Storage* storage = furi_record_open(RECORD_STORAGE); Storage* storage = furi_record_open(RECORD_STORAGE);
if(storage_sd_status(storage) == FSE_OK) { if(storage_sd_status(storage) == FSE_OK) {
header = "Update needed"; header = "Update needed";
text = "Update firmware\nto run this app"; text = "Reinstall firmware\nto run this app";
} else { } else {
header = "SD card needed"; header = "SD card needed";
text = "Install SD card\nto run this app"; text = "Install SD card\nto run this app";

View File

@@ -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_header(dialog_ex, "Update needed", 64, 0, AlignCenter, AlignTop);
dialog_ex_set_text( dialog_ex_set_text(
dialog_ex, dialog_ex,
"Update firmware\n" "Reinstall firmware\n"
"to run this app\n" "to run this app.\n"
"Can format SD\n" "Can format SD\n"
"here if needed", "here if needed.",
3, 3,
17, 17,
AlignLeft, AlignLeft,