diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-05 17:49:15 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-05 17:49:15 +0000 |
commit | 9d00e4a8146862c17ed429dc6b1b43349acb2b5f (patch) | |
tree | 79a1e0d0a738940dba6a9a86936376bd62e04ca3 /src/popupwin.c | |
parent | d3a117814d6acbf0dca3eff1a7626843b9b3734a (diff) |
patch 8.2.4010: error messages are spread outv8.2.4010
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
Diffstat (limited to 'src/popupwin.c')
-rw-r--r-- | src/popupwin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/popupwin.c b/src/popupwin.c index a556f68e42..07022221eb 100644 --- a/src/popupwin.c +++ b/src/popupwin.c @@ -1883,7 +1883,7 @@ popup_create(typval_T *argvars, typval_T *rettv, create_type_T type) #ifdef FEAT_TERMINAL if (buf->b_term != NULL && popup_terminal_exists()) { - emsg(_("E861: Cannot open a second popup with a terminal")); + emsg(_(e_cannot_open_second_popup_with_terminal)); return NULL; } #endif @@ -3162,7 +3162,7 @@ error_if_term_popup_window() if (WIN_IS_POPUP(curwin) && curbuf->b_term != NULL && term_job_running(curbuf->b_term)) { - emsg(_("E863: Not allowed for a terminal in a popup window")); + emsg(_(e_not_allowed_for_terminal_in_popup_window)); return TRUE; } return FALSE; |