Permalink
Browse files

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.
  • Loading branch information...
brammool committed Aug 1, 2017
1 parent 2a4f06f commit 65cedb2074ce550d20a3069c200e2a5d4061d3f6
Showing with 3 additions and 1 deletion.
  1. +1 −1 src/po/check.vim
  2. +2 −0 src/version.c
View
@@ -146,7 +146,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
View
@@ -769,6 +769,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
835,
/**/
834,
/**/

0 comments on commit 65cedb2

Please sign in to comment.