To: vim-dev@vim.org Subject: Patch 6.1.358 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.358 Problem: The tutor doesn't select another locale version properly. Solution: Insert the "let" command. (Yasuhiro Matsumoto) Files: runtime/tutor/tutor.vim *** ../vim61.357/runtime/tutor/tutor.vim Tue Jan 28 22:28:19 2003 --- runtime/tutor/tutor.vim Mon Feb 24 22:52:14 2003 *************** *** 1,6 **** " Vim tutor support file " Author: Eduardo F. Amatria ! " Last Change: 2003 Jan 21 " This small source file is used for detecting if a translation of the " tutor file exist, i.e., a tutor.xx file, where xx is the language. --- 1,6 ---- " Vim tutor support file " Author: Eduardo F. Amatria ! " Last Change: 2003 Feb 24 " This small source file is used for detecting if a translation of the " tutor file exist, i.e., a tutor.xx file, where xx is the language. *************** *** 22,28 **** endif if s:lang != "" " Remove "@euro" (ignoring case), it may be at the end ! s:lang = substitute(s:lang, '\c@euro', '', '') " On MS-Windows it may be German_Germany.1252. How about other languages? if s:lang =~ "German" let s:ext = ".de" --- 22,28 ---- endif if s:lang != "" " Remove "@euro" (ignoring case), it may be at the end ! let s:lang = substitute(s:lang, '\c@euro', '', '') " On MS-Windows it may be German_Germany.1252. How about other languages? if s:lang =~ "German" let s:ext = ".de" *** ../vim61.357/src/version.c Mon Feb 24 11:29:56 2003 --- src/version.c Mon Feb 24 22:53:30 2003 *************** *** 608,609 **** --- 612,615 ---- { /* Add new patch number below this line */ + /**/ + 358, /**/ -- [SIR LAUNCELOT runs back up the stairs, grabs a rope of the wall and swings out over the heads of the CROWD in a swashbuckling manner towards a large window. He stops just short of the window and is left swing pathetically back and forth.] LAUNCELOT: Excuse me ... could somebody give me a push ... "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\ \\\ Project leader for A-A-P -- http://www.A-A-P.org /// \\\ Help AIDS victims, buy at Amazon -- http://ICCF.nl/click1.html ///