Permalink
Browse files

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)
  • Loading branch information...
brammool committed Feb 12, 2017
1 parent 24f8f54 commit 75c19464ed7fb6024af64747379e61abc4e4a483
Showing with 3 additions and 1 deletion.
  1. +1 −1 src/ex_docmd.c
  2. +2 −0 src/version.c
View
@@ -2490,7 +2490,7 @@ do_one_cmd(
&& !IS_USER_CMDIDX(ea.cmdidx))
{
/* Command not allowed when editing the command line. */
- errormsg = get_text_locked_msg();
+ errormsg = (char_u *)_(get_text_locked_msg());
goto doend;
}
#ifdef FEAT_AUTOCMD
View
@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 327,
/**/
326,
/**/

0 comments on commit 75c1946

Please sign in to comment.