0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.3197: error messages are spread out

Problem:    Error messages are spread out.
Solution:   Move a few more error messages to errors.h.
This commit is contained in:
Bram Moolenaar
2021-07-21 22:20:33 +02:00
parent 05bd9785fd
commit d8e44476d8
15 changed files with 61 additions and 35 deletions

View File

@@ -104,10 +104,43 @@ EXTERN char e_corrupted_regexp_program[]
INIT(= N_("E44: Corrupted regexp program"));
EXTERN char e_readonly_option_is_set_add_bang_to_override[]
INIT(= N_("E45: 'readonly' option is set (add ! to override)"));
#ifdef FEAT_EVAL
EXTERN char e_cannot_change_readonly_variable_str[]
INIT(= N_("E46: Cannot change read-only variable \"%s\""));
#endif
#ifdef FEAT_QUICKFIX
EXTERN char e_error_while_reading_errorfile[]
INIT(= N_("E47: Error while reading errorfile"));
#endif
#ifdef HAVE_SANDBOX
EXTERN char e_not_allowed_in_sandbox[]
INIT(= N_("E48: Not allowed in sandbox"));
#endif
EXTERN char e_invalid_scroll_size[]
INIT(= N_("E49: Invalid scroll size"));
EXTERN char e_too_many_z[]
INIT(= N_("E50: Too many \\z("));
EXTERN char e_too_many_str_open[]
INIT(= N_("E51: Too many %s("));
EXTERN char e_unmatched_z[]
INIT(= N_("E52: Unmatched \\z("));
EXTERN char e_unmatched_str_percent_open[]
INIT(= N_("E53: Unmatched %s%%("));
EXTERN char e_unmatched_str_open[]
INIT(= N_("E54: Unmatched %s("));
EXTERN char e_unmatched_str_close[]
INIT(= N_("E55: Unmatched %s)"));
EXTERN char e_invalid_character_after_str_at[]
INIT(= N_("E59: invalid character after %s@"));
EXTERN char e_too_many_complex_str_curly[]
INIT(= N_("E60: Too many complex %s{...}s"));
#ifdef FEAT_EVAL
EXTERN char e_undefined_variable_str[]
INIT(= N_("E121: Undefined variable: %s"));
EXTERN char e_undefined_variable_char_str[]
INIT(= N_("E121: Undefined variable: %c:%s"));
#endif
#ifndef FEAT_DIGRAPHS
EXTERN char e_no_digraphs_version[]
INIT(= N_("E196: No digraphs in this version"));