To: [email protected]
Subject: Patch 6.1a.025
Fcc: outbox
From: Bram Moolenaar <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
------------

Patch 6.1a.025
Problem:    The choices for the fileformat dialog can't be translated.
Solution:   Add g:menutrans_fileformat_choices. (Adrien Beau)
Files:      runtime/menu.vim


*** ../vim61a.024/runtime/menu.vim      Sun Mar  3 12:43:35 2002
--- runtime/menu.vim    Mon Mar  4 18:34:22 2002
***************
*** 281,286 ****
--- 281,289 ----
   if !exists("g:menutrans_fileformat_dialog")
     let g:menutrans_fileformat_dialog = "Select format for writing the file"
   endif
+   if !exists("g:menutrans_fileformat_choices")
+     let g:menutrans_fileformat_choices = "&Unix\n&Dos\n&Mac\n&Cancel"
+   endif
   if &ff == "dos"
     let def = 2
   elseif &ff == "mac"
***************
*** 288,294 ****
   else
     let def = 1
   endif
!   let n = confirm(g:menutrans_fileformat_dialog, "&Unix\n&Dos\n&Mac\n&Cancel", def, "Question")
   if n == 1
     set ff=unix
   elseif n == 2
--- 291,297 ----
   else
     let def = 1
   endif
!   let n = confirm(g:menutrans_fileformat_dialog, g:menutrans_fileformat_choices, def, "Question")
   if n == 1
     set ff=unix
   elseif n == 2
*** ../vim61a.024/src/version.c Mon Mar  4 20:34:24 2002
--- src/version.c       Mon Mar  4 20:35:09 2002
***************
*** 608,609 ****
--- 608,611 ----
 {   /* Add new patch number below this line */
+ /**/
+     25,
 /**/

--
hundred-and-one symptoms of being an internet addict:
128. You can access the Net -- via your portable and cellular phone.

///  Bram Moolenaar -- [email protected] -- 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           ///
\\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///