mirror of
https://github.com/neovim/neovim.git
synced 2024-12-21 03:35:02 -07:00
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:
parent
45a2c6543c
commit
b63f5c170d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user