Fixed translation script for HTML imports.