1
0
forked from aniani/vim

patch 8.2.3985: error messages are spread out

Problem:    Error messages are spread out.
Solution:   Move more error messages to errors.h.
This commit is contained in:
Bram Moolenaar
2022-01-02 19:25:26 +00:00
parent 3d0da09bb2
commit ac78dd4a35
23 changed files with 285 additions and 104 deletions

View File

@@ -2384,7 +2384,7 @@ add_termcap_entry(char_u *name, int force)
emsg(error_msg);
else
#endif
semsg(_("E436: No \"%s\" entry in termcap"), name);
semsg(_(e_no_str_entry_in_termcap), name);
}
return FAIL;
}
@@ -3161,7 +3161,7 @@ ttest(int pairs)
* MUST have "cm": cursor motion.
*/
if (*T_CM == NUL)
emsg(_("E437: terminal capability \"cm\" required"));
emsg(_(e_terminal_capability_cm_required));
/*
* if "cs" defined, use a scroll region, it's faster.