Check BEFORE_SHA along with changes to .po files
This moves the repeated config to a template (.make and .translate). It also detects if BEFORE_SHA is unset (all zeros) so that build/distcheck run on manual or scheduled pipelines that don't have a BEFORE_SHA.
Edited by Jason Yavorska