annotate src/errors.h @ 26775:2df40c348c70 v8.2.3916

patch 8.2.3916: no error for passing an invalid line number to append() Commit: https://github.com/vim/vim/commit/8dac2acd6a79d571ff5409d9c90b4c9e73237eb4 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Dec 27 20:57:06 2021 +0000 patch 8.2.3916: no error for passing an invalid line number to append() Problem: No error for passing an invalid line number to append(). Solution: In Vim9 script check for a non-negative number. (closes https://github.com/vim/vim/issues/9417)
author Bram Moolenaar <Bram@vim.org>
date Mon, 27 Dec 2021 22:00:04 +0100
parents 3a2b222107a6
children 30d8377ea1b1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
21789
f84625b961a8 patch 8.2.1444: error messages are spread out and names can be confusing
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 /* vi:set ts=8 sts=4 sw=4 noet:
f84625b961a8 patch 8.2.1444: error messages are spread out and names can be confusing
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 *
f84625b961a8 patch 8.2.1444: error messages are spread out and names can be confusing
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 * VIM - Vi IMproved by Bram Moolenaar
f84625b961a8 patch 8.2.1444: error messages are spread out and names can be confusing
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 *
f84625b961a8 patch 8.2.1444: error messages are spread out and names can be confusing
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5 * Do ":help uganda" in Vim to read copying and usage conditions.
f84625b961a8 patch 8.2.1444: error messages are spread out and names can be confusing
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6 * Do ":help credits" in Vim to see a list of people who contributed.
f84625b961a8 patch 8.2.1444: error messages are spread out and names can be confusing
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 */
f84625b961a8 patch 8.2.1444: error messages are spread out and names can be confusing
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8
f84625b961a8 patch 8.2.1444: error messages are spread out and names can be confusing
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 /*
f84625b961a8 patch 8.2.1444: error messages are spread out and names can be confusing
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10 * Definition of error messages, sorted on error number.
f84625b961a8 patch 8.2.1444: error messages are spread out and names can be confusing
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 */
f84625b961a8 patch 8.2.1444: error messages are spread out and names can be confusing
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12
25064
8f2262c72178 patch 8.2.3069: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25036
diff changeset
13 EXTERN char e_backslash_should_be_followed_by[]
8f2262c72178 patch 8.2.3069: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25036
diff changeset
14 INIT(= N_("E10: \\ should be followed by /, ? or &"));
8f2262c72178 patch 8.2.3069: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25036
diff changeset
15 #ifdef FEAT_CMDWIN
8f2262c72178 patch 8.2.3069: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25036
diff changeset
16 EXTERN char e_invalid_in_cmdline_window[]
8f2262c72178 patch 8.2.3069: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25036
diff changeset
17 INIT(= N_("E11: Invalid in command-line window; <CR> executes, CTRL-C quits"));
8f2262c72178 patch 8.2.3069: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25036
diff changeset
18 #endif
8f2262c72178 patch 8.2.3069: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25036
diff changeset
19 EXTERN char e_command_not_allowed_from_vimrc_in_current_dir_or_tag_search[]
8f2262c72178 patch 8.2.3069: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25036
diff changeset
20 INIT(= N_("E12: Command not allowed from exrc/vimrc in current dir or tag search"));
8f2262c72178 patch 8.2.3069: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25036
diff changeset
21 EXTERN char e_file_exists[]
8f2262c72178 patch 8.2.3069: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25036
diff changeset
22 INIT(= N_("E13: File exists (add ! to override)"));
8f2262c72178 patch 8.2.3069: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25036
diff changeset
23 #ifdef FEAT_EVAL
8f2262c72178 patch 8.2.3069: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25036
diff changeset
24 EXTERN char e_invalid_expression_str[]
8f2262c72178 patch 8.2.3069: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25036
diff changeset
25 INIT(= N_("E15: Invalid expression: \"%s\""));
8f2262c72178 patch 8.2.3069: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25036
diff changeset
26 #endif
8f2262c72178 patch 8.2.3069: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25036
diff changeset
27 EXTERN char e_invalid_range[]
8f2262c72178 patch 8.2.3069: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25036
diff changeset
28 INIT(= N_("E16: Invalid range"));
8f2262c72178 patch 8.2.3069: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25036
diff changeset
29 #if defined(UNIX) || defined(FEAT_SYN_HL) || defined(FEAT_SPELL)
8f2262c72178 patch 8.2.3069: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25036
diff changeset
30 EXTERN char e_src_is_directory[]
8f2262c72178 patch 8.2.3069: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25036
diff changeset
31 INIT(= N_("E17: \"%s\" is a directory"));
8f2262c72178 patch 8.2.3069: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25036
diff changeset
32 #endif
8f2262c72178 patch 8.2.3069: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25036
diff changeset
33 #ifdef FEAT_EVAL
8f2262c72178 patch 8.2.3069: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25036
diff changeset
34 EXTERN char e_unexpected_characters_in_let[]
8f2262c72178 patch 8.2.3069: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25036
diff changeset
35 INIT(= N_("E18: Unexpected characters in :let"));
8f2262c72178 patch 8.2.3069: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25036
diff changeset
36 EXTERN char e_unexpected_characters_in_assignment[]
8f2262c72178 patch 8.2.3069: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25036
diff changeset
37 INIT(= N_("E18: Unexpected characters in assignment"));
8f2262c72178 patch 8.2.3069: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25036
diff changeset
38 #endif
8f2262c72178 patch 8.2.3069: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25036
diff changeset
39 EXTERN char e_mark_has_invalid_line_number[]
8f2262c72178 patch 8.2.3069: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25036
diff changeset
40 INIT(= N_("E19: Mark has invalid line number"));
8f2262c72178 patch 8.2.3069: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25036
diff changeset
41 EXTERN char e_mark_not_set[]
8f2262c72178 patch 8.2.3069: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25036
diff changeset
42 INIT(= N_("E20: Mark not set"));
8f2262c72178 patch 8.2.3069: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25036
diff changeset
43 EXTERN char e_cannot_make_changes_modifiable_is_off[]
8f2262c72178 patch 8.2.3069: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25036
diff changeset
44 INIT(= N_("E21: Cannot make changes, 'modifiable' is off"));
8f2262c72178 patch 8.2.3069: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25036
diff changeset
45 EXTERN char e_scripts_nested_too_deep[]
8f2262c72178 patch 8.2.3069: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25036
diff changeset
46 INIT(= N_("E22: Scripts nested too deep"));
8f2262c72178 patch 8.2.3069: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25036
diff changeset
47 EXTERN char e_no_alternate_file[]
8f2262c72178 patch 8.2.3069: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25036
diff changeset
48 INIT(= N_("E23: No alternate file"));
8f2262c72178 patch 8.2.3069: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25036
diff changeset
49 EXTERN char e_no_such_abbreviation[]
8f2262c72178 patch 8.2.3069: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25036
diff changeset
50 INIT(= N_("E24: No such abbreviation"));
25306
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
51 #if !defined(FEAT_GUI) || defined(VIMDLL)
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
52 EXTERN char e_gui_cannot_be_used_not_enabled_at_compile_time[]
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
53 INIT(= N_("E25: GUI cannot be used: Not enabled at compile time"));
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
54 #endif
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
55 #ifndef FEAT_RIGHTLEFT
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
56 EXTERN char e_hebrew_cannot_be_used_not_enabled_at_compile_time[]
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
57 INIT(= N_("E26: Hebrew cannot be used: Not enabled at compile time\n"));
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
58 #endif
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
59 EXTERN char e_farsi_support_has_been_removed[]
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
60 INIT(= N_("E27: Farsi support has been removed\n"));
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
61 #if defined(FEAT_SEARCH_EXTRA) || defined(FEAT_SYN_HL)
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
62 EXTERN char e_no_such_highlight_group_name_str[]
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
63 INIT(= N_("E28: No such highlight group name: %s"));
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
64 #endif
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
65 EXTERN char e_no_inserted_text_yet[]
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
66 INIT(= N_("E29: No inserted text yet"));
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
67 EXTERN char e_no_previous_command_line[]
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
68 INIT(= N_("E30: No previous command line"));
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
69 EXTERN char e_no_such_mapping[]
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
70 INIT(= N_("E31: No such mapping"));
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
71 EXTERN char e_no_file_name[]
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
72 INIT(= N_("E32: No file name"));
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
73 EXTERN char e_no_previous_substitute_regular_expression[]
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
74 INIT(= N_("E33: No previous substitute regular expression"));
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
75 EXTERN char e_no_previous_command[]
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
76 INIT(= N_("E34: No previous command"));
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
77 EXTERN char e_no_previous_regular_expression[]
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
78 INIT(= N_("E35: No previous regular expression"));
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
79 EXTERN char e_not_enough_room[]
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
80 INIT(= N_("E36: Not enough room"));
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
81 EXTERN char e_no_write_since_last_change[]
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
82 INIT(= N_("E37: No write since last change"));
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
83 EXTERN char e_no_write_since_last_change_add_bang_to_override[]
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
84 INIT(= N_("E37: No write since last change (add ! to override)"));
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
85 EXTERN char e_null_argument[]
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
86 INIT(= N_("E38: Null argument"));
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
87 #if defined(FEAT_DIGRAPHS) || defined(FEAT_TIMERS) || defined(FEAT_EVAL)
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
88 EXTERN char e_number_expected[]
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
89 INIT(= N_("E39: Number expected"));
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
90 #endif
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
91 #ifdef FEAT_QUICKFIX
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
92 EXTERN char e_cant_open_errorfile_str[]
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
93 INIT(= N_("E40: Can't open errorfile %s"));
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
94 #endif
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
95 EXTERN char e_out_of_memory[]
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
96 INIT(= N_("E41: Out of memory!"));
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
97 #ifdef FEAT_QUICKFIX
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
98 EXTERN char e_no_errors[]
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
99 INIT(= N_("E42: No Errors"));
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
100 #endif
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
101 EXTERN char e_damaged_match_string[]
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
102 INIT(= N_("E43: Damaged match string"));
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
103 EXTERN char e_corrupted_regexp_program[]
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
104 INIT(= N_("E44: Corrupted regexp program"));
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
105 EXTERN char e_readonly_option_is_set_add_bang_to_override[]
078edc1821bf patch 8.2.3190: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25302
diff changeset
106 INIT(= N_("E45: 'readonly' option is set (add ! to override)"));
25320
1e6da8364a02 patch 8.2.3197: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25310
diff changeset
107 #ifdef FEAT_EVAL
26624
bdf11d8e3df3 patch 8.2.3841: Vim9: outdated TODO items, disabled tests that work
Bram Moolenaar <Bram@vim.org>
parents: 26602
diff changeset
108 EXTERN char e_cannot_change_readonly_variable[]
bdf11d8e3df3 patch 8.2.3841: Vim9: outdated TODO items, disabled tests that work
Bram Moolenaar <Bram@vim.org>
parents: 26602
diff changeset
109 INIT(= N_("E46: Cannot change read-only variable"));
25320
1e6da8364a02 patch 8.2.3197: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25310
diff changeset
110 EXTERN char e_cannot_change_readonly_variable_str[]
1e6da8364a02 patch 8.2.3197: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25310
diff changeset
111 INIT(= N_("E46: Cannot change read-only variable \"%s\""));
1e6da8364a02 patch 8.2.3197: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25310
diff changeset
112 #endif
1e6da8364a02 patch 8.2.3197: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25310
diff changeset
113 #ifdef FEAT_QUICKFIX
1e6da8364a02 patch 8.2.3197: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25310
diff changeset
114 EXTERN char e_error_while_reading_errorfile[]
1e6da8364a02 patch 8.2.3197: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25310
diff changeset
115 INIT(= N_("E47: Error while reading errorfile"));
1e6da8364a02 patch 8.2.3197: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25310
diff changeset
116 #endif
1e6da8364a02 patch 8.2.3197: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25310
diff changeset
117 #ifdef HAVE_SANDBOX
1e6da8364a02 patch 8.2.3197: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25310
diff changeset
118 EXTERN char e_not_allowed_in_sandbox[]
1e6da8364a02 patch 8.2.3197: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25310
diff changeset
119 INIT(= N_("E48: Not allowed in sandbox"));
1e6da8364a02 patch 8.2.3197: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25310
diff changeset
120 #endif
1e6da8364a02 patch 8.2.3197: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25310
diff changeset
121 EXTERN char e_invalid_scroll_size[]
1e6da8364a02 patch 8.2.3197: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25310
diff changeset
122 INIT(= N_("E49: Invalid scroll size"));
1e6da8364a02 patch 8.2.3197: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25310
diff changeset
123 EXTERN char e_too_many_z[]
1e6da8364a02 patch 8.2.3197: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25310
diff changeset
124 INIT(= N_("E50: Too many \\z("));
1e6da8364a02 patch 8.2.3197: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25310
diff changeset
125 EXTERN char e_too_many_str_open[]
1e6da8364a02 patch 8.2.3197: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25310
diff changeset
126 INIT(= N_("E51: Too many %s("));
1e6da8364a02 patch 8.2.3197: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25310
diff changeset
127 EXTERN char e_unmatched_z[]
1e6da8364a02 patch 8.2.3197: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25310
diff changeset
128 INIT(= N_("E52: Unmatched \\z("));
1e6da8364a02 patch 8.2.3197: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25310
diff changeset
129 EXTERN char e_unmatched_str_percent_open[]
1e6da8364a02 patch 8.2.3197: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25310
diff changeset
130 INIT(= N_("E53: Unmatched %s%%("));
1e6da8364a02 patch 8.2.3197: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25310
diff changeset
131 EXTERN char e_unmatched_str_open[]
1e6da8364a02 patch 8.2.3197: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25310
diff changeset
132 INIT(= N_("E54: Unmatched %s("));
1e6da8364a02 patch 8.2.3197: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25310
diff changeset
133 EXTERN char e_unmatched_str_close[]
1e6da8364a02 patch 8.2.3197: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25310
diff changeset
134 INIT(= N_("E55: Unmatched %s)"));
1e6da8364a02 patch 8.2.3197: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25310
diff changeset
135 EXTERN char e_invalid_character_after_str_at[]
1e6da8364a02 patch 8.2.3197: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25310
diff changeset
136 INIT(= N_("E59: invalid character after %s@"));
1e6da8364a02 patch 8.2.3197: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25310
diff changeset
137 EXTERN char e_too_many_complex_str_curly[]
1e6da8364a02 patch 8.2.3197: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25310
diff changeset
138 INIT(= N_("E60: Too many complex %s{...}s"));
26436
ef0c07cbf53f patch 8.2.3749: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26434
diff changeset
139 EXTERN char e_nested_str[]
ef0c07cbf53f patch 8.2.3749: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26434
diff changeset
140 INIT(= N_("E61: Nested %s*"));
ef0c07cbf53f patch 8.2.3749: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26434
diff changeset
141 EXTERN char e_nested_str_chr[]
ef0c07cbf53f patch 8.2.3749: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26434
diff changeset
142 INIT(= N_("E62: Nested %s%c"));
ef0c07cbf53f patch 8.2.3749: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26434
diff changeset
143 EXTERN char e_invalid_use_of_underscore[]
ef0c07cbf53f patch 8.2.3749: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26434
diff changeset
144 INIT(= N_("E63: invalid use of \\_"));
ef0c07cbf53f patch 8.2.3749: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26434
diff changeset
145 EXTERN char e_str_chr_follows_nothing[]
ef0c07cbf53f patch 8.2.3749: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26434
diff changeset
146 INIT(= N_("E64: %s%c follows nothing"));
ef0c07cbf53f patch 8.2.3749: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26434
diff changeset
147 EXTERN char e_illegal_back_reference[]
ef0c07cbf53f patch 8.2.3749: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26434
diff changeset
148 INIT(= N_("E65: Illegal back reference"));
ef0c07cbf53f patch 8.2.3749: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26434
diff changeset
149 #ifdef FEAT_SYN_HL
ef0c07cbf53f patch 8.2.3749: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26434
diff changeset
150 EXTERN char e_z_not_allowed_here[]
ef0c07cbf53f patch 8.2.3749: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26434
diff changeset
151 INIT(= N_("E66: \\z( not allowed here"));
ef0c07cbf53f patch 8.2.3749: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26434
diff changeset
152 EXTERN char e_z1_z9_not_allowed_here[]
ef0c07cbf53f patch 8.2.3749: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26434
diff changeset
153 INIT(= N_("E67: \\z1 - \\z9 not allowed here"));
ef0c07cbf53f patch 8.2.3749: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26434
diff changeset
154 #endif
ef0c07cbf53f patch 8.2.3749: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26434
diff changeset
155 EXTERN char e_missing_sb_after_str[]
ef0c07cbf53f patch 8.2.3749: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26434
diff changeset
156 INIT(= N_("E69: Missing ] after %s%%["));
ef0c07cbf53f patch 8.2.3749: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26434
diff changeset
157 EXTERN char e_empty_str_brackets[]
ef0c07cbf53f patch 8.2.3749: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26434
diff changeset
158 INIT(= N_("E70: Empty %s%%[]"));
ef0c07cbf53f patch 8.2.3749: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26434
diff changeset
159 EXTERN char e_invalid_character_after_str[]
ef0c07cbf53f patch 8.2.3749: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26434
diff changeset
160 INIT(= N_("E71: Invalid character after %s%%"));
ef0c07cbf53f patch 8.2.3749: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26434
diff changeset
161 EXTERN char e_close_error_on_swap_file[]
ef0c07cbf53f patch 8.2.3749: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26434
diff changeset
162 INIT(= N_("E72: Close error on swap file"));
ef0c07cbf53f patch 8.2.3749: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26434
diff changeset
163 EXTERN char e_tag_stack_empty[]
ef0c07cbf53f patch 8.2.3749: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26434
diff changeset
164 INIT(= N_("E73: tag stack empty"));
ef0c07cbf53f patch 8.2.3749: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26434
diff changeset
165 EXTERN char e_command_too_complex[]
ef0c07cbf53f patch 8.2.3749: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26434
diff changeset
166 INIT(= N_("E74: Command too complex"));
ef0c07cbf53f patch 8.2.3749: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26434
diff changeset
167 EXTERN char e_name_too_long[]
ef0c07cbf53f patch 8.2.3749: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26434
diff changeset
168 INIT(= N_("E75: Name too long"));
ef0c07cbf53f patch 8.2.3749: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26434
diff changeset
169 EXTERN char e_too_many_brackets[]
ef0c07cbf53f patch 8.2.3749: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26434
diff changeset
170 INIT(= N_("E76: Too many ["));
ef0c07cbf53f patch 8.2.3749: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26434
diff changeset
171 EXTERN char e_too_many_file_names[]
ef0c07cbf53f patch 8.2.3749: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26434
diff changeset
172 INIT(= N_("E77: Too many file names"));
26439
b18f3b0f317c patch 8.2.3750: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26436
diff changeset
173 EXTERN char e_unknown_mark[]
b18f3b0f317c patch 8.2.3750: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26436
diff changeset
174 INIT(= N_("E78: Unknown mark"));
b18f3b0f317c patch 8.2.3750: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26436
diff changeset
175 EXTERN char e_cannot_expand_wildcards[]
b18f3b0f317c patch 8.2.3750: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26436
diff changeset
176 INIT(= N_("E79: Cannot expand wildcards"));
b18f3b0f317c patch 8.2.3750: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26436
diff changeset
177 EXTERN char e_error_while_writing[]
b18f3b0f317c patch 8.2.3750: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26436
diff changeset
178 INIT(= N_("E80: Error while writing"));
b18f3b0f317c patch 8.2.3750: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26436
diff changeset
179 #ifdef FEAT_EVAL
b18f3b0f317c patch 8.2.3750: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26436
diff changeset
180 EXTERN char e_using_sid_not_in_script_context[]
b18f3b0f317c patch 8.2.3750: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26436
diff changeset
181 INIT(= N_("E81: Using <SID> not in a script context"));
b18f3b0f317c patch 8.2.3750: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26436
diff changeset
182 #endif
b18f3b0f317c patch 8.2.3750: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26436
diff changeset
183 EXTERN char e_cannot_allocate_any_buffer_exiting[]
b18f3b0f317c patch 8.2.3750: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26436
diff changeset
184 INIT(= N_("E82: Cannot allocate any buffer, exiting..."));
b18f3b0f317c patch 8.2.3750: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26436
diff changeset
185 EXTERN char e_cannot_allocate_buffer_using_other_one[]
b18f3b0f317c patch 8.2.3750: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26436
diff changeset
186 INIT(= N_("E83: Cannot allocate buffer, using other one..."));
b18f3b0f317c patch 8.2.3750: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26436
diff changeset
187 EXTERN char e_no_modified_buffer_found[]
b18f3b0f317c patch 8.2.3750: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26436
diff changeset
188 INIT(= N_("E84: No modified buffer found"));
b18f3b0f317c patch 8.2.3750: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26436
diff changeset
189 EXTERN char e_there_is_no_listed_buffer[]
b18f3b0f317c patch 8.2.3750: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26436
diff changeset
190 INIT(= N_("E85: There is no listed buffer"));
b18f3b0f317c patch 8.2.3750: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26436
diff changeset
191 EXTERN char e_buffer_nr_does_not_exist[]
b18f3b0f317c patch 8.2.3750: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26436
diff changeset
192 INIT(= N_("E86: Buffer %ld does not exist"));
b18f3b0f317c patch 8.2.3750: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26436
diff changeset
193 EXTERN char e_cannot_go_beyond_last_buffer[]
b18f3b0f317c patch 8.2.3750: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26436
diff changeset
194 INIT(= N_("E87: Cannot go beyond last buffer"));
b18f3b0f317c patch 8.2.3750: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26436
diff changeset
195 EXTERN char e_cannot_go_before_first_buffer[]
b18f3b0f317c patch 8.2.3750: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26436
diff changeset
196 INIT(= N_("E88: Cannot go before first buffer"));
b18f3b0f317c patch 8.2.3750: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26436
diff changeset
197 EXTERN char e_no_write_since_last_change_for_buffer_nr_add_bang_to_override[]
b18f3b0f317c patch 8.2.3750: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26436
diff changeset
198 INIT(= N_("E89: No write since last change for buffer %d (add ! to override)"));
b18f3b0f317c patch 8.2.3750: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26436
diff changeset
199 EXTERN char e_cannot_unload_last_buffer[]
b18f3b0f317c patch 8.2.3750: error messages are everywhere
Bram Moolenaar <Bram@vim.org>
parents: 26436
diff changeset
200 INIT(= N_("E90: Cannot unload last buffer"));
26602
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
201 EXTERN char e_shell_option_is_empty[]
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
202 INIT(= N_("E91: 'shell' option is empty"));
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
203 EXTERN char e_buffer_nr_not_found[]
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
204 INIT(= N_("E92: Buffer %d not found"));
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
205 EXTERN char e_more_than_one_match_for_str[]
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
206 INIT(= N_("E93: More than one match for %s"));
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
207 EXTERN char e_no_matching_buffer_for_str[]
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
208 INIT(= N_("E94: No matching buffer for %s"));
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
209 EXTERN char e_buffer_with_this_name_already_exists[]
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
210 INIT(= N_("E95: Buffer with this name already exists"));
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
211 #if defined(FEAT_DIFF)
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
212 EXTERN char e_cannot_diff_more_than_nr_buffers[]
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
213 INIT(= N_("E96: Cannot diff more than %d buffers"));
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
214 EXTERN char e_cannot_create_diffs[]
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
215 INIT(= N_("E97: Cannot create diffs"));
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
216 EXTERN char e_cannot_read_diff_output[]
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
217 INIT(= N_("E98: Cannot read diff output"));
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
218 EXTERN char e_current_buffer_is_not_in_diff_mode[]
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
219 INIT(= N_("E99: Current buffer is not in diff mode"));
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
220 EXTERN char e_no_other_buffer_in_diff_mode[]
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
221 INIT(= N_("E100: No other buffer in diff mode"));
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
222 EXTERN char e_more_than_two_buffers_in_diff_mode_dont_know_which_one_to_use[]
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
223 INIT(= N_("E101: More than two buffers in diff mode, don't know which one to use"));
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
224 EXTERN char e_cant_find_buffer_str[]
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
225 INIT(= N_("E102: Can't find buffer \"%s\""));
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
226 EXTERN char e_buffer_str_is_not_in_diff_mode[]
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
227 INIT(= N_("E103: Buffer \"%s\" is not in diff mode"));
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
228 #endif
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
229 EXTERN char e_escape_not_allowed_in_digraph[]
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
230 INIT(= N_("E104: Escape not allowed in digraph"));
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
231 EXTERN char e_using_loadkeymap_not_in_sourced_file[]
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
232 INIT(= N_("E105: Using :loadkeymap not in a sourced file"));
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
233 // E106 unused
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
234 EXTERN char e_missing_parenthesis_str[]
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
235 INIT(= N_("E107: Missing parentheses: %s"));
25320
1e6da8364a02 patch 8.2.3197: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25310
diff changeset
236 #ifdef FEAT_EVAL
26602
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
237 EXTERN char e_no_such_variable_str[]
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
238 INIT(= N_("E108: No such variable: \"%s\""));
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
239 EXTERN char e_missing_colon_after_questionmark[]
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
240 INIT(= N_("E109: Missing ':' after '?'"));
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
241 EXTERN char e_missing_closing_paren[]
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
242 INIT(= N_("E110: Missing ')'"));
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
243 EXTERN char e_missing_closing_square_brace[]
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
244 INIT(= N_("E111: Missing ']'"));
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
245 #endif
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
246 EXTERN char e_option_name_missing_str[]
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
247 INIT(= N_("E112: Option name missing: %s"));
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
248 EXTERN char e_unknown_option_str[]
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
249 INIT(= N_("E113: Unknown option: %s"));
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
250 EXTERN char e_missing_double_quote_str[]
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
251 INIT(= N_("E114: Missing double quote: %s"));
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
252 EXTERN char e_missing_single_quote_str[]
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
253 INIT(= N_("E115: Missing single quote: %s"));
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
254 #ifdef FEAT_EVAL
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
255 EXTERN char e_invalid_arguments_for_function_str[]
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
256 INIT(= N_("E116: Invalid arguments for function %s"));
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
257 EXTERN char e_unknown_function_str[]
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
258 INIT(= N_("E117: Unknown function: %s"));
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
259 EXTERN char e_too_many_arguments_for_function_str[]
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
260 INIT(= N_("E118: Too many arguments for function: %s"));
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
261 EXTERN char e_not_enough_arguments_for_function_str[]
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
262 INIT(= N_("E119: Not enough arguments for function: %s"));
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
263 EXTERN char e_using_sid_not_in_script_context_str[]
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
264 INIT(= N_("E120: Using <SID> not in a script context: %s"));
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
265 EXTERN char e_undefined_variable_str[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
266 INIT(= N_("E121: Undefined variable: %s"));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
267 EXTERN char e_undefined_variable_char_str[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
268 INIT(= N_("E121: Undefined variable: %c:%s"));
26757
3a2b222107a6 patch 8.2.3907: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26731
diff changeset
269 EXTERN char e_function_str_already_exists_add_excl_to_replace[]
3a2b222107a6 patch 8.2.3907: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26731
diff changeset
270 INIT(= N_("E122: Function %s already exists, add ! to replace it"));
3a2b222107a6 patch 8.2.3907: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26731
diff changeset
271 EXTERN char e_undefined_function_str[]
3a2b222107a6 patch 8.2.3907: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26731
diff changeset
272 INIT(= N_("E123: Undefined function: %s"));
3a2b222107a6 patch 8.2.3907: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26731
diff changeset
273 EXTERN char e_missing_paren_str[]
3a2b222107a6 patch 8.2.3907: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26731
diff changeset
274 INIT(= N_("E124: Missing '(': %s"));
3a2b222107a6 patch 8.2.3907: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26731
diff changeset
275 EXTERN char e_illegal_argument_str[]
3a2b222107a6 patch 8.2.3907: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26731
diff changeset
276 INIT(= N_("E125: Illegal argument: %s"));
3a2b222107a6 patch 8.2.3907: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26731
diff changeset
277 EXTERN char e_missing_endfunction[]
3a2b222107a6 patch 8.2.3907: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26731
diff changeset
278 INIT(= N_("E126: Missing :endfunction"));
3a2b222107a6 patch 8.2.3907: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26731
diff changeset
279 EXTERN char e_cannot_redefine_function_str_it_is_in_use[]
3a2b222107a6 patch 8.2.3907: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26731
diff changeset
280 INIT(= N_("E127: Cannot redefine function %s: It is in use"));
3a2b222107a6 patch 8.2.3907: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26731
diff changeset
281 EXTERN char e_function_name_must_start_with_capital_or_s_str[]
3a2b222107a6 patch 8.2.3907: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26731
diff changeset
282 INIT(= N_("E128: Function name must start with a capital or \"s:\": %s"));
3a2b222107a6 patch 8.2.3907: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26731
diff changeset
283 EXTERN char e_function_name_required[]
3a2b222107a6 patch 8.2.3907: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26731
diff changeset
284 INIT(= N_("E129: Function name required"));
3a2b222107a6 patch 8.2.3907: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26731
diff changeset
285 // E130 unused
3a2b222107a6 patch 8.2.3907: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26731
diff changeset
286 EXTERN char e_cannot_delete_function_str_it_is_in_use[]
3a2b222107a6 patch 8.2.3907: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26731
diff changeset
287 INIT(= N_("E131: Cannot delete function %s: It is in use"));
3a2b222107a6 patch 8.2.3907: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26731
diff changeset
288 EXTERN char e_function_call_depth_is_higher_than_macfuncdepth[]
3a2b222107a6 patch 8.2.3907: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26731
diff changeset
289 INIT(= N_("E132: Function call depth is higher than 'maxfuncdepth'"));
3a2b222107a6 patch 8.2.3907: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26731
diff changeset
290 EXTERN char e_return_not_inside_function[]
3a2b222107a6 patch 8.2.3907: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26731
diff changeset
291 INIT(= N_("E133: :return not inside a function"));
25320
1e6da8364a02 patch 8.2.3197: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 25310
diff changeset
292 #endif
26757
3a2b222107a6 patch 8.2.3907: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26731
diff changeset
293 EXTERN char e_cannot_move_range_of_lines_into_itself[]
3a2b222107a6 patch 8.2.3907: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26731
diff changeset
294 INIT(= N_("E134: Cannot move a range of lines into itself"));
3a2b222107a6 patch 8.2.3907: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26731
diff changeset
295 EXTERN char e_filter_autocommands_must_not_change_current_buffer[]
3a2b222107a6 patch 8.2.3907: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26731
diff changeset
296 INIT(= N_("E135: *Filter* Autocommands must not change current buffer"));
3a2b222107a6 patch 8.2.3907: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26731
diff changeset
297 #if defined(FEAT_VIMINFO)
3a2b222107a6 patch 8.2.3907: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26731
diff changeset
298 EXTERN char e_viminfo_too_many_errors_skipping_rest_of_file[]
3a2b222107a6 patch 8.2.3907: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26731
diff changeset
299 INIT(= N_("E136: viminfo: Too many errors, skipping rest of file"));
3a2b222107a6 patch 8.2.3907: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26731
diff changeset
300 EXTERN char e_viminfo_file_is_not_writable_str[]
3a2b222107a6 patch 8.2.3907: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26731
diff changeset
301 INIT(= N_("E137: Viminfo file is not writable: %s"));
3a2b222107a6 patch 8.2.3907: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26731
diff changeset
302 EXTERN char e_cant_write_viminfo_file_str[]
3a2b222107a6 patch 8.2.3907: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26731
diff changeset
303 INIT(= N_("E138: Can't write viminfo file %s!"));
3a2b222107a6 patch 8.2.3907: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26731
diff changeset
304 #endif
26602
fac6673086df patch 8.2.3830: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 26585
diff changeset
305
25796
60e4892dfa45 patch 8.2.3433: :delcommand does not take a -buffer option
Bram Moolenaar <Bram@vim.org>
parents: 25755
diff changeset
306 EXTERN char e_no_such_user_defined_command_str[]
60e4892dfa45 patch 8.2.3433: :delcommand does not take a -buffer option
Bram Moolenaar <Bram@vim.org>
parents: 25755
diff changeset
307 INIT(= N_("E184: No such user-defined command: %s"));
25294
c626fd34b66f patch 8.2.3184: cannot add a digraph with a leading space
Bram Moolenaar <Bram@vim.org>
parents: 25292
diff changeset
308 #ifndef FEAT_DIGRAPHS
c626fd34b66f patch 8.2.3184: cannot add a digraph with a leading space
Bram Moolenaar <Bram@vim.org>
parents: 25292
diff changeset
309 EXTERN char e_no_digraphs_version[]
c626fd34b66f patch 8.2.3184: cannot add a digraph with a leading space
Bram Moolenaar <Bram@vim.org>
parents: 25292
diff changeset
310 INIT(= N_("E196: No digraphs in this version"));
c626fd34b66f patch 8.2.3184: cannot add a digraph with a leading space
Bram Moolenaar <Bram@vim.org>
parents: 25292
diff changeset
311 #endif
26057
92c424550367 patch 8.2.3562: cannot add color names
Bram Moolenaar <Bram@vim.org>
parents: 26024
diff changeset
312 #if defined(FEAT_GUI) || defined(FEAT_TERMGUICOLORS)
92c424550367 patch 8.2.3562: cannot add color names
Bram Moolenaar <Bram@vim.org>
parents: 26024
diff changeset
313 EXTERN char e_cannot_allocate_color_str[]
92c424550367 patch 8.2.3562: cannot add color names
Bram Moolenaar <Bram@vim.org>
parents: 26024
diff changeset
314 INIT(= N_("E254: Cannot allocate color %s"));
92c424550367 patch 8.2.3562: cannot add color names
Bram Moolenaar <Bram@vim.org>
parents: 26024
diff changeset
315 #endif
23513
872239543313 patch 8.2.2299: Vim9: invalid memory access making error message flaky
Bram Moolenaar <Bram@vim.org>
parents: 23446
diff changeset
316 EXTERN char e_ambiguous_use_of_user_defined_command[]
872239543313 patch 8.2.2299: Vim9: invalid memory access making error message flaky
Bram Moolenaar <Bram@vim.org>
parents: 23446
diff changeset
317 INIT(= N_("E464: Ambiguous use of user-defined command"));
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
318 EXTERN char e_invalid_command[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
319 INIT(= N_("E476: Invalid command"));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
320 #ifdef FEAT_EVAL
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
321 EXTERN char e_invalid_command_str[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
322 INIT(= N_("E476: Invalid command: %s"));
26646
6f8d3470fa90 patch 8.2.3852: Vim9: not enough tests
Bram Moolenaar <Bram@vim.org>
parents: 26638
diff changeset
323 EXTERN char e_cannot_index_a_funcref[]
6f8d3470fa90 patch 8.2.3852: Vim9: not enough tests
Bram Moolenaar <Bram@vim.org>
parents: 26638
diff changeset
324 INIT(= N_("E695: Cannot index a Funcref"));
22975
a943b175586a patch 8.2.2034: Vim9: list unpack in for statement not compiled yet
Bram Moolenaar <Bram@vim.org>
parents: 22936
diff changeset
325 EXTERN char e_list_value_has_more_items_than_targets[]
a943b175586a patch 8.2.2034: Vim9: list unpack in for statement not compiled yet
Bram Moolenaar <Bram@vim.org>
parents: 22936
diff changeset
326 INIT(= N_("E710: List value has more items than targets"));
a943b175586a patch 8.2.2034: Vim9: list unpack in for statement not compiled yet
Bram Moolenaar <Bram@vim.org>
parents: 22936
diff changeset
327 EXTERN char e_list_value_does_not_have_enough_items[]
a943b175586a patch 8.2.2034: Vim9: list unpack in for statement not compiled yet
Bram Moolenaar <Bram@vim.org>
parents: 22936
diff changeset
328 INIT(= N_("E711: List value does not have enough items"));
21833
e3f9528bddda patch 8.2.1466: Vim9: cannot index or slice a variable with type "any"
Bram Moolenaar <Bram@vim.org>
parents: 21831
diff changeset
329 EXTERN char e_cannot_slice_dictionary[]
22296
006b8ab9d554 patch 8.2.1697: inconsistent capitalization of error messages
Bram Moolenaar <Bram@vim.org>
parents: 22284
diff changeset
330 INIT(= N_("E719: Cannot slice a Dictionary"));
26624
bdf11d8e3df3 patch 8.2.3841: Vim9: outdated TODO items, disabled tests that work
Bram Moolenaar <Bram@vim.org>
parents: 26602
diff changeset
331 EXTERN char e_value_is_locked[]
bdf11d8e3df3 patch 8.2.3841: Vim9: outdated TODO items, disabled tests that work
Bram Moolenaar <Bram@vim.org>
parents: 26602
diff changeset
332 INIT(= N_("E741: Value is locked"));
bdf11d8e3df3 patch 8.2.3841: Vim9: outdated TODO items, disabled tests that work
Bram Moolenaar <Bram@vim.org>
parents: 26602
diff changeset
333 EXTERN char e_value_is_locked_str[]
bdf11d8e3df3 patch 8.2.3841: Vim9: outdated TODO items, disabled tests that work
Bram Moolenaar <Bram@vim.org>
parents: 26602
diff changeset
334 INIT(= N_("E741: Value is locked: %s"));
bdf11d8e3df3 patch 8.2.3841: Vim9: outdated TODO items, disabled tests that work
Bram Moolenaar <Bram@vim.org>
parents: 26602
diff changeset
335 EXTERN char e_cannot_change_value[]
bdf11d8e3df3 patch 8.2.3841: Vim9: outdated TODO items, disabled tests that work
Bram Moolenaar <Bram@vim.org>
parents: 26602
diff changeset
336 INIT(= N_("E742: Cannot change value"));
bdf11d8e3df3 patch 8.2.3841: Vim9: outdated TODO items, disabled tests that work
Bram Moolenaar <Bram@vim.org>
parents: 26602
diff changeset
337 EXTERN char e_cannot_change_value_of_str[]
bdf11d8e3df3 patch 8.2.3841: Vim9: outdated TODO items, disabled tests that work
Bram Moolenaar <Bram@vim.org>
parents: 26602
diff changeset
338 INIT(= N_("E742: Cannot change value of %s"));
bdf11d8e3df3 patch 8.2.3841: Vim9: outdated TODO items, disabled tests that work
Bram Moolenaar <Bram@vim.org>
parents: 26602
diff changeset
339 EXTERN char e_cannot_set_variable_in_sandbox[]
bdf11d8e3df3 patch 8.2.3841: Vim9: outdated TODO items, disabled tests that work
Bram Moolenaar <Bram@vim.org>
parents: 26602
diff changeset
340 INIT(= N_("E794: Cannot set variable in the sandbox"));
bdf11d8e3df3 patch 8.2.3841: Vim9: outdated TODO items, disabled tests that work
Bram Moolenaar <Bram@vim.org>
parents: 26602
diff changeset
341 EXTERN char e_cannot_set_variable_in_sandbox_str[]
bdf11d8e3df3 patch 8.2.3841: Vim9: outdated TODO items, disabled tests that work
Bram Moolenaar <Bram@vim.org>
parents: 26602
diff changeset
342 INIT(= N_("E794: Cannot set variable in the sandbox: \"%s\""));
bdf11d8e3df3 patch 8.2.3841: Vim9: outdated TODO items, disabled tests that work
Bram Moolenaar <Bram@vim.org>
parents: 26602
diff changeset
343 EXTERN char e_cannot_delete_variable[]
bdf11d8e3df3 patch 8.2.3841: Vim9: outdated TODO items, disabled tests that work
Bram Moolenaar <Bram@vim.org>
parents: 26602
diff changeset
344 INIT(= N_("E795: Cannot delete variable"));
bdf11d8e3df3 patch 8.2.3841: Vim9: outdated TODO items, disabled tests that work
Bram Moolenaar <Bram@vim.org>
parents: 26602
diff changeset
345 EXTERN char e_cannot_delete_variable_str[]
bdf11d8e3df3 patch 8.2.3841: Vim9: outdated TODO items, disabled tests that work
Bram Moolenaar <Bram@vim.org>
parents: 26602
diff changeset
346 INIT(= N_("E795: Cannot delete variable %s"));
26024
cb5f2515a450 patch 8.2.3546: build failure without the +eval feature
Bram Moolenaar <Bram@vim.org>
parents: 26022
diff changeset
347 #endif
26022
30e60bfd5fb3 patch 8.2.3545: setcellwidths() may make 'listchars' or 'fillchars' invalid
Bram Moolenaar <Bram@vim.org>
parents: 25982
diff changeset
348 EXTERN char e_conflicts_with_value_of_listchars[]
30e60bfd5fb3 patch 8.2.3545: setcellwidths() may make 'listchars' or 'fillchars' invalid
Bram Moolenaar <Bram@vim.org>
parents: 25982
diff changeset
349 INIT(= N_("E834: Conflicts with value of 'listchars'"));
30e60bfd5fb3 patch 8.2.3545: setcellwidths() may make 'listchars' or 'fillchars' invalid
Bram Moolenaar <Bram@vim.org>
parents: 25982
diff changeset
350 EXTERN char e_conflicts_with_value_of_fillchars[]
30e60bfd5fb3 patch 8.2.3545: setcellwidths() may make 'listchars' or 'fillchars' invalid
Bram Moolenaar <Bram@vim.org>
parents: 25982
diff changeset
351 INIT(= N_("E835: Conflicts with value of 'fillchars'"));
26024
cb5f2515a450 patch 8.2.3546: build failure without the +eval feature
Bram Moolenaar <Bram@vim.org>
parents: 26022
diff changeset
352 #ifdef FEAT_EVAL
22165
c512e6f57ff2 patch 8.2.1632: not checking the context of test_fails()
Bram Moolenaar <Bram@vim.org>
parents: 21975
diff changeset
353 EXTERN char e_assert_fails_second_arg[]
22296
006b8ab9d554 patch 8.2.1697: inconsistent capitalization of error messages
Bram Moolenaar <Bram@vim.org>
parents: 22284
diff changeset
354 INIT(= N_("E856: \"assert_fails()\" second argument must be a string or a list with one or two strings"));
24614
07b3d21a8b4b patch 8.2.2846: Vim9: "echo Func()" does not give an error for using void
Bram Moolenaar <Bram@vim.org>
parents: 24543
diff changeset
355 EXTERN char e_using_invalid_value_as_string_str[]
07b3d21a8b4b patch 8.2.2846: Vim9: "echo Func()" does not give an error for using void
Bram Moolenaar <Bram@vim.org>
parents: 24543
diff changeset
356 INIT(= N_("E908: using an invalid value as a String: %s"));
21833
e3f9528bddda patch 8.2.1466: Vim9: cannot index or slice a variable with type "any"
Bram Moolenaar <Bram@vim.org>
parents: 21831
diff changeset
357 EXTERN char e_cannot_index_special_variable[]
e3f9528bddda patch 8.2.1466: Vim9: cannot index or slice a variable with type "any"
Bram Moolenaar <Bram@vim.org>
parents: 21831
diff changeset
358 INIT(= N_("E909: Cannot index a special variable"));
23390
9a5f12b36273 patch 8.2.2238: Vim9: cannot load a Vim9 script without the +eval feature
Bram Moolenaar <Bram@vim.org>
parents: 23362
diff changeset
359 #endif
26775
2df40c348c70 patch 8.2.3916: no error for passing an invalid line number to append()
Bram Moolenaar <Bram@vim.org>
parents: 26757
diff changeset
360 EXTERN char_u e_invalid_column_number_nr[]
2df40c348c70 patch 8.2.3916: no error for passing an invalid line number to append()
Bram Moolenaar <Bram@vim.org>
parents: 26757
diff changeset
361 INIT(= N_("E964: Invalid column number: %ld"));
2df40c348c70 patch 8.2.3916: no error for passing an invalid line number to append()
Bram Moolenaar <Bram@vim.org>
parents: 26757
diff changeset
362 EXTERN char_u e_invalid_line_number_nr[]
2df40c348c70 patch 8.2.3916: no error for passing an invalid line number to append()
Bram Moolenaar <Bram@vim.org>
parents: 26757
diff changeset
363 INIT(= N_("E966: Invalid line number: %ld"));
23390
9a5f12b36273 patch 8.2.2238: Vim9: cannot load a Vim9 script without the +eval feature
Bram Moolenaar <Bram@vim.org>
parents: 23362
diff changeset
364 EXTERN char e_command_not_supported_in_vim9_script_missing_var_str[]
9a5f12b36273 patch 8.2.2238: Vim9: cannot load a Vim9 script without the +eval feature
Bram Moolenaar <Bram@vim.org>
parents: 23362
diff changeset
365 INIT(= N_("E1100: Command not supported in Vim9 script (missing :var?): %s"));
9a5f12b36273 patch 8.2.2238: Vim9: cannot load a Vim9 script without the +eval feature
Bram Moolenaar <Bram@vim.org>
parents: 23362
diff changeset
366 #ifdef FEAT_EVAL
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
367 EXTERN char e_variable_not_found_str[]
22296
006b8ab9d554 patch 8.2.1697: inconsistent capitalization of error messages
Bram Moolenaar <Bram@vim.org>
parents: 22284
diff changeset
368 INIT(= N_("E1001: Variable not found: %s"));
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
369 EXTERN char e_syntax_error_at_str[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
370 INIT(= N_("E1002: Syntax error at %s"));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
371 EXTERN char e_missing_return_value[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
372 INIT(= N_("E1003: Missing return value"));
23446
b1dbbc81a011 patch 8.2.2266: Vim9: it can be hard to see where white space is missing
Bram Moolenaar <Bram@vim.org>
parents: 23442
diff changeset
373 EXTERN char e_white_space_required_before_and_after_str_at_str[]
b1dbbc81a011 patch 8.2.2266: Vim9: it can be hard to see where white space is missing
Bram Moolenaar <Bram@vim.org>
parents: 23442
diff changeset
374 INIT(= N_("E1004: White space required before and after '%s' at \"%s\""));
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
375 EXTERN char e_too_many_argument_types[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
376 INIT(= N_("E1005: Too many argument types"));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
377 EXTERN char e_str_is_used_as_argument[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
378 INIT(= N_("E1006: %s is used as an argument"));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
379 EXTERN char e_mandatory_argument_after_optional_argument[]
22296
006b8ab9d554 patch 8.2.1697: inconsistent capitalization of error messages
Bram Moolenaar <Bram@vim.org>
parents: 22284
diff changeset
380 INIT(= N_("E1007: Mandatory argument after optional argument"));
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
381 EXTERN char e_missing_type[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
382 INIT(= N_("E1008: Missing <type>"));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
383 EXTERN char e_missing_gt_after_type[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
384 INIT(= N_("E1009: Missing > after type"));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
385 EXTERN char e_type_not_recognized_str[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
386 INIT(= N_("E1010: Type not recognized: %s"));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
387 EXTERN char e_name_too_long_str[]
22296
006b8ab9d554 patch 8.2.1697: inconsistent capitalization of error messages
Bram Moolenaar <Bram@vim.org>
parents: 22284
diff changeset
388 INIT(= N_("E1011: Name too long: %s"));
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
389 EXTERN char e_type_mismatch_expected_str_but_got_str[]
22284
6b385c2b9ff5 patch 8.2.1691: Vim9: list<any> is not accepted where list<number> is expected
Bram Moolenaar <Bram@vim.org>
parents: 22272
diff changeset
390 INIT(= N_("E1012: Type mismatch; expected %s but got %s"));
25326
cfbf40f749b0 patch 8.2.3200: Vim9: hard to guess where a type error is given
Bram Moolenaar <Bram@vim.org>
parents: 25320
diff changeset
391 EXTERN char e_type_mismatch_expected_str_but_got_str_in_str[]
cfbf40f749b0 patch 8.2.3200: Vim9: hard to guess where a type error is given
Bram Moolenaar <Bram@vim.org>
parents: 25320
diff changeset
392 INIT(= N_("E1012: Type mismatch; expected %s but got %s in %s"));
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
393 EXTERN char e_argument_nr_type_mismatch_expected_str_but_got_str[]
22296
006b8ab9d554 patch 8.2.1697: inconsistent capitalization of error messages
Bram Moolenaar <Bram@vim.org>
parents: 22284
diff changeset
394 INIT(= N_("E1013: Argument %d: type mismatch, expected %s but got %s"));
25326
cfbf40f749b0 patch 8.2.3200: Vim9: hard to guess where a type error is given
Bram Moolenaar <Bram@vim.org>
parents: 25320
diff changeset
395 EXTERN char e_argument_nr_type_mismatch_expected_str_but_got_str_in_str[]
cfbf40f749b0 patch 8.2.3200: Vim9: hard to guess where a type error is given
Bram Moolenaar <Bram@vim.org>
parents: 25320
diff changeset
396 INIT(= N_("E1013: Argument %d: type mismatch, expected %s but got %s in %s"));
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
397 EXTERN char e_invalid_key_str[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
398 INIT(= N_("E1014: Invalid key: %s"));
23183
4d5d12138b36 patch 8.2.2137: Vim9: :echo and :execute give error for empty argument
Bram Moolenaar <Bram@vim.org>
parents: 23175
diff changeset
399 EXTERN char e_name_expected_str[]
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
400 INIT(= N_("E1015: Name expected: %s"));
21789
f84625b961a8 patch 8.2.1444: error messages are spread out and names can be confusing
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
401 EXTERN char e_cannot_declare_a_scope_variable[]
f84625b961a8 patch 8.2.1444: error messages are spread out and names can be confusing
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
402 INIT(= N_("E1016: Cannot declare a %s variable: %s"));
f84625b961a8 patch 8.2.1444: error messages are spread out and names can be confusing
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
403 EXTERN char e_cannot_declare_an_environment_variable[]
f84625b961a8 patch 8.2.1444: error messages are spread out and names can be confusing
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
404 INIT(= N_("E1016: Cannot declare an environment variable: %s"));
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
405 EXTERN char e_variable_already_declared[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
406 INIT(= N_("E1017: Variable already declared: %s"));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
407 EXTERN char e_cannot_assign_to_constant[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
408 INIT(= N_("E1018: Cannot assign to a constant: %s"));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
409 EXTERN char e_can_only_concatenate_to_string[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
410 INIT(= N_("E1019: Can only concatenate to string"));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
411 EXTERN char e_cannot_use_operator_on_new_variable[]
22296
006b8ab9d554 patch 8.2.1697: inconsistent capitalization of error messages
Bram Moolenaar <Bram@vim.org>
parents: 22284
diff changeset
412 INIT(= N_("E1020: Cannot use an operator on a new variable: %s"));
21789
f84625b961a8 patch 8.2.1444: error messages are spread out and names can be confusing
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
413 EXTERN char e_const_requires_a_value[]
22296
006b8ab9d554 patch 8.2.1697: inconsistent capitalization of error messages
Bram Moolenaar <Bram@vim.org>
parents: 22284
diff changeset
414 INIT(= N_("E1021: Const requires a value"));
21789
f84625b961a8 patch 8.2.1444: error messages are spread out and names can be confusing
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
415 EXTERN char e_type_or_initialization_required[]
22296
006b8ab9d554 patch 8.2.1697: inconsistent capitalization of error messages
Bram Moolenaar <Bram@vim.org>
parents: 22284
diff changeset
416 INIT(= N_("E1022: Type or initialization required"));
21913
9fc27a955f00 patch 8.2.1506: Vim9: no error when using a number other than 0 or 1 as bool
Bram Moolenaar <Bram@vim.org>
parents: 21909
diff changeset
417 EXTERN char e_using_number_as_bool_nr[]
23650
83a69ada0274 patch 8.2.2367: test failures on some less often used systems
Bram Moolenaar <Bram@vim.org>
parents: 23555
diff changeset
418 INIT(= N_("E1023: Using a Number as a Bool: %lld"));
21833
e3f9528bddda patch 8.2.1466: Vim9: cannot index or slice a variable with type "any"
Bram Moolenaar <Bram@vim.org>
parents: 21831
diff changeset
419 EXTERN char e_using_number_as_string[]
e3f9528bddda patch 8.2.1466: Vim9: cannot index or slice a variable with type "any"
Bram Moolenaar <Bram@vim.org>
parents: 21831
diff changeset
420 INIT(= N_("E1024: Using a Number as a String"));
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
421 EXTERN char e_using_rcurly_outside_if_block_scope[]
22296
006b8ab9d554 patch 8.2.1697: inconsistent capitalization of error messages
Bram Moolenaar <Bram@vim.org>
parents: 22284
diff changeset
422 INIT(= N_("E1025: Using } outside of a block scope"));
25388
83e906028a9d patch 8.2.3231: build failure with small features
Bram Moolenaar <Bram@vim.org>
parents: 25384
diff changeset
423 #endif
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
424 EXTERN char e_missing_rcurly[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
425 INIT(= N_("E1026: Missing }"));
25388
83e906028a9d patch 8.2.3231: build failure with small features
Bram Moolenaar <Bram@vim.org>
parents: 25384
diff changeset
426 #ifdef FEAT_EVAL
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
427 EXTERN char e_missing_return_statement[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
428 INIT(= N_("E1027: Missing return statement"));
22614
048a3033d19c patch 8.2.1855: Vim9: get error message when nothing is wrong
Bram Moolenaar <Bram@vim.org>
parents: 22612
diff changeset
429 EXTERN char e_compiling_def_function_failed[]
22296
006b8ab9d554 patch 8.2.1697: inconsistent capitalization of error messages
Bram Moolenaar <Bram@vim.org>
parents: 22284
diff changeset
430 INIT(= N_("E1028: Compiling :def function failed"));
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
431 EXTERN char e_expected_str_but_got_str[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
432 INIT(= N_("E1029: Expected %s but got %s"));
22860
53acb89ec9f2 patch 8.2.1977: Vim9: error for using a string in a condition is confusing
Bram Moolenaar <Bram@vim.org>
parents: 22802
diff changeset
433 EXTERN char e_using_string_as_number_str[]
53acb89ec9f2 patch 8.2.1977: Vim9: error for using a string in a condition is confusing
Bram Moolenaar <Bram@vim.org>
parents: 22802
diff changeset
434 INIT(= N_("E1030: Using a String as a Number: \"%s\""));
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
435 EXTERN char e_cannot_use_void_value[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
436 INIT(= N_("E1031: Cannot use void value"));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
437 EXTERN char e_missing_catch_or_finally[]
22296
006b8ab9d554 patch 8.2.1697: inconsistent capitalization of error messages
Bram Moolenaar <Bram@vim.org>
parents: 22284
diff changeset
438 INIT(= N_("E1032: Missing :catch or :finally"));
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
439 EXTERN char e_catch_unreachable_after_catch_all[]
22296
006b8ab9d554 patch 8.2.1697: inconsistent capitalization of error messages
Bram Moolenaar <Bram@vim.org>
parents: 22284
diff changeset
440 INIT(= N_("E1033: Catch unreachable after catch-all"));
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
441 EXTERN char e_cannot_use_reserved_name[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
442 INIT(= N_("E1034: Cannot use reserved name %s"));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
443 EXTERN char e_percent_requires_number_arguments[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
444 INIT(= N_("E1035: % requires number arguments"));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
445 EXTERN char e_char_requires_number_or_float_arguments[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
446 INIT(= N_("E1036: %c requires number or float arguments"));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
447 EXTERN char e_cannot_use_str_with_str[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
448 INIT(= N_("E1037: Cannot use \"%s\" with %s"));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
449 EXTERN char e_vim9script_can_only_be_used_in_script[]
22296
006b8ab9d554 patch 8.2.1697: inconsistent capitalization of error messages
Bram Moolenaar <Bram@vim.org>
parents: 22284
diff changeset
450 INIT(= N_("E1038: \"vim9script\" can only be used in a script"));
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
451 EXTERN char e_vim9script_must_be_first_command_in_script[]
22296
006b8ab9d554 patch 8.2.1697: inconsistent capitalization of error messages
Bram Moolenaar <Bram@vim.org>
parents: 22284
diff changeset
452 INIT(= N_("E1039: \"vim9script\" must be the first command in a script"));
23390
9a5f12b36273 patch 8.2.2238: Vim9: cannot load a Vim9 script without the +eval feature
Bram Moolenaar <Bram@vim.org>
parents: 23362
diff changeset
453 #endif
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
454 EXTERN char e_cannot_use_scriptversion_after_vim9script[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
455 INIT(= N_("E1040: Cannot use :scriptversion after :vim9script"));
23390
9a5f12b36273 patch 8.2.2238: Vim9: cannot load a Vim9 script without the +eval feature
Bram Moolenaar <Bram@vim.org>
parents: 23362
diff changeset
456 #ifdef FEAT_EVAL
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
457 EXTERN char e_redefining_script_item_str[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
458 INIT(= N_("E1041: Redefining script item %s"));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
459 EXTERN char e_export_can_only_be_used_in_vim9script[]
22296
006b8ab9d554 patch 8.2.1697: inconsistent capitalization of error messages
Bram Moolenaar <Bram@vim.org>
parents: 22284
diff changeset
460 INIT(= N_("E1042: Export can only be used in vim9script"));
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
461 EXTERN char e_invalid_command_after_export[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
462 INIT(= N_("E1043: Invalid command after :export"));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
463 EXTERN char e_export_with_invalid_argument[]
22296
006b8ab9d554 patch 8.2.1697: inconsistent capitalization of error messages
Bram Moolenaar <Bram@vim.org>
parents: 22284
diff changeset
464 INIT(= N_("E1044: Export with invalid argument"));
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
465 EXTERN char e_missing_as_after_star[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
466 INIT(= N_("E1045: Missing \"as\" after *"));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
467 EXTERN char e_missing_comma_in_import[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
468 INIT(= N_("E1046: Missing comma in import"));
25755
33ebec729787 patch 8.2.3413: Vim9: too many characters are allowed in import name
Bram Moolenaar <Bram@vim.org>
parents: 25751
diff changeset
469 EXTERN char e_syntax_error_in_import_str[]
33ebec729787 patch 8.2.3413: Vim9: too many characters are allowed in import name
Bram Moolenaar <Bram@vim.org>
parents: 25751
diff changeset
470 INIT(= N_("E1047: Syntax error in import: %s"));
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
471 EXTERN char e_item_not_found_in_script_str[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
472 INIT(= N_("E1048: Item not found in script: %s"));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
473 EXTERN char e_item_not_exported_in_script_str[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
474 INIT(= N_("E1049: Item not exported in script: %s"));
23346
2060f53b7c17 patch 8.2.2216: Vim9: range with missing colon can be hard to spot
Bram Moolenaar <Bram@vim.org>
parents: 23330
diff changeset
475 EXTERN char e_colon_required_before_range_str[]
2060f53b7c17 patch 8.2.2216: Vim9: range with missing colon can be hard to spot
Bram Moolenaar <Bram@vim.org>
parents: 23330
diff changeset
476 INIT(= N_("E1050: Colon required before a range: %s"));
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
477 EXTERN char e_wrong_argument_type_for_plus[]
22296
006b8ab9d554 patch 8.2.1697: inconsistent capitalization of error messages
Bram Moolenaar <Bram@vim.org>
parents: 22284
diff changeset
478 INIT(= N_("E1051: Wrong argument type for +"));
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
479 EXTERN char e_cannot_declare_an_option[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
480 INIT(= N_("E1052: Cannot declare an option: %s"));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
481 EXTERN char e_could_not_import_str[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
482 INIT(= N_("E1053: Could not import \"%s\""));
24033
308d29307910 patch 8.2.2558: no error if a lambda argument shadows a variable
Bram Moolenaar <Bram@vim.org>
parents: 23982
diff changeset
483 EXTERN char e_variable_already_declared_in_script_str[]
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
484 INIT(= N_("E1054: Variable already declared in the script: %s"));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
485 EXTERN char e_missing_name_after_dots[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
486 INIT(= N_("E1055: Missing name after ..."));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
487 EXTERN char e_expected_type_str[]
22296
006b8ab9d554 patch 8.2.1697: inconsistent capitalization of error messages
Bram Moolenaar <Bram@vim.org>
parents: 22284
diff changeset
488 INIT(= N_("E1056: Expected a type: %s"));
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
489 EXTERN char e_missing_enddef[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
490 INIT(= N_("E1057: Missing :enddef"));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
491 EXTERN char e_function_nesting_too_deep[]
22296
006b8ab9d554 patch 8.2.1697: inconsistent capitalization of error messages
Bram Moolenaar <Bram@vim.org>
parents: 22284
diff changeset
492 INIT(= N_("E1058: Function nesting too deep"));
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
493 EXTERN char e_no_white_space_allowed_before_colon_str[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
494 INIT(= N_("E1059: No white space allowed before colon: %s"));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
495 EXTERN char e_expected_dot_after_name_str[]
22296
006b8ab9d554 patch 8.2.1697: inconsistent capitalization of error messages
Bram Moolenaar <Bram@vim.org>
parents: 22284
diff changeset
496 INIT(= N_("E1060: Expected dot after name: %s"));
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
497 EXTERN char e_cannot_find_function_str[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
498 INIT(= N_("E1061: Cannot find function %s"));
21833
e3f9528bddda patch 8.2.1466: Vim9: cannot index or slice a variable with type "any"
Bram Moolenaar <Bram@vim.org>
parents: 21831
diff changeset
499 EXTERN char e_cannot_index_number[]
e3f9528bddda patch 8.2.1466: Vim9: cannot index or slice a variable with type "any"
Bram Moolenaar <Bram@vim.org>
parents: 21831
diff changeset
500 INIT(= N_("E1062: Cannot index a Number"));
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
501 EXTERN char e_type_mismatch_for_v_variable[]
22296
006b8ab9d554 patch 8.2.1697: inconsistent capitalization of error messages
Bram Moolenaar <Bram@vim.org>
parents: 22284
diff changeset
502 INIT(= N_("E1063: Type mismatch for v: variable"));
26386
712648e62913 patch 8.2.3724: build error for missing error message in small build
Bram Moolenaar <Bram@vim.org>
parents: 26380
diff changeset
503 #endif
26380
ac0e63cbf00b patch 8.2.3721: using memory freed by losing the clipboard selection
Bram Moolenaar <Bram@vim.org>
parents: 26378
diff changeset
504 EXTERN char e_yank_register_changed_while_using_it[]
ac0e63cbf00b patch 8.2.3721: using memory freed by losing the clipboard selection
Bram Moolenaar <Bram@vim.org>
parents: 26378
diff changeset
505 INIT(= N_("E1064: Yank register changed while using it"));
26386
712648e62913 patch 8.2.3724: build error for missing error message in small build
Bram Moolenaar <Bram@vim.org>
parents: 26380
diff changeset
506 #ifdef FEAT_EVAL
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
507 // E1065 unused
21909
a211bca98bc3 patch 8.2.1504: Vim9: white space checks are only done for a :def function
Bram Moolenaar <Bram@vim.org>
parents: 21833
diff changeset
508 EXTERN char e_cannot_declare_a_register_str[]
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
509 INIT(= N_("E1066: Cannot declare a register: %s"));
21909
a211bca98bc3 patch 8.2.1504: Vim9: white space checks are only done for a :def function
Bram Moolenaar <Bram@vim.org>
parents: 21833
diff changeset
510 EXTERN char e_separator_mismatch_str[]
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
511 INIT(= N_("E1067: Separator mismatch: %s"));
23888
d95403445b6b patch 8.2.2486: Vim9: some errors for white space do not show context
Bram Moolenaar <Bram@vim.org>
parents: 23880
diff changeset
512 EXTERN char e_no_white_space_allowed_before_str_str[]
d95403445b6b patch 8.2.2486: Vim9: some errors for white space do not show context
Bram Moolenaar <Bram@vim.org>
parents: 23880
diff changeset
513 INIT(= N_("E1068: No white space allowed before '%s': %s"));
23877
85cf06ddb2a8 patch 8.2.2480: Vim9: some errors for white space do not show context
Bram Moolenaar <Bram@vim.org>
parents: 23869
diff changeset
514 EXTERN char e_white_space_required_after_str_str[]
85cf06ddb2a8 patch 8.2.2480: Vim9: some errors for white space do not show context
Bram Moolenaar <Bram@vim.org>
parents: 23869
diff changeset
515 INIT(= N_("E1069: White space required after '%s': %s"));
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
516 EXTERN char e_missing_from[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
517 INIT(= N_("E1070: Missing \"from\""));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
518 EXTERN char e_invalid_string_after_from[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
519 INIT(= N_("E1071: Invalid string after \"from\""));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
520 EXTERN char e_cannot_compare_str_with_str[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
521 INIT(= N_("E1072: Cannot compare %s with %s"));
21909
a211bca98bc3 patch 8.2.1504: Vim9: white space checks are only done for a :def function
Bram Moolenaar <Bram@vim.org>
parents: 21833
diff changeset
522 EXTERN char e_name_already_defined_str[]
22296
006b8ab9d554 patch 8.2.1697: inconsistent capitalization of error messages
Bram Moolenaar <Bram@vim.org>
parents: 22284
diff changeset
523 INIT(= N_("E1073: Name already defined: %s"));
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
524 EXTERN char e_no_white_space_allowed_after_dot[]
22296
006b8ab9d554 patch 8.2.1697: inconsistent capitalization of error messages
Bram Moolenaar <Bram@vim.org>
parents: 22284
diff changeset
525 INIT(= N_("E1074: No white space allowed after dot"));
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
526 EXTERN char e_namespace_not_supported_str[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
527 INIT(= N_("E1075: Namespace not supported: %s"));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
528 EXTERN char e_this_vim_is_not_compiled_with_float_support[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
529 INIT(= N_("E1076: This Vim is not compiled with float support"));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
530 EXTERN char e_missing_argument_type_for_str[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
531 INIT(= N_("E1077: Missing argument type for %s"));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
532 // E1078 unused
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
533 // E1079 unused
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
534 // E1080 unused
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
535 EXTERN char e_cannot_unlet_str[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
536 INIT(= N_("E1081: Cannot unlet %s"));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
537 EXTERN char e_cannot_use_namespaced_variable[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
538 INIT(= N_("E1082: Cannot use a namespaced variable: %s"));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
539 EXTERN char e_missing_backtick[]
22296
006b8ab9d554 patch 8.2.1697: inconsistent capitalization of error messages
Bram Moolenaar <Bram@vim.org>
parents: 22284
diff changeset
540 INIT(= N_("E1083: Missing backtick"));
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
541 EXTERN char e_cannot_delete_vim9_script_function_str[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
542 INIT(= N_("E1084: Cannot delete Vim9 script function %s"));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
543 EXTERN char e_not_callable_type_str[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
544 INIT(= N_("E1085: Not a callable type: %s"));
26325
c189c40c9a22 patch 8.2.3693: Coverity warns for possibly using a NULL pointer
Bram Moolenaar <Bram@vim.org>
parents: 26323
diff changeset
545 EXTERN char e_function_reference_invalid[]
c189c40c9a22 patch 8.2.3693: Coverity warns for possibly using a NULL pointer
Bram Moolenaar <Bram@vim.org>
parents: 26323
diff changeset
546 INIT(= N_("E1086: Function reference invalid"));
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
547 EXTERN char e_cannot_use_index_when_declaring_variable[]
22296
006b8ab9d554 patch 8.2.1697: inconsistent capitalization of error messages
Bram Moolenaar <Bram@vim.org>
parents: 22284
diff changeset
548 INIT(= N_("E1087: Cannot use an index when declaring a variable"));
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
549 // E1088 unused
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
550 EXTERN char e_unknown_variable_str[]
22296
006b8ab9d554 patch 8.2.1697: inconsistent capitalization of error messages
Bram Moolenaar <Bram@vim.org>
parents: 22284
diff changeset
551 INIT(= N_("E1089: Unknown variable: %s"));
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
552 EXTERN char e_cannot_assign_to_argument[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
553 INIT(= N_("E1090: Cannot assign to argument %s"));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
554 EXTERN char e_function_is_not_compiled_str[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
555 INIT(= N_("E1091: Function is not compiled: %s"));
26346
8be6413a8e27 patch 8.2.3704: Vim9: cannot use a list declaration in a :def function
Bram Moolenaar <Bram@vim.org>
parents: 26325
diff changeset
556 // E1092 unused
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
557 EXTERN char e_expected_nr_items_but_got_nr[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
558 INIT(= N_("E1093: Expected %d items but got %d"));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
559 EXTERN char e_import_can_only_be_used_in_script[]
22296
006b8ab9d554 patch 8.2.1697: inconsistent capitalization of error messages
Bram Moolenaar <Bram@vim.org>
parents: 22284
diff changeset
560 INIT(= N_("E1094: Import can only be used in a script"));
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
561 EXTERN char e_unreachable_code_after_return[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
562 INIT(= N_("E1095: Unreachable code after :return"));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
563 EXTERN char e_returning_value_in_function_without_return_type[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
564 INIT(= N_("E1096: Returning a value in a function without a return type"));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
565 EXTERN char e_line_incomplete[]
22296
006b8ab9d554 patch 8.2.1697: inconsistent capitalization of error messages
Bram Moolenaar <Bram@vim.org>
parents: 22284
diff changeset
566 INIT(= N_("E1097: Line incomplete"));
25495
7144d2ffc86b patch 8.2.3284: no error for insert() or remove() changing a locked blob
Bram Moolenaar <Bram@vim.org>
parents: 25491
diff changeset
567 EXTERN char e_string_list_or_blob_required[]
7144d2ffc86b patch 8.2.3284: no error for insert() or remove() changing a locked blob
Bram Moolenaar <Bram@vim.org>
parents: 25491
diff changeset
568 INIT(= N_("E1098: String, List or Blob required"));
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
569 EXTERN char e_unknown_error_while_executing_str[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
570 INIT(= N_("E1099: Unknown error while executing %s"));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
571 EXTERN char e_cannot_declare_script_variable_in_function[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
572 INIT(= N_("E1101: Cannot declare a script variable in a function: %s"));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
573 EXTERN char e_lambda_function_not_found_str[]
22296
006b8ab9d554 patch 8.2.1697: inconsistent capitalization of error messages
Bram Moolenaar <Bram@vim.org>
parents: 22284
diff changeset
574 INIT(= N_("E1102: Lambda function not found: %s"));
21789
f84625b961a8 patch 8.2.1444: error messages are spread out and names can be confusing
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
575 EXTERN char e_dictionary_not_set[]
f84625b961a8 patch 8.2.1444: error messages are spread out and names can be confusing
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
576 INIT(= N_("E1103: Dictionary not set"));
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
577 EXTERN char e_missing_gt[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
578 INIT(= N_("E1104: Missing >"));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
579 EXTERN char e_cannot_convert_str_to_string[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
580 INIT(= N_("E1105: Cannot convert %s to string"));
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
581 EXTERN char e_one_argument_too_many[]
22296
006b8ab9d554 patch 8.2.1697: inconsistent capitalization of error messages
Bram Moolenaar <Bram@vim.org>
parents: 22284
diff changeset
582 INIT(= N_("E1106: One argument too many"));
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
583 EXTERN char e_nr_arguments_too_many[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
584 INIT(= N_("E1106: %d arguments too many"));
21831
d8422de73113 patch 8.2.1465: Vim9: subscript not handled properly
Bram Moolenaar <Bram@vim.org>
parents: 21826
diff changeset
585 EXTERN char e_string_list_dict_or_blob_required[]
d8422de73113 patch 8.2.1465: Vim9: subscript not handled properly
Bram Moolenaar <Bram@vim.org>
parents: 21826
diff changeset
586 INIT(= N_("E1107: String, List, Dict or Blob required"));
21821
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
587 EXTERN char e_item_not_found_str[]
0deb6f96a5a3 patch 8.2.1460: error messages are spread out
Bram Moolenaar <Bram@vim.org>
parents: 21789
diff changeset
588 INIT(= N_("E1108: Item not found: %s"));
21971
0bc43a704f56 patch 8.2.1535: it is not possible to specify cell widths of characters
Bram Moolenaar <Bram@vim.org>
parents: 21913
diff changeset
589 EXTERN char e_list_item_nr_is_not_list[]
0bc43a704f56 patch 8.2.1535: it is not possible to specify cell widths of characters
Bram Moolenaar <Bram@vim.org>
parents: 21913
diff changeset
590 INIT(= N_("E1109: List item %d is not a List"));
0bc43a704f56 patch 8.2.1535: it is not possible to specify cell widths of characters
Bram Moolenaar <Bram@vim.org>
parents: 21913
diff changeset
591 EXTERN char e_list_item_nr_does_not_contain_3_numbers[]
0bc43a704f56 patch 8.2.1535: it is not possible to specify cell widths of characters
Bram Moolenaar <Bram@vim.org>
parents: 21913
diff changeset
592 INIT(= N_("E1110: List item %d does not contain 3 numbers"));
0bc43a704f56 patch 8.2.1535: it is not possible to specify cell widths of characters
Bram Moolenaar <Bram@vim.org>
parents: 21913
diff changeset
593 EXTERN char e_list_item_nr_range_invalid[]
0bc43a704f56 patch 8.2.1535: it is not possible to specify cell widths of characters
Bram Moolenaar <Bram@vim.org>
parents: 21913
diff changeset
594 INIT(= N_("E1111: List item %d range invalid"));
0bc43a704f56 patch 8.2.1535: it is not possible to specify cell widths of characters
Bram Moolenaar <Bram@vim.org>
parents: 21913
diff changeset
595 EXTERN char e_list_item_nr_cell_width_invalid[]
0bc43a704f56 patch 8.2.1535: it is not possible to specify cell widths of characters
Bram Moolenaar <Bram@vim.org>
parents: 21913
diff changeset
596 INIT(= N_("E1112: List item %d cell width invalid"));
0bc43a704f56 patch 8.2.1535: it is not possible to specify cell widths of characters
Bram Moolenaar <Bram@vim.org>
parents: 21913
diff changeset
597 EXTERN char e_overlapping_ranges_for_nr[]
21975
2030f8267db9 patch 8.2.1537: memory acccess error when using setcellwidths()
Bram Moolenaar <Bram@vim.org>
parents: 21971
diff changeset
598 INIT(= N_("E1113: Overlapping ranges for 0x%lx"));
21971
0bc43a704f56 patch 8.2.1535: it is not possible to specify cell widths of characters
Bram Moolenaar <Bram@vim.org>
parents: 21913
diff changeset
599 EXTERN char e_only_values_of_0x100_and_higher_supported[]
0bc43a704f56 patch 8.2.1535: it is not possible to specify cell widths of characters
Bram Moolenaar <Bram@vim.org>
parents: 21913
diff changeset
600 INIT(= N_("E1114: Only values of 0x100 and higher supported"));
22165
c512e6f57ff2 patch 8.2.1632: not checking the context of test_fails()
Bram Moolenaar <Bram@vim.org>
parents: 21975
diff changeset
601 EXTERN char e_assert_fails_fourth_argument[]
22296
006b8ab9d554 patch 8.2.1697: inconsistent capitalization of error messages
Bram Moolenaar <Bram@vim.org>
parents: 22284
diff changeset
602 INIT(= N_("E1115: \"assert_fails()\" fourth argument must be a number"));
22165
c512e6f57ff2 patch 8.2.1632: not checking the context of test_fails()
Bram Moolenaar <Bram@vim.org>
parents: 21975
diff changeset
603 EXTERN char e_assert_fails_fifth_argument[]
22296
006b8ab9d554 patch 8.2.1697: inconsistent capitalization of error messages
Bram Moolenaar <Bram@vim.org>
parents: 22284
diff changeset
604 INIT(= N_("E1116: \"assert_fails()\" fifth argument must be a string"));
22216
f9b4576a618b patch 8.2.1657: Vim9: no proper error for nested ":def!"
Bram Moolenaar <Bram@vim.org>
parents: 22165
diff changeset
605 EXTERN char e_cannot_use_bang_with_nested_def[]
f9b4576a618b patch 8.2.1657: Vim9: no proper error for nested ":def!"
Bram Moolenaar <Bram@vim.org>
parents: 22165
diff changeset
606 INIT(= N_("E1117: Cannot use ! with nested :def"));
22272
eb1f5f618c75 patch 8.2.1685: Vim9: cannot declare a constant value
Bram Moolenaar <Bram@vim.org>
parents: 22216
diff changeset
607 EXTERN char e_cannot_change_list[]
eb1f5f618c75 patch 8.2.1685: Vim9: cannot declare a constant value
Bram Moolenaar <Bram@vim.org>
parents: 22216
diff changeset
608 INIT(= N_("E1118: Cannot change list"));
eb1f5f618c75 patch 8.2.1685: Vim9: cannot declare a constant value
Bram Moolenaar <Bram@vim.org>
parents: 22216
diff changeset
609 EXTERN char e_cannot_change_list_item[]
eb1f5f618c75 patch 8.2.1685: Vim9: cannot declare a constant value
Bram Moolenaar <Bram@vim.org>
parents: 22216
diff changeset
610 INIT(= N_("E1119: Cannot change list item"));
eb1f5f618c75 patch 8.2.1685: Vim9: cannot declare a constant value
Bram Moolenaar <Bram@vim.org>
parents: 22216
diff changeset
611 EXTERN char e_cannot_change_dict[]
eb1f5f618c75 patch 8.2.1685: Vim9: cannot declare a constant value
Bram Moolenaar <Bram@vim.org>
parents: 22216
diff changeset
612 INIT(= N_("E1120: Cannot change dict"));
eb1f5f618c75 patch 8.2.1685: Vim9: cannot declare a constant value
Bram Moolenaar <Bram@vim.org>
parents: 22216
diff changeset
613 EXTERN char e_cannot_change_dict_item[]
eb1f5f618c75 patch 8.2.1685: Vim9: cannot declare a constant value
Bram Moolenaar <Bram@vim.org>
parents: 22216
diff changeset
614 INIT(= N_("E1121: Cannot change dict item"));
22300
528bb8e6e877 patch 8.2.1699: build failure due to missing error message
Bram Moolenaar <Bram@vim.org>
parents: 22296
diff changeset
615 EXTERN char e_variable_is_locked_str[]
528bb8e6e877 patch 8.2.1699: build failure due to missing error message
Bram Moolenaar <Bram@vim.org>
parents: 22296
diff changeset
616 INIT(= N_("E1122: Variable is locked: %s"));
22341
fc3350a38389 patch 8.2.1719: Vim9: no error if comma is missing in between arguments
Bram Moolenaar <Bram@vim.org>
parents: 22300
diff changeset
617 EXTERN char e_missing_comma_before_argument_str[]
fc3350a38389 patch 8.2.1719: Vim9: no error if comma is missing in between arguments
Bram Moolenaar <Bram@vim.org>
parents: 22300
diff changeset
618 INIT(= N_("E1123: Missing comma before argument: %s"));
22391
a9fb7efa31d6 patch 8.2.1744: Vim9: using ":const!" is weird
Bram Moolenaar <Bram@vim.org>
parents: 22341
diff changeset
619 EXTERN char e_str_cannot_be_used_in_legacy_vim_script[]
a9fb7efa31d6 patch 8.2.1744: Vim9: using ":const!" is weird
Bram Moolenaar <Bram@vim.org>
parents: 22341
diff changeset
620 INIT(= N_("E1124: \"%s\" cannot be used in legacy Vim script"));
a9fb7efa31d6 patch 8.2.1744: Vim9: using ":const!" is weird
Bram Moolenaar <Bram@vim.org>
parents: 22341
diff changeset
621 EXTERN char e_final_requires_a_value[]
a9fb7efa31d6 patch 8.2.1744: Vim9: using ":const!" is weird
Bram Moolenaar <Bram@vim.org>
parents: 22341
diff changeset
622 INIT(= N_("E1125: Final requires a value"));
22415
1cefe1c013ac patch 8.2.1756: Vim9: :let will soon be disallowed
Bram Moolenaar <Bram@vim.org>
parents: 22391
diff changeset
623 EXTERN char e_cannot_use_let_in_vim9_script[]
1cefe1c013ac patch 8.2.1756: Vim9: :let will soon be disallowed
Bram Moolenaar <Bram@vim.org>
parents: 22391
diff changeset
624 INIT(= N_("E1126: Cannot use :let in Vim9 script"));
22482
a1b3804163ca patch 8.2.1789: Vim9: crash with invalid list constant
Bram Moolenaar <Bram@vim.org>
parents: 22415
diff changeset
625 EXTERN char e_missing_name_after_dot[]
a1b3804163ca patch 8.2.1789: Vim9: crash with invalid list constant
Bram Moolenaar <Bram@vim.org>
parents: 22415
diff changeset
626 INIT(= N_("E1127: Missing name after dot"));
22555
7d25264c246c patch 8.2.1826: Vim9: cannot use a {} block at script level
Bram Moolenaar <Bram@vim.org>
parents: 22482
diff changeset
627 EXTERN char e_endblock_without_block[]
7d25264c246c patch 8.2.1826: Vim9: cannot use a {} block at script level
Bram Moolenaar <Bram@vim.org>
parents: 22482
diff changeset
628 INIT(= N_("E1128: } without {"));
22612
b08f435d5b86 patch 8.2.1854: Vim9: crash when throwing exception for NULL string
Bram Moolenaar <Bram@vim.org>
parents: 22555
diff changeset
629 EXTERN char e_throw_with_empty_string[]
b08f435d5b86 patch 8.2.1854: Vim9: crash when throwing exception for NULL string
Bram Moolenaar <Bram@vim.org>
parents: 22555
diff changeset
630 INIT(= N_("E1129: Throw with empty string"));
22633
6589dae9696c patch 8.2.1865: Vim9: add() does not check type of argument
Bram Moolenaar <Bram@vim.org>
parents: 22614
diff changeset
631 EXTERN char e_cannot_add_to_null_list[]
6589dae9696c patch 8.2.1865: Vim9: add() does not check type of argument
Bram Moolenaar <Bram@vim.org>
parents: 22614
diff changeset
632 INIT(= N_("E1130: Cannot add to null list"));
22637
4d4042683371 patch 8.2.1867: Vim9: argument to add() not checked for blob
Bram Moolenaar <Bram@vim.org>
parents: 22633
diff changeset
633 EXTERN char e_cannot_add_to_null_blob[]
4d4042683371 patch 8.2.1867: Vim9: argument to add() not checked for blob
Bram Moolenaar <Bram@vim.org>
parents: 22633
diff changeset
634 INIT(= N_("E1131: Cannot add to null blob"));
22794
42bb78d46354 patch 8.2.1945: crash when passing NULL function to reduce()
Bram Moolenaar <Bram@vim.org>
parents: 22740
diff changeset
635 EXTERN char e_missing_function_argument[]
42bb78d46354 patch 8.2.1945: crash when passing NULL function to reduce()
Bram Moolenaar <Bram@vim.org>
parents: 22740
diff changeset
636 INIT(= N_("E1132: Missing function argument"));
22802
3e0f909ca1f2 patch 8.2.1949: Vim9: using extend() on null dict is silently ignored
Bram Moolenaar <Bram@vim.org>
parents: 22794
diff changeset
637 EXTERN char e_cannot_extend_null_dict[]
3e0f909ca1f2 patch 8.2.1949: Vim9: using extend() on null dict is silently ignored
Bram Moolenaar <Bram@vim.org>
parents: 22794
diff changeset
638 INIT(= N_("E1133: Cannot extend a null dict"));
3e0f909ca1f2 patch 8.2.1949: Vim9: using extend() on null dict is silently ignored
Bram Moolenaar <Bram@vim.org>
parents: 22794
diff changeset
639 EXTERN char e_cannot_extend_null_list[]
3e0f909ca1f2 patch 8.2.1949: Vim9: using extend() on null dict is silently ignored
Bram Moolenaar <Bram@vim.org>
parents: 22794
diff changeset
640 INIT(= N_("E1134: Cannot extend a null list"));
22860
53acb89ec9f2 patch 8.2.1977: Vim9: error for using a string in a condition is confusing
Bram Moolenaar <Bram@vim.org>
parents: 22802
diff changeset
641 EXTERN char e_using_string_as_bool_str[]
53acb89ec9f2 patch 8.2.1977: Vim9: error for using a string in a condition is confusing
Bram Moolenaar <Bram@vim.org>
parents: 22802
diff changeset
642 INIT(= N_("E1135: Using a String as a Bool: \"%s\""));
21789
f84625b961a8 patch 8.2.1444: error messages are spread out and names can be confusing
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
643 #endif
22862
6d50182e7e24 patch 8.2.1978: making a mapping work in all modes is complicated
Bram Moolenaar <Bram@vim.org>
parents: 22860
diff changeset
644 EXTERN char e_cmd_mapping_must_end_with_cr_before_second_cmd[]
26717
3f209f13883d patch 8.2.3887: E1135 is used for two different errors
Bram Moolenaar <Bram@vim.org>
parents: 26660
diff changeset
645 INIT(= N_("E1136: <Cmd> mapping must end with <CR> before second <Cmd>"));
22862
6d50182e7e24 patch 8.2.1978: making a mapping work in all modes is complicated
Bram Moolenaar <Bram@vim.org>
parents: 22860
diff changeset
646 EXTERN char e_cmd_maping_must_not_include_str_key[]
6d50182e7e24 patch 8.2.1978: making a mapping work in all modes is complicated
Bram Moolenaar <Bram@vim.org>
parents: 22860
diff changeset
647 INIT(= N_("E1137: <Cmd> mapping must not include %s key"));
22930
84567584951f patch 8.2.2012: Vim9: confusing error message when using bool wrongly
Bram Moolenaar <Bram@vim.org>
parents: 22862
diff changeset
648 EXTERN char e_using_bool_as_number[]
84567584951f patch 8.2.2012: Vim9: confusing error message when using bool wrongly
Bram Moolenaar <Bram@vim.org>
parents: 22862
diff changeset
649 INIT(= N_("E1138: Using a Bool as a Number"));
22936
00b0275ffe7f patch 8.2.2015: Vim9: literal dict #{} is not like any other language
Bram Moolenaar <Bram@vim.org>
parents: 22930
diff changeset
650 EXTERN char e_missing_matching_bracket_after_dict_key[]
00b0275ffe7f patch 8.2.2015: Vim9: literal dict #{} is not like any other language
Bram Moolenaar <Bram@vim.org>
parents: 22930
diff changeset
651 INIT(= N_("E1139: Missing matching bracket after dict key"));
22975
a943b175586a patch 8.2.2034: Vim9: list unpack in for statement not compiled yet
Bram Moolenaar <Bram@vim.org>
parents: 22936
diff changeset
652 EXTERN char e_for_argument_must_be_sequence_of_lists[]
25034
8d660d1cca8d patch 8.2.3054: Vim9: unpack assignment using "_" after semicolon fails
Bram Moolenaar <Bram@vim.org>
parents: 25022
diff changeset
653 INIT(= N_("E1140: :for argument must be a sequence of lists"));
23033
b98003d73150 patch 8.2.2063: Vim9: only one level of indexing supported
Bram Moolenaar <Bram@vim.org>
parents: 22975
diff changeset
654 EXTERN char e_indexable_type_required[]
b98003d73150 patch 8.2.2063: Vim9: only one level of indexing supported
Bram Moolenaar <Bram@vim.org>
parents: 22975
diff changeset
655 INIT(= N_("E1141: Indexable type required"));
23175
d7294a6220ac patch 8.2.2133: Vim9: checking for a non-empty string is too strict
Bram Moolenaar <Bram@vim.org>
parents: 23033
diff changeset
656 EXTERN char e_non_empty_string_required[]
d7294a6220ac patch 8.2.2133: Vim9: checking for a non-empty string is too strict
Bram Moolenaar <Bram@vim.org>
parents: 23033
diff changeset
657 INIT(= N_("E1142: Non-empty string required"));
23183
4d5d12138b36 patch 8.2.2137: Vim9: :echo and :execute give error for empty argument
Bram Moolenaar <Bram@vim.org>
parents: 23175
diff changeset
658 EXTERN char e_empty_expression_str[]
23185
055fa9db6f39 patch 8.2.2138: Vim9: "exit_cb" causes Vim to exit
Bram Moolenaar <Bram@vim.org>
parents: 23183
diff changeset
659 INIT(= N_("E1143: Empty expression: \"%s\""));
24543
b3bd27751e09 patch 8.2.2811: Vim9: error for missing white space doesn't say where
Bram Moolenaar <Bram@vim.org>
parents: 24490
diff changeset
660 EXTERN char e_command_str_not_followed_by_white_space_str[]
b3bd27751e09 patch 8.2.2811: Vim9: error for missing white space doesn't say where
Bram Moolenaar <Bram@vim.org>
parents: 24490
diff changeset
661 INIT(= N_("E1144: Command \"%s\" is not followed by white space: %s"));
23185
055fa9db6f39 patch 8.2.2138: Vim9: "exit_cb" causes Vim to exit
Bram Moolenaar <Bram@vim.org>
parents: 23183
diff changeset
662 EXTERN char e_missing_heredoc_end_marker_str[]
055fa9db6f39 patch 8.2.2138: Vim9: "exit_cb" causes Vim to exit
Bram Moolenaar <Bram@vim.org>
parents: 23183
diff changeset
663 INIT(= N_("E1145: Missing heredoc end marker: %s"));
23254
4b7e996354e0 patch 8.2.2173: Vim9: get internal error when assigning to undefined variable
Bram Moolenaar <Bram@vim.org>
parents: 23185
diff changeset
664 EXTERN char e_command_not_recognized_str[]
4b7e996354e0 patch 8.2.2173: Vim9: get internal error when assigning to undefined variable
Bram Moolenaar <Bram@vim.org>
parents: 23185
diff changeset
665 INIT(= N_("E1146: Command not recognized: %s"));
23266
00f7cd9b6033 patch 8.2.2179: Vim9: crash when indexing a dict with a number
Bram Moolenaar <Bram@vim.org>
parents: 23254
diff changeset
666 EXTERN char e_list_not_set[]
00f7cd9b6033 patch 8.2.2179: Vim9: crash when indexing a dict with a number
Bram Moolenaar <Bram@vim.org>
parents: 23254
diff changeset
667 INIT(= N_("E1147: List not set"));
00f7cd9b6033 patch 8.2.2179: Vim9: crash when indexing a dict with a number
Bram Moolenaar <Bram@vim.org>
parents: 23254
diff changeset
668 EXTERN char e_cannot_index_str[]
00f7cd9b6033 patch 8.2.2179: Vim9: crash when indexing a dict with a number
Bram Moolenaar <Bram@vim.org>
parents: 23254
diff changeset
669 INIT(= N_("E1148: Cannot index a %s"));
23330
e8eb4fd44902 patch 8.2.2208: Vim9: after reloading a script variable index may be invalid
Bram Moolenaar <Bram@vim.org>
parents: 23266
diff changeset
670 EXTERN char e_script_variable_invalid_after_reload_in_function_str[]
e8eb4fd44902 patch 8.2.2208: Vim9: after reloading a script variable index may be invalid
Bram Moolenaar <Bram@vim.org>
parents: 23266
diff changeset
671 INIT(= N_("E1149: Script variable is invalid after reload in function %s"));
23362
f181fe2150ab patch 8.2.2224: Vim9: crash if script reloaded with different variable type
Bram Moolenaar <Bram@vim.org>
parents: 23346
diff changeset
672 EXTERN char e_script_variable_type_changed[]
f181fe2150ab patch 8.2.2224: Vim9: crash if script reloaded with different variable type
Bram Moolenaar <Bram@vim.org>
parents: 23346
diff changeset
673 INIT(= N_("E1150: Script variable type changed"));
23442
f00d6ff51046 patch 8.2.2264: Vim9: no error for mismatched :endfunc or :enddef
Bram Moolenaar <Bram@vim.org>
parents: 23390
diff changeset
674 EXTERN char e_mismatched_endfunction[]
f00d6ff51046 patch 8.2.2264: Vim9: no error for mismatched :endfunc or :enddef
Bram Moolenaar <Bram@vim.org>
parents: 23390
diff changeset
675 INIT(= N_("E1151: Mismatched endfunction"));
f00d6ff51046 patch 8.2.2264: Vim9: no error for mismatched :endfunc or :enddef
Bram Moolenaar <Bram@vim.org>
parents: 23390
diff changeset
676 EXTERN char e_mismatched_enddef[]
f00d6ff51046 patch 8.2.2264: Vim9: no error for mismatched :endfunc or :enddef
Bram Moolenaar <Bram@vim.org>
parents: 23390
diff changeset
677 INIT(= N_("E1152: Mismatched enddef"));
25278
55c85c3a43a0 patch 8.2.3176: Vim9: no type error for comparing number with string
Bram Moolenaar <Bram@vim.org>
parents: 25272
diff changeset
678 EXTERN char e_invalid_operation_for_str[]
55c85c3a43a0 patch 8.2.3176: Vim9: no type error for comparing number with string
Bram Moolenaar <Bram@vim.org>
parents: 25272
diff changeset
679 INIT(= N_("E1153: Invalid operation for %s"));
23673
6d35bc0f161e patch 8.2.2378: Vim9: no error message for dividing by zero
Bram Moolenaar <Bram@vim.org>
parents: 23650
diff changeset
680 EXTERN char e_divide_by_zero[]
6d35bc0f161e patch 8.2.2378: Vim9: no error message for dividing by zero
Bram Moolenaar <Bram@vim.org>
parents: 23650
diff changeset
681 INIT(= N_("E1154: Divide by zero"));
23758
97296182d336 patch 8.2.2420: too many problems with using all autocommand events
Bram Moolenaar <Bram@vim.org>
parents: 23673
diff changeset
682 EXTERN char e_cannot_define_autocommands_for_all_events[]
97296182d336 patch 8.2.2420: too many problems with using all autocommand events
Bram Moolenaar <Bram@vim.org>
parents: 23673
diff changeset
683 INIT(= N_("E1155: Cannot define autocommands for ALL events"));
23764
c4208c7ba1cb patch 8.2.2423: missing error message
Bram Moolenaar <Bram@vim.org>
parents: 23758
diff changeset
684 EXTERN char e_cannot_change_arglist_recursively[]
c4208c7ba1cb patch 8.2.2423: missing error message
Bram Moolenaar <Bram@vim.org>
parents: 23758
diff changeset
685 INIT(= N_("E1156: Cannot change the argument list recursively"));
23808
baf9069f64ca patch 8.2.2445: Vim9: no proper error for lambda missing return type
Bram Moolenaar <Bram@vim.org>
parents: 23764
diff changeset
686 EXTERN char e_missing_return_type[]
baf9069f64ca patch 8.2.2445: Vim9: no proper error for lambda missing return type
Bram Moolenaar <Bram@vim.org>
parents: 23764
diff changeset
687 INIT(= N_("E1157: Missing return type"));
23816
525c9e218c69 patch 8.2.2449: Vim9: flatten() always changes the list type
Bram Moolenaar <Bram@vim.org>
parents: 23808
diff changeset
688 EXTERN char e_cannot_use_flatten_in_vim9_script[]
525c9e218c69 patch 8.2.2449: Vim9: flatten() always changes the list type
Bram Moolenaar <Bram@vim.org>
parents: 23808
diff changeset
689 INIT(= N_("E1158: Cannot use flatten() in Vim9 script"));
23869
5a4f9c5c1b99 patch 8.2.2476: using freed memory when splitting window while closing buffer
Bram Moolenaar <Bram@vim.org>
parents: 23816
diff changeset
690 EXTERN char e_cannot_split_window_when_closing_buffer[]
5a4f9c5c1b99 patch 8.2.2476: using freed memory when splitting window while closing buffer
Bram Moolenaar <Bram@vim.org>
parents: 23816
diff changeset
691 INIT(= N_("E1159: Cannot split a window when closing the buffer"));
23880
6559c0d6eb4c patch 8.2.2482: build error
Bram Moolenaar <Bram@vim.org>
parents: 23877
diff changeset
692 EXTERN char e_cannot_use_default_for_variable_arguments[]
6559c0d6eb4c patch 8.2.2482: build error
Bram Moolenaar <Bram@vim.org>
parents: 23877
diff changeset
693 INIT(= N_("E1160: Cannot use a default for variable arguments"));
23891
650070143c56 patch 8.2.2488: json_encode() gives generic argument error
Bram Moolenaar <Bram@vim.org>
parents: 23888
diff changeset
694 EXTERN char e_cannot_json_encode_str[]
650070143c56 patch 8.2.2488: json_encode() gives generic argument error
Bram Moolenaar <Bram@vim.org>
parents: 23888
diff changeset
695 INIT(= N_("E1161: Cannot json encode a %s"));
23909
5db7d275543c patch 8.2.2497: no error when using more than one character for a register
Bram Moolenaar <Bram@vim.org>
parents: 23891
diff changeset
696 EXTERN char e_register_name_must_be_one_char_str[]
5db7d275543c patch 8.2.2497: no error when using more than one character for a register
Bram Moolenaar <Bram@vim.org>
parents: 23891
diff changeset
697 INIT(= N_("E1162: Register name must be one character: %s"));
23917
4b417b776b95 patch 8.2.2501: not always clear where an error is reported
Bram Moolenaar <Bram@vim.org>
parents: 23909
diff changeset
698 EXTERN char e_variable_nr_type_mismatch_expected_str_but_got_str[]
4b417b776b95 patch 8.2.2501: not always clear where an error is reported
Bram Moolenaar <Bram@vim.org>
parents: 23909
diff changeset
699 INIT(= N_("E1163: Variable %d: type mismatch, expected %s but got %s"));
25326
cfbf40f749b0 patch 8.2.3200: Vim9: hard to guess where a type error is given
Bram Moolenaar <Bram@vim.org>
parents: 25320
diff changeset
700 EXTERN char e_variable_nr_type_mismatch_expected_str_but_got_str_in_str[]
cfbf40f749b0 patch 8.2.3200: Vim9: hard to guess where a type error is given
Bram Moolenaar <Bram@vim.org>
parents: 25320
diff changeset
701 INIT(= N_("E1163: Variable %d: type mismatch, expected %s but got %s in %s"));
23938
2a885d095bff patch 8.2.2511: Vim9: cannot use Vim9 script syntax in some places
Bram Moolenaar <Bram@vim.org>
parents: 23917
diff changeset
702 EXTERN char e_vim9cmd_must_be_followed_by_command[]
2a885d095bff patch 8.2.2511: Vim9: cannot use Vim9 script syntax in some places
Bram Moolenaar <Bram@vim.org>
parents: 23917
diff changeset
703 INIT(= N_("E1164: vim9cmd must be followed by a command"));
23982
9fcd71d0db89 patch 8.2.2533: Vim9: cannot use a range with :unlet
Bram Moolenaar <Bram@vim.org>
parents: 23938
diff changeset
704 EXTERN char e_cannot_use_range_with_assignment_str[]
9fcd71d0db89 patch 8.2.2533: Vim9: cannot use a range with :unlet
Bram Moolenaar <Bram@vim.org>
parents: 23938
diff changeset
705 INIT(= N_("E1165: Cannot use a range with an assignment: %s"));
9fcd71d0db89 patch 8.2.2533: Vim9: cannot use a range with :unlet
Bram Moolenaar <Bram@vim.org>
parents: 23938
diff changeset
706 EXTERN char e_cannot_use_range_with_dictionary[]
9fcd71d0db89 patch 8.2.2533: Vim9: cannot use a range with :unlet
Bram Moolenaar <Bram@vim.org>
parents: 23938
diff changeset
707 INIT(= N_("E1166: Cannot use a range with a dictionary"));
24033
308d29307910 patch 8.2.2558: no error if a lambda argument shadows a variable
Bram Moolenaar <Bram@vim.org>
parents: 23982
diff changeset
708 EXTERN char e_argument_name_shadows_existing_variable_str[]
308d29307910 patch 8.2.2558: no error if a lambda argument shadows a variable
Bram Moolenaar <Bram@vim.org>
parents: 23982
diff changeset
709 INIT(= N_("E1167: Argument name shadows existing variable: %s"));
308d29307910 patch 8.2.2558: no error if a lambda argument shadows a variable
Bram Moolenaar <Bram@vim.org>
parents: 23982
diff changeset
710 EXTERN char e_argument_already_declared_in_script_str[]
308d29307910 patch 8.2.2558: no error if a lambda argument shadows a variable
Bram Moolenaar <Bram@vim.org>
parents: 23982
diff changeset
711 INIT(= N_("E1168: Argument already declared in the script: %s"));
24112
0346a59ed5bf patch 8.2.2597: Vim9: "import * as" does not work at script level
Bram Moolenaar <Bram@vim.org>
parents: 24033
diff changeset
712 EXTERN char e_import_as_name_not_supported_here[]
0346a59ed5bf patch 8.2.2597: Vim9: "import * as" does not work at script level
Bram Moolenaar <Bram@vim.org>
parents: 24033
diff changeset
713 INIT(= N_("E1169: 'import * as {name}' not supported here"));
24158
93e69703a290 patch 8.2.2620: Vim9: Using #{ for a dictionary gives strange errors
Bram Moolenaar <Bram@vim.org>
parents: 24112
diff changeset
714 EXTERN char e_cannot_use_hash_curly_to_start_comment[]
24176
12378fbc99bc patch 8.2.2629: Vim9: error for #{{ is not desired
Bram Moolenaar <Bram@vim.org>
parents: 24158
diff changeset
715 INIT(= N_("E1170: Cannot use #{ to start a comment"));
24188
c20e763bc73c patch 8.2.2635: Vim9: cannot define an inline function
Bram Moolenaar <Bram@vim.org>
parents: 24176
diff changeset
716 EXTERN char e_missing_end_block[]
c20e763bc73c patch 8.2.2635: Vim9: cannot define an inline function
Bram Moolenaar <Bram@vim.org>
parents: 24176
diff changeset
717 INIT(= N_("E1171: Missing } after inline function"));
c20e763bc73c patch 8.2.2635: Vim9: cannot define an inline function
Bram Moolenaar <Bram@vim.org>
parents: 24176
diff changeset
718 EXTERN char e_cannot_use_default_values_in_lambda[]
c20e763bc73c patch 8.2.2635: Vim9: cannot define an inline function
Bram Moolenaar <Bram@vim.org>
parents: 24176
diff changeset
719 INIT(= N_("E1172: Cannot use default values in a lambda"));
24208
7a21b2581dce patch 8.2.2645: using inline function is not properly tested
Bram Moolenaar <Bram@vim.org>
parents: 24188
diff changeset
720 EXTERN char e_text_found_after_enddef_str[]
7a21b2581dce patch 8.2.2645: using inline function is not properly tested
Bram Moolenaar <Bram@vim.org>
parents: 24188
diff changeset
721 INIT(= N_("E1173: Text found after enddef: %s"));
24210
083f07f99e20 patch 8.2.2646: Vim9: error for not using string doesn't mentionargument
Bram Moolenaar <Bram@vim.org>
parents: 24208
diff changeset
722 EXTERN char e_string_required_for_argument_nr[]
083f07f99e20 patch 8.2.2646: Vim9: error for not using string doesn't mentionargument
Bram Moolenaar <Bram@vim.org>
parents: 24208
diff changeset
723 INIT(= N_("E1174: String required for argument %d"));
083f07f99e20 patch 8.2.2646: Vim9: error for not using string doesn't mentionargument
Bram Moolenaar <Bram@vim.org>
parents: 24208
diff changeset
724 EXTERN char e_non_empty_string_required_for_argument_nr[]
24224
115c0196588d patch 8.2.2653: build failure
Bram Moolenaar <Bram@vim.org>
parents: 24210
diff changeset
725 INIT(= N_("E1175: Non-empty string required for argument %d"));
115c0196588d patch 8.2.2653: build failure
Bram Moolenaar <Bram@vim.org>
parents: 24210
diff changeset
726 EXTERN char e_misplaced_command_modifier[]
115c0196588d patch 8.2.2653: build failure
Bram Moolenaar <Bram@vim.org>
parents: 24210
diff changeset
727 INIT(= N_("E1176: Misplaced command modifier"));
24234
7ffc795288dd patch 8.2.2658: :for cannot loop over a string
Bram Moolenaar <Bram@vim.org>
parents: 24224
diff changeset
728 EXTERN char e_for_loop_on_str_not_supported[]
7ffc795288dd patch 8.2.2658: :for cannot loop over a string
Bram Moolenaar <Bram@vim.org>
parents: 24224
diff changeset
729 INIT(= N_("E1177: For loop on %s not supported"));
24262
d0e86f1b34e7 patch 8.2.2672: Vim9: cannot use :lockvar and :unlockvar in compiled script
Bram Moolenaar <Bram@vim.org>
parents: 24234
diff changeset
730 EXTERN char e_cannot_lock_unlock_local_variable[]
d0e86f1b34e7 patch 8.2.2672: Vim9: cannot use :lockvar and :unlockvar in compiled script
Bram Moolenaar <Bram@vim.org>
parents: 24234
diff changeset
731 INIT(= N_("E1178: Cannot lock or unlock a local variable"));
24270
3564fd251bb6 patch 8.2.2676: missing error message
Bram Moolenaar <Bram@vim.org>
parents: 24262
diff changeset
732 EXTERN char e_failed_to_extract_pwd_from_str_check_your_shell_config[]
3564fd251bb6 patch 8.2.2676: missing error message
Bram Moolenaar <Bram@vim.org>
parents: 24262
diff changeset
733 INIT(= N_("E1179: Failed to extract PWD from %s, check your shell's config related to OSC 7"));
24400
62e978382fa0 patch 8.2.2740: Vim9: lambda with varargs doesn't work
Bram Moolenaar <Bram@vim.org>
parents: 24270
diff changeset
734 EXTERN char e_variable_arguments_type_must_be_list_str[]
62e978382fa0 patch 8.2.2740: Vim9: lambda with varargs doesn't work
Bram Moolenaar <Bram@vim.org>
parents: 24270
diff changeset
735 INIT(= N_("E1180: Variable arguments type must be a list: %s"));
24408
96e0b898d5b4 patch 8.2.2744: Vim9: no way to explicitly ignore an argument
Bram Moolenaar <Bram@vim.org>
parents: 24400
diff changeset
736 EXTERN char e_cannot_use_underscore_here[]
96e0b898d5b4 patch 8.2.2744: Vim9: no way to explicitly ignore an argument
Bram Moolenaar <Bram@vim.org>
parents: 24400
diff changeset
737 INIT(= N_("E1181: Cannot use an underscore here"));
24434
602e528a8e43 patch 8.2.2757: Vim9: blob tests for legacy and Vim9 script are separate
Bram Moolenaar <Bram@vim.org>
parents: 24408
diff changeset
738 EXTERN char e_blob_required[]
602e528a8e43 patch 8.2.2757: Vim9: blob tests for legacy and Vim9 script are separate
Bram Moolenaar <Bram@vim.org>
parents: 24408
diff changeset
739 INIT(= N_("E1182: Blob required"));
24450
3e1886f1e875 patch 8.2.2765: Vim9: not all blob operations work
Bram Moolenaar <Bram@vim.org>
parents: 24434
diff changeset
740 EXTERN char e_cannot_use_range_with_assignment_operator_str[]
3e1886f1e875 patch 8.2.2765: Vim9: not all blob operations work
Bram Moolenaar <Bram@vim.org>
parents: 24434
diff changeset
741 INIT(= N_("E1183: Cannot use a range with an assignment operator: %s"));
24475
96905804bf5a patch 8.2.2777: Vim9: blob operations not tested in all ways
Bram Moolenaar <Bram@vim.org>
parents: 24450
diff changeset
742 EXTERN char e_blob_not_set[]
96905804bf5a patch 8.2.2777: Vim9: blob operations not tested in all ways
Bram Moolenaar <Bram@vim.org>
parents: 24450
diff changeset
743 INIT(= N_("E1184: Blob not set"));
24490
08050e45bd06 patch 8.2.2785: Vim9: cannot redirect to local variable
Bram Moolenaar <Bram@vim.org>
parents: 24475
diff changeset
744 EXTERN char e_cannot_nest_redir[]
08050e45bd06 patch 8.2.2785: Vim9: cannot redirect to local variable
Bram Moolenaar <Bram@vim.org>
parents: 24475
diff changeset
745 INIT(= N_("E1185: Cannot nest :redir"));
08050e45bd06 patch 8.2.2785: Vim9: cannot redirect to local variable
Bram Moolenaar <Bram@vim.org>
parents: 24475
diff changeset
746 EXTERN char e_missing_redir_end[]
08050e45bd06 patch 8.2.2785: Vim9: cannot redirect to local variable
Bram Moolenaar <Bram@vim.org>
parents: 24475
diff changeset
747 INIT(= N_("E1185: Missing :redir END"));
24614
07b3d21a8b4b patch 8.2.2846: Vim9: "echo Func()" does not give an error for using void
Bram Moolenaar <Bram@vim.org>
parents: 24543
diff changeset
748 EXTERN char e_expression_does_not_result_in_value_str[]
07b3d21a8b4b patch 8.2.2846: Vim9: "echo Func()" does not give an error for using void
Bram Moolenaar <Bram@vim.org>
parents: 24543
diff changeset
749 INIT(= N_("E1186: Expression does not result in a value: %s"));
24733
08eced3add83 patch 8.2.2905: no error when defaults.vim cannot be loaded
Bram Moolenaar <Bram@vim.org>
parents: 24614
diff changeset
750 EXTERN char e_failed_to_source_defaults[]
08eced3add83 patch 8.2.2905: no error when defaults.vim cannot be loaded
Bram Moolenaar <Bram@vim.org>
parents: 24614
diff changeset
751 INIT(= N_("E1187: Failed to source defaults.vim"));
24739
68e3adbeaf20 patch 8.2.2908: crash when using a terminal popup window from cmdline window
Bram Moolenaar <Bram@vim.org>
parents: 24733
diff changeset
752 EXTERN char e_cannot_open_terminal_from_command_line_window[]
68e3adbeaf20 patch 8.2.2908: crash when using a terminal popup window from cmdline window
Bram Moolenaar <Bram@vim.org>
parents: 24733
diff changeset
753 INIT(= N_("E1188: Cannot open a terminal from the command line window"));
24776
7464d4c927f5 patch 8.2.2926: Vim9: no good error for using :legacy in a :def function
Bram Moolenaar <Bram@vim.org>
parents: 24739
diff changeset
754 EXTERN char e_cannot_use_legacy_with_command_str[]
7464d4c927f5 patch 8.2.2926: Vim9: no good error for using :legacy in a :def function
Bram Moolenaar <Bram@vim.org>
parents: 24739
diff changeset
755 INIT(= N_("E1189: Cannot use :legacy with this command: %s"));
24808
0bc60e26a2b5 patch 8.2.2942: Vim9: error when calling function with too few arguments
Bram Moolenaar <Bram@vim.org>
parents: 24776
diff changeset
756 EXTERN char e_one_argument_too_few[]
0bc60e26a2b5 patch 8.2.2942: Vim9: error when calling function with too few arguments
Bram Moolenaar <Bram@vim.org>
parents: 24776
diff changeset
757 INIT(= N_("E1190: One argument too few"));
0bc60e26a2b5 patch 8.2.2942: Vim9: error when calling function with too few arguments
Bram Moolenaar <Bram@vim.org>
parents: 24776
diff changeset
758 EXTERN char e_nr_arguments_too_few[]
0bc60e26a2b5 patch 8.2.2942: Vim9: error when calling function with too few arguments
Bram Moolenaar <Bram@vim.org>
parents: 24776
diff changeset
759 INIT(= N_("E1190: %d arguments too few"));
24854
c9ccb1976049 patch 8.2.2965: Vim9: crash when calling function that failed to compile
Bram Moolenaar <Bram@vim.org>
parents: 24808
diff changeset
760 EXTERN char e_call_to_function_that_failed_to_compile_str[]
c9ccb1976049 patch 8.2.2965: Vim9: crash when calling function that failed to compile
Bram Moolenaar <Bram@vim.org>
parents: 24808
diff changeset
761 INIT(= N_("E1191: Call to function that failed to compile: %s"));
24878
f67773e26cfa patch 8.2.2977: crash when using a null function reference
Bram Moolenaar <Bram@vim.org>
parents: 24854
diff changeset
762 EXTERN char e_empty_function_name[]
f67773e26cfa patch 8.2.2977: crash when using a null function reference
Bram Moolenaar <Bram@vim.org>
parents: 24854
diff changeset
763 INIT(= N_("E1192: Empty function name"));
24970
7e9e53a0368f patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents: 24878
diff changeset
764 // libsodium
7e9e53a0368f patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents: 24878
diff changeset
765 EXTERN char e_libsodium_not_built_in[]
7e9e53a0368f patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents: 24878
diff changeset
766 INIT(= N_("E1193: cryptmethod xchacha20 not built into this Vim"));
7e9e53a0368f patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents: 24878
diff changeset
767 EXTERN char e_libsodium_cannot_encrypt_header[]
7e9e53a0368f patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents: 24878
diff changeset
768 INIT(= N_("E1194: Cannot encrypt header, not enough space"));
7e9e53a0368f patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents: 24878
diff changeset
769 EXTERN char e_libsodium_cannot_encrypt_buffer[]
7e9e53a0368f patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents: 24878
diff changeset
770 INIT(= N_("E1195: Cannot encrypt buffer, not enough space"));
7e9e53a0368f patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents: 24878
diff changeset
771 EXTERN char e_libsodium_cannot_decrypt_header[]
7e9e53a0368f patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents: 24878
diff changeset
772 INIT(= N_("E1196: Cannot decrypt header, not enough space"));
7e9e53a0368f patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents: 24878
diff changeset
773 EXTERN char e_libsodium_cannot_allocate_buffer[]
7e9e53a0368f patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents: 24878
diff changeset
774 INIT(= N_("E1197: Cannot allocate_buffer for encryption"));
7e9e53a0368f patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents: 24878
diff changeset
775 EXTERN char e_libsodium_decryption_failed_header_incomplete[]
7e9e53a0368f patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents: 24878
diff changeset
776 INIT(= N_("E1198: Decryption failed: Header incomplete!"));
7e9e53a0368f patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents: 24878
diff changeset
777 EXTERN char e_libsodium_cannot_decrypt_buffer[]
7e9e53a0368f patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents: 24878
diff changeset
778 INIT(= N_("E1199: Cannot decrypt buffer, not enough space"));
24986
fa31a0ea09e1 patch 8.2.3030: Coverity reports a memory leak
Bram Moolenaar <Bram@vim.org>
parents: 24970
diff changeset
779 EXTERN char e_libsodium_decryption_failed[]
24990
85d1e82ed134 patch 8.2.3032: build problems with MSVC, other crypt issues with libsodium
Bram Moolenaar <Bram@vim.org>
parents: 24986
diff changeset
780 INIT(= N_("E1200: Decryption failed!"));
24986
fa31a0ea09e1 patch 8.2.3030: Coverity reports a memory leak
Bram Moolenaar <Bram@vim.org>
parents: 24970
diff changeset
781 EXTERN char e_libsodium_decryption_failed_premature[]
24970
7e9e53a0368f patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents: 24878
diff changeset
782 INIT(= N_("E1201: Decryption failed: pre-mature end of file!"));
25022
39551b6e0112 patch 8.2.3048: strange error for white space after ++ command
Bram Moolenaar <Bram@vim.org>
parents: 24990
diff changeset
783 EXTERN char e_no_white_space_allowed_after_str_str[]
39551b6e0112 patch 8.2.3048: strange error for white space after ++ command
Bram Moolenaar <Bram@vim.org>
parents: 24990
diff changeset
784 INIT(= N_("E1202: No white space allowed after '%s': %s"));
25036
3b8d3b383fd6 patch 8.2.3055: strange error for assigning to "x.key" on non-dictionary
Bram Moolenaar <Bram@vim.org>
parents: 25034
diff changeset
785 EXTERN char e_dot_can_only_be_used_on_dictionary_str[]
3b8d3b383fd6 patch 8.2.3055: strange error for assigning to "x.key" on non-dictionary
Bram Moolenaar <Bram@vim.org>
parents: 25034
diff changeset
786 INIT(= N_("E1203: Dot can only be used on a dictionary: %s"));
25147
10b269321459 patch 8.2.3110: a pattern that matches the cursor position is complicated
Bram Moolenaar <Bram@vim.org>
parents: 25064
diff changeset
787 EXTERN char e_regexp_number_after_dot_pos_search[]
10b269321459 patch 8.2.3110: a pattern that matches the cursor position is complicated
Bram Moolenaar <Bram@vim.org>
parents: 25064
diff changeset
788 INIT(= N_("E1204: No Number allowed after .: '\\%%%c'"));
25174
b32c83317492 patch 8.2.3123: Vim9: confusing error when using white space after option
Bram Moolenaar <Bram@vim.org>
parents: 25147
diff changeset
789 EXTERN char e_no_white_space_allowed_between_option_and[]
b32c83317492 patch 8.2.3123: Vim9: confusing error when using white space after option
Bram Moolenaar <Bram@vim.org>
parents: 25147
diff changeset
790 INIT(= N_("E1205: No white space allowed between option and"));
25198
eafc0e07b188 patch 8.2.3135: Vim9: builtin function arguments not checked at compile time
Bram Moolenaar <Bram@vim.org>
parents: 25174
diff changeset
791 EXTERN char e_dict_required_for_argument_nr[]
eafc0e07b188 patch 8.2.3135: Vim9: builtin function arguments not checked at compile time
Bram Moolenaar <Bram@vim.org>
parents: 25174
diff changeset
792 INIT(= N_("E1206: Dictionary required for argument %d"));
25202
e5d85e83a887 patch 8.2.3137: Vim9: no error when a line only has a variable name
Bram Moolenaar <Bram@vim.org>
parents: 25198
diff changeset
793 EXTERN char e_expression_without_effect_str[]
e5d85e83a887 patch 8.2.3137: Vim9: no error when a line only has a variable name
Bram Moolenaar <Bram@vim.org>
parents: 25198
diff changeset
794 INIT(= N_("E1207: Expression without an effect: %s"));
25491
b9419c9d3da6 patch 8.2.3282: Vim9: error about using -complete without -nargs is confusing
Bram Moolenaar <Bram@vim.org>
parents: 25443
diff changeset
795 EXTERN char e_complete_used_without_allowing_arguments[]
b9419c9d3da6 patch 8.2.3282: Vim9: error about using -complete without -nargs is confusing
Bram Moolenaar <Bram@vim.org>
parents: 25443
diff changeset
796 INIT(= N_("E1208: -complete used without allowing arguments"));
25216
9ead67e3c696 patch 8.2.3144: Vim9: no error when using an invalid value for a line number
Bram Moolenaar <Bram@vim.org>
parents: 25210
diff changeset
797 EXTERN char e_invalid_value_for_line_number_str[]
9ead67e3c696 patch 8.2.3144: Vim9: no error when using an invalid value for a line number
Bram Moolenaar <Bram@vim.org>
parents: 25210
diff changeset
798 INIT(= N_("E1209: Invalid value for a line number: \"%s\""));
25252
acda780ffc3e patch 8.2.3162: Vim9: argument types are not checked at compile time
Bram Moolenaar <Bram@vim.org>
parents: 25216
diff changeset
799 EXTERN char e_number_required_for_argument_nr[]
acda780ffc3e patch 8.2.3162: Vim9: argument types are not checked at compile time
Bram Moolenaar <Bram@vim.org>
parents: 25216
diff changeset
800 INIT(= N_("E1210: Number required for argument %d"));
25272
712e867f9721 patch 8.2.3173: Vim9: argument types are not checked at compile time
Bram Moolenaar <Bram@vim.org>
parents: 25252
diff changeset
801 EXTERN char e_list_required_for_argument_nr[]
712e867f9721 patch 8.2.3173: Vim9: argument types are not checked at compile time
Bram Moolenaar <Bram@vim.org>
parents: 25252
diff changeset
802 INIT(= N_("E1211: List required for argument %d"));
712e867f9721 patch 8.2.3173: Vim9: argument types are not checked at compile time
Bram Moolenaar <Bram@vim.org>
parents: 25252
diff changeset
803 EXTERN char e_bool_required_for_argument_nr[]
25292
eaf013720ec8 patch 8.2.3183: duplicate error numbers
Bram Moolenaar <Bram@vim.org>
parents: 25284
diff changeset
804 INIT(= N_("E1212: Bool required for argument %d"));
25284
29191571eceb patch 8.2.3179: Vim9: cannot assign to an imported variable at script level
Bram Moolenaar <Bram@vim.org>
parents: 25278
diff changeset
805 EXTERN char e_redefining_imported_item_str[]
25298
90fa50a31994 patch 8.2.3186: Vim9: not all failures for import tested
Bram Moolenaar <Bram@vim.org>
parents: 25294
diff changeset
806 INIT(= N_("E1213: Redefining imported item \"%s\""));
25294
c626fd34b66f patch 8.2.3184: cannot add a digraph with a leading space
Bram Moolenaar <Bram@vim.org>
parents: 25292
diff changeset
807 #if defined(FEAT_DIGRAPHS) && defined(FEAT_EVAL)
c626fd34b66f patch 8.2.3184: cannot add a digraph with a leading space
Bram Moolenaar <Bram@vim.org>
parents: 25292
diff changeset
808 EXTERN char e_digraph_must_be_just_two_characters_str[]
c626fd34b66f patch 8.2.3184: cannot add a digraph with a leading space
Bram Moolenaar <Bram@vim.org>
parents: 25292
diff changeset
809 INIT(= N_("E1214: Digraph must be just two characters: %s"));
c626fd34b66f patch 8.2.3184: cannot add a digraph with a leading space
Bram Moolenaar <Bram@vim.org>
parents: 25292
diff changeset
810 EXTERN char e_digraph_argument_must_be_one_character_str[]
c626fd34b66f patch 8.2.3184: cannot add a digraph with a leading space
Bram Moolenaar <Bram@vim.org>
parents: 25292
diff changeset
811 INIT(= N_("E1215: Digraph must be one character: %s"));
25378
890fd8211202 patch 8.2.3226: new digraph functions use old naming scheme
Bram Moolenaar <Bram@vim.org>
parents: 25338
diff changeset
812 EXTERN char e_digraph_setlist_argument_must_be_list_of_lists_with_two_items[]
890fd8211202 patch 8.2.3226: new digraph functions use old naming scheme
Bram Moolenaar <Bram@vim.org>
parents: 25338
diff changeset
813 INIT(= N_("E1216: digraph_setlist() argument must be a list of lists with two items"));
25294
c626fd34b66f patch 8.2.3184: cannot add a digraph with a leading space
Bram Moolenaar <Bram@vim.org>
parents: 25292
diff changeset
814 #endif
25302
4d3c68196d05 patch 8.2.3188: Vim9: argument types are not checked at compile time
Bram Moolenaar <Bram@vim.org>
parents: 25298
diff changeset
815 EXTERN char e_chan_or_job_required_for_argument_nr[]
25338
e2be9f3c5907 patch 8.2.3206: Vim9: argument types are not checked at compile time
Bram Moolenaar <Bram@vim.org>
parents: 25326
diff changeset
816 INIT(= N_("E1217: Channel or Job required for argument %d"));
25302
4d3c68196d05 patch 8.2.3188: Vim9: argument types are not checked at compile time
Bram Moolenaar <Bram@vim.org>
parents: 25298
diff changeset
817 EXTERN char e_job_required_for_argument_nr[]
25338
e2be9f3c5907 patch 8.2.3206: Vim9: argument types are not checked at compile time
Bram Moolenaar <Bram@vim.org>
parents: 25326
diff changeset
818 INIT(= N_("E1218: Job required for argument %d"));
25384
e8e2c4d33b9b patch 8.2.3229: Vim9: runtime and compile time type checks are not the same
Bram Moolenaar <Bram@vim.org>
parents: 25378
diff changeset
819 EXTERN char e_float_or_number_required_for_argument_nr[]
e8e2c4d33b9b patch 8.2.3229: Vim9: runtime and compile time type checks are not the same
Bram Moolenaar <Bram@vim.org>
parents: 25378
diff changeset
820 INIT(= N_("E1219: Float or Number required for argument %d"));
e8e2c4d33b9b patch 8.2.3229: Vim9: runtime and compile time type checks are not the same
Bram Moolenaar <Bram@vim.org>
parents: 25378
diff changeset
821 EXTERN char e_string_or_number_required_for_argument_nr[]
e8e2c4d33b9b patch 8.2.3229: Vim9: runtime and compile time type checks are not the same
Bram Moolenaar <Bram@vim.org>
parents: 25378
diff changeset
822 INIT(= N_("E1220: String or Number required for argument %d"));
e8e2c4d33b9b patch 8.2.3229: Vim9: runtime and compile time type checks are not the same
Bram Moolenaar <Bram@vim.org>
parents: 25378
diff changeset
823 EXTERN char e_string_or_blob_required_for_argument_nr[]
e8e2c4d33b9b patch 8.2.3229: Vim9: runtime and compile time type checks are not the same
Bram Moolenaar <Bram@vim.org>
parents: 25378
diff changeset
824 INIT(= N_("E1221: String or Blob required for argument %d"));
e8e2c4d33b9b patch 8.2.3229: Vim9: runtime and compile time type checks are not the same
Bram Moolenaar <Bram@vim.org>
parents: 25378
diff changeset
825 EXTERN char e_string_or_list_required_for_argument_nr[]
e8e2c4d33b9b patch 8.2.3229: Vim9: runtime and compile time type checks are not the same
Bram Moolenaar <Bram@vim.org>
parents: 25378
diff changeset
826 INIT(= N_("E1222: String or List required for argument %d"));
e8e2c4d33b9b patch 8.2.3229: Vim9: runtime and compile time type checks are not the same
Bram Moolenaar <Bram@vim.org>
parents: 25378
diff changeset
827 EXTERN char e_string_or_dict_required_for_argument_nr[]
25443
9ed6587bcc0f patch 8.2.3258: error messages have the wrong text
Bram Moolenaar <Bram@vim.org>
parents: 25417
diff changeset
828 INIT(= N_("E1223: String or Dictionary required for argument %d"));
9ed6587bcc0f patch 8.2.3258: error messages have the wrong text
Bram Moolenaar <Bram@vim.org>
parents: 25417
diff changeset
829 EXTERN char e_string_number_or_list_required_for_argument_nr[]
9ed6587bcc0f patch 8.2.3258: error messages have the wrong text
Bram Moolenaar <Bram@vim.org>
parents: 25417
diff changeset
830 INIT(= N_("E1224: String, Number or List required for argument %d"));
9ed6587bcc0f patch 8.2.3258: error messages have the wrong text
Bram Moolenaar <Bram@vim.org>
parents: 25417
diff changeset
831 EXTERN char e_string_list_or_dict_required_for_argument_nr[]
9ed6587bcc0f patch 8.2.3258: error messages have the wrong text
Bram Moolenaar <Bram@vim.org>
parents: 25417
diff changeset
832 INIT(= N_("E1225: String, List or Dictionary required for argument %d"));
25384
e8e2c4d33b9b patch 8.2.3229: Vim9: runtime and compile time type checks are not the same
Bram Moolenaar <Bram@vim.org>
parents: 25378
diff changeset
833 EXTERN char e_list_or_blob_required_for_argument_nr[]
25443
9ed6587bcc0f patch 8.2.3258: error messages have the wrong text
Bram Moolenaar <Bram@vim.org>
parents: 25417
diff changeset
834 INIT(= N_("E1226: List or Blob required for argument %d"));
25384
e8e2c4d33b9b patch 8.2.3229: Vim9: runtime and compile time type checks are not the same
Bram Moolenaar <Bram@vim.org>
parents: 25378
diff changeset
835 EXTERN char e_list_or_dict_required_for_argument_nr[]
e8e2c4d33b9b patch 8.2.3229: Vim9: runtime and compile time type checks are not the same
Bram Moolenaar <Bram@vim.org>
parents: 25378
diff changeset
836 INIT(= N_("E1227: List or Dictionary required for argument %d"));
25443
9ed6587bcc0f patch 8.2.3258: error messages have the wrong text
Bram Moolenaar <Bram@vim.org>
parents: 25417
diff changeset
837 EXTERN char e_list_dict_or_blob_required_for_argument_nr[]
9ed6587bcc0f patch 8.2.3258: error messages have the wrong text
Bram Moolenaar <Bram@vim.org>
parents: 25417
diff changeset
838 INIT(= N_("E1228: List, Dictionary or Blob required for argument %d"));
25403
9203b28ab453 patch 8.2.3238: Vim9: error message does not indicate the location
Bram Moolenaar <Bram@vim.org>
parents: 25388
diff changeset
839 EXTERN char e_expected_dictionary_for_using_key_str_but_got_str[]
9203b28ab453 patch 8.2.3238: Vim9: error message does not indicate the location
Bram Moolenaar <Bram@vim.org>
parents: 25388
diff changeset
840 INIT(= N_("E1229: Expected dictionary for using key \"%s\", but got %s"));
25417
1919361a53da patch 8.2.3245: the crypt key may appear in a swap partition
Bram Moolenaar <Bram@vim.org>
parents: 25403
diff changeset
841 EXTERN char e_encryption_sodium_mlock_failed[]
25521
2063b858cad9 patch 8.2.3297: cannot use all commands inside a {} block
Bram Moolenaar <Bram@vim.org>
parents: 25495
diff changeset
842 INIT(= N_("E1230: Encryption: sodium_mlock() failed"));
2063b858cad9 patch 8.2.3297: cannot use all commands inside a {} block
Bram Moolenaar <Bram@vim.org>
parents: 25495
diff changeset
843 EXTERN char e_cannot_use_bar_to_separate_commands_here_str[]
2063b858cad9 patch 8.2.3297: cannot use all commands inside a {} block
Bram Moolenaar <Bram@vim.org>
parents: 25495
diff changeset
844 INIT(= N_("E1231: Cannot use a bar to separate commands here: %s"));
25555
446f478d6fb1 patch 8.2.3314: behavior of exists() in a :def function is unpredictable
Bram Moolenaar <Bram@vim.org>
parents: 25521
diff changeset
845 EXTERN char e_argument_of_exists_compiled_must_be_literal_string[]
446f478d6fb1 patch 8.2.3314: behavior of exists() in a :def function is unpredictable
Bram Moolenaar <Bram@vim.org>
parents: 25521
diff changeset
846 INIT(= N_("E1232: Argument of exists_compiled() must be a literal string"));
446f478d6fb1 patch 8.2.3314: behavior of exists() in a :def function is unpredictable
Bram Moolenaar <Bram@vim.org>
parents: 25521
diff changeset
847 EXTERN char e_exists_compiled_can_only_be_used_in_def_function[]
446f478d6fb1 patch 8.2.3314: behavior of exists() in a :def function is unpredictable
Bram Moolenaar <Bram@vim.org>
parents: 25521
diff changeset
848 INIT(= N_("E1233: exists_compiled() can only be used in a :def function"));
25622
15b54e0a576b patch 8.2.3347: check for legacy script is incomplete
Bram Moolenaar <Bram@vim.org>
parents: 25555
diff changeset
849 EXTERN char e_legacy_must_be_followed_by_command[]
15b54e0a576b patch 8.2.3347: check for legacy script is incomplete
Bram Moolenaar <Bram@vim.org>
parents: 25555
diff changeset
850 INIT(= N_("E1234: legacy must be followed by a command"));
25646
99fbffe75217 patch 8.2.3359: Vim9: error for type when variable is not set
Bram Moolenaar <Bram@vim.org>
parents: 25622
diff changeset
851 EXTERN char e_function_reference_is_not_set[]
99fbffe75217 patch 8.2.3359: Vim9: error for type when variable is not set
Bram Moolenaar <Bram@vim.org>
parents: 25622
diff changeset
852 INIT(= N_("E1235: Function reference is not set"));
25751
fc8046209eaa patch 8.2.3411: Vim9: crash when using base name of import
Bram Moolenaar <Bram@vim.org>
parents: 25646
diff changeset
853 EXTERN char e_cannot_use_str_itself_it_is_imported_with_star[]
fc8046209eaa patch 8.2.3411: Vim9: crash when using base name of import
Bram Moolenaar <Bram@vim.org>
parents: 25646
diff changeset
854 INIT(= N_("E1236: Cannot use %s itself, it is imported with '*'"));
25796
60e4892dfa45 patch 8.2.3433: :delcommand does not take a -buffer option
Bram Moolenaar <Bram@vim.org>
parents: 25755
diff changeset
855 EXTERN char e_no_such_user_defined_command_in_current_buffer_str[]
60e4892dfa45 patch 8.2.3433: :delcommand does not take a -buffer option
Bram Moolenaar <Bram@vim.org>
parents: 25755
diff changeset
856 INIT(= N_("E1237: No such user-defined command in current buffer: %s"));
25806
8d55e978f95b patch 8.2.3438: cannot manipulate blobs
Bram Moolenaar <Bram@vim.org>
parents: 25796
diff changeset
857 EXTERN char e_blob_required_for_argument_nr[]
8d55e978f95b patch 8.2.3438: cannot manipulate blobs
Bram Moolenaar <Bram@vim.org>
parents: 25796
diff changeset
858 INIT(= N_("E1238: Blob required for argument %d"));
8d55e978f95b patch 8.2.3438: cannot manipulate blobs
Bram Moolenaar <Bram@vim.org>
parents: 25796
diff changeset
859 EXTERN char e_invalid_value_for_blob_nr[]
8d55e978f95b patch 8.2.3438: cannot manipulate blobs
Bram Moolenaar <Bram@vim.org>
parents: 25796
diff changeset
860 INIT(= N_("E1239: Invalid value for blob: %d"));
25917
79a5c8238a5d patch 8.2.3492: crash when pasting too many times
Bram Moolenaar <Bram@vim.org>
parents: 25806
diff changeset
861 EXTERN char e_resulting_text_too_long[]
79a5c8238a5d patch 8.2.3492: crash when pasting too many times
Bram Moolenaar <Bram@vim.org>
parents: 25806
diff changeset
862 INIT(= N_("E1240: Resulting text too long"));
25939
377a7686a52f patch 8.2.3503: Vim9: using g:pat:cmd is confusing
Bram Moolenaar <Bram@vim.org>
parents: 25917
diff changeset
863 EXTERN char e_separator_not_supported_str[]
377a7686a52f patch 8.2.3503: Vim9: using g:pat:cmd is confusing
Bram Moolenaar <Bram@vim.org>
parents: 25917
diff changeset
864 INIT(= N_("E1241: Separator not supported: %s"));
377a7686a52f patch 8.2.3503: Vim9: using g:pat:cmd is confusing
Bram Moolenaar <Bram@vim.org>
parents: 25917
diff changeset
865 EXTERN char e_no_white_space_allowed_before_separator_str[]
377a7686a52f patch 8.2.3503: Vim9: using g:pat:cmd is confusing
Bram Moolenaar <Bram@vim.org>
parents: 25917
diff changeset
866 INIT(= N_("E1242: No white space allowed before separator: %s"));
25982
aade8ef975d5 patch 8.2.3524: GUI: ligatures are not used
Bram Moolenaar <Bram@vim.org>
parents: 25939
diff changeset
867 EXTERN char e_ascii_code_not_in_range[]
aade8ef975d5 patch 8.2.3524: GUI: ligatures are not used
Bram Moolenaar <Bram@vim.org>
parents: 25939
diff changeset
868 INIT(= N_("E1243: ASCII code not in 32-127 range"));
26057
92c424550367 patch 8.2.3562: cannot add color names
Bram Moolenaar <Bram@vim.org>
parents: 26024
diff changeset
869 EXTERN char e_bad_color_string_str[]
92c424550367 patch 8.2.3562: cannot add color names
Bram Moolenaar <Bram@vim.org>
parents: 26024
diff changeset
870 INIT(= N_("E1244: Bad color string: %s"));
26230
8b8470b511f5 patch 8.2.3646: using <sfile> in a function gives an unexpected result
Bram Moolenaar <Bram@vim.org>
parents: 26057
diff changeset
871 EXTERN char e_cannot_expand_sfile_in_vim9_function[]
8b8470b511f5 patch 8.2.3646: using <sfile> in a function gives an unexpected result
Bram Moolenaar <Bram@vim.org>
parents: 26057
diff changeset
872 INIT(= N_("E1245: Cannot expand <sfile> in a Vim9 function"));
26240
640b62dbf6cb patch 8.2.3651: Vim9: no error for :lock or :unlock with unknown variable
Bram Moolenaar <Bram@vim.org>
parents: 26230
diff changeset
873 EXTERN char e_cannot_find_variable_to_unlock_str[]
640b62dbf6cb patch 8.2.3651: Vim9: no error for :lock or :unlock with unknown variable
Bram Moolenaar <Bram@vim.org>
parents: 26230
diff changeset
874 INIT(= N_("E1246: Cannot find variable to (un)lock: %s"));
26256
92fbed13ca4d patch 8.2.3659: integer overflow with large line number
Bram Moolenaar <Bram@vim.org>
parents: 26240
diff changeset
875 EXTERN char e_line_number_out_of_range[]
92fbed13ca4d patch 8.2.3659: integer overflow with large line number
Bram Moolenaar <Bram@vim.org>
parents: 26240
diff changeset
876 INIT(= N_("E1247: Line number out of range"));
26378
a926ccd92ae1 patch 8.2.3720: Vim9: Internal error when invoking closure in legacy context
Bram Moolenaar <Bram@vim.org>
parents: 26346
diff changeset
877 EXTERN char e_closure_called_from_invalid_context[]
a926ccd92ae1 patch 8.2.3720: Vim9: Internal error when invoking closure in legacy context
Bram Moolenaar <Bram@vim.org>
parents: 26346
diff changeset
878 INIT(= N_("E1248: Closure called from invalid context"));
26454
9998318235cd patch 8.2.3757: an overlong highlight group name is silently truncated
Bram Moolenaar <Bram@vim.org>
parents: 26439
diff changeset
879 EXTERN char e_highlight_group_name_too_long[]
9998318235cd patch 8.2.3757: an overlong highlight group name is silently truncated
Bram Moolenaar <Bram@vim.org>
parents: 26439
diff changeset
880 INIT(= N_("E1249: Highlight group name too long"));
26578
06693d1afc48 patch 8.2.3818: cannot filter or map characters in a string
Bram Moolenaar <Bram@vim.org>
parents: 26454
diff changeset
881 EXTERN char e_argument_of_str_must_be_list_string_dictionary_or_blob[]
06693d1afc48 patch 8.2.3818: cannot filter or map characters in a string
Bram Moolenaar <Bram@vim.org>
parents: 26454
diff changeset
882 INIT(= N_("E1250: Argument of %s must be a List, String, Dictionary or Blob"));
26585
0d2a709e2ff0 patch 8.2.3822: leaking memory in map() and filter(), no string in Vim9
Bram Moolenaar <Bram@vim.org>
parents: 26578
diff changeset
883 EXTERN char e_list_dict_blob_or_string_required_for_argument_nr[]
26638
6fd15d82e898 patch 8.2.3848: cannot use reduce() for a string
Bram Moolenaar <Bram@vim.org>
parents: 26624
diff changeset
884 INIT(= N_("E1251: List, Dictionary, Blob or String required for argument %d"));
6fd15d82e898 patch 8.2.3848: cannot use reduce() for a string
Bram Moolenaar <Bram@vim.org>
parents: 26624
diff changeset
885 EXTERN char e_string_list_or_blob_required_for_argument_nr[]
6fd15d82e898 patch 8.2.3848: cannot use reduce() for a string
Bram Moolenaar <Bram@vim.org>
parents: 26624
diff changeset
886 INIT(= N_("E1252: String, List or Blob required for argument %d"));
6fd15d82e898 patch 8.2.3848: cannot use reduce() for a string
Bram Moolenaar <Bram@vim.org>
parents: 26624
diff changeset
887 EXTERN char e_string_expected_for_argument_nr[]
6fd15d82e898 patch 8.2.3848: cannot use reduce() for a string
Bram Moolenaar <Bram@vim.org>
parents: 26624
diff changeset
888 INIT(= N_("E1253: String expected for argument %d"));
26660
2b17f87b7bd1 patch 8.2.3859: Vim9: some code lines not tested
Bram Moolenaar <Bram@vim.org>
parents: 26646
diff changeset
889 EXTERN char e_cannot_use_script_variable_in_for_loop[]
2b17f87b7bd1 patch 8.2.3859: Vim9: some code lines not tested
Bram Moolenaar <Bram@vim.org>
parents: 26646
diff changeset
890 INIT(= N_("E1254: Cannot use script variable in for loop"));
26717
3f209f13883d patch 8.2.3887: E1135 is used for two different errors
Bram Moolenaar <Bram@vim.org>
parents: 26660
diff changeset
891 EXTERN char e_cmd_mapping_must_end_with_cr[]
3f209f13883d patch 8.2.3887: E1135 is used for two different errors
Bram Moolenaar <Bram@vim.org>
parents: 26660
diff changeset
892 INIT(= N_("E1255: <Cmd> mapping must end with <CR>"));
26731
7f4cc4e58f75 patch 8.2.3894: Vim9: no proper type check for first argument of call()
Bram Moolenaar <Bram@vim.org>
parents: 26717
diff changeset
893 EXTERN char e_string_or_function_required_for_argument_nr[]
7f4cc4e58f75 patch 8.2.3894: Vim9: no proper type check for first argument of call()
Bram Moolenaar <Bram@vim.org>
parents: 26717
diff changeset
894 INIT(= N_("E1256: String or function required for argument %d"));