def _format_translation(message, variables=None):
 if (variables is not None):
  try:
   return (message % variables)
  except:
   pass
 return message

def _format_translation ( message , variables = None ) : if ( variables is not None ) : try : return ( message % variables ) except : pass return message
overrides the gettext function .