From b63f5c170d0544a454a6c2015b7d887ec51aa692 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Mon, 23 Jul 2018 12:34:14 -0400 Subject: [PATCH] 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. https://github.com/vim/vim/commit/65cedb2074ce550d20a3069c200e2a5d4061d3f6 --- src/nvim/po/check.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nvim/po/check.vim b/src/nvim/po/check.vim index 2350e00e9a..22ee799e82 100644 --- a/src/nvim/po/check.vim +++ b/src/nvim/po/check.vim @@ -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