summaryrefslogtreecommitdiffstats
path: root/src/findfile.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-02 17:00:40 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-02 17:00:40 +0000
commiteaaac014a01ce37c1f86dbda054c01a5c6f034e7 (patch)
treeb775ac0b4332e8f73bc763ed1414f73639c187d6 /src/findfile.c
parent8bfa0eb863357c1013024233ebb2e95a0a848002 (diff)
patch 8.2.3983: error messages are spread outv8.2.3983
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.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/findfile.c b/src/findfile.c
index d3de9fc719..ef9166b82a 100644
--- a/src/findfile.c
+++ b/src/findfile.c
@@ -520,7 +520,7 @@ vim_findfile_init(
wc_part = (char_u *)errpt;
if (*wc_part != NUL && !vim_ispathsep(*wc_part))
{
- semsg(_("E343: Invalid path: '**[number]' must be at the end of the path or be followed by '%s'."), PATHSEPSTR);
+ semsg(_(e_invalid_path_number_must_be_at_end_of_path_or_be_followed_by_str), PATHSEPSTR);
goto error_return;
}
}
@@ -1905,19 +1905,19 @@ find_file_in_path_option(
if (first == TRUE)
{
if (find_what == FINDFILE_DIR)
- semsg(_("E344: Can't find directory \"%s\" in cdpath"),
+ semsg(_(e_cant_find_directory_str_in_cdpath),
ff_file_to_find);
else
- semsg(_("E345: Can't find file \"%s\" in path"),
+ semsg(_(e_cant_find_file_str_in_path),
ff_file_to_find);
}
else
{
if (find_what == FINDFILE_DIR)
- semsg(_("E346: No more directory \"%s\" found in cdpath"),
+ semsg(_(e_no_more_directory_str_found_in_cdpath),
ff_file_to_find);
else
- semsg(_("E347: No more file \"%s\" found in path"),
+ semsg(_(e_no_more_file_str_found_in_path),
ff_file_to_find);
}
}