Adjust the "action unavailable" message

This commit is contained in:
Přemysl Eric Janouch 2022-08-25 07:45:49 +02:00
parent a9d4f86493
commit 9a996c8440
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 4 additions and 2 deletions

View File

@ -2625,7 +2625,8 @@ app_process_action (enum action action)
app_hide_message (); app_hide_message ();
return true; return true;
default: default:
print_error ("can't do that here: %s", g_action_descriptions[action]); print_error ("\"%s\" is not allowed here",
g_action_descriptions[action]);
return false; return false;
case ACTION_MULTISELECT: case ACTION_MULTISELECT:
@ -2757,7 +2758,8 @@ app_editor_process_action (enum action action)
g.editor.on_end = NULL; g.editor.on_end = NULL;
return true; return true;
default: default:
print_error ("can't do that here: %s", g_action_descriptions[action]); print_error ("\"%s\" is not allowed here",
g_action_descriptions[action]);
return false; return false;
case ACTION_EDITOR_B_CHAR: case ACTION_EDITOR_B_CHAR: