patch 8.2.4010: error messages are spread out

Problem:    Error messages are spread out.
Solution:   Move more error messages to errors.h.
This commit is contained in:
Bram Moolenaar
2022-01-05 17:49:15 +00:00
parent d3a117814d
commit 9d00e4a814
31 changed files with 200 additions and 87 deletions

View File

@ -621,7 +621,7 @@ ml_set_crypt_key(
mf_put(mfp, hp, FALSE, FALSE); // release previous block
if (error > 0)
emsg(_("E843: Error while updating swap file crypt"));
emsg(_(e_error_while_updating_swap_file_crypt));
}
mfp->mf_old_key = NULL;
@ -1342,7 +1342,7 @@ ml_recover(int checkext)
#else
if (b0p->b0_id[1] != BLOCK0_ID1)
{
semsg(_("E833: %s is encrypted and this version of Vim does not support encryption"), mfp->mf_fname);
semsg(_(e_str_is_encrypted_and_this_version_of_vim_does_not_support_encryption), mfp->mf_fname);
goto theend;
}
#endif