forked from aniani/vim
patch 8.2.3907: error messages are spread out
Problem: Error messages are spread out. Solution: Move error messages to errors.h. Avoid duplicates.
This commit is contained in:
@@ -687,7 +687,7 @@ do_move(linenr_T line1, linenr_T line2, linenr_T dest)
|
||||
|
||||
if (dest >= line1 && dest < line2)
|
||||
{
|
||||
emsg(_("E134: Cannot move a range of lines into itself"));
|
||||
emsg(_(e_cannot_move_range_of_lines_into_itself));
|
||||
return FAIL;
|
||||
}
|
||||
|
||||
@@ -1329,7 +1329,7 @@ filterend:
|
||||
if (curbuf != old_curbuf)
|
||||
{
|
||||
--no_wait_return;
|
||||
emsg(_("E135: *Filter* Autocommands must not change current buffer"));
|
||||
emsg(_(e_filter_autocommands_must_not_change_current_buffer));
|
||||
}
|
||||
else if (cmdmod.cmod_flags & CMOD_LOCKMARKS)
|
||||
{
|
||||
|
Reference in New Issue
Block a user