comparison src/globals.h @ 21789:f84625b961a8 v8.2.1444

patch 8.2.1444: error messages are spread out and names can be confusing Commit: https://github.com/vim/vim/commit/bc4c505166dc82911553206bb0c2133c6ac94aa1 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Aug 13 22:47:35 2020 +0200 patch 8.2.1444: error messages are spread out and names can be confusing Problem: Error messages are spread out and names can be confusing. Solution: Start moving error messages to a separate file and use clear names.
author Bram Moolenaar <Bram@vim.org>
date Thu, 13 Aug 2020 23:00:04 +0200
parents 35921b7fc07a
children 0deb6f96a5a3
comparison
equal deleted inserted replaced
21788:acd6c7f8b633 21789:f84625b961a8
1684 EXTERN char e_readonlyvar[] INIT(= N_("E46: Cannot change read-only variable \"%s\"")); 1684 EXTERN char e_readonlyvar[] INIT(= N_("E46: Cannot change read-only variable \"%s\""));
1685 EXTERN char e_readonlysbx[] INIT(= N_("E794: Cannot set variable in the sandbox: \"%s\"")); 1685 EXTERN char e_readonlysbx[] INIT(= N_("E794: Cannot set variable in the sandbox: \"%s\""));
1686 EXTERN char e_stringreq[] INIT(= N_("E928: String required")); 1686 EXTERN char e_stringreq[] INIT(= N_("E928: String required"));
1687 EXTERN char e_emptykey[] INIT(= N_("E713: Cannot use empty key for Dictionary")); 1687 EXTERN char e_emptykey[] INIT(= N_("E713: Cannot use empty key for Dictionary"));
1688 EXTERN char e_dictreq[] INIT(= N_("E715: Dictionary required")); 1688 EXTERN char e_dictreq[] INIT(= N_("E715: Dictionary required"));
1689 EXTERN char e_dictnull[] INIT(= N_("E1103: Dictionary not set"));
1690 EXTERN char e_listidx[] INIT(= N_("E684: list index out of range: %ld")); 1689 EXTERN char e_listidx[] INIT(= N_("E684: list index out of range: %ld"));
1691 EXTERN char e_blobidx[] INIT(= N_("E979: Blob index out of range: %ld")); 1690 EXTERN char e_blobidx[] INIT(= N_("E979: Blob index out of range: %ld"));
1692 EXTERN char e_invalblob[] INIT(= N_("E978: Invalid operation for Blob")); 1691 EXTERN char e_invalblob[] INIT(= N_("E978: Invalid operation for Blob"));
1693 EXTERN char e_toomanyarg[] INIT(= N_("E118: Too many arguments for function: %s")); 1692 EXTERN char e_toomanyarg[] INIT(= N_("E118: Too many arguments for function: %s"));
1694 EXTERN char e_toofewarg[] INIT(= N_("E119: Not enough arguments for function: %s")); 1693 EXTERN char e_toofewarg[] INIT(= N_("E119: Not enough arguments for function: %s"));
1695 EXTERN char e_func_deleted[] INIT(= N_("E933: Function was deleted: %s")); 1694 EXTERN char e_func_deleted[] INIT(= N_("E933: Function was deleted: %s"));
1696 EXTERN char e_dictkey[] INIT(= N_("E716: Key not present in Dictionary: %s")); 1695 EXTERN char e_dictkey[] INIT(= N_("E716: Key not present in Dictionary: %s"));
1697 EXTERN char e_listreq[] INIT(= N_("E714: List required")); 1696 EXTERN char e_listreq[] INIT(= N_("E714: List required"));
1698 EXTERN char e_listdictblobreq[] INIT(= N_("E1090: List, Dict or Blob required"));
1699 EXTERN char e_listblobreq[] INIT(= N_("E897: List or Blob required")); 1697 EXTERN char e_listblobreq[] INIT(= N_("E897: List or Blob required"));
1700 EXTERN char e_list_end[] INIT(= N_("E697: Missing end of List ']': %s")); 1698 EXTERN char e_list_end[] INIT(= N_("E697: Missing end of List ']': %s"));
1701 EXTERN char e_listdictarg[] INIT(= N_("E712: Argument of %s must be a List or Dictionary")); 1699 EXTERN char e_listdictarg[] INIT(= N_("E712: Argument of %s must be a List or Dictionary"));
1702 EXTERN char e_listdictblobarg[] INIT(= N_("E896: Argument of %s must be a List, Dictionary or Blob")); 1700 EXTERN char e_listdictblobarg[] INIT(= N_("E896: Argument of %s must be a List, Dictionary or Blob"));
1703 EXTERN char e_modulus[] INIT(= N_("E804: Cannot use '%' with Float")); 1701 EXTERN char e_modulus[] INIT(= N_("E804: Cannot use '%' with Float"));
1746 EXTERN char e_missing_close[] INIT(= N_("E110: Missing ')'")); 1744 EXTERN char e_missing_close[] INIT(= N_("E110: Missing ')'"));
1747 EXTERN char e_missing_dict_colon[] INIT(= N_("E720: Missing colon in Dictionary: %s")); 1745 EXTERN char e_missing_dict_colon[] INIT(= N_("E720: Missing colon in Dictionary: %s"));
1748 EXTERN char e_duplicate_key[] INIT(= N_("E721: Duplicate key in Dictionary: \"%s\"")); 1746 EXTERN char e_duplicate_key[] INIT(= N_("E721: Duplicate key in Dictionary: \"%s\""));
1749 EXTERN char e_missing_dict_comma[] INIT(= N_("E722: Missing comma in Dictionary: %s")); 1747 EXTERN char e_missing_dict_comma[] INIT(= N_("E722: Missing comma in Dictionary: %s"));
1750 EXTERN char e_missing_dict_end[] INIT(= N_("E723: Missing end of Dictionary '}': %s")); 1748 EXTERN char e_missing_dict_end[] INIT(= N_("E723: Missing end of Dictionary '}': %s"));
1751 EXTERN char e_already_defined[] INIT(= N_("E1073: name already defined: %s"));
1752 #endif 1749 #endif
1753 #ifdef FEAT_CLIENTSERVER 1750 #ifdef FEAT_CLIENTSERVER
1754 EXTERN char e_invexprmsg[] INIT(= N_("E449: Invalid expression received")); 1751 EXTERN char e_invexprmsg[] INIT(= N_("E449: Invalid expression received"));
1755 #endif 1752 #endif
1756 #ifdef FEAT_NETBEANS_INTG 1753 #ifdef FEAT_NETBEANS_INTG
1789 EXTERN char e_elseif_without_if[] INIT(= N_("E582: :elseif without :if")); 1786 EXTERN char e_elseif_without_if[] INIT(= N_("E582: :elseif without :if"));
1790 EXTERN char e_endif_without_if[] INIT(= N_("E580: :endif without :if")); 1787 EXTERN char e_endif_without_if[] INIT(= N_("E580: :endif without :if"));
1791 EXTERN char e_continue[] INIT(= N_("E586: :continue without :while or :for")); 1788 EXTERN char e_continue[] INIT(= N_("E586: :continue without :while or :for"));
1792 EXTERN char e_break[] INIT(= N_("E587: :break without :while or :for")); 1789 EXTERN char e_break[] INIT(= N_("E587: :break without :while or :for"));
1793 EXTERN char e_nowhitespace[] INIT(= N_("E274: No white space allowed before parenthesis")); 1790 EXTERN char e_nowhitespace[] INIT(= N_("E274: No white space allowed before parenthesis"));
1794 EXTERN char e_white_both[] INIT(= N_("E1004: white space required before and after '%s'"));
1795 EXTERN char e_white_after[] INIT(= N_("E1069: white space required after '%s'"));
1796 EXTERN char e_no_white_before[] INIT(= N_("E1068: No white space allowed before '%s'"));
1797 1791
1798 EXTERN char e_lock_unlock[] INIT(= N_("E940: Cannot lock or unlock variable %s")); 1792 EXTERN char e_lock_unlock[] INIT(= N_("E940: Cannot lock or unlock variable %s"));
1799 EXTERN char e_const_req_value[] INIT(= N_("E1021: const requires a value"));
1800 EXTERN char e_type_req[] INIT(= N_("E1022: type or initialization required"));
1801 EXTERN char e_declare_var[] INIT(= N_("E1016: Cannot declare a %s variable: %s"));
1802 EXTERN char e_declare_env_var[] INIT(= N_("E1016: Cannot declare an environment variable: %s"));
1803 EXTERN char e_colon_required[] INIT(= N_("E1050: Colon required before a range"));
1804 #endif 1793 #endif
1805 #if defined(FEAT_GUI) || defined(FEAT_TERMGUICOLORS) 1794 #if defined(FEAT_GUI) || defined(FEAT_TERMGUICOLORS)
1806 EXTERN char e_alloc_color[] INIT(= N_("E254: Cannot allocate color %s")); 1795 EXTERN char e_alloc_color[] INIT(= N_("E254: Cannot allocate color %s"));
1807 #endif 1796 #endif
1808 1797