def send_translations(translation_dict):
	if "__messages" not in frappe.local.response:
		frappe.local.response["__messages"] = {}

	frappe.local.response["__messages"].update(translation_dict)
We skip any locking code due to the fact that this is now a single
dataset/ETHPy150Open frappe/frappe/frappe/translate.py/send_translations--crossover with--dataset/ETHPy150Open python-diamond/Diamond/src/diamond/handler/queue.py/QueueHandler._flush