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 c261b351ed
commit 1f3fb5ffea
1 changed files with 2 additions and 1 deletions

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.