diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-04 21:30:47 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-04 21:30:47 +0000 |
commit | a6f7929e62c19a6a2418a016b4c59b83eb1887ac (patch) | |
tree | dff539628404695bd64e68602c8f7f62d9dd12f7 /src/hardcopy.c | |
parent | 548911ee145cdd166f20e46aa720d1631e66f64e (diff) | |
download | vim-git-a6f7929e62c19a6a2418a016b4c59b83eb1887ac.tar.gz |
patch 8.2.4005: error messages are spread outv8.2.4005
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
Diffstat (limited to 'src/hardcopy.c')
-rw-r--r-- | src/hardcopy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hardcopy.c b/src/hardcopy.c index 1ccffa5c4..33c72b711 100644 --- a/src/hardcopy.c +++ b/src/hardcopy.c @@ -2417,7 +2417,7 @@ mch_print_init( // Check encoding and character set are compatible if ((p_mbenc->needs_charset & p_mbchar->has_charset) == 0) { - emsg(_("E673: Incompatible multi-byte encoding and character set.")); + emsg(_(e_incompatible_multi_byte_encoding_and_character_set)); return FALSE; } @@ -2434,7 +2434,7 @@ mch_print_init( // Add custom CMap character set name if (*p_pmcs == NUL) { - emsg(_("E674: printmbcharset cannot be empty with multi-byte encoding.")); + emsg(_(e_printmbcharset_cannot_be_empty_with_multi_byte_encoding)); return FALSE; } vim_strncpy((char_u *)prt_cmap, p_pmcs, sizeof(prt_cmap) - 3); @@ -2452,7 +2452,7 @@ mch_print_init( if (!mbfont_opts[OPT_MBFONT_REGULAR].present) { - emsg(_("E675: No default font specified for multi-byte printing.")); + emsg(_(e_no_default_font_specified_for_multi_byte_printing)); return FALSE; } |