To: vim-dev@vim.org Subject: Patch 7.2b.007 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 7.2b.007 Problem: Part of a message cannot be translated. Solution: Put _() around the message. Files: src/search.c *** ../vim-7.2b.006/src/search.c Wed Jun 25 00:17:11 2008 --- src/search.c Sun Jul 13 20:18:27 2008 *************** *** 5375,5381 **** (no_hlsearch || find_viminfo_parameter('h') != NULL) ? 'h' : 'H'); #endif wvsp_one(fp, RE_SEARCH, "", '/'); ! wvsp_one(fp, RE_SUBST, "Substitute ", '&'); } } --- 5375,5381 ---- (no_hlsearch || find_viminfo_parameter('h') != NULL) ? 'h' : 'H'); #endif wvsp_one(fp, RE_SEARCH, "", '/'); ! wvsp_one(fp, RE_SUBST, _("Substitute "), '&'); } } *** ../vim-7.2b.006/src/version.c Fri Jul 18 11:25:41 2008 --- src/version.c Fri Jul 18 12:04:34 2008 *************** *** 678,679 **** --- 678,681 ---- { /* Add new patch number below this line */ + /**/ + 7, /**/ -- We're knights of the round table We dance whene'er we're able We do routines and chorus scenes With footwork impeccable. We dine well here in Camelot We eat ham and jam and spam a lot. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///