Mercurial > vim
comparison src/po/check.vim @ 13812:9d6cd12ae7bc v8.0.1778
patch 8.0.1778: script to check translations does not always work
commit https://github.com/vim/vim/commit/b07bbb0d29493fcf4ed080fe018535e64441d663
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Apr 30 15:45:17 2018 +0200
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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 30 Apr 2018 16:00:08 +0200 |
parents | 3b26420fc639 |
children | b9db0bc9b8f9 |
comparison
equal
deleted
inserted
replaced
13811:f8f636cf8b79 | 13812:9d6cd12ae7bc |
---|---|
119 return nl | 119 return nl |
120 endfunc | 120 endfunc |
121 | 121 |
122 " Check that the \n at the end of the msgid line is also present in the msgstr | 122 " Check that the \n at the end of the msgid line is also present in the msgstr |
123 " line. Skip over the header. | 123 " line. Skip over the header. |
124 1 | |
124 /^"MIME-Version: | 125 /^"MIME-Version: |
125 while 1 | 126 while 1 |
126 let lnum = search('^msgid\>') | 127 let lnum = search('^msgid\>') |
127 if lnum <= 0 | 128 if lnum <= 0 |
128 break | 129 break |