Update autogenerated documentation on how $translate is used