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)
diff --git a/src/ex_getln.c b/src/ex_getln.c
index faa56e1..2be8156 100644
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -4219,7 +4219,7 @@
}
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 9c738bf..0209fd2 100644
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2492,
+/**/
2491,
/**/
2490,