tests: fix missing import in check-translations

--HG--
branch : stable
merge with stable