forked from aniani/vim
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)
This commit is contained in:
@@ -2490,7 +2490,7 @@ do_one_cmd(
|
|||||||
&& !IS_USER_CMDIDX(ea.cmdidx))
|
&& !IS_USER_CMDIDX(ea.cmdidx))
|
||||||
{
|
{
|
||||||
/* Command not allowed when editing the command line. */
|
/* Command not allowed when editing the command line. */
|
||||||
errormsg = get_text_locked_msg();
|
errormsg = (char_u *)_(get_text_locked_msg());
|
||||||
goto doend;
|
goto doend;
|
||||||
}
|
}
|
||||||
#ifdef FEAT_AUTOCMD
|
#ifdef FEAT_AUTOCMD
|
||||||
|
|||||||
@@ -764,6 +764,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
327,
|
||||||
/**/
|
/**/
|
||||||
326,
|
326,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user