0
0
mirror of https://github.com/vim/vim.git synced 2025-07-04 23:07:33 -04:00

patch 9.1.1500: if_python: typo in python error variable

Problem:  if_python: typo in python error variable
Solution: fix typo (Damien Lejay)

closes: #17640

Signed-off-by: Damien Lejay <damien@lejay.be>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Damien Lejay 2025-07-01 21:57:59 +02:00 committed by Christian Brabandt
parent 54585fd04c
commit b84ab0288f
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09
3 changed files with 4 additions and 2 deletions

View File

@ -2303,7 +2303,7 @@ EXTERN char e_cant_rename_viminfo_file_to_str[]
INIT(= N_("E886: Can't rename viminfo file to %s!")); INIT(= N_("E886: Can't rename viminfo file to %s!"));
#endif #endif
#if defined(FEAT_PYTHON) || defined(FEAT_PYTHON3) #if defined(FEAT_PYTHON) || defined(FEAT_PYTHON3)
EXTERN char e_sorry_this_command_is_disabled_python_side_module_could_not_be_loaded[] EXTERN char e_sorry_this_command_is_disabled_python_site_module_could_not_be_loaded[]
INIT(= N_("E887: Sorry, this command is disabled, the Python's site module could not be loaded.")); INIT(= N_("E887: Sorry, this command is disabled, the Python's site module could not be loaded."));
#endif #endif
EXTERN char e_nfa_regexp_cannot_repeat_str[] EXTERN char e_nfa_regexp_cannot_repeat_str[]

View File

@ -958,7 +958,7 @@ Python_Init(void)
site = PyImport_ImportModule("site"); site = PyImport_ImportModule("site");
if (site == NULL) if (site == NULL)
{ {
emsg(_(e_sorry_this_command_is_disabled_python_side_module_could_not_be_loaded)); emsg(_(e_sorry_this_command_is_disabled_python_site_module_could_not_be_loaded));
goto fail; goto fail;
} }
Py_DECREF(site); Py_DECREF(site);

View File

@ -719,6 +719,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1500,
/**/ /**/
1499, 1499,
/**/ /**/