code: def get_type_as_str(self):
          
          if self.get_type() == 0:
              return _("Skill")
          elif self.get_type() == 1:
              return _("Misconception")
          elif self.get_type() == 2:
              return _("Category")
          else:
              return _("Unknown type")
docs: Return a textual description of the type