diff src/register.c @ 26913:d4e61d61afd9 v8.2.3985

patch 8.2.3985: error messages are spread out Commit: https://github.com/vim/vim/commit/ac78dd4a352196ca4e6640f8e4caaf126afd49e3 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 2 19:25:26 2022 +0000 patch 8.2.3985: error messages are spread out Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
author Bram Moolenaar <Bram@vim.org>
date Sun, 02 Jan 2022 20:30:04 +0100
parents 34f1b7d6974a
children d92e0d85923f
line wrap: on
line diff
--- a/src/register.c
+++ b/src/register.c
@@ -1691,7 +1691,7 @@ do_put(
 
     if (y_size == 0 || y_array == NULL)
     {
-	semsg(_("E353: Nothing in register %s"),
+	semsg(_(e_nothing_in_register_str),
 		  regname == 0 ? (char_u *)"\"" : transchar(regname));
 	goto end;
     }