From 65cedb2074ce550d20a3069c200e2a5d4061d3f6 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 1 Aug 2017 18:52:55 +0200 Subject: 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. --- src/po/check.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/po') diff --git a/src/po/check.vim b/src/po/check.vim index 41df8f88a..a8866ebe4 100644 --- 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 -- cgit v1.2.1