forked from aniani/vim
patch 8.2.3985: error messages are spread out
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user