diff --git a/src/nano.c b/src/nano.c index 588ed4b9..5db4f202 100644 --- a/src/nano.c +++ b/src/nano.c @@ -1285,7 +1285,7 @@ void unbound_key(int code) else if (code == MISSING_BRACE) statusline(AHEM, _("Missing }")); else if (code == NO_SUCH_FUNCTION) - statusline(AHEM, _("No such function: %s"), commandname); + statusline(AHEM, _("Unknown function: %s"), commandname); #endif #ifndef NANO_TINY else if (code > KEY_F0 && code < KEY_F0 + 25) diff --git a/src/rcfile.c b/src/rcfile.c index 7ef9d76d..3f72fbda 100644 --- a/src/rcfile.c +++ b/src/rcfile.c @@ -789,7 +789,7 @@ void parse_binding(char *ptr, bool dobind) menu = name_to_menu(menuptr); if (menu < 1) { - jot_error(N_("Cannot map name \"%s\" to a menu"), menuptr); + jot_error(N_("Unknown menu: %s"), menuptr); goto free_things; } @@ -807,7 +807,7 @@ void parse_binding(char *ptr, bool dobind) newsc = strtosc(funcptr); if (newsc == NULL) { - jot_error(N_("Cannot map name \"%s\" to a function"), funcptr); + jot_error(N_("Unknown function: %s"), funcptr); goto free_things; } } @@ -1532,7 +1532,7 @@ void parse_rcfile(FILE *rcstream, bool just_syntax, bool intros_only) } if (rcopts[i].name == NULL) { - jot_error(N_("Unknown option \"%s\""), option); + jot_error(N_("Unknown option: %s"), option); continue; }