]> git.pld-linux.org Git - packages/vim.git/blame - 7.1.312
- recognize update_mime_database
[packages/vim.git] / 7.1.312
CommitLineData
215fbeef
AG
1To: vim-dev@vim.org
2Subject: Patch 7.1.312
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.1.312
11Problem: The .po files have mistakes in error numbers.
12Solution: Search for these mistakes in the check script. (Dominique Pelle)
13Files: src/po/check.vim
14
15
16*** ../vim-7.1.311/src/po/check.vim Wed Nov 23 22:10:37 2005
17--- src/po/check.vim Sun May 25 13:47:59 2008
18***************
19*** 1,7 ****
20 " Vim script for checking .po files.
21 "
22! " Go through the file and verify that all %...s items in "msgid" are identical
23! " to the ones in "msgstr".
24
25 if 1 " Only execute this if the eval feature is available.
26
27--- 1,8 ----
28 " Vim script for checking .po files.
29 "
30! " Go through the file and verify that:
31! " - All %...s items in "msgid" are identical to the ones in "msgstr".
32! " - An error or warning code in "msgid" matches the one in "msgstr".
33
34 if 1 " Only execute this if the eval feature is available.
35
36***************
37*** 56,61 ****
38--- 57,76 ----
39 endif
40 endwhile
41
42+ " Check that error code in msgid matches the one in msgstr.
43+ "
44+ " Examples of mismatches found with msgid "E123: ..."
45+ " - msgstr "E321: ..." error code mismatch
46+ " - msgstr "W123: ..." warning instead of error
47+ " - msgstr "E123 ..." missing colon
48+ " - msgstr "..." missing error code
49+ "
50+ 1
51+ if search('msgid "\("\n"\)\?\([EW][0-9]\+:\).*\nmsgstr "\("\n"\)\?[^"]\@=\2\@!') > 0
52+ echo 'Mismatching error/warning code in line ' . line('.')
53+ let error = 1
54+ endif
55+
56 if error == 0
57 echo "OK"
58 endif
59*** ../vim-7.1.311/src/version.c Wed Jun 4 21:34:51 2008
60--- src/version.c Mon Jun 9 14:43:59 2008
61***************
62*** 668,669 ****
63--- 673,676 ----
64 { /* Add new patch number below this line */
65+ /**/
66+ 312,
67 /**/
68
69--
70hundred-and-one symptoms of being an internet addict:
7124. You realize there is not a sound in the house and you have no idea where
72 your children are.
73
74 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
75/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
76\\\ download, build and distribute -- http://www.A-A-P.org ///
77 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.109167 seconds and 4 git commands to generate.