]> granicus.if.org Git - vim/commitdiff
patch 8.0.0327: error message in cmdline window is not translated v8.0.0327
authorBram Moolenaar <Bram@vim.org>
Sun, 12 Feb 2017 17:34:05 +0000 (18:34 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 12 Feb 2017 17:34:05 +0000 (18:34 +0100)
Problem:    The E11 error message in the command line window is not
            translated.
Solution:   use _(). (Hirohito Higashi)

src/ex_docmd.c
src/version.c

index 09102b537006dcde443b0f48c6beed028242a039..14ef2bd92971670ec608b8c15ff5665b6a6d7eb4 100644 (file)
@@ -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
index 381a6d5d4d61c15a0176af39498b5985afb07e76..e95fed6ba259545c282e0a2ade0ae8ee0db77cb5 100644 (file)
@@ -764,6 +764,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    327,
 /**/
     326,
 /**/