From 89143b5fc430340d542a9d1dff7240359aab8956 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Wed, 10 Feb 2021 17:54:40 -0500 Subject: vim-patch:8.2.2492: command line buffer name cannot be translated Problem: Command line buffer name cannot be translated. Solution: Add _(). (Gabriel Dupras, closes vim/vim#7812) https://github.com/vim/vim/commit/b17ec4d427f9009eff5dbc3184b26d68b0163edb --- src/nvim/ex_getln.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c index 7776191869..4d1fd9b33f 100644 --- a/src/nvim/ex_getln.c +++ b/src/nvim/ex_getln.c @@ -6441,7 +6441,7 @@ static int open_cmdwin(void) cmdwin_level = ccline.level; // Create empty command-line buffer. - buf_open_scratch(0, "[Command Line]"); + buf_open_scratch(0, _("[Command Line]")); // Command-line buffer has bufhidden=wipe, unlike a true "scratch" buffer. set_option_value("bh", 0L, "wipe", OPT_LOCAL); curwin->w_p_rl = cmdmsg_rl; -- cgit