diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-04-30 15:45:17 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-04-30 15:45:17 +0200 |
commit | b07bbb0d29493fcf4ed080fe018535e64441d663 (patch) | |
tree | ff8df38490b5a704ff9837069a6f1ffeb6e65cc1 | |
parent | 60a68362aa73f4a6cb534688978f9dc2b16e60fe (diff) | |
download | vim-b07bbb0d29493fcf4ed080fe018535e64441d663.zip |
patch 8.0.1778: script to check translations does not always work
Problem: Script to check translations does not always work.
Solution: Go to first line before searching for MIME.
-rw-r--r-- | src/po/check.vim | 1 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/po/check.vim b/src/po/check.vim index a1ec6237e..9cfa36a7c 100644 --- a/src/po/check.vim +++ b/src/po/check.vim @@ -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\>') diff --git a/src/version.c b/src/version.c index d6be02f0a..9b65751b1 100644 --- a/src/version.c +++ b/src/version.c @@ -762,6 +762,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1778, +/**/ 1777, /**/ 1776, |