diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-02-12 18:34:05 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-02-12 18:34:05 +0100 |
commit | 75c19464ed7fb6024af64747379e61abc4e4a483 (patch) | |
tree | 7760aae39c0fe408048cb4b9b4daf09cb0e2fd40 | |
parent | 24f8f543d4036c5d2ce4ea6973a174cf2176cb72 (diff) | |
download | vim-git-75c19464ed7fb6024af64747379e61abc4e4a483.tar.gz |
patch 8.0.0327: error message in cmdline window is not translatedv8.0.0327
Problem: The E11 error message in the command line window is not
translated.
Solution: use _(). (Hirohito Higashi)
-rw-r--r-- | src/ex_docmd.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 09102b537..14ef2bd92 100644 --- 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 diff --git a/src/version.c b/src/version.c index 381a6d5d4..e95fed6ba 100644 --- 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, |