Mercurial > vim
comparison src/errors.h @ 26909:aa65d1808bd0 v8.2.3983
patch 8.2.3983: error messages are spread out
Commit: https://github.com/vim/vim/commit/eaaac014a01ce37c1f86dbda054c01a5c6f034e7
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 2 17:00:40 2022 +0000
patch 8.2.3983: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 02 Jan 2022 18:15:04 +0100 |
parents | f78ad6ee739a |
children | d4e61d61afd9 |
comparison
equal
deleted
inserted
replaced
26908:006aa45685f9 | 26909:aa65d1808bd0 |
---|---|
701 EXTERN char e_didnt_get_block_nr_one[] | 701 EXTERN char e_didnt_get_block_nr_one[] |
702 INIT(= N_("E298: Didn't get block nr 1?")); | 702 INIT(= N_("E298: Didn't get block nr 1?")); |
703 EXTERN char e_didnt_get_block_nr_two[] | 703 EXTERN char e_didnt_get_block_nr_two[] |
704 INIT(= N_("E298: Didn't get block nr 2?")); | 704 INIT(= N_("E298: Didn't get block nr 2?")); |
705 // E299 unused | 705 // E299 unused |
706 | 706 EXTERN char e_swap_file_already_exists_symlink_attack[] |
707 INIT(= N_("E300: Swap file already exists (symlink attack?)")); | |
708 EXTERN char e_oops_lost_the_swap_file[] | |
709 INIT(= N_("E301: Oops, lost the swap file!!!")); | |
710 EXTERN char e_could_not_rename_swap_file[] | |
711 INIT(= N_("E302: Could not rename swap file")); | |
712 EXTERN char e_unable_to_open_swap_file_for_str_recovery_impossible[] | |
713 INIT(= N_("E303: Unable to open swap file for \"%s\", recovery impossible")); | |
714 EXTERN char e_ml_upd_block0_didnt_get_block_zero[] | |
715 INIT(= N_("E304: ml_upd_block0(): Didn't get block 0??")); | |
716 EXTERN char e_no_swap_file_found_for_str[] | |
717 INIT(= N_("E305: No swap file found for %s")); | |
718 EXTERN char e_cannot_open_str[] | |
719 INIT(= N_("E306: Cannot open %s")); | |
720 EXTERN char e_str_does_not_look_like_vim_swap_file[] | |
721 INIT(= N_("E307: %s does not look like a Vim swap file")); | |
722 EXTERN char e_warning_original_file_may_have_been_changed[] | |
723 INIT(= N_("E308: Warning: Original file may have been changed")); | |
724 EXTERN char e_unable_to_read_block_one_from_str[] | |
725 INIT(= N_("E309: Unable to read block 1 from %s")); | |
726 EXTERN char e_block_one_id_wrong_str_not_swp_file[] | |
727 INIT(= N_("E310: Block 1 ID wrong (%s not a .swp file?)")); | |
728 EXTERN char e_recovery_interrupted[] | |
729 INIT(= N_("E311: Recovery Interrupted")); | |
730 EXTERN char e_errors_detected_while_recovering_look_for_lines_starting_with_questions[] | |
731 INIT(= N_("E312: Errors detected while recovering; look for lines starting with ???")); | |
732 EXTERN char e_cannot_preserve_there_is_no_swap_file[] | |
733 INIT(= N_("E313: Cannot preserve, there is no swap file")); | |
734 EXTERN char e_preserve_failed[] | |
735 INIT(= N_("E314: Preserve failed")); | |
736 EXTERN char e_ml_get_invalid_lnum_nr[] | |
737 INIT(= N_("E315: ml_get: invalid lnum: %ld")); | |
738 EXTERN char e_ml_get_cannot_find_line_nr_in_buffer_nr_str[] | |
739 INIT(= N_("E316: ml_get: cannot find line %ld in buffer %d %s")); | |
740 EXTERN char e_pointer_block_id_wrong[] | |
741 INIT(= N_("E317: pointer block id wrong")); | |
742 EXTERN char e_pointer_block_id_wrong_two[] | |
743 INIT(= N_("E317: pointer block id wrong 2")); | |
744 EXTERN char e_pointer_block_id_wrong_three[] | |
745 INIT(= N_("E317: pointer block id wrong 3")); | |
746 EXTERN char e_pointer_block_id_wrong_four[] | |
747 INIT(= N_("E317: pointer block id wrong 4")); | |
748 EXTERN char e_updated_too_many_blocks[] | |
749 INIT(= N_("E318: Updated too many blocks?")); | |
750 EXTERN char e_sorry_command_is_not_available_in_this_version[] | |
751 INIT(= N_("E319: Sorry, the command is not available in this version")); | |
752 EXTERN char e_cannot_find_line_nr[] | |
753 INIT(= N_("E320: Cannot find line %ld")); | |
754 EXTERN char e_could_not_reload_str[] | |
755 INIT(= N_("E321: Could not reload \"%s\"")); | |
756 EXTERN char e_line_number_out_of_range_nr_past_the_end[] | |
757 INIT(= N_("E322: line number out of range: %ld past the end")); | |
758 EXTERN char e_line_count_wrong_in_block_nr[] | |
759 INIT(= N_("E323: line count wrong in block %ld")); | |
760 #ifdef FEAT_POSTSCRIPT | |
761 EXTERN char e_cant_open_postscript_output_file[] | |
762 INIT(= N_("E324: Can't open PostScript output file")); | |
763 #endif | |
764 EXTERN char e_attention[] | |
765 INIT(= N_("E325: ATTENTION")); | |
766 EXTERN char e_too_many_swap_files_found[] | |
767 INIT(= N_("E326: Too many swap files found")); | |
768 EXTERN char_u e_part_of_menu_item_path_is_not_sub_menu[] | |
769 INIT(= N_("E327: Part of menu-item path is not sub-menu")); | |
707 #ifdef FEAT_MENU | 770 #ifdef FEAT_MENU |
708 EXTERN char e_menu_only_exists_in_another_mode[] | 771 EXTERN char e_menu_only_exists_in_another_mode[] |
709 INIT(= N_("E328: Menu only exists in another mode")); | 772 INIT(= N_("E328: Menu only exists in another mode")); |
710 #endif | 773 #endif |
774 EXTERN char_u e_no_menu_str[] | |
775 INIT(= N_("E329: No menu \"%s\"")); | |
776 EXTERN char e_menu_path_must_not_loead_to_sub_menu[] | |
777 INIT(= N_("E330: Menu path must not lead to a sub-menu")); | |
778 EXTERN char e_must_not_add_menu_items_directly_to_menu_bar[] | |
779 INIT(= N_("E331: Must not add menu items directly to menu bar")); | |
780 EXTERN char e_separator_cannot_be_part_of_menu_path[] | |
781 INIT(= N_("E332: Separator cannot be part of a menu path")); | |
782 EXTERN char e_menu_path_must_lead_to_menu_item[] | |
783 INIT(= N_("E333: Menu path must lead to a menu item")); | |
784 EXTERN char e_menu_not_found_str[] | |
785 INIT(= N_("E334: Menu not found: %s")); | |
786 EXTERN char e_menu_not_defined_for_str_mode[] | |
787 INIT(= N_("E335: Menu not defined for %s mode")); | |
788 EXTERN char e_menu_path_must_lead_to_sub_menu[] | |
789 INIT(= N_("E336: Menu path must lead to a sub-menu")); | |
790 EXTERN char e_menu_not_found_check_menu_names[] | |
791 INIT(= N_("E337: Menu not found - check menu names")); | |
792 EXTERN char e_sorry_no_file_browser_in_console_mode[] | |
793 INIT(= N_("E338: Sorry, no file browser in console mode")); | |
794 EXTERN char e_pattern_too_long[] | |
795 INIT(= N_("E339: Pattern too long")); | |
796 // E340 unused | |
711 EXTERN char e_internal_error_lalloc_zero[] | 797 EXTERN char e_internal_error_lalloc_zero[] |
712 INIT(= N_("E341: Internal error: lalloc(0, )")); | 798 INIT(= N_("E341: Internal error: lalloc(0, )")); |
713 EXTERN char e_out_of_memory_allocating_nr_bytes[] | 799 EXTERN char e_out_of_memory_allocating_nr_bytes[] |
714 INIT(= N_("E342: Out of memory! (allocating %lu bytes)")); | 800 INIT(= N_("E342: Out of memory! (allocating %lu bytes)")); |
801 EXTERN char e_invalid_path_number_must_be_at_end_of_path_or_be_followed_by_str[] | |
802 INIT(= N_("E343: Invalid path: '**[number]' must be at the end of the path or be followed by '%s'.")); | |
803 EXTERN char e_cant_find_directory_str_in_cdpath[] | |
804 INIT(= N_("E344: Can't find directory \"%s\" in cdpath")); | |
805 EXTERN char e_cant_find_file_str_in_path[] | |
806 INIT(= N_("E345: Can't find file \"%s\" in path")); | |
807 EXTERN char e_no_more_directory_str_found_in_cdpath[] | |
808 INIT(= N_("E346: No more directory \"%s\" found in cdpath")); | |
809 EXTERN char e_no_more_file_str_found_in_path[] | |
810 INIT(= N_("E347: No more file \"%s\" found in path")); | |
811 EXTERN char e_no_string_under_cursor[] | |
812 INIT(= N_("E348: No string under cursor")); | |
813 EXTERN char e_no_identifier_under_cursor[] | |
814 INIT(= N_("E349: No identifier under cursor")); | |
815 | |
715 #if defined(AMIGA) || defined(MACOS_X) || defined(MSWIN) \ | 816 #if defined(AMIGA) || defined(MACOS_X) || defined(MSWIN) \ |
716 || defined(UNIX) || defined(VMS) | 817 || defined(UNIX) || defined(VMS) |
717 EXTERN char e_screen_mode_setting_not_supported[] | 818 EXTERN char e_screen_mode_setting_not_supported[] |
718 INIT(= N_("E359: Screen mode setting not supported")); | 819 INIT(= N_("E359: Screen mode setting not supported")); |
719 #endif | 820 #endif |