changeset 11910:2481701df9ef v8.0.0835

patch 8.0.0835: translations check with msgfmt does not work commit https://github.com/vim/vim/commit/65cedb2074ce550d20a3069c200e2a5d4061d3f6 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Aug 1 18:52:55 2017 +0200 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.
author Christian Brabandt <cb@256bit.org>
date Tue, 01 Aug 2017 19:00:04 +0200
parents 839ea270abb2
children 85ff8fc2ab94
files src/po/check.vim src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/po/check.vim
+++ b/src/po/check.vim
@@ -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
--- a/src/version.c
+++ b/src/version.c
@@ -770,6 +770,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    835,
+/**/
     834,
 /**/
     833,