1
0
forked from aniani/vim

patch 8.2.4010: error messages are spread out

Problem:    Error messages are spread out.
Solution:   Move more error messages to errors.h.
This commit is contained in:
Bram Moolenaar
2022-01-05 17:49:15 +00:00
parent d3a117814d
commit 9d00e4a814
31 changed files with 200 additions and 87 deletions

View File

@@ -1934,7 +1934,7 @@ tv_float(typval_T *tvs, int *idxp)
else if (tvs[idx].v_type == VAR_NUMBER)
f = (double)tvs[idx].vval.v_number;
else
emsg(_("E807: Expected Float argument for printf()"));
emsg(_(e_expected_float_argument_for_printf));
}
return f;
}