mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
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:

committed by
Justin M. Keyes

parent
cf59d617bc
commit
12efbf897d
@@ -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.
|
||||||
|
@@ -625,7 +625,7 @@ static const int included_patches[] = {
|
|||||||
// 330,
|
// 330,
|
||||||
// 329,
|
// 329,
|
||||||
// 328,
|
// 328,
|
||||||
// 327,
|
327,
|
||||||
326,
|
326,
|
||||||
325,
|
325,
|
||||||
324,
|
324,
|
||||||
|
Reference in New Issue
Block a user