def get_messages_from_report(name):
 report = frappe.get_doc(u'Report', name)
 messages = _get_messages_from_page_or_report(u'Report', name, frappe.db.get_value(u'DocType', report.ref_doctype, u'module'))
 if report.query:
  messages.extend([(None, message) for message in re.findall(u'"([^:,^"]*):', report.query) if is_translatable(message)])
 messages.append((None, report.report_name))
 return messages

def get_messages_from_report ( name ) : report = frappe . get_doc ( u'Report' , name ) messages = _get_messages_from_page_or_report ( u'Report' , name , frappe . db . get_value ( u'DocType' , report . ref_doctype , u'module' ) ) if report . query : messages . extend ( [ ( None , message ) for message in re . findall ( u'"([^:,^"]*):' , report . query ) if is_translatable ( message ) ] ) messages . append ( ( None , report . report_name ) ) return messages
returns all translatable strings from a :class:frappe .