Mercurial > vim
diff src/optionstr.c @ 26966:ac75c145f0a9 v8.2.4012
patch 8.2.4012: error messages are spread out
Commit: https://github.com/vim/vim/commit/d82a47dd0493ee976aa3f15ecdc9aea7da6ad5bf
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 5 20:24:39 2022 +0000
patch 8.2.4012: error messages are spread out
Problem: Error messages are spread out.
Solution: Move the last error messages to errors.h.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 05 Jan 2022 21:30:04 +0100 |
parents | 51ddf6740ac6 |
children | 8c0730eca2ce |
line wrap: on
line diff
--- a/src/optionstr.c +++ b/src/optionstr.c @@ -1026,8 +1026,8 @@ ambw_end: if (convert_setup(&input_conv, p_tenc, p_enc) == FAIL || convert_setup(&output_conv, p_enc, p_tenc) == FAIL) { - semsg(_("E950: Cannot convert between %s and %s"), - p_tenc, p_enc); + semsg(_(e_cannot_convert_between_str_and_str), + p_tenc, p_enc); errmsg = e_invalid_argument; } }