comparison src/ex_docmd.c @ 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 f8ebfa168818
children 5780bd3a5a7e
comparison
equal deleted inserted replaced
10874:7f13bcb6a53c 10875:ac9f60f96bab
2488 2488
2489 if (text_locked() && !(ea.argt & CMDWIN) 2489 if (text_locked() && !(ea.argt & CMDWIN)
2490 && !IS_USER_CMDIDX(ea.cmdidx)) 2490 && !IS_USER_CMDIDX(ea.cmdidx))
2491 { 2491 {
2492 /* Command not allowed when editing the command line. */ 2492 /* Command not allowed when editing the command line. */
2493 errormsg = get_text_locked_msg(); 2493 errormsg = (char_u *)_(get_text_locked_msg());
2494 goto doend; 2494 goto doend;
2495 } 2495 }
2496 #ifdef FEAT_AUTOCMD 2496 #ifdef FEAT_AUTOCMD
2497 /* Disallow editing another buffer when "curbuf_lock" is set. 2497 /* Disallow editing another buffer when "curbuf_lock" is set.
2498 * Do allow ":edit" (check for argument later). 2498 * Do allow ":edit" (check for argument later).