comparison src/errors.h @ 26757:3a2b222107a6 v8.2.3907

patch 8.2.3907: error messages are spread out Commit: https://github.com/vim/vim/commit/c553a21e189aa440515a19c5b25f8b6b50c5d53d Author: Bram Moolenaar <Bram@vim.org> Date: Sun Dec 26 20:20:34 2021 +0000 patch 8.2.3907: error messages are spread out Problem: Error messages are spread out. Solution: Move error messages to errors.h. Avoid duplicates.
author Bram Moolenaar <Bram@vim.org>
date Sun, 26 Dec 2021 21:30:03 +0100
parents 7f4cc4e58f75
children 2df40c348c70
comparison
equal deleted inserted replaced
26756:a129f3236f52 26757:3a2b222107a6
264 INIT(= N_("E120: Using <SID> not in a script context: %s")); 264 INIT(= N_("E120: Using <SID> not in a script context: %s"));
265 EXTERN char e_undefined_variable_str[] 265 EXTERN char e_undefined_variable_str[]
266 INIT(= N_("E121: Undefined variable: %s")); 266 INIT(= N_("E121: Undefined variable: %s"));
267 EXTERN char e_undefined_variable_char_str[] 267 EXTERN char e_undefined_variable_char_str[]
268 INIT(= N_("E121: Undefined variable: %c:%s")); 268 INIT(= N_("E121: Undefined variable: %c:%s"));
269 #endif 269 EXTERN char e_function_str_already_exists_add_excl_to_replace[]
270 270 INIT(= N_("E122: Function %s already exists, add ! to replace it"));
271 EXTERN char e_undefined_function_str[]
272 INIT(= N_("E123: Undefined function: %s"));
273 EXTERN char e_missing_paren_str[]
274 INIT(= N_("E124: Missing '(': %s"));
275 EXTERN char e_illegal_argument_str[]
276 INIT(= N_("E125: Illegal argument: %s"));
277 EXTERN char e_missing_endfunction[]
278 INIT(= N_("E126: Missing :endfunction"));
279 EXTERN char e_cannot_redefine_function_str_it_is_in_use[]
280 INIT(= N_("E127: Cannot redefine function %s: It is in use"));
281 EXTERN char e_function_name_must_start_with_capital_or_s_str[]
282 INIT(= N_("E128: Function name must start with a capital or \"s:\": %s"));
283 EXTERN char e_function_name_required[]
284 INIT(= N_("E129: Function name required"));
285 // E130 unused
286 EXTERN char e_cannot_delete_function_str_it_is_in_use[]
287 INIT(= N_("E131: Cannot delete function %s: It is in use"));
288 EXTERN char e_function_call_depth_is_higher_than_macfuncdepth[]
289 INIT(= N_("E132: Function call depth is higher than 'maxfuncdepth'"));
290 EXTERN char e_return_not_inside_function[]
291 INIT(= N_("E133: :return not inside a function"));
292 #endif
293 EXTERN char e_cannot_move_range_of_lines_into_itself[]
294 INIT(= N_("E134: Cannot move a range of lines into itself"));
295 EXTERN char e_filter_autocommands_must_not_change_current_buffer[]
296 INIT(= N_("E135: *Filter* Autocommands must not change current buffer"));
297 #if defined(FEAT_VIMINFO)
298 EXTERN char e_viminfo_too_many_errors_skipping_rest_of_file[]
299 INIT(= N_("E136: viminfo: Too many errors, skipping rest of file"));
300 EXTERN char e_viminfo_file_is_not_writable_str[]
301 INIT(= N_("E137: Viminfo file is not writable: %s"));
302 EXTERN char e_cant_write_viminfo_file_str[]
303 INIT(= N_("E138: Can't write viminfo file %s!"));
304 #endif
271 305
272 EXTERN char e_no_such_user_defined_command_str[] 306 EXTERN char e_no_such_user_defined_command_str[]
273 INIT(= N_("E184: No such user-defined command: %s")); 307 INIT(= N_("E184: No such user-defined command: %s"));
274 #ifndef FEAT_DIGRAPHS 308 #ifndef FEAT_DIGRAPHS
275 EXTERN char e_no_digraphs_version[] 309 EXTERN char e_no_digraphs_version[]