def get_messages_from_report(name):
	report = frappe.get_doc("Report", name)
	messages = _get_messages_from_page_or_report("Report", name,
		frappe.db.get_value("DocType", report.ref_doctype, "module"))
	# TODO position here!
	if report.query:
		messages.extend([(None, message) for message in re.findall('"([^:,^"]*):', report.query) if is_translatable(message)])
	messages.append((None,report.report_name))
	return messages
Returns all translatable strings from a :class:`frappe.core.doctype.Report`
dataset/ETHPy150Open frappe/frappe/frappe/translate.py/get_messages_from_report