fix(translateDirective): fixes bad coding convention