diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-01 14:19:49 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-01 14:19:49 +0000 |
commit | 460ae5dfca31fa627531c263184849976755cf6b (patch) | |
tree | d94de6a24285bc10fd62ad4ae9aecb53f9a7e913 /src/globals.h | |
parent | b37a65e4bf08c4eec4fa5b81a5efc3945fca44de (diff) | |
download | vim-git-460ae5dfca31fa627531c263184849976755cf6b.tar.gz |
patch 8.2.3967: error messages are spread outv8.2.3967
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
Diffstat (limited to 'src/globals.h')
-rw-r--r-- | src/globals.h | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/src/globals.h b/src/globals.h index 98ad7106f..ad88583ad 100644 --- a/src/globals.h +++ b/src/globals.h @@ -1603,80 +1603,6 @@ EXTERN int netbeansSuppressNoLines INIT(= 0); // skip "No lines in buffer" * Some error messages that can be shared are included here. * They should be moved to errors.h. */ -EXTERN char e_intern2[] INIT(= N_("E685: Internal error: %s")); -EXTERN char e_duparg2[] INIT(= N_("E983: Duplicate argument: %s")); -#ifdef FEAT_SPELL -EXTERN char e_no_spell[] INIT(= N_("E756: Spell checking is not possible")); -#endif -#ifdef FEAT_LIBCALL -EXTERN char e_libcall[] INIT(= N_("E364: Library call failed for \"%s()\"")); -#endif -#ifdef HAVE_FSYNC -EXTERN char e_fsync[] INIT(= N_("E667: Fsync failed")); -#endif -#if defined(DYNAMIC_PERL) \ - || defined(DYNAMIC_PYTHON) || defined(DYNAMIC_PYTHON3) \ - || defined(DYNAMIC_RUBY) \ - || defined(DYNAMIC_TCL) \ - || defined(DYNAMIC_ICONV) \ - || defined(DYNAMIC_GETTEXT) \ - || defined(DYNAMIC_MZSCHEME) \ - || defined(DYNAMIC_LUA) \ - || defined(FEAT_TERMINAL) -EXTERN char e_loadlib[] INIT(= N_("E370: Could not load library %s: %s")); -EXTERN char e_loadfunc[] INIT(= N_("E448: Could not load library function %s")); -#endif -EXTERN char e_nobang[] INIT(= N_("E477: No ! allowed")); -#ifndef FEAT_ARABIC -EXTERN char e_noarabic[] INIT(= N_("E800: Arabic cannot be used: Not enabled at compile time\n")); -#endif -EXTERN char e_nomatch[] INIT(= N_("E479: No match")); -EXTERN char e_nomatch2[] INIT(= N_("E480: No match: %s")); -EXTERN char e_norange[] INIT(= N_("E481: No range allowed")); -#ifdef FEAT_CLIENTSERVER -EXTERN char e_noserver[] INIT(= N_("E247: no registered server named \"%s\"")); -#endif -EXTERN char e_notcreate[] INIT(= N_("E482: Can't create file %s")); -EXTERN char e_notmp[] INIT(= N_("E483: Can't get temp file name")); -EXTERN char e_notopen[] INIT(= N_("E484: Can't open file %s")); -EXTERN char e_notread[] INIT(= N_("E485: Can't read file %s")); -#if defined(FEAT_GUI_GTK) || defined(FEAT_GUI_X11) -EXTERN char e_opendisp[] INIT(= N_("E233: cannot open display")); -#endif -EXTERN char e_patnotf[] INIT(= N_("Pattern not found")); -EXTERN char e_patnotf2[] INIT(= N_("E486: Pattern not found: %s")); -EXTERN char e_positive[] INIT(= N_("E487: Argument must be positive")); -#if defined(UNIX) || defined(FEAT_SESSION) -EXTERN char e_prev_dir[] INIT(= N_("E459: Cannot go back to previous directory")); -#endif - -#ifdef FEAT_QUICKFIX -EXTERN char e_loclist[] INIT(= N_("E776: No location list")); -#endif -#ifdef FEAT_EVAL -EXTERN char e_letwrong[] INIT(= N_("E734: Wrong variable type for %s=")); -EXTERN char e_illvar[] INIT(= N_("E461: Illegal variable name: %s")); -EXTERN char e_cannot_mod[] INIT(= N_("E995: Cannot modify existing variable")); -EXTERN char e_stringreq[] INIT(= N_("E928: String required")); -EXTERN char e_numberreq[] INIT(= N_("E889: Number required")); -EXTERN char e_boolreq[] INIT(= N_("E839: Bool required")); -EXTERN char e_emptykey[] INIT(= N_("E713: Cannot use empty key for Dictionary")); -EXTERN char e_dictreq[] INIT(= N_("E715: Dictionary required")); -EXTERN char e_listidx[] INIT(= N_("E684: list index out of range: %ld")); -EXTERN char e_blobidx[] INIT(= N_("E979: Blob index out of range: %ld")); -EXTERN char e_invalblob[] INIT(= N_("E978: Invalid operation for Blob")); -EXTERN char e_func_deleted[] INIT(= N_("E933: Function was deleted: %s")); -EXTERN char e_dictkey[] INIT(= N_("E716: Key not present in Dictionary: \"%s\"")); -EXTERN char e_listreq[] INIT(= N_("E714: List required")); -EXTERN char e_listblobreq[] INIT(= N_("E897: List or Blob required")); -EXTERN char e_list_end[] INIT(= N_("E697: Missing end of List ']': %s")); -EXTERN char e_listdictarg[] INIT(= N_("E712: Argument of %s must be a List or Dictionary")); -EXTERN char e_listdictblobarg[] INIT(= N_("E896: Argument of %s must be a List, Dictionary or Blob")); -EXTERN char e_modulus[] INIT(= N_("E804: Cannot use '%' with Float")); -EXTERN char e_const_option[] INIT(= N_("E996: Cannot lock an option")); -EXTERN char e_reduceempty[] INIT(= N_("E998: Reduce of an empty %s with no initial value")); -EXTERN char e_no_dict_key[] INIT(= N_("E857: Dictionary key \"%s\" required")); -#endif EXTERN char e_secure[] INIT(= N_("E523: Not allowed here")); EXTERN char e_textlock[] INIT(= N_("E578: Not allowed to change text here")); EXTERN char e_textwinlock[] INIT(= N_("E565: Not allowed to change text or change window")); |