  
  
  class Throttled(APIException):
      status_code = status.HTTP_429_TOO_MANY_REQUESTS
      default_detail = _('Request was throttled.')
      extra_detail_singular = 'Expected available in {wait} second.'
      extra_detail_plural = 'Expected available in {wait} seconds.'
  
      def __init__(self, wait=None, detail=None):
          if detail is not None:
              self.detail = force_text(detail)
          else:
 
</s> remove     default_detail = _("Method {method} not allowed.")
 </s> add     default_detail = _("Method '{method}' not allowed.") </s> remove     default_detail = _('A server error occurred.')
 </s> add     default_detail = _("A server error occurred.") </s> remove     default_detail = _('Could not satisfy the request Accept header.')
 </s> add     default_detail = _("Could not satisfy the request Accept header.") </s> remove # raise serializers.ValidationError('Value was invalid')
 </s> add # raise serializers.ValidationError("Value was invalid") </s> remove                 msg = _('Unable to log in with provided credentials.')
 </s> add                 msg = _("Unable to log in with provided credentials.")
    default_detail = _("Request was throttled.")
    extra_detail_singular = "Expected available in {wait} second."
    extra_detail_plural = "Expected available in {wait} seconds."
  
  
  class Throttled(APIException):
      status_code = status.HTTP_429_TOO_MANY_REQUESTS
    default_detail = _("Request was throttled.")
    extra_detail_singular = "Expected available in {wait} second."
    extra_detail_plural = "Expected available in {wait} seconds."
    default_detail = _("Request was throttled.")
    extra_detail_singular = "Expected available in {wait} second."
    extra_detail_plural = "Expected available in {wait} seconds."
    default_detail = _("Request was throttled.")
    extra_detail_singular = "Expected available in {wait} second."
    extra_detail_plural = "Expected available in {wait} seconds."
  
      def __init__(self, wait=None, detail=None):
          if detail is not None:
              self.detail = force_text(detail)
          else:
keep keep keep keep replace replace replace keep keep keep keep keep
 use double quotes for user visible strings; end user visible strings in full stops; add some missing translation tags 
rest_framework/exceptions.py