0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 8.2.4005: error messages are spread out

Problem:    Error messages are spread out.
Solution:   Move more error messages to errors.h.
This commit is contained in:
Bram Moolenaar
2022-01-04 21:30:47 +00:00
parent 548911ee14
commit a6f7929e62
25 changed files with 196 additions and 78 deletions

View File

@@ -104,7 +104,7 @@ ex_help(exarg_T *eap)
{
#ifdef FEAT_MULTI_LANG
if (lang != NULL)
semsg(_("E661: Sorry, no '%s' help for %s"), lang, arg);
semsg(_(e_sorry_no_str_help_for_str), lang, arg);
else
#endif
semsg(_(e_sorry_no_help_for_str), arg);
@@ -1058,7 +1058,7 @@ helptags_one(
utf8 = this_utf8;
else if (utf8 != this_utf8)
{
semsg(_("E670: Mix of help file encodings within a language: %s"), files[fi]);
semsg(_(e_mix_of_help_file_encodings_within_language_str), files[fi]);
mix = !got_int;
got_int = TRUE;
}