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

@@ -126,6 +126,9 @@ typedef struct {
# include "ex_cmds.c.generated.h"
#endif
static const char e_non_numeric_argument_to_z[]
= N_("E144: Non-numeric argument to :z");
/// ":ascii" and "ga" implementation
void do_ascii(const exarg_T *const eap)
{
@@ -2952,7 +2955,7 @@ void ex_z(exarg_T *eap)
if (*x != 0) {
if (!ascii_isdigit(*x)) {
emsg(_("E144: non-numeric argument to :z"));
emsg(_(e_non_numeric_argument_to_z));
return;
}
bigness = atol(x);