vim-patch:8.2.4890: inconsistent capitalization in error messages

Problem:    Inconsistent capitalization in error messages.
Solution:   Make capitalization consistent. (Doug Kearns)

cf030578b2

Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
zeertzjq
2023-05-05 07:14:39 +08:00
parent b8d5586d5b
commit 88cfb49bee
44 changed files with 287 additions and 157 deletions

View File

@@ -56,6 +56,9 @@
# include "autocmd.c.generated.h"
#endif
static const char e_autocommand_nesting_too_deep[]
= N_("E218: Autocommand nesting too deep");
// Naming Conventions:
// - general autocmd behavior start with au_
// - AutoCmd start with aucmd_
@@ -1589,7 +1592,7 @@ bool apply_autocmds_group(event_T event, char *fname, char *fname_io, bool force
// Allow nesting of autocommands, but restrict the depth, because it's
// possible to create an endless loop.
if (nesting == 10) {
emsg(_("E218: autocommand nesting too deep"));
emsg(_(e_autocommand_nesting_too_deep));
goto BYPASS_AU;
}