vim-patch:8.0.0327 (#7281)

Problem:    The E11 error message in the command line window is not
            translated.
Solution:   use _(). (Hirohito Higashi)

75c19464ed
This commit is contained in:
KunMing Xie
2017-09-18 02:05:22 +08:00
committed by Justin M. Keyes
parent cf59d617bc
commit 12efbf897d
2 changed files with 2 additions and 2 deletions

View File

@@ -1813,7 +1813,7 @@ static char_u * do_one_cmd(char_u **cmdlinep,
if (text_locked() && !(ea.argt & CMDWIN) if (text_locked() && !(ea.argt & CMDWIN)
&& !IS_USER_CMDIDX(ea.cmdidx)) { && !IS_USER_CMDIDX(ea.cmdidx)) {
// Command not allowed when editing the command line. // Command not allowed when editing the command line.
errormsg = get_text_locked_msg(); errormsg = (char_u *)_(get_text_locked_msg());
goto doend; goto doend;
} }
/* Disallow editing another buffer when "curbuf_lock" is set. /* Disallow editing another buffer when "curbuf_lock" is set.

View File

@@ -625,7 +625,7 @@ static const int included_patches[] = {
// 330, // 330,
// 329, // 329,
// 328, // 328,
// 327, 327,
326, 326,
325, 325,
324, 324,