tests: fix missing import in check-translations

--HG--
branch : stable