]>
Commit | Line | Data |
---|---|---|
4ff12b6a ER |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.2.249 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=UTF-8 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.2.249 | |
11 | Problem: The script to check .po files can't handle '%' in plural forms. | |
12 | Solution: Remove "Plural-Forms:" from the checked string. | |
13 | Files: src/po/check.vim | |
14 | ||
15 | ||
16 | *** ../vim-7.2.248/src/po/check.vim 2008-06-09 14:45:38.000000000 +0200 | |
17 | --- src/po/check.vim 2009-09-11 12:37:56.000000000 +0200 | |
18 | *************** | |
19 | *** 23,28 **** | |
20 | --- 23,31 ---- | |
21 | " remove '%', not used for formatting. | |
22 | let idline = substitute(idline, "'%'", '', 'g') | |
23 | ||
24 | + " remove '%' used for plural forms. | |
25 | + let idline = substitute(idline, '\\nPlural-Forms: .\+;\\n', '', '') | |
26 | + | |
27 | " remove everything but % items. | |
28 | return substitute(idline, '[^%]*\(%[-+ #''.0-9*]*l\=[dsuxXpoc%]\)\=', '\1', 'g') | |
29 | endfunc | |
30 | *** ../vim-7.2.248/src/version.c 2009-09-11 12:48:56.000000000 +0200 | |
31 | --- src/version.c 2009-09-11 12:59:18.000000000 +0200 | |
32 | *************** | |
33 | *** 678,679 **** | |
34 | --- 678,681 ---- | |
35 | { /* Add new patch number below this line */ | |
36 | + /**/ | |
37 | + 249, | |
38 | /**/ | |
39 | ||
40 | -- | |
41 | If evolution theories are correct, humans will soon grow a third | |
42 | hand for operating the mouse. | |
43 | ||
44 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
45 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
46 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
47 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |