From b17ec4d427f9009eff5dbc3184b26d68b0163edb Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 10 Feb 2021 16:45:24 +0100 Subject: patch 8.2.2492: command line buffer name cannot be translated Problem: Command line buffer name cannot be translated. Solution: Add _(). (Gabriel Dupras, closes #7812) --- src/ex_getln.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ex_getln.c b/src/ex_getln.c index faa56e14b6..2be8156eaa 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -4219,7 +4219,7 @@ open_cmdwin(void) } apply_autocmds(EVENT_BUFFILEPRE, NULL, NULL, FALSE, curbuf); - (void)setfname(curbuf, (char_u *)"[Command Line]", NULL, TRUE); + (void)setfname(curbuf, (char_u *)_("[Command Line]"), NULL, TRUE); apply_autocmds(EVENT_BUFFILEPOST, NULL, NULL, FALSE, curbuf); set_option_value((char_u *)"bt", 0L, (char_u *)"nofile", OPT_LOCAL); curbuf->b_p_ma = TRUE; diff --git a/src/version.c b/src/version.c index 9c738bffa5..0209fd2b86 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2492, /**/ 2491, /**/ -- cgit v1.2.3