fix TS/9: $ escape in template was not handled in translation