  class DecimalField(Field):
      """Decimal number"""
      
      empty_strings_allowed = False
  
      def __init__(self, verbose_name=None, name=None, max_digits=None, decimal_places=None, **kwargs):
          self.max_digits, self.decimal_places = max_digits, decimal_places
          Field.__init__(self, verbose_name, name, **kwargs)
  
      def get_internal_type(self):
 
</s> remove     """Decimal number"""
    
 </s> add  </s> remove     """XML text"""
    
 </s> add     description = ugettext_lazy("XML text") </s> remove     """URL"""
    
 </s> add     description = ugettext_lazy("URL") </s> remove     """File path"""
    
 </s> add     description = ugettext_lazy("File path") </s> remove 
 </s> add     description = ugettext_lazy("IP address")
    description = ugettext_lazy("Decimal number")
  class DecimalField(Field):
      """Decimal number"""
      
      empty_strings_allowed = False
    description = ugettext_lazy("Decimal number")
      def __init__(self, verbose_name=None, name=None, max_digits=None, decimal_places=None, **kwargs):
          self.max_digits, self.decimal_places = max_digits, decimal_places
          Field.__init__(self, verbose_name, name, **kwargs)
  
      def get_internal_type(self):
keep keep keep keep replace keep keep keep keep keep
 Fixed #12385: Made built-in field type descriptions in admindocs translatable again.  Many thanks to Ramiro for the problem report and patch.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@11878 bcc190cf-cafb-0310-a4f2-bffc1f526a37 
django/db/models/fields/__init__.py