Skip to content

Commit 75c1946

Browse files
committed
patch 8.0.0327: error message in cmdline window is not translated
Problem: The E11 error message in the command line window is not translated. Solution: use _(). (Hirohito Higashi)
1 parent 24f8f54 commit 75c1946

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/ex_docmd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2490,7 +2490,7 @@ do_one_cmd(
24902490
&& !IS_USER_CMDIDX(ea.cmdidx))
24912491
{
24922492
/* Command not allowed when editing the command line. */
2493-
errormsg = get_text_locked_msg();
2493+
errormsg = (char_u *)_(get_text_locked_msg());
24942494
goto doend;
24952495
}
24962496
#ifdef FEAT_AUTOCMD

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,8 @@ static char *(features[]) =
764764

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
327,
767769
/**/
768770
326,
769771
/**/

0 commit comments

Comments
 (0)