home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 6.1.152 < prev    next >
Encoding:
Internet Message Format  |  2002-08-11  |  2.9 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.1.152
  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.1.152
  11. Problem:    When $LANG is iso8859-1 translated menus are not used.
  12. Solution:   Change iso8859 to iso_8859.
  13. Files:        runtime/menu.vim
  14.  
  15.  
  16. *** ../vim61.151/runtime/menu.vim    Sun Jul 21 21:24:26 2002
  17. --- runtime/menu.vim    Mon Aug 12 20:51:27 2002
  18. ***************
  19. *** 2,8 ****
  20.   " You can also use this as a start for your own set of menus.
  21.   "
  22.   " Maintainer:    Bram Moolenaar <Bram@vim.org>
  23. ! " Last Change:    2002 Jul 13
  24.   
  25.   " Note that ":an" (short for ":anoremenu") is often used to make a menu work
  26.   " in all modes and avoid side effects from mappings defined by the user.
  27. --- 2,8 ----
  28.   " You can also use this as a start for your own set of menus.
  29.   "
  30.   " Maintainer:    Bram Moolenaar <Bram@vim.org>
  31. ! " Last Change:    2002 Aug 12
  32.   
  33.   " Note that ":an" (short for ":anoremenu") is often used to make a menu work
  34.   " in all modes and avoid side effects from mappings defined by the user.
  35. ***************
  36. *** 31,39 ****
  37.     " A language name must be at least two characters, don't accept "C"
  38.     if strlen(s:lang) > 1
  39.       " We always use a lowercase name.
  40. !     " Change "iso-8859" to "iso_8859", some systems appear to use this.
  41.       " Change spaces to underscores.
  42. !     let s:lang = substitute(tolower(s:lang), "\\.iso-", "\\.iso_", "")
  43.       let s:lang = substitute(s:lang, " ", "_", "g")
  44.       " Remove "@euro", otherwise "LC_ALL=de_DE@euro gvim" will show English menus
  45.       let s:lang = substitute(s:lang, "@euro", "", "")
  46. --- 31,41 ----
  47.     " A language name must be at least two characters, don't accept "C"
  48.     if strlen(s:lang) > 1
  49.       " We always use a lowercase name.
  50. !     " Change "iso-8859" to "iso_8859" and "iso8859" to "iso_8859", some
  51. !     " systems appear to use this.
  52.       " Change spaces to underscores.
  53. !     let s:lang = substitute(tolower(s:lang), "\\.iso-", ".iso_", "")
  54. !     let s:lang = substitute(s:lang, "\\.iso8859", ".iso_8859", "")
  55.       let s:lang = substitute(s:lang, " ", "_", "g")
  56.       " Remove "@euro", otherwise "LC_ALL=de_DE@euro gvim" will show English menus
  57.       let s:lang = substitute(s:lang, "@euro", "", "")
  58. *** ../vim61.151/src/version.c    Sun Aug  4 22:13:27 2002
  59. --- src/version.c    Mon Aug 12 20:56:14 2002
  60. ***************
  61. *** 608,609 ****
  62. --- 608,611 ----
  63.   {   /* Add new patch number below this line */
  64. + /**/
  65. +     152,
  66.   /**/
  67.  
  68. -- 
  69. hundred-and-one symptoms of being an internet addict:
  70. 181. You make up words that go with the "happy tune" your modem makes
  71.      while dialing your ISP.
  72.  
  73.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  74. ///   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   \\\
  75. \\\           Project leader for A-A-P -- http://www.a-a-p.org           ///
  76.  \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///
  77.