check-po-msgfmt reports errors from ./tmp
While preparing 5.19.1 we saw stuff like this:
tmp/tor-translation/ml.po:1452: 'msgstr' is not a valid Shell format string, unlike 'msgid'. Reason: The string refers to a shell variable whose value may be different inside shell functions.
i.e. an error for a PO file outside of ./po
. Is there a reason why check-po-msgfmt
looks outside of ./po
? Otherwise I propose we change it to only look at ./po
so to avoid these irrelevant errors (that have wasted time for a few times while preparing releases).