summaryrefslogtreecommitdiffstats
path: root/src/gui_w32.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-01 19:33:50 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-01 19:33:50 +0000
commitcbadefe25a27ded93548eaa7a325d2a04bf55d7c (patch)
treec0411fb9bfe3e4728d319817f98841df6fc8c6d6 /src/gui_w32.c
parent1f4a3457a3e55cdacd70ab0d5be587c248fb1ce8 (diff)
patch 8.2.3975: error messages are spread outv8.2.3975
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
Diffstat (limited to 'src/gui_w32.c')
-rw-r--r--src/gui_w32.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c
index 604114ce93..e612505dad 100644
--- a/src/gui_w32.c
+++ b/src/gui_w32.c
@@ -4982,8 +4982,7 @@ ole_error(char *arg)
// Can't use emsg() here, we have not finished initialisation yet.
vim_snprintf(buf, IOSIZE,
- _("E243: Argument not supported: \"-%s\"; Use the OLE version."),
- arg);
+ _(e_argument_not_supported_str_use_ole_version), arg);
mch_errmsg(buf);
}
#endif
@@ -8682,7 +8681,7 @@ gui_mch_create_beval_area(
if (mesg != NULL && mesgCB != NULL)
{
- iemsg(_("E232: Cannot create BalloonEval with both message and callback"));
+ iemsg(_(e_cannot_create_ballooneval_with_both_message_and_callback));
return NULL;
}