| To: vim-dev@vim.org |
| Subject: Patch 7.2.249 |
| Fcc: outbox |
| From: Bram Moolenaar <Bram@moolenaar.net> |
| Mime-Version: 1.0 |
| Content-Type: text/plain; charset=UTF-8 |
| Content-Transfer-Encoding: 8bit |
| |
| |
| Patch 7.2.249 |
| Problem: The script to check .po files can't handle '%' in plural forms. |
| Solution: Remove "Plural-Forms:" from the checked string. |
| Files: src/po/check.vim |
| |
| |
| |
| |
| |
| *** 23,28 **** |
| --- 23,31 ---- |
| " remove '%', not used for formatting. |
| let idline = substitute(idline, "'%'", '', 'g') |
| |
| + " remove '%' used for plural forms. |
| + let idline = substitute(idline, '\\nPlural-Forms: .\+;\\n', '', '') |
| + |
| " remove everything but % items. |
| return substitute(idline, '[^%]*\(%[-+ #''.0-9*]*l\=[dsuxXpoc%]\)\=', '\1', 'g') |
| endfunc |
| |
| |
| |
| *** 678,679 **** |
| --- 678,681 ---- |
| { /* Add new patch number below this line */ |
| + /**/ |
| + 249, |
| /**/ |
| |
| -- |
| If evolution theories are correct, humans will soon grow a third |
| hand for operating the mouse. |
| |
| /// 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 /// |