view src/testdir/test91.ok @ 11044:eb3a2ff3309a v8.0.0411

patch 8.0.0411: menu translations don't match when case is changed. commit https://github.com/vim/vim/commit/11dd8c1201033dd74e2ea665ba277425b4b965b0 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 4 20:41:34 2017 +0100 patch 8.0.0411: menu translations don't match when case is changed. Problem: We can't change the case in menu entries, it breaks translations. Solution: Ignore case when looking up a menu translation.
author Christian Brabandt <cb@256bit.org>
date Sat, 04 Mar 2017 20:45:05 +0100
parents 5780bd3a5a7e
children
line wrap: on
line source

start:
'abcd'
'abcd'
'Dance'
'Dance'
{'var_str': 'Dance'}
{'var_str': 'Dance'}
'Chance'
{}
{}
''
'Chance'
0
0
[1, 2, 3]
[1, 2, 3]
{'var_list': [1, 2, 3], 'other': 777}
{'var_list': [1, 2, 3], 'other': 777}
[4, 5, 6, 7]
''
[4, 5, 6, 7]
''
[4, 5, 6, 7]
{'dict': 'tabwin'}
{'dict': 'tabwin'}
{'var_dict': {'dict': 'tabwin'}}
{'var_dict': {'dict': 'tabwin'}}
{'dict2': 'newval'}
{}
{}
''
{'dict2': 'newval'}
''
{'dict2': 'newval'}
''
1