mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
patch 8.2.1240: GUI tests sometimes fail because of translations
Problem: GUI tests sometimes fail because of translations. Solution: Reload the menus without translation. (Taro Muraoka, closes #6486)
This commit is contained in:
@@ -105,6 +105,13 @@ set nomore
|
||||
" Output all messages in English.
|
||||
lang mess C
|
||||
|
||||
" suppress menu translation
|
||||
if has('gui_running') && exists('did_install_default_menus')
|
||||
source $VIMRUNTIME/delmenu.vim
|
||||
set langmenu=none
|
||||
source $VIMRUNTIME/menu.vim
|
||||
endif
|
||||
|
||||
" Always use forward slashes.
|
||||
set shellslash
|
||||
|
||||
|
@@ -754,6 +754,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1240,
|
||||
/**/
|
||||
1239,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user