]>
Commit | Line | Data |
---|---|---|
5f6937f1 AM |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 6.2.110 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=ISO-8859-1 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 6.2.110 | |
11 | Problem: When $LANG includes the encoding, a menu without an encoding name | |
12 | is not found. | |
13 | Solution: Also look for a menu file without any encoding. | |
14 | Files: runtime/menu.vim | |
15 | ||
16 | ||
17 | *** ../vim-6.2.109/runtime/menu.vim Sun May 4 22:58:58 2003 | |
18 | --- runtime/menu.vim Sat Sep 20 20:47:07 2003 | |
19 | *************** | |
20 | *** 2,8 **** | |
21 | " You can also use this as a start for your own set of menus. | |
22 | " | |
23 | " Maintainer: Bram Moolenaar <Bram@vim.org> | |
24 | ! " Last Change: 2003 May 04 | |
25 | ||
26 | " Note that ":an" (short for ":anoremenu") is often used to make a menu work | |
27 | " in all modes and avoid side effects from mappings defined by the user. | |
28 | --- 2,8 ---- | |
29 | " You can also use this as a start for your own set of menus. | |
30 | " | |
31 | " Maintainer: Bram Moolenaar <Bram@vim.org> | |
32 | ! " Last Change: 2003 Set 20 | |
33 | ||
34 | " Note that ":an" (short for ":anoremenu") is often used to make a menu work | |
35 | " in all modes and avoid side effects from mappings defined by the user. | |
36 | *************** | |
37 | *** 45,50 **** | |
38 | --- 45,51 ---- | |
39 | if !exists("did_menu_trans") | |
40 | " There is no exact match, try matching with a wildcard added | |
41 | " (e.g. find menu_de_de.iso_8859-1.vim if s:lang == de_DE). | |
42 | + let s:lang = substitute(s:lang, "\\.[^.]*", "", "") | |
43 | exe "runtime! lang/menu_" . s:lang . "*.vim" | |
44 | ||
45 | if !exists("did_menu_trans") && strlen($LANG) > 1 | |
46 | *** ../vim-6.2.109/src/version.c Sun Oct 12 16:56:43 2003 | |
47 | --- src/version.c Sun Oct 12 16:58:17 2003 | |
48 | *************** | |
49 | *** 639,640 **** | |
50 | --- 639,642 ---- | |
51 | { /* Add new patch number below this line */ | |
52 | + /**/ | |
53 | + 110, | |
54 | /**/ | |
55 | ||
56 | -- | |
57 | If Microsoft would build a car... | |
58 | ... The airbag system would ask "are you SURE?" before deploying. | |
59 | ||
60 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
61 | /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\ | |
62 | \\\ Project leader for A-A-P -- http://www.A-A-P.org /// | |
63 | \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html /// |