Mercurial > vim
diff src/findfile.c @ 26913:d4e61d61afd9 v8.2.3985
patch 8.2.3985: error messages are spread out
Commit: https://github.com/vim/vim/commit/ac78dd4a352196ca4e6640f8e4caaf126afd49e3
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 2 19:25:26 2022 +0000
patch 8.2.3985: 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 | Sun, 02 Jan 2022 20:30:04 +0100 |
parents | aa65d1808bd0 |
children | 85866e069c24 |
line wrap: on
line diff
--- a/src/findfile.c +++ b/src/findfile.c @@ -2007,7 +2007,7 @@ file_name_in_line( if (*ptr == NUL) // nothing found { if (options & FNAME_MESS) - emsg(_("E446: No file name under cursor")); + emsg(_(e_no_file_name_under_cursor)); return NULL; } @@ -2165,7 +2165,7 @@ find_file_name_in_path( { c = ptr[len]; ptr[len] = NUL; - semsg(_("E447: Can't find file \"%s\" in path"), ptr); + semsg(_(e_cant_find_file_str_in_path_2), ptr); ptr[len] = c; }