mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 14:56:08 +00:00
vim-patch:8.2.4890: inconsistent capitalization in error messages
Problem: Inconsistent capitalization in error messages.
Solution: Make capitalization consistent. (Doug Kearns)
cf030578b2
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -59,6 +59,11 @@
|
||||
# include "search.c.generated.h"
|
||||
#endif
|
||||
|
||||
static const char e_search_hit_top_without_match_for_str[]
|
||||
= N_("E384: Search hit TOP without match for: %s");
|
||||
static const char e_search_hit_bottom_without_match_for_str[]
|
||||
= N_("E385: Search hit BOTTOM without match for: %s");
|
||||
|
||||
// This file contains various searching-related routines. These fall into
|
||||
// three groups:
|
||||
// 1. string searches (for /, ?, n, and N)
|
||||
@@ -943,11 +948,9 @@ int searchit(win_T *win, buf_T *buf, pos_T *pos, pos_T *end_pos, Direction dir,
|
||||
if (p_ws) {
|
||||
semsg(_(e_patnotf2), mr_pattern);
|
||||
} else if (lnum == 0) {
|
||||
semsg(_("E384: search hit TOP without match for: %s"),
|
||||
mr_pattern);
|
||||
semsg(_(e_search_hit_top_without_match_for_str), mr_pattern);
|
||||
} else {
|
||||
semsg(_("E385: search hit BOTTOM without match for: %s"),
|
||||
mr_pattern);
|
||||
semsg(_(e_search_hit_bottom_without_match_for_str), mr_pattern);
|
||||
}
|
||||
}
|
||||
return FAIL;
|
||||
|
Reference in New Issue
Block a user