mirror of
https://github.com/neovim/neovim.git
synced 2025-10-07 02:16:31 +00:00
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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user