aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-02-10 17:54:40 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-02-10 17:58:59 -0500
commit89143b5fc430340d542a9d1dff7240359aab8956 (patch)
tree5ab0f8e6e0d7755a1e14ff221ff13fc88ef2788f /src
parent787446886f4ca546afb07faf06556e75dbd4b6aa (diff)
downloadrneovim-89143b5fc430340d542a9d1dff7240359aab8956.tar.gz
rneovim-89143b5fc430340d542a9d1dff7240359aab8956.tar.bz2
rneovim-89143b5fc430340d542a9d1dff7240359aab8956.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/nvim/ex_getln.c2
1 files changed, 1 insertions, 1 deletions
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;