Mercurial > vim
diff src/ex_eval.c @ 26952:b34ddbca305c v8.2.4005
patch 8.2.4005: error messages are spread out
Commit: https://github.com/vim/vim/commit/a6f7929e62c19a6a2418a016b4c59b83eb1887ac
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 4 21:30:47 2022 +0000
patch 8.2.4005: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 04 Jan 2022 22:45:04 +0100 |
parents | 51ddf6740ac6 |
children | 41e0dcf38521 |
line wrap: on
line diff
--- a/src/ex_eval.c +++ b/src/ex_eval.c @@ -1406,9 +1406,9 @@ ex_endwhile(exarg_T *eap) // If we are in a ":while" or ":for" but used the wrong endloop // command, do not rewind to the next enclosing ":for"/":while". if (fl & CSF_WHILE) - eap->errmsg = _("E732: Using :endfor with :while"); + eap->errmsg = _(e_using_endfor_with_while); else if (fl & CSF_FOR) - eap->errmsg = _("E733: Using :endwhile with :for"); + eap->errmsg = _(e_using_endwhile_with_for); } if (!(fl & (CSF_WHILE | CSF_FOR))) {