diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-05-05 07:14:39 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2023-05-05 09:20:30 +0800 |
commit | 88cfb49bee3c9102082c7010acb92244e4ad1348 (patch) | |
tree | 14c4ab0d2b319f83c42d940b00aebd42e8d971ac /src/nvim/file_search.c | |
parent | b8d5586d5b0d1e2d25533ee398d16bb2e8412820 (diff) | |
download | rneovim-88cfb49bee3c9102082c7010acb92244e4ad1348.tar.gz rneovim-88cfb49bee3c9102082c7010acb92244e4ad1348.tar.bz2 rneovim-88cfb49bee3c9102082c7010acb92244e4ad1348.zip |
vim-patch:8.2.4890: inconsistent capitalization in error messages
Problem: Inconsistent capitalization in error messages.
Solution: Make capitalization consistent. (Doug Kearns)
https://github.com/vim/vim/commit/cf030578b26460643dca4a40e7f2e3bc19c749aa
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'src/nvim/file_search.c')
-rw-r--r-- | src/nvim/file_search.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/nvim/file_search.c b/src/nvim/file_search.c index 9c112f2344..1bfbe2e634 100644 --- a/src/nvim/file_search.c +++ b/src/nvim/file_search.c @@ -182,7 +182,8 @@ typedef struct ff_search_ctx_T { # include "file_search.c.generated.h" #endif -static const char e_pathtoolong[] = N_("E854: path too long for completion"); +static const char e_path_too_long_for_completion[] + = N_("E854: Path too long for completion"); /// Initialization routine for vim_findfile(). /// @@ -395,7 +396,7 @@ void *vim_findfile_init(char *path, char *filename, char *stopdirs, int level, i len = 0; while (*wc_part != NUL) { if (len + 5 >= MAXPATHL) { - emsg(_(e_pathtoolong)); + emsg(_(e_path_too_long_for_completion)); break; } if (strncmp(wc_part, "**", 2) == 0) { @@ -438,7 +439,7 @@ void *vim_findfile_init(char *path, char *filename, char *stopdirs, int level, i // create an absolute path if (strlen(search_ctx->ffsc_start_dir) + strlen(search_ctx->ffsc_fix_path) + 3 >= MAXPATHL) { - emsg(_(e_pathtoolong)); + emsg(_(e_path_too_long_for_completion)); goto error_return; } STRCPY(ff_expand_buffer, search_ctx->ffsc_start_dir); |