vim-patch:8.0.0835: translations check with msgfmt does not work

Problem:    Translations check with msgfmt does not work.
Solution:   Add a space before the file name.
65cedb2074
This commit is contained in:
Jan Edmund Lazo 2018-07-23 12:34:14 -04:00
parent 45a2c6543c
commit b63f5c170d

View File

@ -149,7 +149,7 @@ endwhile
" Check that the file is well formed according to msgfmts understanding
if executable("msgfmt")
let filename = expand("%")
let a = system("msgfmt --statistics OLD_PO_FILE_INPUT=yes" . filename)
let a = system("msgfmt --statistics OLD_PO_FILE_INPUT=yes " . filename)
if v:shell_error != 0
let error = matchstr(a, filename.':\zs\d\+\ze:')+0
for line in split(a, '\n') | echomsg line | endfor