@@ -22,7 +22,7 @@ set nowrapscan
2222func ! GetMline ()
2323 let idline = substitute (getline (' .' ), ' "\(.*\)"$' , ' \1' , ' ' )
2424 while line (' .' ) < line (' $' )
25- +
25+ silent +
2626 let line = getline (' .' )
2727 if line [0 ] != ' "'
2828 break
@@ -60,8 +60,8 @@ endfunc
6060
6161" Start at the first "msgid" line.
6262let wsv = winsaveview ()
63- 1
64- keeppatterns /^msgid\>
63+ silent 1
64+ silent keeppatterns /^msgid\>
6565
6666" When an error is detected this is set to the line number.
6767" Note: this is used in the Makefile.
@@ -154,7 +154,7 @@ endwhile
154154" - msgstr "E123 ..." missing colon
155155" - msgstr "..." missing error code
156156"
157- 1
157+ silent 1
158158if search (' msgid "\("\n"\)\?\([EW][0-9]\+:\).*\nmsgstr "\("\n"\)\?[^"]\@=\2\@!' ) > 0
159159 echomsg ' Mismatching error/warning code in line ' . line (' .' )
160160 if error == 0
@@ -164,8 +164,8 @@ endif
164164
165165" Check that the \n at the end of the msgid line is also present in the msgstr
166166" line. Skip over the header.
167- 1
168- keeppatterns /^" MIME-Version:
167+ silent 1
168+ silent keeppatterns /^" MIME-Version:
169169while 1
170170 let lnum = search (' ^msgid\>' )
171171 if lnum <= 0
@@ -191,8 +191,8 @@ endwhile
191191" final '""', '\n"', ' "' '/"' '."' '-"' are OK
192192" Beware, it can give false positives if the message is split
193193" in the middle of a word
194- 1
195- keeppatterns /^" MIME-Version:
194+ silent 1
195+ silent keeppatterns /^" MIME-Version:
196196while 1
197197 let lnum = search (' ^msgid\>' )
198198 if lnum <= 0
@@ -259,7 +259,7 @@ if executable("msgfmt")
259259endif
260260
261261" Check that the plural form is properly initialized
262- 1
262+ silent 1
263263let plural = search (' ^msgid_plural ' , ' n' )
264264if (plural && search (' ^"Plural-Forms: ' , ' n' ) == 0 ) || (plural && search (' ^msgstr\[0\] ".\+"' , ' n' ) != plural + 1 )
265265 if search (' ^"Plural-Forms: ' , ' n' ) == 0
0 commit comments