]> granicus.if.org Git - vim/commitdiff
patch 8.0.0835: translations check with msgfmt does not work v8.0.0835
authorBram Moolenaar <Bram@vim.org>
Tue, 1 Aug 2017 16:52:55 +0000 (18:52 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 1 Aug 2017 16:52:55 +0000 (18:52 +0200)
Problem:    Translations check with msgfmt does not work.
Solution:   Add a space before the file name.

src/po/check.vim
src/version.c

index 41df8f88a1d6a255c5539c40ffa0fecb2bd80079..a8866ebe47ff6cfb8700bde7acf96807664f5c50 100644 (file)
@@ -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
index 539fca2a1e2bdc05114719e8832064024f7b9635..88d7e76c12200541d653d284dc81ff8776236ade 100644 (file)
@@ -769,6 +769,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    835,
 /**/
     834,
 /**/