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

@@ -70,6 +70,8 @@
# include "memfile.c.generated.h"
#endif
static const char e_block_was_not_locked[] = N_("E293: Block was not locked");
/// Open a new or existing memory block file.
///
/// @param fname Name of file to use.
@@ -335,7 +337,7 @@ void mf_put(memfile_T *mfp, bhdr_T *hp, bool dirty, bool infile)
unsigned flags = hp->bh_flags;
if ((flags & BH_LOCKED) == 0) {
iemsg(_("E293: block was not locked"));
iemsg(_(e_block_was_not_locked));
}
flags &= ~BH_LOCKED;
if (dirty) {