From 7cf36fc67e88d41a8b1b9b47afbf6146b1baef6e Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Mon, 23 Jul 2018 12:41:16 -0400 Subject: vim-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. https://github.com/vim/vim/commit/b07bbb0d29493fcf4ed080fe018535e64441d663 --- src/nvim/po/check.vim | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/nvim/po/check.vim b/src/nvim/po/check.vim index 22ee799e82..086d67a88f 100644 --- a/src/nvim/po/check.vim +++ b/src/nvim/po/check.vim @@ -124,6 +124,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\>') -- cgit