code: def get_type_name(t):
      
      # Lookup in the mapping
      try:
          return __type_names[t]
      except KeyError:
          # Specific types
          if issubclass(t, six.integer_types):
              return _(u'Integer number')
  
          # Get name from the Type itself
          return six.text_type(t.__name__).capitalize()
docs: Get a human-friendly name for the given type.
  
      :type t: type|None
      :rtype: unicode