changeset 10875:ac9f60f96bab v8.0.0327

patch 8.0.0327: error message in cmdline window is not translated commit https://github.com/vim/vim/commit/75c19464ed7fb6024af64747379e61abc4e4a483 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Feb 12 18:34:05 2017 +0100 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)
author Christian Brabandt <cb@256bit.org>
date Sun, 12 Feb 2017 18:45:03 +0100
parents 7f13bcb6a53c
children d8cc7a84d26e
files src/ex_docmd.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -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
--- a/src/version.c
+++ b/src/version.c
@@ -765,6 +765,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    327,
+/**/
     326,
 /**/
     325,