0341101
To: vim-dev@vim.org
0341101
Subject: Patch 7.2.249
0341101
Fcc: outbox
0341101
From: Bram Moolenaar <Bram@moolenaar.net>
0341101
Mime-Version: 1.0
0341101
Content-Type: text/plain; charset=UTF-8
0341101
Content-Transfer-Encoding: 8bit
0341101
------------
0341101
0341101
Patch 7.2.249
0341101
Problem:    The script to check .po files can't handle '%' in plural forms.
0341101
Solution:   Remove "Plural-Forms:" from the checked string.
0341101
Files:	    src/po/check.vim
0341101
0341101
0341101
*** ../vim-7.2.248/src/po/check.vim	2008-06-09 14:45:38.000000000 +0200
0341101
--- src/po/check.vim	2009-09-11 12:37:56.000000000 +0200
0341101
***************
0341101
*** 23,28 ****
0341101
--- 23,31 ----
0341101
    " remove '%', not used for formatting.
0341101
    let idline = substitute(idline, "'%'", '', 'g')
0341101
  
0341101
+   " remove '%' used for plural forms.
0341101
+   let idline = substitute(idline, '\\nPlural-Forms: .\+;\\n', '', '')
0341101
+ 
0341101
    " remove everything but % items.
0341101
    return substitute(idline, '[^%]*\(%[-+ #''.0-9*]*l\=[dsuxXpoc%]\)\=', '\1', 'g')
0341101
  endfunc
0341101
*** ../vim-7.2.248/src/version.c	2009-09-11 12:48:56.000000000 +0200
0341101
--- src/version.c	2009-09-11 12:59:18.000000000 +0200
0341101
***************
0341101
*** 678,679 ****
0341101
--- 678,681 ----
0341101
  {   /* Add new patch number below this line */
0341101
+ /**/
0341101
+     249,
0341101
  /**/
0341101
0341101
-- 
0341101
If evolution theories are correct, humans will soon grow a third
0341101
hand for operating the mouse.
0341101
0341101
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
0341101
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
0341101
\\\        download, build and distribute -- http://www.A-A-P.org        ///
0341101
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///