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/normal.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/normal.c')
-rw-r--r-- | src/nvim/normal.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c index e39a5e1ab7..890fa0f80a 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -106,6 +106,8 @@ static int VIsual_mode_orig = NUL; // saved Visual mode # include "normal.c.generated.h" #endif +static const char e_changelist_is_empty[] = N_("E664: Changelist is empty"); + static inline void normal_state_init(NormalState *s) { memset(s, 0, sizeof(NormalState)); @@ -4963,7 +4965,7 @@ static void nv_pcmark(cmdarg_T *cap) move_res = nv_mark_move_to(cap, flags, fm); } else if (cap->cmdchar == 'g') { if (curbuf->b_changelistlen == 0) { - emsg(_("E664: changelist is empty")); + emsg(_(e_changelist_is_empty)); } else if (cap->count1 < 0) { emsg(_("E662: At start of changelist")); } else { |