diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-02 19:25:26 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-02 19:25:26 +0000 |
commit | ac78dd4a352196ca4e6640f8e4caaf126afd49e3 (patch) | |
tree | c741cbf5a8f33503e42af2294afdbd4bf15b0ae9 /src/findfile.c | |
parent | 3d0da09bb2d31afc611bf1c4b35796739d87ed63 (diff) |
patch 8.2.3985: error messages are spread outv8.2.3985
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
Diffstat (limited to 'src/findfile.c')
-rw-r--r-- | src/findfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/findfile.c b/src/findfile.c index ef9166b82a..cc0cc6e92e 100644 --- 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; } |