]> granicus.if.org Git - vim/commitdiff
patch 8.0.1778: script to check translations does not always work v8.0.1778
authorBram Moolenaar <Bram@vim.org>
Mon, 30 Apr 2018 13:45:17 +0000 (15:45 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 30 Apr 2018 13:45:17 +0000 (15:45 +0200)
Problem:    Script to check translations does not always work.
Solution:   Go to first line before searching for MIME.

src/po/check.vim
src/version.c

index a1ec6237e77bb8d2bfcaa5d72fefa4304e5c59ef..9cfa36a7cd9913ab3862f58ac512bc7c9b720ad6 100644 (file)
@@ -121,6 +121,7 @@ endfunc
 
 " Check that the \n at the end of the msgid line is also present in the msgstr
 " line.  Skip over the header.
+1
 /^"MIME-Version:
 while 1
   let lnum = search('^msgid\>')
index d6be02f0a1207e1e7b3016138d6ac06aa68bcd13..9b65751b166c7d73a1884c9e0cb594805474b98b 100644 (file)
@@ -761,6 +761,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1778,
 /**/
     1777,
 /**/