diff src/spellfile.c @ 25064:8f2262c72178 v8.2.3069

patch 8.2.3069: error messages are spread out Commit: https://github.com/vim/vim/commit/108010aa4720ef023a8ac59004fc0f2bc11125af Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 27 22:03:33 2021 +0200 patch 8.2.3069: error messages are spread out Problem: Error messages are spread out. Solution: Move some error messages to errors.h. Use clearer names.
author Bram Moolenaar <Bram@vim.org>
date Sun, 27 Jun 2021 22:15:04 +0200
parents 59cfa23bd9eb
children 7d3c296a117f
line wrap: on
line diff
--- a/src/spellfile.c
+++ b/src/spellfile.c
@@ -5972,12 +5972,12 @@ mkspell(
 	// time.
 	if (!over_write && mch_stat((char *)wfname, &st) >= 0)
 	{
-	    emsg(_(e_exists));
+	    emsg(_(e_file_exists));
 	    goto theend;
 	}
 	if (mch_isdir(wfname))
 	{
-	    semsg(_(e_isadir2), wfname);
+	    semsg(_(e_src_is_directory), wfname);
 	    goto theend;
 	}