comparison src/errors.h @ 26439:b18f3b0f317c v8.2.3750

patch 8.2.3750: error messages are everywhere Commit: https://github.com/vim/vim/commit/40bcec1bac34d34a3d4d7c5f6b2cc1f163acbd00 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Dec 5 22:19:27 2021 +0000 patch 8.2.3750: error messages are everywhere Problem: Error messages are everywhere. Solution: Move more error messages to errors.h and adjust the names.
author Bram Moolenaar <Bram@vim.org>
date Sun, 05 Dec 2021 23:30:05 +0100
parents ef0c07cbf53f
children 9998318235cd
comparison
equal deleted inserted replaced
26438:c725b8e17f1f 26439:b18f3b0f317c
166 INIT(= N_("E75: Name too long")); 166 INIT(= N_("E75: Name too long"));
167 EXTERN char e_too_many_brackets[] 167 EXTERN char e_too_many_brackets[]
168 INIT(= N_("E76: Too many [")); 168 INIT(= N_("E76: Too many ["));
169 EXTERN char e_too_many_file_names[] 169 EXTERN char e_too_many_file_names[]
170 INIT(= N_("E77: Too many file names")); 170 INIT(= N_("E77: Too many file names"));
171 EXTERN char e_unknown_mark[]
172 INIT(= N_("E78: Unknown mark"));
173 EXTERN char e_cannot_expand_wildcards[]
174 INIT(= N_("E79: Cannot expand wildcards"));
175 EXTERN char e_error_while_writing[]
176 INIT(= N_("E80: Error while writing"));
177 #ifdef FEAT_EVAL
178 EXTERN char e_using_sid_not_in_script_context[]
179 INIT(= N_("E81: Using <SID> not in a script context"));
180 #endif
181 EXTERN char e_cannot_allocate_any_buffer_exiting[]
182 INIT(= N_("E82: Cannot allocate any buffer, exiting..."));
183 EXTERN char e_cannot_allocate_buffer_using_other_one[]
184 INIT(= N_("E83: Cannot allocate buffer, using other one..."));
185 EXTERN char e_no_modified_buffer_found[]
186 INIT(= N_("E84: No modified buffer found"));
187 EXTERN char e_there_is_no_listed_buffer[]
188 INIT(= N_("E85: There is no listed buffer"));
189 EXTERN char e_buffer_nr_does_not_exist[]
190 INIT(= N_("E86: Buffer %ld does not exist"));
191 EXTERN char e_cannot_go_beyond_last_buffer[]
192 INIT(= N_("E87: Cannot go beyond last buffer"));
193 EXTERN char e_cannot_go_before_first_buffer[]
194 INIT(= N_("E88: Cannot go before first buffer"));
195 EXTERN char e_no_write_since_last_change_for_buffer_nr_add_bang_to_override[]
196 INIT(= N_("E89: No write since last change for buffer %d (add ! to override)"));
197 EXTERN char e_cannot_unload_last_buffer[]
198 INIT(= N_("E90: Cannot unload last buffer"));
171 199
172 #ifdef FEAT_EVAL 200 #ifdef FEAT_EVAL
173 EXTERN char e_undefined_variable_str[] 201 EXTERN char e_undefined_variable_str[]
174 INIT(= N_("E121: Undefined variable: %s")); 202 INIT(= N_("E121: Undefined variable: %s"));
175 EXTERN char e_undefined_variable_char_str[] 203 EXTERN char e_undefined_variable_char_str[]