summaryrefslogtreecommitdiffstats
path: root/src/if_tcl.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-02 21:26:16 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-02 21:26:16 +0000
commit1d423ef75fc8bce2edfd2aab61cc9beaa63e31aa (patch)
tree6db703ecd2dc317aa69c9c03f3130002a857e4af /src/if_tcl.c
parentb09feaa86ecc53b9b953710082496951776dc5c6 (diff)
patch 8.2.3987: error messages are spread outv8.2.3987
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
Diffstat (limited to 'src/if_tcl.c')
-rw-r--r--src/if_tcl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/if_tcl.c b/src/if_tcl.c
index 65f25c1bef..75f904a9ef 100644
--- a/src/if_tcl.c
+++ b/src/if_tcl.c
@@ -1710,7 +1710,7 @@ tclinit(exarg_T *eap)
#ifdef DYNAMIC_TCL
if (!tcl_enabled(TRUE))
{
- emsg(_("E571: Sorry, this command is disabled: the Tcl library could not be loaded."));
+ emsg(_(e_sorry_this_command_is_disabled_tcl_library_could_not_be_loaded));
return FAIL;
}
#endif
@@ -1874,7 +1874,7 @@ tclexit(int error)
{
char buf[50];
- sprintf(buf, _("E572: exit code %d"), tclinfo.exitvalue);
+ sprintf(buf, _(e_exit_code_nr), tclinfo.exitvalue);
tclerrmsg(buf);
if (tclinfo.exitvalue == 0)
{