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

@@ -53,6 +53,9 @@
# include "ex_cmds2.c.generated.h"
#endif
static const char e_compiler_not_supported_str[]
= N_("E666: Compiler not supported: %s");
void ex_ruby(exarg_T *eap)
{
script_host_execute("ruby", eap);
@@ -731,7 +734,7 @@ void ex_compiler(exarg_T *eap)
// Try lua compiler
snprintf(buf, bufsize, "compiler/%s.lua", eap->arg);
if (source_runtime(buf, DIP_ALL) == FAIL) {
semsg(_("E666: compiler not supported: %s"), eap->arg);
semsg(_(e_compiler_not_supported_str), eap->arg);
}
}
xfree(buf);