Customize the log file for the check targets based on the input file.

The idea being that it's better to segregate feedback, just in case
someone is working on several translations.  Now the check log will
appear in `./build/src/nvim/po/check-${LANG}.log`.
This commit is contained in:
John Szakmeister 2014-07-09 06:12:36 -04:00
parent 67533e0948
commit 0edb95fa0c

View File

@ -6,7 +6,8 @@
if 1 " Only execute this if the eval feature is available.
redir! > check.log
let filename = "check-" . expand("%:t:r") . ".log"
exe 'redir! > ' . filename
" Function to get a split line at the cursor.
" Used for both msgid and msgstr lines.