diff src/arglist.c @ 26857:2aeea8611342 v8.2.3957

patch 8.2.3957: error messages are spread out Commit: https://github.com/vim/vim/commit/1a9922243a90f213894d5c58cd063465eea3350f Author: Bram Moolenaar <Bram@vim.org> Date: Fri Dec 31 17:25:48 2021 +0000 patch 8.2.3957: error messages are spread out Problem: Error messages are spread out. Solution: Move more errors to errors.h.
author Bram Moolenaar <Bram@vim.org>
date Fri, 31 Dec 2021 18:30:03 +0100
parents 2bdcce61a4e4
children 6ee19c6ae8a2
line wrap: on
line diff
--- a/src/arglist.c
+++ b/src/arglist.c
@@ -673,11 +673,11 @@ do_argfile(exarg_T *eap, int argn)
     if (argn < 0 || argn >= ARGCOUNT)
     {
 	if (ARGCOUNT <= 1)
-	    emsg(_("E163: There is only one file to edit"));
+	    emsg(_(e_there_is_only_one_file_to_edit));
 	else if (argn < 0)
-	    emsg(_("E164: Cannot go before first file"));
+	    emsg(_(e_cannot_go_before_first_file));
 	else
-	    emsg(_("E165: Cannot go beyond last file"));
+	    emsg(_(e_cannot_go_beyond_last_file));
     }
     else
     {