Teleparallel gravity equivalent of general relativity as a gauge theory: Translation or Cartan connection?