- if type == IHR: s = _("Romulan")
- elif type == IHK: s = _("Klingon")
- elif type == IHC: s = _("Commander")
- elif type == IHS: s = _("Super-commander")
- elif type == IHSTAR: s = _("Star")
- elif type == IHP: s = _("Planet")
- elif type == IHB: s = _("Starbase")
- elif type == IHBLANK: s = _("Black hole")
- elif type == IHT: s = _("Tholian")
- elif type == IHWEB: s = _("Tholian web")
- elif type == IHQUEST: s = _("Stranger")
- elif type == IHW: s = _("Inhabited World")
+ if type == 'R': s = _("Romulan")
+ elif type == 'K': s = _("Klingon")
+ elif type == 'C': s = _("Commander")
+ elif type == 'S': s = _("Super-commander")
+ elif type == '*': s = _("Star")
+ elif type == 'P': s = _("Planet")
+ elif type == 'B': s = _("Starbase")
+ elif type == ' ': s = _("Black hole")
+ elif type == 'T': s = _("Tholian")
+ elif type == '#': s = _("Tholian web")
+ elif type == '?': s = _("Stranger")
+ elif type == '@': s = _("Inhabited World")