mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.3957: error messages are spread out
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
This commit is contained in:
@@ -1919,7 +1919,7 @@ ex_scriptencoding(exarg_T *eap)
|
||||
|
||||
if (!getline_equal(eap->getline, eap->cookie, getsourceline))
|
||||
{
|
||||
emsg(_("E167: :scriptencoding used outside of a sourced file"));
|
||||
emsg(_(e_scriptencoding_used_outside_of_sourced_file));
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1983,7 +1983,7 @@ ex_finish(exarg_T *eap)
|
||||
if (getline_equal(eap->getline, eap->cookie, getsourceline))
|
||||
do_finish(eap, FALSE);
|
||||
else
|
||||
emsg(_("E168: :finish used outside of a sourced file"));
|
||||
emsg(_(e_finish_used_outside_of_sourced_file));
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user