Mercurial > vim
comparison src/globals.h @ 26883:7f150a4936f2 v8.2.3970
patch 8.2.3970: error messages are spread out
Commit: https://github.com/vim/vim/commit/74409f62790a93daf0965c71da01ff76aa0fa5a5
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 1 15:58:22 2022 +0000
patch 8.2.3970: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 01 Jan 2022 17:00:04 +0100 |
parents | 06a137af96f8 |
children | 612339679616 |
comparison
equal
deleted
inserted
replaced
26882:196f4d7e2a38 | 26883:7f150a4936f2 |
---|---|
1601 | 1601 |
1602 /* | 1602 /* |
1603 * Some error messages that can be shared are included here. | 1603 * Some error messages that can be shared are included here. |
1604 * They should be moved to errors.h. | 1604 * They should be moved to errors.h. |
1605 */ | 1605 */ |
1606 EXTERN char e_secure[] INIT(= N_("E523: Not allowed here")); | |
1607 EXTERN char e_textlock[] INIT(= N_("E578: Not allowed to change text here")); | |
1608 EXTERN char e_textwinlock[] INIT(= N_("E565: Not allowed to change text or change window")); | |
1609 #if defined(AMIGA) || defined(MACOS_X) || defined(MSWIN) \ | |
1610 || defined(UNIX) || defined(VMS) | |
1611 EXTERN char e_screenmode[] INIT(= N_("E359: Screen mode setting not supported")); | |
1612 #endif | |
1613 #if defined(FEAT_SIGN_ICONS) && !defined(FEAT_GUI_GTK) | |
1614 EXTERN char e_signdata[] INIT(= N_("E255: Couldn't read in sign data!")); | |
1615 #endif | |
1616 EXTERN char e_trailing[] INIT(= N_("E488: Trailing characters")); | |
1617 EXTERN char e_trailing_arg[] INIT(= N_("E488: Trailing characters: %s")); | |
1618 EXTERN char e_winheight[] INIT(= N_("E591: 'winheight' cannot be smaller than 'winminheight'")); | |
1619 EXTERN char e_winwidth[] INIT(= N_("E592: 'winwidth' cannot be smaller than 'winminwidth'")); | |
1620 EXTERN char e_zerocount[] INIT(= N_("E939: Positive count required")); | |
1621 #ifdef FEAT_EVAL | |
1622 EXTERN char e_missing_dict_colon[] INIT(= N_("E720: Missing colon in Dictionary: %s")); | |
1623 EXTERN char e_duplicate_key[] INIT(= N_("E721: Duplicate key in Dictionary: \"%s\"")); | |
1624 EXTERN char e_missing_dict_comma[] INIT(= N_("E722: Missing comma in Dictionary: %s")); | |
1625 EXTERN char e_missing_dict_end[] INIT(= N_("E723: Missing end of Dictionary '}': %s")); | |
1626 #endif | |
1627 #ifdef FEAT_CLIENTSERVER | |
1628 EXTERN char e_invexprmsg[] INIT(= N_("E449: Invalid expression received")); | |
1629 #endif | |
1630 #ifdef FEAT_NETBEANS_INTG | |
1631 EXTERN char e_guarded[] INIT(= N_("E463: Region is guarded, cannot modify")); | |
1632 EXTERN char e_nbreadonly[] INIT(= N_("E744: NetBeans does not allow changes in read-only files")); | |
1633 #endif | |
1634 EXTERN char e_maxmempat[] INIT(= N_("E363: pattern uses more memory than 'maxmempattern'")); | |
1635 EXTERN char e_emptybuf[] INIT(= N_("E749: empty buffer")); | |
1636 | |
1637 EXTERN char e_invalpat[] INIT(= N_("E682: Invalid search pattern or delimiter")); | |
1638 #if defined(FEAT_SYN_HL) || defined(FEAT_COMPL_FUNC) | |
1639 EXTERN char e_notset[] INIT(= N_("E764: Option '%s' is not set")); | |
1640 #endif | |
1641 #ifndef FEAT_CLIPBOARD | |
1642 EXTERN char e_invalidreg[] INIT(= N_("E850: Invalid register name")); | |
1643 #endif | |
1644 #ifdef FEAT_FLOAT | |
1645 EXTERN char e_float_as_string[] INIT(= N_("E806: using Float as a String")); | |
1646 #endif | |
1647 EXTERN char e_dirnotf[] INIT(= N_("E919: Directory not found in '%s': \"%s\"")); | |
1648 EXTERN char e_au_recursive[] INIT(= N_("E952: Autocommand caused recursive behavior")); | |
1649 EXTERN char e_autocmd_close[] INIT(= N_("E813: Cannot close autocmd or popup window")); | |
1650 #ifdef FEAT_MENU | 1606 #ifdef FEAT_MENU |
1651 EXTERN char e_menuothermode[] INIT(= N_("E328: Menu only exists in another mode")); | 1607 EXTERN char e_menuothermode[] INIT(= N_("E328: Menu only exists in another mode")); |
1652 #endif | 1608 #endif |
1653 EXTERN char e_invalwindow[] INIT(= N_("E957: Invalid window number")); | 1609 EXTERN char e_invalwindow[] INIT(= N_("E957: Invalid window number")); |
1654 EXTERN char e_listarg[] INIT(= N_("E686: Argument of %s must be a List")); | 1610 EXTERN char e_listarg[] INIT(= N_("E686: Argument of %s must be a List")); |