diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2022-08-25 07:45:49 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2022-08-25 07:45:49 +0200 |
commit | 9a996c8440f1470b7c1a686e4c345bfad4c0e997 (patch) | |
tree | 5c33e1be731448750ee9e3a27452596f3c843a30 | |
parent | a9d4f864939db164f3de584d1fe628271a92ce9e (diff) | |
download | nncmpp-9a996c8440f1470b7c1a686e4c345bfad4c0e997.tar.gz nncmpp-9a996c8440f1470b7c1a686e4c345bfad4c0e997.tar.xz nncmpp-9a996c8440f1470b7c1a686e4c345bfad4c0e997.zip |
Adjust the "action unavailable" message
-rw-r--r-- | nncmpp.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -2625,7 +2625,8 @@ app_process_action (enum action action) app_hide_message (); return true; 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; case ACTION_MULTISELECT: @@ -2757,7 +2758,8 @@ app_editor_process_action (enum action action) g.editor.on_end = NULL; return true; 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; case ACTION_EDITOR_B_CHAR: |