home *** CD-ROM | disk | FTP | other *** search
- To: vim-dev@vim.org
- Subject: Patch 6.1.152
- Fcc: outbox
- From: Bram Moolenaar <Bram@moolenaar.net>
- Mime-Version: 1.0
- Content-Type: text/plain; charset=ISO-8859-1
- Content-Transfer-Encoding: 8bit
- ------------
-
- Patch 6.1.152
- Problem: When $LANG is iso8859-1 translated menus are not used.
- Solution: Change iso8859 to iso_8859.
- Files: runtime/menu.vim
-
-
- *** ../vim61.151/runtime/menu.vim Sun Jul 21 21:24:26 2002
- --- runtime/menu.vim Mon Aug 12 20:51:27 2002
- ***************
- *** 2,8 ****
- " You can also use this as a start for your own set of menus.
- "
- " Maintainer: Bram Moolenaar <Bram@vim.org>
- ! " Last Change: 2002 Jul 13
-
- " Note that ":an" (short for ":anoremenu") is often used to make a menu work
- " in all modes and avoid side effects from mappings defined by the user.
- --- 2,8 ----
- " You can also use this as a start for your own set of menus.
- "
- " Maintainer: Bram Moolenaar <Bram@vim.org>
- ! " Last Change: 2002 Aug 12
-
- " Note that ":an" (short for ":anoremenu") is often used to make a menu work
- " in all modes and avoid side effects from mappings defined by the user.
- ***************
- *** 31,39 ****
- " A language name must be at least two characters, don't accept "C"
- if strlen(s:lang) > 1
- " We always use a lowercase name.
- ! " Change "iso-8859" to "iso_8859", some systems appear to use this.
- " Change spaces to underscores.
- ! let s:lang = substitute(tolower(s:lang), "\\.iso-", "\\.iso_", "")
- let s:lang = substitute(s:lang, " ", "_", "g")
- " Remove "@euro", otherwise "LC_ALL=de_DE@euro gvim" will show English menus
- let s:lang = substitute(s:lang, "@euro", "", "")
- --- 31,41 ----
- " A language name must be at least two characters, don't accept "C"
- if strlen(s:lang) > 1
- " We always use a lowercase name.
- ! " Change "iso-8859" to "iso_8859" and "iso8859" to "iso_8859", some
- ! " systems appear to use this.
- " Change spaces to underscores.
- ! let s:lang = substitute(tolower(s:lang), "\\.iso-", ".iso_", "")
- ! let s:lang = substitute(s:lang, "\\.iso8859", ".iso_8859", "")
- let s:lang = substitute(s:lang, " ", "_", "g")
- " Remove "@euro", otherwise "LC_ALL=de_DE@euro gvim" will show English menus
- let s:lang = substitute(s:lang, "@euro", "", "")
- *** ../vim61.151/src/version.c Sun Aug 4 22:13:27 2002
- --- src/version.c Mon Aug 12 20:56:14 2002
- ***************
- *** 608,609 ****
- --- 608,611 ----
- { /* Add new patch number below this line */
- + /**/
- + 152,
- /**/
-
- --
- hundred-and-one symptoms of being an internet addict:
- 181. You make up words that go with the "happy tune" your modem makes
- while dialing your ISP.
-
- /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\
- /// Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim \\\
- \\\ Project leader for A-A-P -- http://www.a-a-p.org ///
- \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///
-