summaryrefslogtreecommitdiffstats
path: root/src/memline.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-05 17:49:15 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-05 17:49:15 +0000
commit9d00e4a8146862c17ed429dc6b1b43349acb2b5f (patch)
tree79a1e0d0a738940dba6a9a86936376bd62e04ca3 /src/memline.c
parentd3a117814d6acbf0dca3eff1a7626843b9b3734a (diff)
patch 8.2.4010: error messages are spread outv8.2.4010
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
Diffstat (limited to 'src/memline.c')
-rw-r--r--src/memline.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/memline.c b/src/memline.c
index 07b0f5737c..a42c5f1562 100644
--- a/src/memline.c
+++ b/src/memline.c
@@ -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