diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-05 20:24:39 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-05 20:24:39 +0000 |
commit | d82a47dd0493ee976aa3f15ecdc9aea7da6ad5bf (patch) | |
tree | 604109254c7057942fce5c1af26fdd1bc36c066f /src/scriptfile.c | |
parent | bb8cac56d9c398a2b546d9c81c15e8c3d8fd811e (diff) | |
download | vim-git-d82a47dd0493ee976aa3f15ecdc9aea7da6ad5bf.tar.gz |
patch 8.2.4012: error messages are spread outv8.2.4012
Problem: Error messages are spread out.
Solution: Move the last error messages to errors.h.
Diffstat (limited to 'src/scriptfile.c')
-rw-r--r-- | src/scriptfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scriptfile.c b/src/scriptfile.c index 86ce1009c..4256b3974 100644 --- a/src/scriptfile.c +++ b/src/scriptfile.c @@ -1950,7 +1950,7 @@ ex_scriptversion(exarg_T *eap UNUSED) if (!getline_equal(eap->getline, eap->cookie, getsourceline)) { - emsg(_("E984: :scriptversion used outside of a sourced file")); + emsg(_(e_scriptversion_used_outside_of_sourced_file)); return; } if (in_vim9script()) @@ -1963,7 +1963,7 @@ ex_scriptversion(exarg_T *eap UNUSED) if (nr == 0 || *eap->arg != NUL) emsg(_(e_invalid_argument)); else if (nr > SCRIPT_VERSION_MAX) - semsg(_("E999: scriptversion not supported: %d"), nr); + semsg(_(e_scriptversion_not_supported_nr), nr); else { current_sctx.sc_version = nr; |