aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2022-08-25 07:45:49 +0200
committerPřemysl Eric Janouch <p@janouch.name>2022-08-25 07:45:49 +0200
commit9a996c8440f1470b7c1a686e4c345bfad4c0e997 (patch)
tree5c33e1be731448750ee9e3a27452596f3c843a30
parenta9d4f864939db164f3de584d1fe628271a92ce9e (diff)
downloadnncmpp-9a996c8440f1470b7c1a686e4c345bfad4c0e997.tar.gz
nncmpp-9a996c8440f1470b7c1a686e4c345bfad4c0e997.tar.xz
nncmpp-9a996c8440f1470b7c1a686e4c345bfad4c0e997.zip
Adjust the "action unavailable" message
-rw-r--r--nncmpp.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/nncmpp.c b/nncmpp.c
index c450647..b8a4dd6 100644
--- a/nncmpp.c
+++ b/nncmpp.c
@@ -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: