mirror of
https://github.com/neovim/neovim.git
synced 2026-03-12 02:56:53 +10: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user